@@ -1178,7 +1178,7 @@ discard block |
||
1178 | 1178 | } |
1179 | 1179 | } |
1180 | 1180 | |
1181 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1181 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1182 | 1182 | /** |
1183 | 1183 | * Load lines |
1184 | 1184 | * |
@@ -1186,7 +1186,7 @@ discard block |
||
1186 | 1186 | */ |
1187 | 1187 | public function fetch_lines() |
1188 | 1188 | { |
1189 | - // phpcs:enable |
|
1189 | + // phpcs:enable |
|
1190 | 1190 | $this->lines = array(); |
1191 | 1191 | |
1192 | 1192 | |
@@ -1327,7 +1327,7 @@ discard block |
||
1327 | 1327 | return $this->LibStatut($this->statut, $mode); |
1328 | 1328 | } |
1329 | 1329 | |
1330 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1330 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1331 | 1331 | /** |
1332 | 1332 | * Return label of a status |
1333 | 1333 | * |
@@ -1337,7 +1337,7 @@ discard block |
||
1337 | 1337 | */ |
1338 | 1338 | public function LibStatut($status, $mode) |
1339 | 1339 | { |
1340 | - // phpcs:enable |
|
1340 | + // phpcs:enable |
|
1341 | 1341 | global $langs; |
1342 | 1342 | |
1343 | 1343 | // List of long language codes for status |
@@ -1498,7 +1498,7 @@ discard block |
||
1498 | 1498 | } |
1499 | 1499 | } |
1500 | 1500 | |
1501 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1501 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1502 | 1502 | /** |
1503 | 1503 | * Fetch deliveries method and return an array. Load array this->meths(rowid=>label). |
1504 | 1504 | * |
@@ -1506,7 +1506,7 @@ discard block |
||
1506 | 1506 | */ |
1507 | 1507 | public function fetch_delivery_methods() |
1508 | 1508 | { |
1509 | - // phpcs:enable |
|
1509 | + // phpcs:enable |
|
1510 | 1510 | global $langs; |
1511 | 1511 | $this->meths = array(); |
1512 | 1512 | |
@@ -1524,7 +1524,7 @@ discard block |
||
1524 | 1524 | } |
1525 | 1525 | } |
1526 | 1526 | |
1527 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1527 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1528 | 1528 | /** |
1529 | 1529 | * Fetch all deliveries method and return an array. Load array this->listmeths. |
1530 | 1530 | * |
@@ -1533,7 +1533,7 @@ discard block |
||
1533 | 1533 | */ |
1534 | 1534 | public function list_delivery_methods($id = 0) |
1535 | 1535 | { |
1536 | - // phpcs:enable |
|
1536 | + // phpcs:enable |
|
1537 | 1537 | global $langs; |
1538 | 1538 | |
1539 | 1539 | $this->listmeths = array(); |
@@ -227,17 +227,17 @@ |
||
227 | 227 | <?php if ($floor > 1) { ?> |
228 | 228 | <img class="valignmiddle" src="./img/arrow-prev.png" width="5%" |
229 | 229 | onclick="location.href='floors.php?floor=<?php if ($floor > 1) { |
230 | - $floor--; |
|
231 | - echo $floor; |
|
232 | - $floor++; |
|
233 | - } else { |
|
234 | - echo "1"; |
|
235 | - } ?>';"> |
|
230 | + $floor--; |
|
231 | + echo $floor; |
|
232 | + $floor++; |
|
233 | + } else { |
|
234 | + echo "1"; |
|
235 | + } ?>';"> |
|
236 | 236 | <?php } ?> |
237 | 237 | <span class="valignmiddle"><?php echo $langs->trans("Floor") . " " . $floor; ?></span> |
238 | 238 | <img src="./img/arrow-next.png" class="valignmiddle" width="5%" |
239 | 239 | onclick="location.href='floors.php?floor=<?php $floor++; |
240 | - echo $floor; ?>';"> |
|
240 | + echo $floor; ?>';"> |
|
241 | 241 | </h1> |
242 | 242 | </center> |
243 | 243 | </div> |
@@ -61,7 +61,7 @@ |
||
61 | 61 | function dol_getprefix($mode = '') |
62 | 62 | { |
63 | 63 | global $dolibarr_main_instance_unique_id, |
64 | - $dolibarr_main_cookie_cryptkey; // This is loaded by filefunc.inc.php |
|
64 | + $dolibarr_main_cookie_cryptkey; // This is loaded by filefunc.inc.php |
|
65 | 65 | |
66 | 66 | $tmp_instance_unique_id = empty($dolibarr_main_instance_unique_id) ? |
67 | 67 | (empty($dolibarr_main_cookie_cryptkey) ? '' : |
@@ -21,11 +21,11 @@ |
||
21 | 21 | use Dolibarr\Code\WebPortal\Classes\Context; |
22 | 22 | use Dolibarr\Code\WebPortal\Classes\Controller; |
23 | 23 | |
24 | - /** |
|
25 | - * \file htdocs/webportal/controllers/default.controller.class.php |
|
26 | - * \ingroup webportal |
|
27 | - * \brief This file is a controller for default |
|
28 | - */ |
|
24 | + /** |
|
25 | + * \file htdocs/webportal/controllers/default.controller.class.php |
|
26 | + * \ingroup webportal |
|
27 | + * \brief This file is a controller for default |
|
28 | + */ |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Class for DefaultController |
@@ -21,14 +21,14 @@ |
||
21 | 21 | use Dolibarr\Code\WebPortal\Classes\Context; |
22 | 22 | use Dolibarr\Code\WebPortal\Classes\Controller; |
23 | 23 | |
24 | - /** |
|
25 | - * \file htdocs/webportal/controllers/login.controller.class.php |
|
26 | - * \ingroup webportal |
|
27 | - * \brief This file is a controller for login |
|
28 | - */ |
|
24 | + /** |
|
25 | + * \file htdocs/webportal/controllers/login.controller.class.php |
|
26 | + * \ingroup webportal |
|
27 | + * \brief This file is a controller for login |
|
28 | + */ |
|
29 | 29 | /** |
30 | - * Class for LoginController |
|
31 | - */ |
|
30 | + * Class for LoginController |
|
31 | + */ |
|
32 | 32 | class LoginController extends Controller |
33 | 33 | { |
34 | 34 | /** |
@@ -21,11 +21,11 @@ |
||
21 | 21 | use Dolibarr\Code\WebPortal\Classes\Context; |
22 | 22 | use Dolibarr\Code\WebPortal\Classes\Controller; |
23 | 23 | |
24 | - /** |
|
25 | - * \file htdocs/webportal/controllers/document.controller.class.php |
|
26 | - * \ingroup webportal |
|
27 | - * \brief This file is a controller for documents |
|
28 | - */ |
|
24 | + /** |
|
25 | + * \file htdocs/webportal/controllers/document.controller.class.php |
|
26 | + * \ingroup webportal |
|
27 | + * \brief This file is a controller for documents |
|
28 | + */ |
|
29 | 29 | |
30 | 30 | require_once constant('DOL_DOCUMENT_ROOT') . '/core/lib/files.lib.php'; |
31 | 31 |