@@ -826,7 +826,7 @@ discard block |
||
826 | 826 | return $this->LibStatut($this->status, $mode); |
827 | 827 | } |
828 | 828 | |
829 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
829 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
830 | 830 | /** |
831 | 831 | * Return the label of a given status |
832 | 832 | * |
@@ -836,7 +836,7 @@ discard block |
||
836 | 836 | */ |
837 | 837 | public function LibStatut($status, $mode = 0) |
838 | 838 | { |
839 | - // phpcs:enable |
|
839 | + // phpcs:enable |
|
840 | 840 | global $langs; |
841 | 841 | |
842 | 842 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
@@ -1145,7 +1145,7 @@ discard block |
||
1145 | 1145 | $stringtoexport = str_replace('medias/image/' . $website->ref . '/', "medias/image/__WEBSITE_KEY__/", $stringtoexport); |
1146 | 1146 | $stringtoexport = str_replace('medias/js/' . $website->ref . '/', "medias/js/__WEBSITE_KEY__/", $stringtoexport); |
1147 | 1147 | $stringtoexport = str_replace('"image/' . $website->ref . '/', '"image/__WEBSITE_KEY__/', $stringtoexport); // When we have a link src="image/websiteref/file.png" into html content |
1148 | - $stringtoexport = str_replace('"/image/' . $website->ref . '/', '"/image/__WEBSITE_KEY__/', $stringtoexport); // When we have a link src="/image/websiteref/file.png" into html content |
|
1148 | + $stringtoexport = str_replace('"/image/' . $website->ref . '/', '"/image/__WEBSITE_KEY__/', $stringtoexport); // When we have a link src="/image/websiteref/file.png" into html content |
|
1149 | 1149 | $stringtoexport = str_replace('"js/' . $website->ref . '/', '"js/__WEBSITE_KEY__/', $stringtoexport); |
1150 | 1150 | $stringtoexport = str_replace('"/js/' . $website->ref . '/', '"/js/__WEBSITE_KEY__/', $stringtoexport); |
1151 | 1151 | |
@@ -1464,7 +1464,7 @@ discard block |
||
1464 | 1464 | $filetpl = $pathofwebsite . '/page' . $object->fk_default_home . '.tpl.php'; |
1465 | 1465 | } |
1466 | 1466 | $filewrapper = $pathofwebsite . '/wrapper.php'; |
1467 | - dolSaveIndexPage($pathofwebsite, $fileindex, $filetpl, $filewrapper, $object); // This includes also a version of index.php into sublanguage directories |
|
1467 | + dolSaveIndexPage($pathofwebsite, $fileindex, $filetpl, $filewrapper, $object); // This includes also a version of index.php into sublanguage directories |
|
1468 | 1468 | } |
1469 | 1469 | |
1470 | 1470 | if ($error) { |
@@ -1867,7 +1867,7 @@ discard block |
||
1867 | 1867 | $destContent = file_get_contents($fileNeeded['fullname']); |
1868 | 1868 | |
1869 | 1869 | $numOfPageDest = $this->extractNumberFromFilename($fileNeeded['name']); |
1870 | - $differences = $this->showDifferences($destContent, $sourceContent, array($numOfPageDest,$numOfPageSource)); |
|
1870 | + $differences = $this->showDifferences($destContent, $sourceContent, array($numOfPageDest, $numOfPageSource)); |
|
1871 | 1871 | $differences['file_destination'] = $fileNeeded; |
1872 | 1872 | } |
1873 | 1873 | return $differences; |
@@ -1908,7 +1908,7 @@ discard block |
||
1908 | 1908 | $linefound = array(); |
1909 | 1909 | $countNumPage = count($exceptNumPge); |
1910 | 1910 | |
1911 | - for ($i = 0;$i < $countNumPage; $i++) { |
|
1911 | + for ($i = 0; $i < $countNumPage; $i++) { |
|
1912 | 1912 | $linefound[$i] = array(); |
1913 | 1913 | $linefound[$i]['meta'] = '/content="' . preg_quote($exceptNumPge[$i], '/') . '" \/>/'; |
1914 | 1914 | $linefound[$i]['output'] = '/dolWebsiteOutput\(\$tmp, "html", ' . preg_quote($exceptNumPge[$i], '/') . '\);/'; |
@@ -18,7 +18,7 @@ |
||
18 | 18 | if (getDolGlobalString('THEME_DARKMODEENABLED')) { |
19 | 19 | print "/* For dark mode */\n"; |
20 | 20 | if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) { |
21 | - print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes |
|
21 | + print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes |
|
22 | 22 | } else { |
23 | 23 | print "@media not print {"; |
24 | 24 | } |
@@ -638,7 +638,7 @@ discard block |
||
638 | 638 | return $this->LibStatut($this->status, $mode); |
639 | 639 | } |
640 | 640 | |
641 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
641 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
642 | 642 | /** |
643 | 643 | * Return the status |
644 | 644 | * |
@@ -648,7 +648,7 @@ discard block |
||
648 | 648 | */ |
649 | 649 | public function LibStatut($status, $mode = 0) |
650 | 650 | { |
651 | - // phpcs:enable |
|
651 | + // phpcs:enable |
|
652 | 652 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
653 | 653 | global $langs; |
654 | 654 | //$langs->load("mymodule"); |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | } |
342 | 342 | |
343 | 343 | |
344 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
344 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
345 | 345 | /** |
346 | 346 | * Clean sensible object datas |
347 | 347 | * |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | */ |
351 | 351 | protected function _cleanObjectDatas($object) |
352 | 352 | { |
353 | - // phpcs:enable |
|
353 | + // phpcs:enable |
|
354 | 354 | $object = parent::_cleanObjectDatas($object); |
355 | 355 | |
356 | 356 | unset($object->rowid); |
@@ -855,7 +855,7 @@ discard block |
||
855 | 855 | return $this->LibStatut($this->status, $mode); |
856 | 856 | } |
857 | 857 | |
858 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
858 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
859 | 859 | /** |
860 | 860 | * Return the status |
861 | 861 | * |
@@ -865,7 +865,7 @@ discard block |
||
865 | 865 | */ |
866 | 866 | public function LibStatut($status, $mode = 0) |
867 | 867 | { |
868 | - // phpcs:enable |
|
868 | + // phpcs:enable |
|
869 | 869 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
870 | 870 | global $langs; |
871 | 871 | //$langs->load("stocktransfer@stocktransfer"); |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | return $texte; |
207 | 207 | } |
208 | 208 | |
209 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
209 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
210 | 210 | /** |
211 | 211 | * Function to build a document on disk using the generic odt module. |
212 | 212 | * |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | */ |
221 | 221 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
222 | 222 | { |
223 | - // phpcs:enable |
|
223 | + // phpcs:enable |
|
224 | 224 | global $user, $langs, $conf, $mysoc, $hookmanager; |
225 | 225 | global $action; |
226 | 226 |
@@ -188,7 +188,7 @@ |
||
188 | 188 | $maxfilesizearray = getMaxFileSizeArray(); |
189 | 189 | $maxmin = $maxfilesizearray['maxmin']; |
190 | 190 | if ($maxmin > 0) { |
191 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
191 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
192 | 192 | } |
193 | 193 | $texte .= ' <input type="file" name="uploadfile">'; |
194 | 194 | $texte .= '<input type="hidden" value="RECRUITMENT_RECRUITMENTJOBPOSITION_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |
@@ -638,7 +638,7 @@ discard block |
||
638 | 638 | return $this->LibStatut($this->status, $mode); |
639 | 639 | } |
640 | 640 | |
641 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
641 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
642 | 642 | /** |
643 | 643 | * Return the status |
644 | 644 | * |
@@ -648,7 +648,7 @@ discard block |
||
648 | 648 | */ |
649 | 649 | public function LibStatut($status, $mode = 0) |
650 | 650 | { |
651 | - // phpcs:enable |
|
651 | + // phpcs:enable |
|
652 | 652 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
653 | 653 | global $langs; |
654 | 654 | //$langs->load("mymodule"); |
@@ -786,7 +786,7 @@ discard block |
||
786 | 786 | return $this->LibStatut($this->status, $mode); |
787 | 787 | } |
788 | 788 | |
789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
790 | 790 | /** |
791 | 791 | * Return the status |
792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | */ |
797 | 797 | public function LibStatut($status, $mode = 0) |
798 | 798 | { |
799 | - // phpcs:enable |
|
799 | + // phpcs:enable |
|
800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
801 | 801 | global $langs; |
802 | 802 | //$langs->load("hrm"); |
@@ -383,13 +383,13 @@ |
||
383 | 383 | global $user; |
384 | 384 | |
385 | 385 | $this->fk_skill = $currentSkill->fk_skill; |
386 | - $this->rankorder = $currentSkill->rankorder; |
|
386 | + $this->rankorder = $currentSkill->rankorder; |
|
387 | 387 | $this->fk_object = $fk_user; |
388 | 388 | $this->date_creation = dol_now(); |
389 | 389 | $this->fk_user_creat = $user->id; |
390 | 390 | $this->fk_user_modif = $user->id; |
391 | 391 | $this->objecttype = self::SKILLRANK_TYPE_USER; |
392 | - $result = $this->create($user); |
|
392 | + $result = $this->create($user); |
|
393 | 393 | |
394 | 394 | return $result; |
395 | 395 | } |
@@ -786,7 +786,7 @@ discard block |
||
786 | 786 | return $this->LibStatut($this->status, $mode); |
787 | 787 | } |
788 | 788 | |
789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
790 | 790 | /** |
791 | 791 | * Return the status |
792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | */ |
797 | 797 | public function LibStatut($status, $mode = 0) |
798 | 798 | { |
799 | - // phpcs:enable |
|
799 | + // phpcs:enable |
|
800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
801 | 801 | global $langs; |
802 | 802 | //$langs->load("hrm"); |