@@ -49,7 +49,7 @@ |
||
| 49 | 49 | |
| 50 | 50 | $action = GETPOST('action', 'aZ09'); |
| 51 | 51 | $value = GETPOST('value', 'alpha'); |
| 52 | -$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 52 | +$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 53 | 53 | |
| 54 | 54 | $label = GETPOST('label', 'alpha'); |
| 55 | 55 | $scandir = GETPOST('scan_dir', 'alpha'); |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | |
| 50 | 50 | $action = GETPOST('action', 'aZ09'); |
| 51 | 51 | $value = GETPOST('value', 'alpha'); |
| 52 | -$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 52 | +$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 53 | 53 | |
| 54 | 54 | $label = GETPOST('label', 'alpha'); |
| 55 | 55 | $scandir = GETPOST('scan_dir', 'alpha'); |
@@ -2809,7 +2809,7 @@ |
||
| 2809 | 2809 | print '</td>'; |
| 2810 | 2810 | } elseif ($value == 'type_duration') { |
| 2811 | 2811 | print '<td>'; |
| 2812 | - print $form->selectTypeDuration('', (empty($obj->type_duration) ? '' : $obj->type_duration), array('i','h')); |
|
| 2812 | + print $form->selectTypeDuration('', (empty($obj->type_duration) ? '' : $obj->type_duration), array('i', 'h')); |
|
| 2813 | 2813 | print '</td>'; |
| 2814 | 2814 | } else { |
| 2815 | 2815 | $fieldValue = isset($obj->{$value}) ? $obj->{$value} : ''; |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | $action = GETPOST('action', 'aZ09'); |
| 52 | 52 | $value = GETPOST('value', 'alpha'); |
| 53 | -$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 53 | +$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 54 | 54 | |
| 55 | 55 | $label = GETPOST('label', 'alpha'); |
| 56 | 56 | $scandir = GETPOST('scan_dir', 'alpha'); |
@@ -689,7 +689,7 @@ discard block |
||
| 689 | 689 | |
| 690 | 690 | // Disallow to classify billed an order without invoice, only if module invoice is enable |
| 691 | 691 | if (isModEnabled('invoice')) { |
| 692 | - print '<tr class="oddeven"><td>' . $langs->trans("InvoiceClassifyBilledSupplierOrderWithoutInvoice") . ' ' ; |
|
| 692 | + print '<tr class="oddeven"><td>' . $langs->trans("InvoiceClassifyBilledSupplierOrderWithoutInvoice") . ' '; |
|
| 693 | 693 | print $form->textwithpicto('', $langs->trans("InvoiceClassifyBilledSupplierOrderWithoutInvoiceHelp"), 1, 'help') . '</td>'; |
| 694 | 694 | print '<td class="left" colspan="2">'; |
| 695 | 695 | print ajax_constantonoff('ORDER_DISABLE_CLASSIFY_BILLED_FROM_ORDER'); |
@@ -22,8 +22,8 @@ |
||
| 22 | 22 | * \brief Page to purge files (temporary or not) |
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | -if (! defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 26 | - define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 25 | +if (!defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 26 | + define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | // Load Dolibarr environment |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | * \brief Page to import database |
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | -if (! defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 27 | - define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 26 | +if (!defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 27 | + define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | // Load Dolibarr environment |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | * \brief Page to make a Dolibarr online upgrade |
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | -if (! defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 27 | - define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 26 | +if (!defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 27 | + define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | // Load Dolibarr environment |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | * \brief List of PHP sessions |
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | -if (! defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 27 | - define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 26 | +if (!defined('CSRFCHECK_WITH_TOKEN')) { |
|
| 27 | + define('CSRFCHECK_WITH_TOKEN', '1'); // Force use of CSRF protection with tokens even for GET |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | // Load Dolibarr environment |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | // Load translation files required by the page |
| 47 | -$langs->loadLangs(array("companies", "admin", "users", "other","withdrawals")); |
|
| 47 | +$langs->loadLangs(array("companies", "admin", "users", "other", "withdrawals")); |
|
| 48 | 48 | |
| 49 | 49 | // Load variable for pagination |
| 50 | 50 | $limit = GETPOSTINT('limit') ? GETPOSTINT('limit') : $conf->liste_limit; |