@@ -35,8 +35,8 @@ |
||
| 35 | 35 | public $primaryColorHex = '#263c5c'; |
| 36 | 36 | public $primaryColorHsl = array( |
| 37 | 37 | 'h' => 216, // Hue |
| 38 | - 'l' => 42, // lightness |
|
| 39 | - 's' => 25, // Saturation |
|
| 38 | + 'l' => 42, // lightness |
|
| 39 | + 's' => 25, // Saturation |
|
| 40 | 40 | 'a' => 1 // Alfa |
| 41 | 41 | ); |
| 42 | 42 | |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | return $this->LibStatut($this->paye, $this->fk_statut, $mode, $alreadypaid, $this->type); |
| 324 | 324 | } |
| 325 | 325 | |
| 326 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 326 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 327 | 327 | |
| 328 | 328 | /** |
| 329 | 329 | * Return label of a status |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | */ |
| 338 | 338 | public function LibStatut($paye, $status, $mode = 0, $alreadypaid = -1, $type = -1) |
| 339 | 339 | { |
| 340 | - // phpcs:enable |
|
| 340 | + // phpcs:enable |
|
| 341 | 341 | return $this->getInvoiceStatic()->LibStatut($paye, $status, $mode, $alreadypaid, $type); |
| 342 | 342 | } |
| 343 | 343 | } |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | return $this->LibStatut($this->status, $this->need_subscription, $this->datefin, $mode); |
| 391 | 391 | } |
| 392 | 392 | |
| 393 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 393 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 394 | 394 | |
| 395 | 395 | /** |
| 396 | 396 | * Renvoi le libelle d'un statut donne |
@@ -403,7 +403,7 @@ discard block |
||
| 403 | 403 | */ |
| 404 | 404 | public function LibStatut($status, $need_subscription, $date_end_subscription, $mode = 0) |
| 405 | 405 | { |
| 406 | - // phpcs:enable |
|
| 406 | + // phpcs:enable |
|
| 407 | 407 | return $this->getMemberStatic()->LibStatut($status, $need_subscription, $date_end_subscription, $mode); |
| 408 | 408 | } |
| 409 | 409 | |
@@ -171,8 +171,8 @@ |
||
| 171 | 171 | $confirm = GETPOST('confirm', 'alpha'); |
| 172 | 172 | $cancel = GETPOST('cancel', 'aZ09'); |
| 173 | 173 | $contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'webportal' . $elementEn . 'card'; // To manage different context of search |
| 174 | - $backtopage = GETPOST('backtopage', 'alpha'); // if not set, a default page will be used |
|
| 175 | - $backtopageforcancel = GETPOST('backtopageforcancel', 'alpha'); // if not set, $backtopage will be used |
|
| 174 | + $backtopage = GETPOST('backtopage', 'alpha'); // if not set, a default page will be used |
|
| 175 | + $backtopageforcancel = GETPOST('backtopageforcancel', 'alpha'); // if not set, $backtopage will be used |
|
| 176 | 176 | $backtopagejsfields = GETPOST('backtopagejsfields', 'alpha'); |
| 177 | 177 | |
| 178 | 178 | // Initialize technical objects |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | return $this->LibStatut($this->fk_statut, $mode); |
| 316 | 316 | } |
| 317 | 317 | |
| 318 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 318 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 319 | 319 | /** |
| 320 | 320 | * Return the label of a given status |
| 321 | 321 | * |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | */ |
| 326 | 326 | public function LibStatut($status, $mode = 0) |
| 327 | 327 | { |
| 328 | - // phpcs:enable |
|
| 328 | + // phpcs:enable |
|
| 329 | 329 | return $this->getPropalStatic()->LibStatut($status, $mode); |
| 330 | 330 | } |
| 331 | 331 | } |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | return $this->LibStatut($this->fk_statut, $this->billed, $mode); |
| 321 | 321 | } |
| 322 | 322 | |
| 323 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 323 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 324 | 324 | /** |
| 325 | 325 | * Return label of status |
| 326 | 326 | * |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | */ |
| 333 | 333 | public function LibStatut($status, $billed, $mode, $donotshowbilled = 0) |
| 334 | 334 | { |
| 335 | - // phpcs:enable |
|
| 335 | + // phpcs:enable |
|
| 336 | 336 | return $this->getOrderStatic()->LibStatut($status, $billed, $mode, $donotshowbilled); |
| 337 | 337 | } |
| 338 | 338 | } |
@@ -145,7 +145,7 @@ |
||
| 145 | 145 | |
| 146 | 146 | if ($action == 'updatepattern') { |
| 147 | 147 | $pattern = GETPOST("pattern", "alpha"); |
| 148 | - $explodePattern = explode(';', $pattern); // List of ints separated with ';' containing counts |
|
| 148 | + $explodePattern = explode(';', $pattern); // List of ints separated with ';' containing counts |
|
| 149 | 149 | |
| 150 | 150 | $patternInError = false; |
| 151 | 151 | if ((int) $explodePattern[0] < 1 || (int) $explodePattern[4] < 0) { |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | |
| 195 | 195 | $globalkey = empty($provider) ? $label : $label . '-' . $provider; |
| 196 | 196 | |
| 197 | - if (!dolibarr_del_const($db, $globalkey . '_NAME', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_ID', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_SECRET', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_URLAUTHORIZE', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_SCOPE', $conf->entity)) { |
|
| 197 | + if (!dolibarr_del_const($db, $globalkey . '_NAME', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_ID', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_SECRET', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_URLAUTHORIZE', $conf->entity) || !dolibarr_del_const($db, $globalkey . '_SCOPE', $conf->entity)) { |
|
| 198 | 198 | setEventMessages($langs->trans("ErrorInEntryDeletion"), null, 'errors'); |
| 199 | 199 | $error++; |
| 200 | 200 | } else { |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | $provider . '_NAME', |
| 271 | 271 | $provider . '_ID', |
| 272 | 272 | $provider . '_SECRET', |
| 273 | - $provider . '_URLAUTHORIZE', // For custom oauth links |
|
| 273 | + $provider . '_URLAUTHORIZE', // For custom oauth links |
|
| 274 | 274 | $provider . '_SCOPE' // For custom oauth links |
| 275 | 275 | ); |
| 276 | 276 | } |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | // $list is defined into oauth.lib.php to the list of supporter OAuth providers. |
| 290 | 290 | foreach ($listinsetup as $key) { |
| 291 | 291 | $supported = 0; |
| 292 | - $keyforsupportedoauth2array = $key[0]; // May be OAUTH_GOOGLE_NAME or OAUTH_GOOGLE_xxx_NAME |
|
| 292 | + $keyforsupportedoauth2array = $key[0]; // May be OAUTH_GOOGLE_NAME or OAUTH_GOOGLE_xxx_NAME |
|
| 293 | 293 | $keyforsupportedoauth2array = preg_replace('/^OAUTH_/', '', $keyforsupportedoauth2array); |
| 294 | 294 | $keyforsupportedoauth2array = preg_replace('/_NAME$/', '', $keyforsupportedoauth2array); |
| 295 | 295 | if (preg_match('/^.*-/', $keyforsupportedoauth2array)) { |
@@ -43,13 +43,13 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | $value = GETPOST('value', 'alpha'); |
| 45 | 45 | $label = GETPOST('label', 'alpha'); |
| 46 | -$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 46 | +$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php |
|
| 47 | 47 | |
| 48 | 48 | $scandir = GETPOST('scan_dir', 'alpha'); |
| 49 | 49 | $type = 'myobject'; |
| 50 | 50 | |
| 51 | 51 | $arrayofparameters = array( |
| 52 | - 'EVENTORGANIZATION_TASK_LABEL' => array('type' => 'textarea','enabled' => 1, 'css' => ''), |
|
| 52 | + 'EVENTORGANIZATION_TASK_LABEL' => array('type' => 'textarea', 'enabled' => 1, 'css' => ''), |
|
| 53 | 53 | 'EVENTORGANIZATION_CATEG_THIRDPARTY_CONF' => array('type' => 'category:' . Categorie::TYPE_CUSTOMER, 'enabled' => 1, 'css' => ''), |
| 54 | 54 | 'EVENTORGANIZATION_CATEG_THIRDPARTY_BOOTH' => array('type' => 'category:' . Categorie::TYPE_CUSTOMER, 'enabled' => 1, 'css' => ''), |
| 55 | 55 | 'EVENTORGANIZATION_FILTERATTENDEES_CAT' => array('type' => 'category:' . Categorie::TYPE_CUSTOMER, 'enabled' => 1, 'css' => ''), |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | |
| 84 | 84 | if ($cancel) { |
| 85 | - $action = ''; |
|
| 85 | + $action = ''; |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | include DOL_DOCUMENT_ROOT . '/core/actions_setmoduleoptions.inc.php'; |