@@ -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 |
@@ -189,7 +189,7 @@ |
||
189 | 189 | $maxfilesizearray = getMaxFileSizeArray(); |
190 | 190 | $maxmin = $maxfilesizearray['maxmin']; |
191 | 191 | if ($maxmin > 0) { |
192 | - $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
192 | + $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file |
|
193 | 193 | } |
194 | 194 | $texte .= ' <input type="file" name="uploadfile">'; |
195 | 195 | $texte .= '<input type="hidden" value="MYMODULE_MYOBJECT_ADDON_PDF_ODT_PATH" name="keyforuploaddir">'; |
@@ -75,8 +75,8 @@ |
||
75 | 75 | |
76 | 76 | // Author |
77 | 77 | $this->editor_name = 'Editor name'; |
78 | - $this->editor_url = 'https://www.example.com'; // Must be an external online web site |
|
79 | - $this->editor_squarred_logo = ''; // Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@mymodule' |
|
78 | + $this->editor_url = 'https://www.example.com'; // Must be an external online web site |
|
79 | + $this->editor_squarred_logo = ''; // Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@mymodule' |
|
80 | 80 | |
81 | 81 | // Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated', 'experimental_deprecated' or a version string like 'x.y.z' |
82 | 82 | $this->version = '1.0'; |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | |
93 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
93 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
94 | 94 | /** |
95 | 95 | * This is the main function that returns the array of emails |
96 | 96 | * |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | */ |
100 | 100 | public function add_to_target($mailing_id) |
101 | 101 | { |
102 | - // phpcs:enable |
|
102 | + // phpcs:enable |
|
103 | 103 | $target = array(); |
104 | 104 | $j = 0; |
105 | 105 |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | |
343 | 343 | |
344 | 344 | |
345 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
345 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
346 | 346 | /** |
347 | 347 | * Clean sensible object datas |
348 | 348 | * |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | */ |
352 | 352 | protected function _cleanObjectDatas($object) |
353 | 353 | { |
354 | - // phpcs:enable |
|
354 | + // phpcs:enable |
|
355 | 355 | $object = parent::_cleanObjectDatas($object); |
356 | 356 | |
357 | 357 | unset($object->rowid); |
@@ -979,7 +979,7 @@ discard block |
||
979 | 979 | return $this->LibStatut($this->status, $mode); |
980 | 980 | } |
981 | 981 | |
982 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
982 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
983 | 983 | /** |
984 | 984 | * Return the label of a given status |
985 | 985 | * |
@@ -989,7 +989,7 @@ discard block |
||
989 | 989 | */ |
990 | 990 | public function LibStatut($status, $mode = 0) |
991 | 991 | { |
992 | - // phpcs:enable |
|
992 | + // phpcs:enable |
|
993 | 993 | if (is_null($status)) { |
994 | 994 | return ''; |
995 | 995 | } |
@@ -163,8 +163,8 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * @var int Thirdparty ID |
165 | 165 | */ |
166 | - public $socid; // both socid and fk_soc are used |
|
167 | - public $fk_soc; // both socid and fk_soc are used |
|
166 | + public $socid; // both socid and fk_soc are used |
|
167 | + public $fk_soc; // both socid and fk_soc are used |
|
168 | 168 | |
169 | 169 | /** |
170 | 170 | * @var int Status |
@@ -1052,7 +1052,7 @@ discard block |
||
1052 | 1052 | $this->date_creation = $this->db->jdate($obj->datec); |
1053 | 1053 | $this->date_modification = empty($obj->datem) ? '' : $this->db->jdate($obj->datem); |
1054 | 1054 | if (!empty($obj->datev)) { |
1055 | - $this->date_validation = empty($obj->datev) ? '' : $this->db->jdate($obj->datev); |
|
1055 | + $this->date_validation = empty($obj->datev) ? '' : $this->db->jdate($obj->datev); |
|
1056 | 1056 | } |
1057 | 1057 | } |
1058 | 1058 | |
@@ -1257,13 +1257,13 @@ discard block |
||
1257 | 1257 | * To overload |
1258 | 1258 | * @see CommonObjectLine |
1259 | 1259 | */ |
1260 | - public $parent_element = ''; // Example: '' or 'myobject' |
|
1260 | + public $parent_element = ''; // Example: '' or 'myobject' |
|
1261 | 1261 | |
1262 | 1262 | /** |
1263 | 1263 | * To overload |
1264 | 1264 | * @see CommonObjectLine |
1265 | 1265 | */ |
1266 | - public $fk_parent_attribute = ''; // Example: '' or 'fk_myobject' |
|
1266 | + public $fk_parent_attribute = ''; // Example: '' or 'fk_myobject' |
|
1267 | 1267 | |
1268 | 1268 | /** |
1269 | 1269 | * Constructor |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | $object = new MyObject($db); |
122 | 122 | $extrafields = new ExtraFields($db); |
123 | 123 | $diroutputmassaction = $conf->mymodule->dir_output . '/temp/massgeneration/' . $user->id; |
124 | -$hookmanager->initHooks(array($contextpage)); // Note that conf->hooks_modules contains array of activated contexes |
|
124 | +$hookmanager->initHooks(array($contextpage)); // Note that conf->hooks_modules contains array of activated contexes |
|
125 | 125 | |
126 | 126 | // Fetch optionals attributes and labels |
127 | 127 | $extrafields->fetch_name_optionals_label($object->table_element); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | |
132 | 132 | // Default sort order (if not yet defined by previous GETPOST) |
133 | 133 | if (!$sortfield) { |
134 | - reset($object->fields); // Reset is required to avoid key() to return null. |
|
134 | + reset($object->fields); // Reset is required to avoid key() to return null. |
|
135 | 135 | $sortfield = "t." . key($object->fields); // Set here default search field. By default 1st field in definition. |
136 | 136 | } |
137 | 137 | if (!$sortorder) { |
@@ -451,7 +451,7 @@ discard block |
||
451 | 451 | // Output page |
452 | 452 | // -------------------------------------------------------------------- |
453 | 453 | |
454 | -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-mymodule page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll |
|
454 | +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-mymodule page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll |
|
455 | 455 | |
456 | 456 | // Example : Adding jquery code |
457 | 457 | // print '<script type="text/javascript"> |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | } |
584 | 584 | |
585 | 585 | $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; |
586 | -$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')); // This also change content of $arrayfields with user setup |
|
586 | +$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')); // This also change content of $arrayfields with user setup |
|
587 | 587 | $selectedfields = ($mode != 'kanban' ? $htmlofselectarray : ''); |
588 | 588 | $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : ''); |
589 | 589 | |
@@ -676,7 +676,7 @@ discard block |
||
676 | 676 | } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && !in_array($key, array('id', 'rowid', 'ref', 'status')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) { |
677 | 677 | $cssforfield .= ($cssforfield ? ' ' : '') . 'right'; |
678 | 678 | } |
679 | - $cssforfield = preg_replace('/small\s*/', '', $cssforfield); // the 'small' css must not be used for the title label |
|
679 | + $cssforfield = preg_replace('/small\s*/', '', $cssforfield); // the 'small' css must not be used for the title label |
|
680 | 680 | if (!empty($arrayfields['t.' . $key]['checked'])) { |
681 | 681 | print getTitleFieldOfList($arrayfields['t.' . $key]['label'], 0, $_SERVER['PHP_SELF'], 't.' . $key, '', $param, ($cssforfield ? 'class="' . $cssforfield . '"' : ''), $sortfield, $sortorder, ($cssforfield ? $cssforfield . ' ' : ''), 0, (empty($val['helplist']) ? '' : $val['helplist'])) . "\n"; |
682 | 682 | $totalarray['nbfield']++; |
@@ -625,7 +625,7 @@ discard block |
||
625 | 625 | print $form->selectDate($search[$key . '_dtend'] ? $search[$key . '_dtend'] : '', "search_" . $key . "_dtend", 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('to')); |
626 | 626 | print '</div>'; |
627 | 627 | } elseif ($key == 'lang') { |
628 | - $formadmin = new FormAdmin($db); |
|
628 | + $formadmin = new FormAdmin($db); |
|
629 | 629 | print $formadmin->select_language((isset($search[$key]) ? $search[$key] : ''), 'search_lang', 0, null, 1, 0, 0, 'minwidth100imp maxwidth125', 2); |
630 | 630 | } else { |
631 | 631 | print '<input type="text" class="flat maxwidth75" name="search_' . $key . '" value="' . dol_escape_htmltag(isset($search[$key]) ? $search[$key] : '') . '">'; |
@@ -893,7 +893,7 @@ discard block |
||
893 | 893 | $hidegeneratedfilelistifempty = 0; |
894 | 894 | } |
895 | 895 | |
896 | - $formfile = new FormFile($db); |
|
896 | + $formfile = new FormFile($db); |
|
897 | 897 | |
898 | 898 | // Show list of available documents |
899 | 899 | $urlsource = $_SERVER['PHP_SELF'] . '?sortfield=' . $sortfield . '&sortorder=' . $sortorder; |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | |
389 | 389 | clearstatcache(true); |
390 | 390 | if (function_exists('opcache_invalidate')) { |
391 | - opcache_reset(); // remove the include cache hell ! |
|
391 | + opcache_reset(); // remove the include cache hell ! |
|
392 | 392 | } |
393 | 393 | |
394 | 394 | header("Location: " . $_SERVER["PHP_SELF"] . '?module=' . $modulename); |
@@ -883,7 +883,7 @@ discard block |
||
883 | 883 | } |
884 | 884 | $stringLog = implode("\n", $strreplace); |
885 | 885 | // @phan-suppress-next-line PhanPluginSuspiciousParamPosition |
886 | - dolReplaceInFile($destfile, array('//include::ChangeLog.md[]' => '','__CHANGELOG__' => $stringLog)); |
|
886 | + dolReplaceInFile($destfile, array('//include::ChangeLog.md[]' => '', '__CHANGELOG__' => $stringLog)); |
|
887 | 887 | } |
888 | 888 | |
889 | 889 | // Delete old documentation files |
@@ -1540,7 +1540,7 @@ discard block |
||
1540 | 1540 | } |
1541 | 1541 | } |
1542 | 1542 | $menus = $moduleobj->menu; |
1543 | - $counter = 0 ; |
|
1543 | + $counter = 0; |
|
1544 | 1544 | foreach ($menus as $menu) { |
1545 | 1545 | if ($menu['leftmenu'] == strtolower($objectname)) { |
1546 | 1546 | $counter++; |
@@ -1682,7 +1682,7 @@ discard block |
||
1682 | 1682 | } else { |
1683 | 1683 | createNewDictionnary($module, $moduledescriptorfile, $newdicname, $dictionaries); |
1684 | 1684 | if (function_exists('opcache_invalidate')) { |
1685 | - opcache_reset(); // remove the include cache hell ! |
|
1685 | + opcache_reset(); // remove the include cache hell ! |
|
1686 | 1686 | } |
1687 | 1687 | clearstatcache(true); |
1688 | 1688 | header("Location: " . constant('BASE_URL') . '/modulebuilder/index.php?tab=dictionaries&module=' . $module . ($forceddirread ? '@' . $dirread : '')); |
@@ -1777,7 +1777,7 @@ discard block |
||
1777 | 1777 | 'isameasure' => GETPOSTINT('propisameasure'), |
1778 | 1778 | 'comment' => GETPOST('propcomment', 'alpha'), |
1779 | 1779 | 'help' => GETPOST('prophelp', 'alpha'), |
1780 | - 'css' => GETPOST('propcss', 'alpha'), // Can be 'maxwidth500 widthcentpercentminusxx' for example |
|
1780 | + 'css' => GETPOST('propcss', 'alpha'), // Can be 'maxwidth500 widthcentpercentminusxx' for example |
|
1781 | 1781 | 'cssview' => GETPOST('propcssview', 'alpha'), |
1782 | 1782 | 'csslist' => GETPOST('propcsslist', 'alpha'), |
1783 | 1783 | 'default' => GETPOST('propdefault', 'restricthtml'), |
@@ -1932,7 +1932,7 @@ discard block |
||
1932 | 1932 | |
1933 | 1933 | clearstatcache(true); |
1934 | 1934 | if (function_exists('opcache_invalidate')) { |
1935 | - opcache_reset(); // remove the include cache hell ! |
|
1935 | + opcache_reset(); // remove the include cache hell ! |
|
1936 | 1936 | } |
1937 | 1937 | |
1938 | 1938 | header("Location: " . $_SERVER["PHP_SELF"] . '?module=deletemodule'); |
@@ -2024,7 +2024,7 @@ discard block |
||
2024 | 2024 | |
2025 | 2025 | clearstatcache(true); |
2026 | 2026 | if (function_exists('opcache_invalidate')) { |
2027 | - opcache_reset(); // remove the include cache hell ! |
|
2027 | + opcache_reset(); // remove the include cache hell ! |
|
2028 | 2028 | } |
2029 | 2029 | $resultko = 0; |
2030 | 2030 | foreach ($filetodelete as $tmpfiletodelete) { |
@@ -2044,7 +2044,7 @@ discard block |
||
2044 | 2044 | } |
2045 | 2045 | |
2046 | 2046 | $action = ''; |
2047 | - if (! $error) { |
|
2047 | + if (!$error) { |
|
2048 | 2048 | $tabobj = 'newobject'; |
2049 | 2049 | } else { |
2050 | 2050 | $tabobj = 'deleteobject'; |
@@ -2147,7 +2147,7 @@ discard block |
||
2147 | 2147 | setEventMessages($langs->trans("DictionaryDeleted", ucfirst(substr($newdicname, 2))), null); |
2148 | 2148 | } |
2149 | 2149 | if (function_exists('opcache_invalidate')) { |
2150 | - opcache_reset(); // remove the include cache hell ! |
|
2150 | + opcache_reset(); // remove the include cache hell ! |
|
2151 | 2151 | } |
2152 | 2152 | clearstatcache(true); |
2153 | 2153 | header("Location: " . constant('BASE_URL') . '/modulebuilder/index.php?tab=dictionaries&module=' . $module . ($forceddirread ? '@' . $dirread : '')); |
@@ -2155,7 +2155,7 @@ discard block |
||
2155 | 2155 | } |
2156 | 2156 | } |
2157 | 2157 | if ($dirins && $action == 'updatedictionary' && GETPOST('dictionnarykey')) { |
2158 | - $keydict = GETPOST('dictionnarykey') - 1 ; |
|
2158 | + $keydict = GETPOST('dictionnarykey') - 1; |
|
2159 | 2159 | |
2160 | 2160 | $pathtofile = $listofmodules[strtolower($module)]['moduledescriptorrelpath']; |
2161 | 2161 | $destdir = $dirins . '/' . strtolower($module); |
@@ -2189,7 +2189,7 @@ discard block |
||
2189 | 2189 | setEventMessages($langs->trans("DictionaryNameUpdated", ucfirst(GETPOST('tablib'))), null); |
2190 | 2190 | } |
2191 | 2191 | if (function_exists('opcache_invalidate')) { |
2192 | - opcache_reset(); // remove the include cache hell ! |
|
2192 | + opcache_reset(); // remove the include cache hell ! |
|
2193 | 2193 | } |
2194 | 2194 | clearstatcache(true); |
2195 | 2195 | header("Location: " . constant('BASE_URL') . '/modulebuilder/index.php?tab=dictionaries&module=' . $module . ($forceddirread ? '@' . $dirread : '')); |
@@ -2364,7 +2364,7 @@ discard block |
||
2364 | 2364 | |
2365 | 2365 | clearstatcache(true); |
2366 | 2366 | if (function_exists('opcache_invalidate')) { |
2367 | - opcache_reset(); // remove the include cache hell ! |
|
2367 | + opcache_reset(); // remove the include cache hell ! |
|
2368 | 2368 | } |
2369 | 2369 | header("Location: " . constant('BASE_URL') . '/modulebuilder/index.php?tab=permissions&module=' . $module); |
2370 | 2370 | exit; |
@@ -2470,7 +2470,7 @@ discard block |
||
2470 | 2470 | setEventMessages($langs->trans('PermissionUpdatedSuccesfuly'), null); |
2471 | 2471 | clearstatcache(true); |
2472 | 2472 | if (function_exists('opcache_invalidate')) { |
2473 | - opcache_reset(); // remove the include cache hell ! |
|
2473 | + opcache_reset(); // remove the include cache hell ! |
|
2474 | 2474 | } |
2475 | 2475 | header("Location: " . constant('BASE_URL') . '/modulebuilder/index.php?tab=permissions&module=' . $module); |
2476 | 2476 | exit; |
@@ -2520,7 +2520,7 @@ discard block |
||
2520 | 2520 | |
2521 | 2521 | clearstatcache(true); |
2522 | 2522 | if (function_exists('opcache_invalidate')) { |
2523 | - opcache_reset(); // remove the include cache hell ! |
|
2523 | + opcache_reset(); // remove the include cache hell ! |
|
2524 | 2524 | } |
2525 | 2525 | |
2526 | 2526 | header("Location: " . constant('BASE_URL') . '/modulebuilder/index.php?tab=permissions&module=' . $module); |
@@ -2690,7 +2690,7 @@ discard block |
||
2690 | 2690 | |
2691 | 2691 | clearstatcache(true); |
2692 | 2692 | if (function_exists('opcache_invalidate')) { |
2693 | - opcache_reset(); // remove the include cache hell ! |
|
2693 | + opcache_reset(); // remove the include cache hell ! |
|
2694 | 2694 | } |
2695 | 2695 | |
2696 | 2696 | setEventMessages($langs->trans('MenuDeletedSuccessfuly'), null); |
@@ -2747,7 +2747,7 @@ discard block |
||
2747 | 2747 | setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("Url")), null, 'errors'); |
2748 | 2748 | } |
2749 | 2749 | if (!empty(GETPOST('target'))) { |
2750 | - $targets = array('_blank','_self','_parent','_top',''); |
|
2750 | + $targets = array('_blank', '_self', '_parent', '_top', ''); |
|
2751 | 2751 | if (!in_array(GETPOST('target'), $targets)) { |
2752 | 2752 | $error++; |
2753 | 2753 | setEventMessages($langs->trans("ErrorFieldValue", $langs->transnoentities("target")), null, 'errors'); |
@@ -2853,7 +2853,7 @@ discard block |
||
2853 | 2853 | |
2854 | 2854 | // Modify a menu entry |
2855 | 2855 | if ($dirins && $action == "update_menu" && GETPOSTINT('menukey') && GETPOST('tabobj')) { |
2856 | - $objectname = GETPOST('tabobj'); |
|
2856 | + $objectname = GETPOST('tabobj'); |
|
2857 | 2857 | $dirins = $listofmodules[strtolower($module)]['moduledescriptorrootpath']; |
2858 | 2858 | $destdir = $dirins . '/' . strtolower($module); |
2859 | 2859 | $objects = dolGetListOfObjectClasses($destdir); |
@@ -2948,7 +2948,7 @@ discard block |
||
2948 | 2948 | } |
2949 | 2949 | } |
2950 | 2950 | } else { |
2951 | - $_POST['type'] = ''; // TODO Use a var here and later |
|
2951 | + $_POST['type'] = ''; // TODO Use a var here and later |
|
2952 | 2952 | $_POST['titre'] = ''; |
2953 | 2953 | $_POST['fk_menu'] = ''; |
2954 | 2954 | $_POST['leftmenu'] = ''; |
@@ -4124,16 +4124,16 @@ discard block |
||
4124 | 4124 | // Define path for sql file |
4125 | 4125 | $pathtosql = strtolower($module) . '/sql/llx_' . strtolower($module) . '_' . strtolower($tabobj) . '-' . strtolower($module) . '.sql'; |
4126 | 4126 | $result = dol_buildpath($pathtosql); |
4127 | - if (! dol_is_file($result)) { |
|
4127 | + if (!dol_is_file($result)) { |
|
4128 | 4128 | $pathtosql = strtolower($module) . '/sql/llx_' . strtolower($module) . '_' . strtolower($tabobj) . '.sql'; |
4129 | 4129 | $result = dol_buildpath($pathtosql); |
4130 | - if (! dol_is_file($result)) { |
|
4130 | + if (!dol_is_file($result)) { |
|
4131 | 4131 | $pathtosql = 'install/mysql/tables/llx_' . strtolower($module) . '_' . strtolower($tabobj) . '-' . strtolower($module) . '.sql'; |
4132 | 4132 | $result = dol_buildpath($pathtosql); |
4133 | - if (! dol_is_file($result)) { |
|
4133 | + if (!dol_is_file($result)) { |
|
4134 | 4134 | $pathtosql = 'install/mysql/tables/llx_' . strtolower($module) . '-' . strtolower($module) . '.sql'; |
4135 | 4135 | $result = dol_buildpath($pathtosql); |
4136 | - if (! dol_is_file($result)) { |
|
4136 | + if (!dol_is_file($result)) { |
|
4137 | 4137 | $pathtosql = 'install/mysql/tables/llx_' . strtolower($module) . '.sql'; |
4138 | 4138 | $pathtosqlextra = 'install/mysql/tables/llx_' . strtolower($module) . '_extrafields.sql'; |
4139 | 4139 | $result = dol_buildpath($pathtosql); |
@@ -4152,7 +4152,7 @@ discard block |
||
4152 | 4152 | $pathtosqlroot = preg_replace('/\/llx_.*$/', '', $pathtosql); |
4153 | 4153 | |
4154 | 4154 | $pathtosqlkey = preg_replace('/\.sql$/', '.key.sql', $pathtosql); |
4155 | - $pathtosqlextrakey = preg_replace('/\.sql$/', '.key.sql', $pathtosqlextra); |
|
4155 | + $pathtosqlextrakey = preg_replace('/\.sql$/', '.key.sql', $pathtosqlextra); |
|
4156 | 4156 | |
4157 | 4157 | $pathtolib = strtolower($module) . '/lib/' . strtolower($module) . '.lib.php'; |
4158 | 4158 | $pathtoobjlib = strtolower($module) . '/lib/' . strtolower($module) . '_' . strtolower($tabobj) . '.lib.php'; |
@@ -5664,7 +5664,7 @@ discard block |
||
5664 | 5664 | if (in_array($perm[5], array('lire', 'read', 'creer', 'write', 'effacer', 'delete'))) { |
5665 | 5665 | print dol_escape_htmltag(ucfirst($perm[4])); |
5666 | 5666 | } else { |
5667 | - print ''; // No particular object |
|
5667 | + print ''; // No particular object |
|
5668 | 5668 | } |
5669 | 5669 | print '</td>'; |
5670 | 5670 |
@@ -45,7 +45,7 @@ |
||
45 | 45 | * View |
46 | 46 | */ |
47 | 47 | |
48 | -$form = new Form($db); // $form is required as global value into dol_banner_tab |
|
48 | +$form = new Form($db); // $form is required as global value into dol_banner_tab |
|
49 | 49 | |
50 | 50 | llxHeader('', $langs->trans("CronInfo")); |
51 | 51 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'conferenceorboothattendeecard'; // To manage different context of search |
48 | 48 | $backtopage = GETPOST('backtopage', 'alpha'); |
49 | 49 | $backtopageforcancel = GETPOST('backtopageforcancel', 'alpha'); |
50 | -$lineid = GETPOSTINT('lineid'); |
|
50 | +$lineid = GETPOSTINT('lineid'); |
|
51 | 51 | $mode = GETPOST('mode', 'alpha'); |
52 | 52 | |
53 | 53 | $conf_or_booth_id = GETPOSTINT('conforboothid'); |