@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | return $result['content']; |
| 168 | 168 | } |
| 169 | 169 | |
| 170 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 170 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 171 | 171 | /** |
| 172 | 172 | * Fonction qui donne les droits redacteurs dans spip |
| 173 | 173 | * |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | */ |
| 177 | 177 | public function add_to_spip($object) |
| 178 | 178 | { |
| 179 | - // phpcs:enable |
|
| 179 | + // phpcs:enable |
|
| 180 | 180 | dol_syslog(get_class($this) . "::add_to_spip"); |
| 181 | 181 | |
| 182 | 182 | if ($this->isSpipEnabled()) { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | return 0; |
| 215 | 215 | } |
| 216 | 216 | |
| 217 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 217 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 218 | 218 | /** |
| 219 | 219 | * Fonction qui enleve les droits redacteurs dans spip |
| 220 | 220 | * |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | */ |
| 224 | 224 | public function del_to_spip($object) |
| 225 | 225 | { |
| 226 | - // phpcs:enable |
|
| 226 | + // phpcs:enable |
|
| 227 | 227 | dol_syslog(get_class($this) . "::del_to_spip"); |
| 228 | 228 | |
| 229 | 229 | if ($this->isSpipEnabled()) { |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | return 0; |
| 256 | 256 | } |
| 257 | 257 | |
| 258 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 258 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 259 | 259 | /** |
| 260 | 260 | * Indicate if the user is an existing editor in spip |
| 261 | 261 | * |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | */ |
| 265 | 265 | public function is_in_spip($object) |
| 266 | 266 | { |
| 267 | - // phpcs:enable |
|
| 267 | + // phpcs:enable |
|
| 268 | 268 | if ($this->isSpipEnabled()) { |
| 269 | 269 | if ($this->checkSpipConfig()) { |
| 270 | 270 | $mydb = $this->connectSpip(); |
@@ -301,7 +301,7 @@ discard block |
||
| 301 | 301 | return -1; |
| 302 | 302 | } |
| 303 | 303 | |
| 304 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 304 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 305 | 305 | /** |
| 306 | 306 | * Subscribe an email to all mailing-lists |
| 307 | 307 | * |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | */ |
| 312 | 312 | public function add_to_mailman($object, $listes = '') |
| 313 | 313 | { |
| 314 | - // phpcs:enable |
|
| 314 | + // phpcs:enable |
|
| 315 | 315 | global $conf, $langs, $user; |
| 316 | 316 | |
| 317 | 317 | dol_syslog(get_class($this) . "::add_to_mailman"); |
@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | return 0; |
| 371 | 371 | } |
| 372 | 372 | |
| 373 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 373 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 374 | 374 | /** |
| 375 | 375 | * Unsubscribe an email from all mailing-lists |
| 376 | 376 | * Used when a user is resiliated |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | */ |
| 382 | 382 | public function del_to_mailman($object, $listes = '') |
| 383 | 383 | { |
| 384 | - // phpcs:enable |
|
| 384 | + // phpcs:enable |
|
| 385 | 385 | global $conf, $langs, $user; |
| 386 | 386 | |
| 387 | 387 | dol_syslog(get_class($this) . "::del_to_mailman"); |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | |
| 80 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 80 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 81 | 81 | /** |
| 82 | 82 | * Assign custom values for canvas (for example into this->tpl to be used by templates) |
| 83 | 83 | * |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public function assign_values(&$action, $id = 0, $ref = '') |
| 90 | 90 | { |
| 91 | - // phpcs:enable |
|
| 91 | + // phpcs:enable |
|
| 92 | 92 | global $conf, $langs, $user, $mysoc; |
| 93 | 93 | global $form, $formcompany; |
| 94 | 94 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | return $object; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 78 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 79 | 79 | /** |
| 80 | 80 | * Assign custom values for canvas (for example into this->tpl to be used by templates) |
| 81 | 81 | * |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | */ |
| 87 | 87 | public function assign_values(&$action, $id = 0, $ref = '') |
| 88 | 88 | { |
| 89 | - // phpcs:enable |
|
| 89 | + // phpcs:enable |
|
| 90 | 90 | global $conf, $langs, $db, $user, $mysoc, $canvas; |
| 91 | 91 | global $form, $formadmin, $formcompany; |
| 92 | 92 | |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | } |
| 380 | 380 | } |
| 381 | 381 | |
| 382 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 382 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 383 | 383 | /** |
| 384 | 384 | * Assign POST values into object |
| 385 | 385 | * |
@@ -388,7 +388,7 @@ discard block |
||
| 388 | 388 | */ |
| 389 | 389 | private function assign_post($action) |
| 390 | 390 | { |
| 391 | - // phpcs:enable |
|
| 391 | + // phpcs:enable |
|
| 392 | 392 | global $langs, $mysoc; |
| 393 | 393 | |
| 394 | 394 | $this->object->id = GETPOST("socid"); |
@@ -299,7 +299,7 @@ |
||
| 299 | 299 | $this->tpl['country'] = ($img ? $img . ' ' : '') . $this->object->country; |
| 300 | 300 | |
| 301 | 301 | $this->tpl['phone'] = dol_print_phone($this->object->phone, $this->object->country_code, 0, $this->object->id, 'AC_TEL'); |
| 302 | - $this->tpl['phone_mobile'] = dol_print_phone($this->object->phone_mobile, $this->object->country_code, 0, $this->object->id, 'AC_MOB'); |
|
| 302 | + $this->tpl['phone_mobile'] = dol_print_phone($this->object->phone_mobile, $this->object->country_code, 0, $this->object->id, 'AC_MOB'); |
|
| 303 | 303 | $this->tpl['fax'] = dol_print_phone($this->object->fax, $this->object->country_code, 0, $this->object->id, 'AC_FAX'); |
| 304 | 304 | $this->tpl['email'] = dol_print_email($this->object->email, 0, $this->object->id, 1); |
| 305 | 305 | $this->tpl['url'] = dol_print_url($this->object->url); |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | return $out; |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 79 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 80 | 80 | /** |
| 81 | 81 | * Assign custom values for canvas (for example into this->tpl to be used by templates) |
| 82 | 82 | * |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | */ |
| 88 | 88 | public function assign_values(&$action, $id = 0, $ref = '') |
| 89 | 89 | { |
| 90 | - // phpcs:enable |
|
| 90 | + // phpcs:enable |
|
| 91 | 91 | global $conf, $langs; |
| 92 | 92 | global $form, $formcompany; |
| 93 | 93 | |
@@ -130,24 +130,24 @@ |
||
| 130 | 130 | $PBX_TIME = dol_print_date(dol_now(), 'dayhourrfc', 'gmt'); |
| 131 | 131 | |
| 132 | 132 | $msg = "PBX_IDENTIFIANT=" . $PBX_IDENTIFIANT . |
| 133 | - "&PBX_MODE=" . $IBS_MODE . |
|
| 134 | - "&PBX_SITE=" . $IBS_SITE . |
|
| 135 | - "&PBX_RANG=" . $IBS_RANG . |
|
| 136 | - "&PBX_TOTAL=" . $IBS_TOTAL . |
|
| 137 | - "&PBX_DEVISE=" . $IBS_DEVISE . |
|
| 138 | - "&PBX_CMD=" . $IBS_CMD . |
|
| 139 | - "&PBX_PORTEUR=" . $IBS_PORTEUR . |
|
| 140 | - "&PBX_RETOUR=" . $IBS_RETOUR . |
|
| 141 | - "&PBX_EFFECTUE=" . $IBS_EFFECTUE . |
|
| 142 | - "&PBX_ANNULE=" . $IBS_ANNULE . |
|
| 143 | - "&PBX_REFUSE=" . $IBS_REFUSE . |
|
| 144 | - "&PBX_TXT=" . $IBS_TXT . |
|
| 145 | - "&PBX_BKGD=" . $IBS_BKGD . |
|
| 146 | - "&PBX_WAIT=" . $IBS_WAIT . |
|
| 147 | - "&PBX_LANGUE=" . $IBS_LANG . |
|
| 148 | - "&PBX_OUTPUT=" . $IBS_OUTPUT . |
|
| 149 | - "&PBX_SOURCE=" . $PBX_SOURCE . |
|
| 150 | - "&PBX_TYPEPAIEMENT=" . $PBX_TYPEPAIEMENT; |
|
| 133 | + "&PBX_MODE=" . $IBS_MODE . |
|
| 134 | + "&PBX_SITE=" . $IBS_SITE . |
|
| 135 | + "&PBX_RANG=" . $IBS_RANG . |
|
| 136 | + "&PBX_TOTAL=" . $IBS_TOTAL . |
|
| 137 | + "&PBX_DEVISE=" . $IBS_DEVISE . |
|
| 138 | + "&PBX_CMD=" . $IBS_CMD . |
|
| 139 | + "&PBX_PORTEUR=" . $IBS_PORTEUR . |
|
| 140 | + "&PBX_RETOUR=" . $IBS_RETOUR . |
|
| 141 | + "&PBX_EFFECTUE=" . $IBS_EFFECTUE . |
|
| 142 | + "&PBX_ANNULE=" . $IBS_ANNULE . |
|
| 143 | + "&PBX_REFUSE=" . $IBS_REFUSE . |
|
| 144 | + "&PBX_TXT=" . $IBS_TXT . |
|
| 145 | + "&PBX_BKGD=" . $IBS_BKGD . |
|
| 146 | + "&PBX_WAIT=" . $IBS_WAIT . |
|
| 147 | + "&PBX_LANGUE=" . $IBS_LANG . |
|
| 148 | + "&PBX_OUTPUT=" . $IBS_OUTPUT . |
|
| 149 | + "&PBX_SOURCE=" . $PBX_SOURCE . |
|
| 150 | + "&PBX_TYPEPAIEMENT=" . $PBX_TYPEPAIEMENT; |
|
| 151 | 151 | // "&PBX_HASH=".$PBX_HASH; |
| 152 | 152 | // "&PBX_TIME=".$PBX_TIME; |
| 153 | 153 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | abstract class ModelePDFPartnership extends CommonDocGenerator |
| 41 | 41 | { |
| 42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 43 | 43 | /** |
| 44 | 44 | * Return list of active generation modules |
| 45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 51 | 51 | { |
| 52 | - // phpcs:enable |
|
| 52 | + // phpcs:enable |
|
| 53 | 53 | global $conf; |
| 54 | 54 | |
| 55 | 55 | $type = 'partnership'; |
@@ -1100,7 +1100,7 @@ discard block |
||
| 1100 | 1100 | return $this->LibStatut($this->status, $mode); |
| 1101 | 1101 | } |
| 1102 | 1102 | |
| 1103 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1103 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 1104 | 1104 | /** |
| 1105 | 1105 | * Return the status |
| 1106 | 1106 | * |
@@ -1110,7 +1110,7 @@ discard block |
||
| 1110 | 1110 | */ |
| 1111 | 1111 | public function LibStatut($status, $mode = 0) |
| 1112 | 1112 | { |
| 1113 | - // phpcs:enable |
|
| 1113 | + // phpcs:enable |
|
| 1114 | 1114 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
| 1115 | 1115 | global $langs; |
| 1116 | 1116 | //$langs->load("partnership"); |
@@ -70,9 +70,9 @@ |
||
| 70 | 70 | |
| 71 | 71 | |
| 72 | 72 | const STATUS_DRAFT = 0; |
| 73 | - const STATUS_VALIDATED = 1; // Validate (no more draft) |
|
| 74 | - const STATUS_APPROVED = 2; // Approved |
|
| 75 | - const STATUS_REFUSED = 3; // Refused |
|
| 73 | + const STATUS_VALIDATED = 1; // Validate (no more draft) |
|
| 74 | + const STATUS_APPROVED = 2; // Approved |
|
| 75 | + const STATUS_REFUSED = 3; // Refused |
|
| 76 | 76 | const STATUS_CANCELED = 9; |
| 77 | 77 | |
| 78 | 78 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | abstract class ModelePDFRecruitmentCandidature extends CommonDocGenerator |
| 41 | 41 | { |
| 42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 43 | 43 | /** |
| 44 | 44 | * Return list of active generation modules |
| 45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 51 | 51 | { |
| 52 | - // phpcs:enable |
|
| 52 | + // phpcs:enable |
|
| 53 | 53 | $type = 'recruitmentjobcandidature'; |
| 54 | 54 | $list = array(); |
| 55 | 55 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | abstract class ModelePDFRecruitmentJobPosition extends CommonDocGenerator |
| 41 | 41 | { |
| 42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 43 | 43 | /** |
| 44 | 44 | * Return list of active generation modules |
| 45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 51 | 51 | { |
| 52 | - // phpcs:enable |
|
| 52 | + // phpcs:enable |
|
| 53 | 53 | $type = 'recruitmentjobposition'; |
| 54 | 54 | $list = array(); |
| 55 | 55 | |