@@ -34,10 +34,10 @@ discard block |
||
34 | 34 | |
35 | 35 | private function listOfKnownLabels($inArray) |
36 | 36 | { |
37 | - $informatorKnownLabels = array_diff($inArray['KnownLabels'], ['--- List of known labels']); |
|
38 | - $tmpOptions = []; |
|
37 | + $informatorKnownLabels = array_diff($inArray[ 'KnownLabels' ], [ '--- List of known labels' ]); |
|
38 | + $tmpOptions = [ ]; |
|
39 | 39 | foreach ($informatorKnownLabels as $value) { |
40 | - $tmpOptions[] = '<input type="radio" name="Label" id="Label_' . $value . '" value="' . $value . '" ' |
|
40 | + $tmpOptions[ ] = '<input type="radio" name="Label" id="Label_' . $value . '" value="' . $value . '" ' |
|
41 | 41 | . $this->turnRequestedValueIntoCheckboxStatus([ |
42 | 42 | 'CheckedValue' => $value, |
43 | 43 | 'RequestedName' => 'Label', |
@@ -52,20 +52,20 @@ discard block |
||
52 | 52 | |
53 | 53 | private function providers($inArray) |
54 | 54 | { |
55 | - $tmpOptions = []; |
|
56 | - foreach ($inArray['Servers'] as $key => $value) { |
|
57 | - $tmpOptions[] = '<a href="' . $value['url'] . '" target="_blank">run-me</a> ' |
|
58 | - . '<input type="radio" name="' . $inArray['ConfigName'] . '" id="' |
|
59 | - . $inArray['ConfigName'] . '_' . $key . '" value="' . $key . '" ' |
|
55 | + $tmpOptions = [ ]; |
|
56 | + foreach ($inArray[ 'Servers' ] as $key => $value) { |
|
57 | + $tmpOptions[ ] = '<a href="' . $value[ 'url' ] . '" target="_blank">run-me</a> ' |
|
58 | + . '<input type="radio" name="' . $inArray[ 'ConfigName' ] . '" id="' |
|
59 | + . $inArray[ 'ConfigName' ] . '_' . $key . '" value="' . $key . '" ' |
|
60 | 60 | . $this->turnRequestedValueIntoCheckboxStatus([ |
61 | 61 | 'CheckedValue' => (string) $key, |
62 | - 'RequestedName' => $inArray['ConfigName'], |
|
62 | + 'RequestedName' => $inArray[ 'ConfigName' ], |
|
63 | 63 | ]) |
64 | 64 | . '/>' |
65 | - . '<label for="' . $inArray['ConfigName'] . '_' . $key . '">' . $value['name'] . '</label>'; |
|
65 | + . '<label for="' . $inArray[ 'ConfigName' ] . '_' . $key . '">' . $value[ 'name' ] . '</label>'; |
|
66 | 66 | } |
67 | 67 | return '<fieldset style="float:left;">' |
68 | - . '<legend>' . $inArray['TitleStart'] . ' config providers</legend>' |
|
68 | + . '<legend>' . $inArray[ 'TitleStart' ] . ' config providers</legend>' |
|
69 | 69 | . implode('<br/>', $tmpOptions) |
70 | 70 | . '</fieldset>'; |
71 | 71 | } |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | return '<div class="tabbertab" id="tabOptions" title="Options">' |
77 | 77 | . '<style type="text/css" media="all" scoped>label { width: auto; }</style>' |
78 | 78 | . '<form method="get" action="' |
79 | - . $inArray['SuperGlobals']->server->get('PHP_SELF') |
|
79 | + . $inArray[ 'SuperGlobals' ]->server->get('PHP_SELF') |
|
80 | 80 | . '">' |
81 | 81 | . '<input type="submit" value="Apply" />' |
82 | 82 | . '<br/>' . implode('', $sReturn) |
@@ -87,32 +87,32 @@ discard block |
||
87 | 87 | |
88 | 88 | private function setFormOptions($inArray) |
89 | 89 | { |
90 | - $this->defaults = $inArray['Defaults']; |
|
91 | - $this->superGlobals = $inArray['SuperGlobals']; |
|
92 | - $sReturn = []; |
|
93 | - $sReturn[] = $this->typeOfResults(); |
|
94 | - $sReturn[] = $this->providers([ |
|
90 | + $this->defaults = $inArray[ 'Defaults' ]; |
|
91 | + $this->superGlobals = $inArray[ 'SuperGlobals' ]; |
|
92 | + $sReturn = [ ]; |
|
93 | + $sReturn[ ] = $this->typeOfResults(); |
|
94 | + $sReturn[ ] = $this->providers([ |
|
95 | 95 | 'ConfigName' => 'localConfig', |
96 | - 'Servers' => $inArray['Servers'], |
|
96 | + 'Servers' => $inArray[ 'Servers' ], |
|
97 | 97 | 'TitleStart' => 'Source', |
98 | 98 | ]); |
99 | - $sReturn[] = $this->providers([ |
|
99 | + $sReturn[ ] = $this->providers([ |
|
100 | 100 | 'ConfigName' => 'serverConfig', |
101 | - 'Servers' => $inArray['Servers'], |
|
101 | + 'Servers' => $inArray[ 'Servers' ], |
|
102 | 102 | 'TitleStart' => 'Target', |
103 | 103 | ]); |
104 | - $sReturn[] = $this->listOfKnownLabels(['KnownLabels' => $inArray['KnownLabels']]); |
|
104 | + $sReturn[ ] = $this->listOfKnownLabels([ 'KnownLabels' => $inArray[ 'KnownLabels' ] ]); |
|
105 | 105 | return $sReturn; |
106 | 106 | } |
107 | 107 | |
108 | 108 | private function turnRequestedValueIntoCheckboxStatus($inArray) |
109 | 109 | { |
110 | - if (is_null($this->superGlobals->get($inArray['RequestedName']))) { |
|
111 | - $valToSet = (string) $this->defaults[$inArray['RequestedName']]; |
|
112 | - $this->superGlobals->request->set($inArray['RequestedName'], $valToSet); |
|
110 | + if (is_null($this->superGlobals->get($inArray[ 'RequestedName' ]))) { |
|
111 | + $valToSet = (string) $this->defaults[ $inArray[ 'RequestedName' ] ]; |
|
112 | + $this->superGlobals->request->set($inArray[ 'RequestedName' ], $valToSet); |
|
113 | 113 | } |
114 | 114 | $checkboxStatus = ''; |
115 | - if ($this->superGlobals->get($inArray['RequestedName']) === $inArray['CheckedValue']) { |
|
115 | + if ($this->superGlobals->get($inArray[ 'RequestedName' ]) === $inArray[ 'CheckedValue' ]) { |
|
116 | 116 | $checkboxStatus = 'checked '; |
117 | 117 | } |
118 | 118 | return $checkboxStatus; |
@@ -48,89 +48,89 @@ discard block |
||
48 | 48 | { |
49 | 49 | $this->getConfiguration(); |
50 | 50 | $this->applicationFlags = [ |
51 | - 'available_languages' => ['en_US' => 'EN', 'ro_RO' => 'RO'], |
|
51 | + 'available_languages' => [ 'en_US' => 'EN', 'ro_RO' => 'RO' ], |
|
52 | 52 | 'default_language' => 'ro_RO', |
53 | 53 | 'name' => 'Info-Compare' |
54 | 54 | ]; |
55 | 55 | echo $this->setHeaderHtml(); |
56 | 56 | $rqst = new \Symfony\Component\HttpFoundation\Request; |
57 | 57 | $superGlobals = $rqst->createFromGlobals(); |
58 | - $this->prepareForOutputForm(['SuperGlobals' => $superGlobals]); |
|
58 | + $this->prepareForOutputForm([ 'SuperGlobals' => $superGlobals ]); |
|
59 | 59 | if (!is_null($superGlobals->get('Label'))) { |
60 | 60 | $this->processInfos(); |
61 | - echo $this->setFormCurlInfos(['SuperGlobals' => $superGlobals]); |
|
62 | - echo $this->setFormInfos(['SuperGlobals' => $superGlobals]); |
|
61 | + echo $this->setFormCurlInfos([ 'SuperGlobals' => $superGlobals ]); |
|
62 | + echo $this->setFormInfos([ 'SuperGlobals' => $superGlobals ]); |
|
63 | 63 | } |
64 | 64 | echo $this->setFooterHtml(); |
65 | 65 | } |
66 | 66 | |
67 | 67 | private function displayTableFromMultiLevelArray($inArray) |
68 | 68 | { |
69 | - if ((!is_array($inArray['source'])) || (!is_array($inArray['destination']))) { |
|
69 | + if ((!is_array($inArray[ 'source' ])) || (!is_array($inArray[ 'destination' ]))) { |
|
70 | 70 | return ''; |
71 | 71 | } |
72 | - $firstRow = $this->mergeArraysIntoFirstSecond($inArray['source'], $inArray['destination'], [ |
|
72 | + $firstRow = $this->mergeArraysIntoFirstSecond($inArray[ 'source' ], $inArray[ 'destination' ], [ |
|
73 | 73 | 'first', |
74 | 74 | 'second', |
75 | 75 | ]); |
76 | - $secondRow = $this->mergeArraysIntoFirstSecond($inArray['destination'], $inArray['source'], [ |
|
76 | + $secondRow = $this->mergeArraysIntoFirstSecond($inArray[ 'destination' ], $inArray[ 'source' ], [ |
|
77 | 77 | 'second', |
78 | 78 | 'first', |
79 | 79 | ]); |
80 | 80 | $row = array_merge($firstRow, $secondRow); |
81 | 81 | ksort($row); |
82 | - $urlArguments = '?Label=' . $inArray['SuperGlobals']->get('Label'); |
|
83 | - $sString[] = '<table style="width:100%">' |
|
82 | + $urlArguments = '?Label=' . $inArray[ 'SuperGlobals' ]->get('Label'); |
|
83 | + $sString[ ] = '<table style="width:100%">' |
|
84 | 84 | . '<thead><tr>' |
85 | 85 | . '<th>Identifier</th>' |
86 | - . '<th><a href="' . $this->config['Servers'][$inArray['SuperGlobals']->get('localConfig')]['url'] |
|
86 | + . '<th><a href="' . $this->config[ 'Servers' ][ $inArray[ 'SuperGlobals' ]->get('localConfig') ][ 'url' ] |
|
87 | 87 | . $urlArguments . '" target="_blank">' |
88 | - . $this->config['Servers'][$inArray['SuperGlobals']->get('localConfig')]['name'] . '</a></th>' |
|
89 | - . '<th><a href="' . $this->config['Servers'][$inArray['SuperGlobals']->get('serverConfig')]['url'] |
|
88 | + . $this->config[ 'Servers' ][ $inArray[ 'SuperGlobals' ]->get('localConfig') ][ 'name' ] . '</a></th>' |
|
89 | + . '<th><a href="' . $this->config[ 'Servers' ][ $inArray[ 'SuperGlobals' ]->get('serverConfig') ][ 'url' ] |
|
90 | 90 | . $urlArguments . '" target="_blank">' |
91 | - . $this->config['Servers'][$inArray['SuperGlobals']->get('serverConfig')]['name'] . '</a></th>' |
|
91 | + . $this->config[ 'Servers' ][ $inArray[ 'SuperGlobals' ]->get('serverConfig') ][ 'name' ] . '</a></th>' |
|
92 | 92 | . '</tr></thead>' |
93 | 93 | . '<tbody>'; |
94 | - if ($inArray['SuperGlobals']->get('displayOnlyDifferent') == '1') { |
|
94 | + if ($inArray[ 'SuperGlobals' ]->get('displayOnlyDifferent') == '1') { |
|
95 | 95 | $displayOnlyDifferent = true; |
96 | 96 | } else { |
97 | 97 | $displayOnlyDifferent = false; |
98 | 98 | } |
99 | 99 | foreach ($row as $key => $value) { |
100 | 100 | $rowString = '<tr><td style="width:20%;">' . $key . '</td><td style="width:40%;">' |
101 | - . str_replace(',', ', ', $value['first']) . '</td><td style="width:40%;">' |
|
102 | - . str_replace(',', ', ', $value['second']) . '</td></tr>'; |
|
101 | + . str_replace(',', ', ', $value[ 'first' ]) . '</td><td style="width:40%;">' |
|
102 | + . str_replace(',', ', ', $value[ 'second' ]) . '</td></tr>'; |
|
103 | 103 | if ($displayOnlyDifferent) { |
104 | - if ($value['first'] != $value['second']) { |
|
105 | - $sString[] = $rowString; |
|
104 | + if ($value[ 'first' ] != $value[ 'second' ]) { |
|
105 | + $sString[ ] = $rowString; |
|
106 | 106 | } |
107 | 107 | } else { |
108 | - $sString[] = $rowString; |
|
108 | + $sString[ ] = $rowString; |
|
109 | 109 | } |
110 | 110 | } |
111 | - $sString[] = '</tbody></table>'; |
|
111 | + $sString[ ] = '</tbody></table>'; |
|
112 | 112 | return implode('', $sString); |
113 | 113 | } |
114 | 114 | |
115 | 115 | private function getConfiguration() |
116 | 116 | { |
117 | 117 | $strdConfig = $this->configuredDeployedInformators(); |
118 | - foreach ($strdConfig['informators'] as $key => $value) { |
|
119 | - $this->config['Servers'][] = [ |
|
118 | + foreach ($strdConfig[ 'informators' ] as $key => $value) { |
|
119 | + $this->config[ 'Servers' ][ ] = [ |
|
120 | 120 | 'name' => $key, |
121 | 121 | 'url' => $value, |
122 | 122 | ]; |
123 | 123 | } |
124 | - $haystack = array_keys($strdConfig['informators']); |
|
125 | - $this->config['Defaults']['Label'] = $strdConfig['default']['label']; |
|
126 | - $this->config['Defaults']['localConfig'] = array_search($strdConfig['default']['source'], $haystack); |
|
127 | - $this->config['Defaults']['serverConfig'] = array_search($strdConfig['default']['target'], $haystack); |
|
128 | - $this->config['Defaults']['displayOnlyDifferent'] = $strdConfig['default']['typeOfResults']; |
|
124 | + $haystack = array_keys($strdConfig[ 'informators' ]); |
|
125 | + $this->config[ 'Defaults' ][ 'Label' ] = $strdConfig[ 'default' ][ 'label' ]; |
|
126 | + $this->config[ 'Defaults' ][ 'localConfig' ] = array_search($strdConfig[ 'default' ][ 'source' ], $haystack); |
|
127 | + $this->config[ 'Defaults' ][ 'serverConfig' ] = array_search($strdConfig[ 'default' ][ 'target' ], $haystack); |
|
128 | + $this->config[ 'Defaults' ][ 'displayOnlyDifferent' ] = $strdConfig[ 'default' ][ 'typeOfResults' ]; |
|
129 | 129 | } |
130 | 130 | |
131 | - private function mergeArraysIntoFirstSecond($firstArray, $secondArray, $pSequence = ['first', 'second']) |
|
131 | + private function mergeArraysIntoFirstSecond($firstArray, $secondArray, $pSequence = [ 'first', 'second' ]) |
|
132 | 132 | { |
133 | - $row = []; |
|
133 | + $row = [ ]; |
|
134 | 134 | foreach ($firstArray as $key => $value) { |
135 | 135 | if (is_array($value)) { |
136 | 136 | foreach ($value as $key2 => $value2) { |
@@ -139,39 +139,39 @@ discard block |
||
139 | 139 | if (is_array($value3)) { |
140 | 140 | foreach ($value3 as $key4 => $value4) { |
141 | 141 | $keyCrt = $key . '_' . $key2 . '__' . $key3 . '__' . $key4; |
142 | - $row[$keyCrt][$pSequence[0]] = $value4; |
|
143 | - if (isset($secondArray[$key][$key2][$key3][$key4])) { |
|
144 | - $row[$keyCrt][$pSequence[1]] = $secondArray[$key][$key2][$key3][$key4]; |
|
142 | + $row[ $keyCrt ][ $pSequence[ 0 ] ] = $value4; |
|
143 | + if (isset($secondArray[ $key ][ $key2 ][ $key3 ][ $key4 ])) { |
|
144 | + $row[ $keyCrt ][ $pSequence[ 1 ] ] = $secondArray[ $key ][ $key2 ][ $key3 ][ $key4 ]; |
|
145 | 145 | } else { |
146 | - $row[$keyCrt][$pSequence[1]] = ''; |
|
146 | + $row[ $keyCrt ][ $pSequence[ 1 ] ] = ''; |
|
147 | 147 | } |
148 | 148 | } |
149 | 149 | } else { |
150 | 150 | $keyCrt = $key . '_' . $key2 . '__' . $key3; |
151 | - $row[$keyCrt][$pSequence[0]] = $value3; |
|
152 | - if (isset($secondArray[$key][$key2][$key3])) { |
|
153 | - $row[$keyCrt][$pSequence[1]] = $secondArray[$key][$key2][$key3]; |
|
151 | + $row[ $keyCrt ][ $pSequence[ 0 ] ] = $value3; |
|
152 | + if (isset($secondArray[ $key ][ $key2 ][ $key3 ])) { |
|
153 | + $row[ $keyCrt ][ $pSequence[ 1 ] ] = $secondArray[ $key ][ $key2 ][ $key3 ]; |
|
154 | 154 | } else { |
155 | - $row[$keyCrt][$pSequence[1]] = ''; |
|
155 | + $row[ $keyCrt ][ $pSequence[ 1 ] ] = ''; |
|
156 | 156 | } |
157 | 157 | } |
158 | 158 | } |
159 | 159 | } else { |
160 | 160 | $keyCrt = $key . '_' . $key2; |
161 | - $row[$keyCrt][$pSequence[0]] = $value2; |
|
162 | - if (isset($secondArray[$key][$key2])) { |
|
163 | - $row[$keyCrt][$pSequence[1]] = $secondArray[$key][$key2]; |
|
161 | + $row[ $keyCrt ][ $pSequence[ 0 ] ] = $value2; |
|
162 | + if (isset($secondArray[ $key ][ $key2 ])) { |
|
163 | + $row[ $keyCrt ][ $pSequence[ 1 ] ] = $secondArray[ $key ][ $key2 ]; |
|
164 | 164 | } else { |
165 | - $row[$keyCrt][$pSequence[1]] = ''; |
|
165 | + $row[ $keyCrt ][ $pSequence[ 1 ] ] = ''; |
|
166 | 166 | } |
167 | 167 | } |
168 | 168 | } |
169 | 169 | } else { |
170 | - $row[$key][$pSequence[0]] = $value; |
|
171 | - if (isset($secondArray[$key])) { |
|
172 | - $row[$key][$pSequence[1]] = $secondArray[$key]; |
|
170 | + $row[ $key ][ $pSequence[ 0 ] ] = $value; |
|
171 | + if (isset($secondArray[ $key ])) { |
|
172 | + $row[ $key ][ $pSequence[ 1 ] ] = $secondArray[ $key ]; |
|
173 | 173 | } else { |
174 | - $row[$key][$pSequence[1]] = ''; |
|
174 | + $row[ $key ][ $pSequence[ 1 ] ] = ''; |
|
175 | 175 | } |
176 | 176 | } |
177 | 177 | } |
@@ -180,38 +180,38 @@ discard block |
||
180 | 180 | |
181 | 181 | private function prepareForOutputForm($inArray) |
182 | 182 | { |
183 | - $urlToGetLbl = $this->config['Servers'][$this->config['Defaults']['localConfig']]['url'] |
|
183 | + $urlToGetLbl = $this->config[ 'Servers' ][ $this->config[ 'Defaults' ][ 'localConfig' ] ][ 'url' ] |
|
184 | 184 | . '?Label=---' . urlencode(' List of known labels'); |
185 | - $knownLabels = $this->getContentFromUrlThroughCurlAsArrayIfJson($urlToGetLbl)['response']; |
|
185 | + $knownLabels = $this->getContentFromUrlThroughCurlAsArrayIfJson($urlToGetLbl)[ 'response' ]; |
|
186 | 186 | echo $this->setOutputForm([ |
187 | - 'Defaults' => $this->config['Defaults'], |
|
187 | + 'Defaults' => $this->config[ 'Defaults' ], |
|
188 | 188 | 'KnownLabels' => $knownLabels, |
189 | - 'Servers' => $this->config['Servers'], |
|
190 | - 'SuperGlobals' => $inArray['SuperGlobals'], |
|
189 | + 'Servers' => $this->config[ 'Servers' ], |
|
190 | + 'SuperGlobals' => $inArray[ 'SuperGlobals' ], |
|
191 | 191 | ]); |
192 | 192 | } |
193 | 193 | |
194 | 194 | private function processInfos() |
195 | 195 | { |
196 | - if (isset($_GET['localConfig']) && isset($_GET['serverConfig'])) { |
|
197 | - $urlArguments = '?Label=' . urlencode($_GET['Label']); |
|
198 | - $source = $this->config['Servers'][$_GET['localConfig']]['url'] . $urlArguments; |
|
196 | + if (isset($_GET[ 'localConfig' ]) && isset($_GET[ 'serverConfig' ])) { |
|
197 | + $urlArguments = '?Label=' . urlencode($_GET[ 'Label' ]); |
|
198 | + $source = $this->config[ 'Servers' ][ $_GET[ 'localConfig' ] ][ 'url' ] . $urlArguments; |
|
199 | 199 | $this->localConfiguration = $this->getContentFromUrlThroughCurlAsArrayIfJson($source); |
200 | - $destination = $this->config['Servers'][$_GET['serverConfig']]['url'] . $urlArguments; |
|
200 | + $destination = $this->config[ 'Servers' ][ $_GET[ 'serverConfig' ] ][ 'url' ] . $urlArguments; |
|
201 | 201 | $this->serverConfiguration = $this->getContentFromUrlThroughCurlAsArrayIfJson($destination); |
202 | 202 | } else { |
203 | - $this->localConfiguration = ['response' => '', 'info' => '']; |
|
204 | - $this->serverConfiguration = ['response' => '', 'info' => '']; |
|
203 | + $this->localConfiguration = [ 'response' => '', 'info' => '' ]; |
|
204 | + $this->serverConfiguration = [ 'response' => '', 'info' => '' ]; |
|
205 | 205 | } |
206 | 206 | } |
207 | 207 | |
208 | 208 | private function setFooterHtml() |
209 | 209 | { |
210 | - $sReturn = []; |
|
211 | - $sReturn[] = '</div><!-- from main Tabber -->'; |
|
212 | - $sReturn[] = '<div class="resetOnly author">© 2015 Daniel Popiniuc</div>'; |
|
213 | - $sReturn[] = '<hr/>'; |
|
214 | - $sReturn[] = '<div class="disclaimer">' |
|
210 | + $sReturn = [ ]; |
|
211 | + $sReturn[ ] = '</div><!-- from main Tabber -->'; |
|
212 | + $sReturn[ ] = '<div class="resetOnly author">© 2015 Daniel Popiniuc</div>'; |
|
213 | + $sReturn[ ] = '<hr/>'; |
|
214 | + $sReturn[ ] = '<div class="disclaimer">' |
|
215 | 215 | . 'The developer cannot be liable of any data input or results, ' |
216 | 216 | . 'included but not limited to any implication of these ' |
217 | 217 | . '(anywhere and whomever there might be these)!' |
@@ -223,9 +223,9 @@ discard block |
||
223 | 223 | { |
224 | 224 | return '<div class="tabbertab" id="tabCurl" title="CURL infos">' |
225 | 225 | . $this->displayTableFromMultiLevelArray([ |
226 | - 'source' => $this->localConfiguration['info'], |
|
227 | - 'destination' => $this->serverConfiguration['info'], |
|
228 | - 'SuperGlobals' => $inArray['SuperGlobals'], |
|
226 | + 'source' => $this->localConfiguration[ 'info' ], |
|
227 | + 'destination' => $this->serverConfiguration[ 'info' ], |
|
228 | + 'SuperGlobals' => $inArray[ 'SuperGlobals' ], |
|
229 | 229 | ]) |
230 | 230 | . '</div><!--from tabCurl-->'; |
231 | 231 | } |
@@ -233,12 +233,12 @@ discard block |
||
233 | 233 | private function setFormInfos($inArray) |
234 | 234 | { |
235 | 235 | return '<div class="tabbertab' |
236 | - . (is_null($inArray['SuperGlobals']->get('Label')) ? '' : ' tabbertabdefault') |
|
236 | + . (is_null($inArray[ 'SuperGlobals' ]->get('Label')) ? '' : ' tabbertabdefault') |
|
237 | 237 | . '" id="tabConfigs" title="Informations">' |
238 | 238 | . $this->displayTableFromMultiLevelArray([ |
239 | - 'source' => $this->localConfiguration['response'], |
|
240 | - 'destination' => $this->serverConfiguration['response'], |
|
241 | - 'SuperGlobals' => $inArray['SuperGlobals'], |
|
239 | + 'source' => $this->localConfiguration[ 'response' ], |
|
240 | + 'destination' => $this->serverConfiguration[ 'response' ], |
|
241 | + 'SuperGlobals' => $inArray[ 'SuperGlobals' ], |
|
242 | 242 | ]) |
243 | 243 | . '</div><!--from tabConfigs-->'; |
244 | 244 | } |
@@ -247,12 +247,12 @@ discard block |
||
247 | 247 | { |
248 | 248 | return $this->setHeaderCommon([ |
249 | 249 | 'lang' => 'en-US', |
250 | - 'title' => $this->applicationFlags['name'], |
|
250 | + 'title' => $this->applicationFlags[ 'name' ], |
|
251 | 251 | 'css' => 'css/main.css', |
252 | 252 | 'javascript' => 'js/tabber.min.js', |
253 | 253 | ]) |
254 | 254 | . $this->setJavascriptContent('document.write(\'<style type="text/css">.tabber{display:none;}</style>\');') |
255 | - . '<h1>' . $this->applicationFlags['name'] . '</h1>' |
|
255 | + . '<h1>' . $this->applicationFlags[ 'name' ] . '</h1>' |
|
256 | 256 | . '<div class="tabber" id="tab">'; |
257 | 257 | } |
258 | 258 | } |