Passed
Push — master ( b3de3c...6e374d )
by Michael
02:33
created
admin/blocksadmin.php 1 patch
Indentation   +70 added lines, -70 removed lines patch added patch discarded remove patch
@@ -88,28 +88,28 @@  discard block
 block discarded – undo
88 88
         echo $GLOBALS['xoopsSecurity']->getTokenHTML();
89 89
         echo "<table width='100%' class='outer' cellpadding='4' cellspacing='1'>
90 90
         <tr valign='middle'><th align='center'>"
91
-             . constant('CO_' . $moduleDirNameUpper . '_' . 'TITLE')
92
-             . "</th><th align='center' nowrap='nowrap'>"
93
-             . constant('CO_' . $moduleDirNameUpper . '_' . 'SIDE')
94
-             . '<br>'
95
-             . _LEFT
96
-             . '-'
97
-             . _CENTER
98
-             . '-'
99
-             . _RIGHT
100
-             . "</th><th align='center'>"
101
-             . constant('CO_' . $moduleDirNameUpper . '_' . 'WEIGHT')
102
-             . "</th><th align='center'>"
103
-             . constant('CO_' . $moduleDirNameUpper . '_' . 'VISIBLE')
104
-             . "</th><th align='center'>"
105
-             . _AM_SYSTEM_BLOCKS_VISIBLEIN
106
-             . "</th><th align='center'>"
107
-             . _AM_SYSTEM_ADGS
108
-             . "</th><th align='center'>"
109
-             . _AM_SYSTEM_BLOCKS_BCACHETIME
110
-             . "</th><th align='center'>"
111
-             . constant('CO_' . $moduleDirNameUpper . '_' . 'ACTION')
112
-             . '</th></tr>
91
+                . constant('CO_' . $moduleDirNameUpper . '_' . 'TITLE')
92
+                . "</th><th align='center' nowrap='nowrap'>"
93
+                . constant('CO_' . $moduleDirNameUpper . '_' . 'SIDE')
94
+                . '<br>'
95
+                . _LEFT
96
+                . '-'
97
+                . _CENTER
98
+                . '-'
99
+                . _RIGHT
100
+                . "</th><th align='center'>"
101
+                . constant('CO_' . $moduleDirNameUpper . '_' . 'WEIGHT')
102
+                . "</th><th align='center'>"
103
+                . constant('CO_' . $moduleDirNameUpper . '_' . 'VISIBLE')
104
+                . "</th><th align='center'>"
105
+                . _AM_SYSTEM_BLOCKS_VISIBLEIN
106
+                . "</th><th align='center'>"
107
+                . _AM_SYSTEM_ADGS
108
+                . "</th><th align='center'>"
109
+                . _AM_SYSTEM_BLOCKS_BCACHETIME
110
+                . "</th><th align='center'>"
111
+                . constant('CO_' . $moduleDirNameUpper . '_' . 'ACTION')
112
+                . '</th></tr>
113 113
         ';
114 114
         $blockArray = \XoopsBlock::getByModule($xoopsModule->mid());
115 115
         $blockCount = count($blockArray);
@@ -175,69 +175,69 @@  discard block
 block discarded – undo
175 175
             }
176 176
             $name = $i->getVar('name');
177 177
             echo "<tr valign='top'><td class='$class' align='center'><input type='text' name='title["
178
-                 . $i->getVar('bid')
179
-                 . "]' value='"
180
-                 . $title
181
-                 . "'></td><td class='$class' align='center' nowrap='nowrap'>
178
+                    . $i->getVar('bid')
179
+                    . "]' value='"
180
+                    . $title
181
+                    . "'></td><td class='$class' align='center' nowrap='nowrap'>
182 182
                     <div align='center' >
183 183
                     <input type='radio' name='side["
184
-                 . $i->getVar('bid')
185
-                 . "]' value='"
186
-                 . XOOPS_CENTERBLOCK_LEFT
187
-                 . "'$ssel2>
184
+                    . $i->getVar('bid')
185
+                    . "]' value='"
186
+                    . XOOPS_CENTERBLOCK_LEFT
187
+                    . "'$ssel2>
188 188
                         <input type='radio' name='side["
189
-                 . $i->getVar('bid')
190
-                 . "]' value='"
191
-                 . XOOPS_CENTERBLOCK_CENTER
192
-                 . "'$ssel3>
189
+                    . $i->getVar('bid')
190
+                    . "]' value='"
191
+                    . XOOPS_CENTERBLOCK_CENTER
192
+                    . "'$ssel3>
193 193
                     <input type='radio' name='side["
