@@ -36,14 +36,14 @@ |
||
36 | 36 | */ |
37 | 37 | class GetYoutubeIdViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper { |
38 | 38 | |
39 | - /** |
|
40 | - * @param string $url |
|
41 | - * @return string |
|
42 | - */ |
|
43 | - public function render($url) { |
|
44 | - if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $url, $match)) { |
|
45 | - $videoId = $match[1]; |
|
46 | - } |
|
47 | - return $videoId; |
|
48 | - } |
|
39 | + /** |
|
40 | + * @param string $url |
|
41 | + * @return string |
|
42 | + */ |
|
43 | + public function render($url) { |
|
44 | + if (preg_match('%(?:youtube(?:-nocookie)?\.com/(?:[^/]+/.+/|(?:v|e(?:mbed)?)/|.*[?&]v=)|youtu\.be/)([^"&?/ ]{11})%i', $url, $match)) { |
|
45 | + $videoId = $match[1]; |
|
46 | + } |
|
47 | + return $videoId; |
|
48 | + } |
|
49 | 49 | } |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | 'text' => 'mimetypes-x-content-text' |
29 | 29 | ) |
30 | 30 | ); |
31 | -if (TRUE === isset($GLOBALS['TCA']['tt_content']['ctrl']['typeicons'])) { |
|
31 | +if (TRUE===isset($GLOBALS['TCA']['tt_content']['ctrl']['typeicons'])) { |
|
32 | 32 | $GLOBALS['TCA']['tt_content']['ctrl']['typeicons'] = array_merge( |
33 | 33 | $GLOBALS['TCA']['tt_content']['ctrl']['typeicons'], |
34 | 34 | array( |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['fileExtensionToMimeType']['ogv'] = 'video/ogv'; |
59 | 59 | $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'] .= ',ogv'; |
60 | 60 | |
61 | -$additionalColumns = Array ( |
|
61 | +$additionalColumns = Array( |
|
62 | 62 | 'assets' => Array( |
63 | 63 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.asset_references', |
64 | 64 | 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('assets', Array( |
@@ -68,52 +68,52 @@ discard block |
||
68 | 68 | 'foreign_types' => $GLOBALS['TCA']['tt_content']['columns']['image']['config']['foreign_types'] |
69 | 69 | ), $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext']) |
70 | 70 | ), |
71 | - 'tx_mooxcore_hide_desktop' => Array ( |
|
71 | + 'tx_mooxcore_hide_desktop' => Array( |
|
72 | 72 | 'exclude' => 1, |
73 | 73 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.tx_mooxcore_hide_desktop', |
74 | - 'config' => Array ( |
|
74 | + 'config' => Array( |
|
75 | 75 | 'type' => 'check', |
76 | 76 | ) |
77 | 77 | ), |
78 | - 'tx_mooxcore_hide_laptop' => Array ( |
|
78 | + 'tx_mooxcore_hide_laptop' => Array( |
|
79 | 79 | 'exclude' => 1, |
80 | 80 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.tx_mooxcore_hide_laptop', |
81 | - 'config' => Array ( |
|
81 | + 'config' => Array( |
|
82 | 82 | 'type' => 'check', |
83 | 83 | ) |
84 | 84 | ), |
85 | - 'tx_mooxcore_hide_tablet' => Array ( |
|
85 | + 'tx_mooxcore_hide_tablet' => Array( |
|
86 | 86 | 'exclude' => 1, |
87 | 87 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.tx_mooxcore_hide_tablet', |
88 | - 'config' => Array ( |
|
88 | + 'config' => Array( |
|
89 | 89 | 'type' => 'check', |
90 | 90 | ) |
91 | 91 | ), |
92 | - 'tx_mooxcore_hide_phone' => Array ( |
|
92 | + 'tx_mooxcore_hide_phone' => Array( |
|
93 | 93 | 'exclude' => 1, |
94 | 94 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.tx_mooxcore_hide_phone', |
95 | - 'config' => Array ( |
|
95 | + 'config' => Array( |
|
96 | 96 | 'type' => 'check', |
97 | 97 | ) |
98 | 98 | ), |
99 | - 'tx_mooxcore_hide_print' => Array ( |
|
99 | + 'tx_mooxcore_hide_print' => Array( |
|
100 | 100 | 'exclude' => 1, |
101 | 101 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.tx_mooxcore_hide_print', |
102 | - 'config' => Array ( |
|
102 | + 'config' => Array( |
|
103 | 103 | 'type' => 'check', |
104 | 104 | ) |
105 | 105 | ), |
106 | - 'tx_mooxcore_hide_barrierfree' => Array ( |
|
106 | + 'tx_mooxcore_hide_barrierfree' => Array( |
|
107 | 107 | 'exclude' => 1, |
108 | 108 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.tx_mooxcore_hide_barrierfree', |
109 | - 'config' => Array ( |
|
109 | + 'config' => Array( |
|
110 | 110 | 'type' => 'check', |
111 | 111 | ) |
112 | 112 | ), |
113 | - 'tx_mooxcore_hide_oldbrowser' => Array ( |
|
113 | + 'tx_mooxcore_hide_oldbrowser' => Array( |
|
114 | 114 | 'exclude' => 1, |
115 | 115 | 'label' => 'LLL:EXT:moox_core/Resources/Private/Language/Database.xlf:tt_content.tx_mooxcore_hide_oldbrowser', |
116 | - 'config' => Array ( |
|
116 | + 'config' => Array( |
|
117 | 117 | 'type' => 'check', |
118 | 118 | ) |
119 | 119 | ), |
@@ -419,12 +419,12 @@ discard block |
||
419 | 419 | $GLOBALS['TCA']['tt_content']['palettes']['table'] |
420 | 420 | ); |
421 | 421 | |
422 | -if (FALSE === \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) { |
|
423 | - unset( $GLOBALS['TCA']['tt_content']['types']['mailform'] ); |
|
422 | +if (FALSE===\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) { |
|
423 | + unset($GLOBALS['TCA']['tt_content']['types']['mailform']); |
|
424 | 424 | } |
425 | 425 | |
426 | 426 | foreach ($GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'] as $index => $item) { |
427 | - if ($item[1] === 'multimedia') { |
|
427 | + if ($item[1]==='multimedia') { |
|
428 | 428 | unset($GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'][$index]); |
429 | 429 | } |
430 | 430 | }; |
@@ -10,6 +10,6 @@ |
||
10 | 10 | |
11 | 11 | const version = '1.7.0.9'; // The current build number of less.php |
12 | 12 | const less_version = '1.7'; // The less.js version that this build should be compatible with |
13 | - const cache_version = '170'; // The parser cache version |
|
13 | + const cache_version = '170'; // The parser cache version |
|
14 | 14 | |
15 | 15 | } |
@@ -6,10 +6,10 @@ |
||
6 | 6 | * @package Less |
7 | 7 | * @subpackage version |
8 | 8 | */ |
9 | -class Less_Version{ |
|
9 | +class Less_Version { |
|
10 | 10 | |
11 | - const version = '1.7.0.9'; // The current build number of less.php |
|
12 | - const less_version = '1.7'; // The less.js version that this build should be compatible with |
|
13 | - const cache_version = '170'; // The parser cache version |
|
11 | + const version = '1.7.0.9'; // The current build number of less.php |
|
12 | + const less_version = '1.7'; // The less.js version that this build should be compatible with |
|
13 | + const cache_version = '170'; // The parser cache version |
|
14 | 14 | |
15 | 15 | } |