@@ -1211,7 +1211,7 @@ |
||
| 1211 | 1211 | ) { |
| 1212 | 1212 | if (!$hideRestrictedCols) { |
| 1213 | 1213 | $grid .= $this->tt_content_drawColHeader($this->getLanguageService()->sL($columnConfig['name']) . |
| 1214 | - ' (' . $this->getLanguageService()->getLL('noAccess') . ')'); |
|
| 1214 | + ' (' . $this->getLanguageService()->getLL('noAccess') . ')'); |
|
| 1215 | 1215 | } |
| 1216 | 1216 | } elseif (isset($columnConfig['name']) && $columnConfig['name'] !== '') { |
| 1217 | 1217 | $grid .= $this->tt_content_drawColHeader($this->getLanguageService()->sL($columnConfig['name']) |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | 'TABLECFG' => 'Using $TABLECFG of class TableController from the outside is discouraged, as this variable is only used for internal storage.', |
| 54 | 54 | 'tableParsing_quote' => 'Using $tableParsing_quote of class TableController from the outside is discouraged, as this variable is only used for internal storage.', |
| 55 | 55 | 'tableParsing_delimiter' => 'Using $tableParsing_delimiter of class TableController from the outside is discouraged, as this variable is only used for internal storage.', |
| 56 | - ]; |
|
| 56 | + ]; |
|
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * Content accumulation for the module. |
@@ -105,9 +105,9 @@ |
||
| 105 | 105 | |
| 106 | 106 | return !isset($result['maintained_until']) || |
| 107 | 107 | ( |
| 108 | - new \DateTimeImmutable($result['maintained_until']) >= |
|
| 109 | - new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
| 110 | - ); |
|
| 108 | + new \DateTimeImmutable($result['maintained_until']) >= |
|
| 109 | + new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
| 110 | + ); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /** |
@@ -94,9 +94,9 @@ |
||
| 94 | 94 | if ($isComposerMode && !$isExtensionAvailable) { |
| 95 | 95 | $updateSuccessful = false; |
| 96 | 96 | $customMessage .= 'The extension ' . $extensionKey . ' can not be downloaded since ' . |
| 97 | - 'Composer is used for package management. Please require this ' . |
|
| 98 | - 'extension as package via Composer: ' . |
|
| 99 | - '"composer require ' . $extensionDetails['composerName'] . ':^' . $extensionDetails['versionString'] . '"'; |
|
| 97 | + 'Composer is used for package management. Please require this ' . |
|
| 98 | + 'extension as package via Composer: ' . |
|
| 99 | + '"composer require ' . $extensionDetails['composerName'] . ':^' . $extensionDetails['versionString'] . '"'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | if ($updateSuccessful) { |
@@ -700,9 +700,9 @@ |
||
| 700 | 700 | $iconPath = PathUtility::stripPathSitePrefix($fullPath); |
| 701 | 701 | $this->iconFileNameCache[$imageType] = $imageInfo->getWidth() |
| 702 | 702 | ? '<img src="' . $iconPath |
| 703 | - . '" width="' . $imageInfo->getWidth() |
|
| 704 | - . '" height="' . $imageInfo->getHeight() |
|
| 705 | - . '" title="' . htmlspecialchars($alt) . '" alt="" />' |
|
| 703 | + . '" width="' . $imageInfo->getWidth() |
|
| 704 | + . '" height="' . $imageInfo->getHeight() |
|
| 705 | + . '" title="' . htmlspecialchars($alt) . '" alt="" />' |
|
| 706 | 706 | : ''; |
| 707 | 707 | } |
| 708 | 708 | } |
@@ -3105,7 +3105,7 @@ discard block |
||
| 3105 | 3105 | // is relative. Prepended with the public web folder |
| 3106 | 3106 | $filename = Environment::getPublicPath() . '/' . $filename; |
| 3107 | 3107 | } elseif (!( |
| 3108 | - static::isFirstPartOfStr($filename, Environment::getProjectPath()) |
|
| 3108 | + static::isFirstPartOfStr($filename, Environment::getProjectPath()) |
|
| 3109 | 3109 | || static::isFirstPartOfStr($filename, Environment::getPublicPath()) |
| 3110 | 3110 | )) { |
| 3111 | 3111 | // absolute, but set to blank if not allowed |
@@ -3160,7 +3160,7 @@ discard block |
||
| 3160 | 3160 | static::isFirstPartOfStr($path, Environment::getProjectPath()) |
| 3161 | 3161 | || static::isFirstPartOfStr($path, Environment::getPublicPath()) |
| 3162 | 3162 | || $lockRootPath && static::isFirstPartOfStr($path, $lockRootPath) |
| 3163 | - ); |
|
| 3163 | + ); |
|
| 3164 | 3164 | } |
| 3165 | 3165 | |
| 3166 | 3166 | /** |
@@ -1832,8 +1832,8 @@ discard block |
||
| 1832 | 1832 | ]) |
| 1833 | 1833 | ->setHref('#') |
| 1834 | 1834 | ->setIcon($this->moduleTemplate->getIconFactory()->getIcon( |
| 1835 | - 'actions-edit-delete', |
|
| 1836 | - Icon::SIZE_SMALL |
|
| 1835 | + 'actions-edit-delete', |
|
| 1836 | + Icon::SIZE_SMALL |
|
| 1837 | 1837 | )) |
| 1838 | 1838 | ->setShowLabelText(true) |
| 1839 | 1839 | ->setTitle($this->getLanguageService()->getLL('deleteItem')); |
@@ -2506,16 +2506,16 @@ discard block |
||
| 2506 | 2506 | // Add join with pages translations to only show active languages |
| 2507 | 2507 | if ($table !== 'pages') { |
| 2508 | 2508 | $queryBuilder->from('pages', 'o') |
| 2509 | - ->where( |
|
| 2510 | - $queryBuilder->expr()->eq( |
|
| 2511 | - 'o.' . $GLOBALS['TCA']['pages']['ctrl']['languageField'], |
|
| 2512 | - $queryBuilder->quoteIdentifier('s.uid') |
|
| 2513 | - ), |
|
| 2514 | - $queryBuilder->expr()->eq( |
|
| 2515 | - 'o.' . $GLOBALS['TCA']['pages']['ctrl']['transOrigPointerField'], |
|
| 2516 | - $queryBuilder->createNamedParameter($id, \PDO::PARAM_INT) |
|
| 2517 | - ) |
|
| 2518 | - ); |
|
| 2509 | + ->where( |
|
| 2510 | + $queryBuilder->expr()->eq( |
|
| 2511 | + 'o.' . $GLOBALS['TCA']['pages']['ctrl']['languageField'], |
|
| 2512 | + $queryBuilder->quoteIdentifier('s.uid') |
|
| 2513 | + ), |
|
| 2514 | + $queryBuilder->expr()->eq( |
|
| 2515 | + 'o.' . $GLOBALS['TCA']['pages']['ctrl']['transOrigPointerField'], |
|
| 2516 | + $queryBuilder->createNamedParameter($id, \PDO::PARAM_INT) |
|
| 2517 | + ) |
|
| 2518 | + ); |
|
| 2519 | 2519 | } |
| 2520 | 2520 | } |
| 2521 | 2521 | |