194
-                 . $i->getVar('bid')
195
-                 . "]' value='"
196
-                 . XOOPS_CENTERBLOCK_RIGHT
197
-                 . "'$ssel4>
194
+                    . $i->getVar('bid')
195
+                    . "]' value='"
196
+                    . XOOPS_CENTERBLOCK_RIGHT
197
+                    . "'$ssel4>
198 198
                     </div>
199 199
                     <div>
200 200
                         <span style='float:right;'><input type='radio' name='side["
201
-                 . $i->getVar('bid')
202
-                 . "]' value='"
203
-                 . XOOPS_SIDEBLOCK_RIGHT
204
-                 . "'$ssel1></span>
201
+                    . $i->getVar('bid')
202
+                    . "]' value='"
203
+                    . XOOPS_SIDEBLOCK_RIGHT
204
+                    . "'$ssel1></span>
205 205
                     <div align='left'><input type='radio' name='side["
206
-                 . $i->getVar('bid')
207
-                 . "]' value='"
208
-                 . XOOPS_SIDEBLOCK_LEFT
209
-                 . "'$ssel0></div>
206
+                    . $i->getVar('bid')
207
+                    . "]' value='"
208
+                    . XOOPS_SIDEBLOCK_LEFT
209
+                    . "'$ssel0></div>
210 210
                     </div>
211 211
                     <div align='center'>
212 212
                     <input type='radio' name='side["
213
-                 . $i->getVar('bid')
214
-                 . "]' value='"
215
-                 . XOOPS_CENTERBLOCK_BOTTOMLEFT
216
-                 . "'$ssel5>
213
+                    . $i->getVar('bid')
214
+                    . "]' value='"
215
+                    . XOOPS_CENTERBLOCK_BOTTOMLEFT
216
+                    . "'$ssel5>
217 217
                         <input type='radio' name='side["
218
-                 . $i->getVar('bid')
219
-                 . "]' value='"
220
-                 . XOOPS_CENTERBLOCK_BOTTOM
221
-                 . "'$ssel7>
218
+                    . $i->getVar('bid')
219
+                    . "]' value='"
220
+                    . XOOPS_CENTERBLOCK_BOTTOM
221
+                    . "'$ssel7>
222 222
                     <input type='radio' name='side["
223
-                 . $i->getVar('bid')
224
-                 . "]' value='"
225
-                 . XOOPS_CENTERBLOCK_BOTTOMRIGHT
226
-                 . "'$ssel6>
223
+                    . $i->getVar('bid')
224
+                    . "]' value='"
225
+                    . XOOPS_CENTERBLOCK_BOTTOMRIGHT
226
+                    . "'$ssel6>
227 227
                     </div>
228 228
                 </td><td class='$class' align='center'><input type='text' name='weight["
229
-                 . $i->getVar('bid')
230
-                 . "]' value='"
231
-                 . $i->getVar('weight')
232
-                 . "' size='5' maxlength='5'></td><td class='$class' align='center' nowrap><input type='radio' name='visible["
233
-                 . $i->getVar('bid')
234
-                 . "]' value='1'$sel1>"
235
-                 . _YES
236
-                 . "&nbsp;<input type='radio' name='visible["
237
-                 . $i->getVar('bid')
238
-                 . "]' value='0'$sel0>"
239
-                 . _NO
240
-                 . '</td>';
229
+                    . $i->getVar('bid')
230
+                    . "]' value='"
231
+                    . $i->getVar('weight')
232
+                    . "' size='5' maxlength='5'></td><td class='$class' align='center' nowrap><input type='radio' name='visible["
233
+                    . $i->getVar('bid')
234
+                    . "]' value='1'$sel1>"
235
+                    . _YES
236
+                    . "&nbsp;<input type='radio' name='visible["
237
+                    . $i->getVar('bid')
238
+                    . "]' value='0'$sel0>"
239
+                    . _NO
240
+                    . '</td>';
241 241
 
242 242
             echo "<td class='$class' align='center'><select size='5' name='bmodule[" . $i->getVar('bid') . "][]' id='bmodule[" . $i->getVar('bid') . "][]' multiple='multiple'>";
243 243
             foreach ($moduleList as $k => $v) {
Please login to merge, or discard this patch.