Completed
Push — master ( 7473b0...2b6e28 )
by
unknown
10:12
created
ext_localconf.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
 // Include new content elements to modWizards
50 50
 if (TRUE === version_compare(TYPO3_version, '7.3', '>')) {
51
-    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/PageTS/modWizards.ts">');
51
+	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/PageTS/modWizards.ts">');
52 52
 
53 53
 	// If the form extension is loaded, then include the mailform element to modWizards
54 54
 	if (TRUE === \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
@@ -68,22 +68,22 @@  discard block
 block discarded – undo
68 68
  */
69 69
 $settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
70 70
 if($settings['UseRealUrlConfig'] == 1){
71
-    @include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY,'Configuration/RealURL/Default.php'));    
71
+	@include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY,'Configuration/RealURL/Default.php'));    
72 72
 }
73 73
 
74 74
 if (TYPO3_MODE === 'BE') {
75 75
 	// enable SignalSlot
76 76
 	/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
77
-    $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
78
-    /**
79
-     * Provides an example .htaccess file for Apache after extension is installed and shows a warning if TYPO3 is not running on Apache.
80
-     */
81
-    $signalSlotDispatcher->connect(
82
-        'TYPO3\\CMS\\Extensionmanager\\Service\\ExtensionManagementService',
83
-        'hasInstalledExtensions',
84
-        'DCNGmbH\\MooxCore\\Service\\InstallService',
85
-        'generateApacheHtaccess'
86
-    );
77
+	$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
78
+	/**
79
+	 * Provides an example .htaccess file for Apache after extension is installed and shows a warning if TYPO3 is not running on Apache.
80
+	 */
81
+	$signalSlotDispatcher->connect(
82
+		'TYPO3\\CMS\\Extensionmanager\\Service\\ExtensionManagementService',
83
+		'hasInstalledExtensions',
84
+		'DCNGmbH\\MooxCore\\Service\\InstallService',
85
+		'generateApacheHtaccess'
86
+	);
87 87
 	/**
88 88
 	 * Provides an example robots.txt file after extension is installed and shows a warning if TYPO3 is not running with moox_core robots.txt.
89 89
 	 */
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 //	mod.moox_MooxCoreDashboard.sideBarEnable = 0
10 10
 // ');
11 11
 
12
-if (FALSE === isset($GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'])) {
12
+if (FALSE===isset($GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'])) {
13 13
 	\TYPO3\CMS\Core\Utility\GeneralUtility::sysLog('MooxCore requires an additional configuration file in typo3conf/AdditionalConfiguration.php - '
14 14
 		. 'you can have MooxCore generate this file for you from the extension manager by running the MooxCore update script. A dummy '
15 15
 		. 'has been created, but you will only be able to render content (not plugins!) until the file is created',
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 );
38 38
 
39 39
 $types = count($GLOBALS['TYPO3_CONF_VARS']['DCNGmbH.MooxCore']['types']);
40
-for ($i = 0; $i < $types; $i++) {
40
+for ($i = 0; $i<$types; $i++) {
41 41
 	\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
42 42
 		'DCNGmbH.MooxCore',
43 43
 		ucfirst($GLOBALS['TYPO3_CONF_VARS']['DCNGmbH.MooxCore']['types'][$i]),
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
 unset($types, $i);
48 48
 
49 49
 // Include new content elements to modWizards
50
-if (TRUE === version_compare(TYPO3_version, '7.3', '>')) {
50
+if (TRUE===version_compare(TYPO3_version, '7.3', '>')) {
51 51
     \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/PageTS/modWizards.ts">');
52 52
 
53 53
 	// If the form extension is loaded, then include the mailform element to modWizards
54
-	if (TRUE === \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
54
+	if (TRUE===\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
55 55
 		\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/PageTS/modWizardsMailform.ts">');
56 56
 	}
57 57
 }
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
  * Use RealUrl Config from MOOX Core
68 68
  */
69 69
 $settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
70
-if($settings['UseRealUrlConfig'] == 1){
71
-    @include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY,'Configuration/RealURL/Default.php'));    
70
+if ($settings['UseRealUrlConfig']==1) {
71
+    @include_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY, 'Configuration/RealURL/Default.php'));    
72 72
 }
73 73
 
74
-if (TYPO3_MODE === 'BE') {
74
+if (TYPO3_MODE==='BE') {
75 75
 	// enable SignalSlot
76 76
 	/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
77 77
     $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
Please login to merge, or discard this patch.
ext_tables.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -89,21 +89,21 @@  discard block
 block discarded – undo
89 89
 
90 90
 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
91 91
 	
92
-    /***************
92
+	/***************
93 93
      * Register Main Module
94 94
      */
95 95
 	$mainModuleName = "moox";
96 96
 	if (!isset($TBE_MODULES[$mainModuleName])) {
97
-        $temp_TBE_MODULES = array();
98
-        foreach ($TBE_MODULES as $key => $val) {
99
-            if ($key == 'web') {
100
-                $temp_TBE_MODULES[$key] = $val;
101
-                $temp_TBE_MODULES[$mainModuleName] = '';
102
-            } else {
103
-                $temp_TBE_MODULES[$key] = $val;
104
-            }
105
-        }
106
-        $TBE_MODULES = $temp_TBE_MODULES;		
97
+		$temp_TBE_MODULES = array();
98
+		foreach ($TBE_MODULES as $key => $val) {
99
+			if ($key == 'web') {
100
+				$temp_TBE_MODULES[$key] = $val;
101
+				$temp_TBE_MODULES[$mainModuleName] = '';
102
+			} else {
103
+				$temp_TBE_MODULES[$key] = $val;
104
+			}
105
+		}
106
+		$TBE_MODULES = $temp_TBE_MODULES;		
107 107
 		\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
108 108
 			'DCNGmbH.'.$_EXTKEY,
109 109
 			$mainModuleName,
@@ -116,13 +116,13 @@  discard block
 block discarded – undo
116 116
 				'labels' => 'LLL:EXT:'.$_EXTKEY.'/Resources/Private/Language/MainModule.xlf',
117 117
 			)
118 118
 		);
119
-    }	
120
-    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
121
-        'DCNGmbH.'.$_EXTKEY,
122
-        $mainModuleName,
123
-        'dashboard',
124
-        'top',
125
-        array(
119
+	}	
120
+	\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
121
+		'DCNGmbH.'.$_EXTKEY,
122
+		$mainModuleName,
123
+		'dashboard',
124
+		'top',
125
+		array(
126 126
 			'Administration' => 'dashboard',
127 127
 		),
128 128
 		array(
@@ -130,22 +130,22 @@  discard block
 block discarded – undo
130 130
 			'icon' => 'EXT:' . $_EXTKEY . '/ext_icon32.png',
131 131
 			'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/DashboardModule.xlf',
132 132
 		)
133
-    );	
133
+	);	
134 134
 }
135 135
 
136 136
 /***************
137 137
  * Backend Styling
138 138
  */
139 139
 if (TYPO3_MODE == 'BE') {
140
-    $settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
141
-    if(!isset($settings['Logo'])){
142
-        $settings['Logo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Backend/[email protected]';
143
-    }
144
-    if(!isset($settings['LoginLogo'])){
145
-        $settings['LoginLogo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Backend/typo3logo-white-greyback.gif';
146
-    }
147
-    $GLOBALS['TBE_STYLES']['logo'] = $settings['Logo'];
148
-    $GLOBALS['TBE_STYLES']['logo_login'] = $settings['LoginLogo'];
149
-    $GLOBALS['TBE_STYLES']['htmlTemplates']['EXT:backend/Resources/Private/Templates/login.html'] = 'EXT:moox_core/Resources/Private/Templates/Backend/Login.html';
150
-    unset($settings);
140
+	$settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
141
+	if(!isset($settings['Logo'])){
142
+		$settings['Logo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Backend/[email protected]';
143
+	}
144
+	if(!isset($settings['LoginLogo'])){
145
+		$settings['LoginLogo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Backend/typo3logo-white-greyback.gif';
146
+	}
147
+	$GLOBALS['TBE_STYLES']['logo'] = $settings['Logo'];
148
+	$GLOBALS['TBE_STYLES']['logo_login'] = $settings['LoginLogo'];
149
+	$GLOBALS['TBE_STYLES']['htmlTemplates']['EXT:backend/Resources/Private/Templates/login.html'] = 'EXT:moox_core/Resources/Private/Templates/Backend/Login.html';
150
+	unset($settings);
151 151
 }
Please login to merge, or discard this patch.
Spacing   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 }
5 5
 
6 6
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'MOOX Core');
7
-if ('BE' === TYPO3_MODE) {
7
+if ('BE'===TYPO3_MODE) {
8 8
 	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'constants', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/TypoScript/constants.txt">');
9 9
 	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:moox_core/Configuration/TypoScript/setup.txt">');
10 10
 }
@@ -13,62 +13,62 @@  discard block
 block discarded – undo
13 13
 
14 14
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['moox_core']['setup'] = unserialize($_EXTCONF);
15 15
 
16
-if (FALSE === (boolean) $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['moox_core']['setup']['disablePageTemplates']) {
16
+if (FALSE===(boolean)$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['moox_core']['setup']['disablePageTemplates']) {
17 17
 	\FluidTYPO3\Flux\Core::registerProviderExtensionKey('DCNGmbH.MooxCore', 'Page');
18 18
 }
19
-if (FALSE === (boolean) $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['moox_core']['setup']['disableContentTemplates']) {
19
+if (FALSE===(boolean)$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['moox_core']['setup']['disableContentTemplates']) {
20 20
 	\FluidTYPO3\Flux\Core::registerProviderExtensionKey('DCNGmbH.MooxCore', 'Content');
21 21
 }
22 22
 
23 23
 
24 24
 // Add fields for individual id / class for content elements
25
-$tempColumns = Array (
26
-	'tx_mooxcore_hide_desktop' => Array (
25
+$tempColumns = Array(
26
+	'tx_mooxcore_hide_desktop' => Array(
27 27
 		'exclude' => 1,
28 28
 		'label' => 'LLL:EXT:moox_core/locallang_db.xml:tt_content.tx_mooxcore_hide_desktop',		
29
-		'config' => Array (
29
+		'config' => Array(
30 30
 			'type' => 'check',
31 31
 		)
32 32
 	),
33
-	'tx_mooxcore_hide_laptop' => Array (
33
+	'tx_mooxcore_hide_laptop' => Array(
34 34
 		'exclude' => 1,
35 35
 		'label' => 'LLL:EXT:moox_core/locallang_db.xml:tt_content.tx_mooxcore_hide_laptop',		
36
-		'config' => Array (
36
+		'config' => Array(
37 37
 			'type' => 'check',
38 38
 		)
39 39
 	),
40
-	'tx_mooxcore_hide_tablet' => Array (
40
+	'tx_mooxcore_hide_tablet' => Array(
41 41
 		'exclude' => 1,
42 42
 		'label' => 'LLL:EXT:moox_core/locallang_db.xml:tt_content.tx_mooxcore_hide_tablet',		
43
-		'config' => Array (
43
+		'config' => Array(
44 44
 			'type' => 'check',
45 45
 		)
46 46
 	),
47
-	'tx_mooxcore_hide_phone' => Array (
47
+	'tx_mooxcore_hide_phone' => Array(
48 48
 		'exclude' => 1,
49 49
 		'label' => 'LLL:EXT:moox_core/locallang_db.xml:tt_content.tx_mooxcore_hide_phone',		
50
-		'config' => Array (
50
+		'config' => Array(
51 51
 			'type' => 'check',
52 52
 		)
53 53
 	),
54
-	'tx_mooxcore_hide_print' => Array (
54
+	'tx_mooxcore_hide_print' => Array(
55 55
 		'exclude' => 1,
56 56
 		'label' => 'LLL:EXT:moox_core/locallang_db.xml:tt_content.tx_mooxcore_hide_print',		
57
-		'config' => Array (
57
+		'config' => Array(
58 58
 			'type' => 'check',
59 59
 		)
60 60
 	),
61
-	'tx_mooxcore_hide_barrierfree' => Array (
61
+	'tx_mooxcore_hide_barrierfree' => Array(
62 62
 		'exclude' => 1,
63 63
 		'label' => 'LLL:EXT:moox_core/locallang_db.xml:tt_content.tx_mooxcore_hide_barrierfree',		
64
-		'config' => Array (
64
+		'config' => Array(
65 65
 			'type' => 'check',
66 66
 		)
67 67
 	),
68
-	'tx_mooxcore_hide_oldbrowser' => Array (
68
+	'tx_mooxcore_hide_oldbrowser' => Array(
69 69
 		'exclude' => 1,
70 70
 		'label' => 'LLL:EXT:moox_core/locallang_db.xml:tt_content.tx_mooxcore_hide_oldbrowser',		
71
-		'config' => Array (
71
+		'config' => Array(
72 72
 			'type' => 'check',
73 73
 		)
74 74
 	),
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 //\TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA('tt_content');
77 77
 if (version_compare(TYPO3_branch, '6.2', '<')) {
78 78
 	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $tempColumns, 1);
79
-} else {
79
+}else {
80 80
 	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $tempColumns);
81 81
 }
82 82
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
  	Register BE-Module for Administration
88 88
 =========================================================================== */
89 89
 
90
-if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
90
+if (TYPO3_MODE==='BE' && !(TYPO3_REQUESTTYPE&TYPO3_REQUESTTYPE_INSTALL)) {
91 91
 	
92 92
     /***************
93 93
      * Register Main Module
@@ -96,10 +96,10 @@  discard block
 block discarded – undo
96 96
 	if (!isset($TBE_MODULES[$mainModuleName])) {
97 97
         $temp_TBE_MODULES = array();
98 98
         foreach ($TBE_MODULES as $key => $val) {
99
-            if ($key == 'web') {
99
+            if ($key=='web') {
100 100
                 $temp_TBE_MODULES[$key] = $val;
101 101
                 $temp_TBE_MODULES[$mainModuleName] = '';
102
-            } else {
102
+            }else {
103 103
                 $temp_TBE_MODULES[$key] = $val;
104 104
             }
105 105
         }
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
 		),
128 128
 		array(
129 129
 			'access' => 'user,group',
130
-			'icon' => 'EXT:' . $_EXTKEY . '/ext_icon32.png',
131
-			'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/DashboardModule.xlf',
130
+			'icon' => 'EXT:'.$_EXTKEY.'/ext_icon32.png',
131
+			'labels' => 'LLL:EXT:'.$_EXTKEY.'/Resources/Private/Language/DashboardModule.xlf',
132 132
 		)
133 133
     );	
134 134
 }
@@ -136,13 +136,13 @@  discard block
 block discarded – undo
136 136
 /***************
137 137
  * Backend Styling
138 138
  */
139
-if (TYPO3_MODE == 'BE') {
139
+if (TYPO3_MODE=='BE') {
140 140
     $settings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]);
141
-    if(!isset($settings['Logo'])){
142
-        $settings['Logo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Backend/[email protected]';
141
+    if (!isset($settings['Logo'])) {
142
+        $settings['Logo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Images/Backend/[email protected]';
143 143
     }
144
-    if(!isset($settings['LoginLogo'])){
145
-        $settings['LoginLogo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/Backend/typo3logo-white-greyback.gif';
144
+    if (!isset($settings['LoginLogo'])) {
145
+        $settings['LoginLogo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY).'Resources/Public/Images/Backend/typo3logo-white-greyback.gif';
146 146
     }
147 147
     $GLOBALS['TBE_STYLES']['logo'] = $settings['Logo'];
148 148
     $GLOBALS['TBE_STYLES']['logo_login'] = $settings['LoginLogo'];
Please login to merge, or discard this patch.