Completed
Push — master ( 454ebd...de22fe )
by Michael
03:58
created
admin/answer.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -114,18 +114,18 @@
 block discarded – undo
114 114
     foreach ($proposed_answers as $proposed_answer) {
115 115
         if (Constants::SF_STATUS_NEW_ANSWER == $faqObj->status()) {
116 116
             $merge   = "<a href='faq.php?op=merge&amp;faqid="
117
-                       . $faqObj->faqid()
118
-                       . '&amp;answerid='
119
-                       . $proposed_answer->answerid()
120
-                       . "'><img src='"
121
-                       . XOOPS_URL
122
-                       . '/modules/'
123
-                       . $xoopsModule->dirname()
124
-                       . "/assets/images/icon/merge.gif' title='"
125
-                       . _AM_SF_FAQ_MERGE
126
-                       . "' alt='"
127
-                       . _AM_SF_FAQ_MERGE
128
-                       . "'></a>&nbsp;";
117
+                        . $faqObj->faqid()
118
+                        . '&amp;answerid='
119
+                        . $proposed_answer->answerid()
120
+                        . "'><img src='"
121
+                        . XOOPS_URL
122
+                        . '/modules/'
123
+                        . $xoopsModule->dirname()
124
+                        . "/assets/images/icon/merge.gif' title='"
125
+                        . _AM_SF_FAQ_MERGE
126
+                        . "' alt='"
127
+                        . _AM_SF_FAQ_MERGE
128
+                        . "'></a>&nbsp;";
129 129
             $approve = "<a href='answer.php?op=selectanswer&amp;faqid=" . $faqid . '&amp;answerid=' . $proposed_answer->answerid() . "'><img src='" . $pathIcon16 . '/on.png' . "' title='" . _AM_SF_FAQ_APPROVE_NEW_ANSWER . "' alt='" . _AM_SF_APPROVESUB . "'></a>";
130 130
         }
131 131
         $modify = "<a href='faq.php?op=mod&amp;faqid=" . $faqObj->faqid() . '&amp;answerid=' . $proposed_answer->answerid() . "'><img src='" . $pathIcon16 . '/edit.png' . "' title='" . _AM_SF_FAQ_REVIEW . "' alt='" . _AM_SF_FAQ_REVIEW . "'></a>&nbsp;";
Please login to merge, or discard this patch.
admin/myblocksadmin.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -173,22 +173,22 @@  discard block
 block discarded – undo
173 173
             </td>
174 174
             <td class='$class' align='center' nowrap='nowrap'>
175 175
                 <input type='radio' name='side[$bid]' value='"
176
-             . XOOPS_SIDEBLOCK_LEFT
177
-             . "'$ssel0>-<input type='radio' name='side[$bid]' value='"
178
-             . XOOPS_CENTERBLOCK_LEFT
179
-             . "'$ssel2><input type='radio' name='side[$bid]' value='"
180
-             . XOOPS_CENTERBLOCK_CENTER
181
-             . "'$ssel3><input type='radio' name='side[$bid]' value='"
182
-             . XOOPS_CENTERBLOCK_RIGHT
183
-             . "'$ssel4>-<input type='radio' name='side[$bid]' value='"
184
-             . XOOPS_SIDEBLOCK_RIGHT
185
-             . "'$ssel1>
176
+                . XOOPS_SIDEBLOCK_LEFT
177
+                . "'$ssel0>-<input type='radio' name='side[$bid]' value='"
178
+                . XOOPS_CENTERBLOCK_LEFT
179
+                . "'$ssel2><input type='radio' name='side[$bid]' value='"
180
+                . XOOPS_CENTERBLOCK_CENTER
181
+                . "'$ssel3><input type='radio' name='side[$bid]' value='"
182
+                . XOOPS_CENTERBLOCK_RIGHT
183
+                . "'$ssel4>-<input type='radio' name='side[$bid]' value='"
184
+                . XOOPS_SIDEBLOCK_RIGHT
185
+                . "'$ssel1>
186 186
                 <br>
187 187
                 <br>
188 188
                 <input type='radio' name='side[$bid]' value='-1'$sseln>
189 189
                 "
190
-             . _NONE
191
-             . "
190
+                . _NONE
191
+                . "
192 192
             </td>
193 193
             <td class='$class' align='center'>
194 194
                 <input type='text' name=weight[$bid] value='$weight' size='5' maxlength='5' style='text-align:right;'>
@@ -205,8 +205,8 @@  discard block
 block discarded – undo
205 205
             </td>
206 206
             <td class='$class' align='center'>
207 207
                 <a href='admin.php?fct=blocksadmin&amp;op=edit&amp;bid=$bid'>"
208
-             . _EDIT
209
-             . "</a>
208
+                . _EDIT
209
+                . "</a>
210 210
                 <input type='hidden' name='bid[$bid]' value='$bid'>
211 211
             </td>
212 212
         </tr>\n";
@@ -239,14 +239,14 @@  discard block
 block discarded – undo
239 239
     }
240 240
 
241 241
     $form = new GroupPermForm('', 1, 'block_read', "<img id='bottomtableicon' src="
242
-                                                          . XOOPS_URL
243
-                                                          . '/modules/'
244
-                                                          . $xoopsModule->dirname()
245
-                                                          . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
246
-                                                          . _AM_SF_GROUPS
247
-                                                          . "</h3><div id='bottomtable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
248
-                                                          . _AM_SF_GROUPSINFO
249
-                                                          . '</span>');
242
+                                                            . XOOPS_URL
243
+                                                            . '/modules/'
244
+                                                            . $xoopsModule->dirname()
245
+                                                            . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
246
+                                                            . _AM_SF_GROUPS
247
+                                                            . "</h3><div id='bottomtable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
248
+                                                            . _AM_SF_GROUPSINFO
249
+                                                            . '</span>');
250 250
     $form->addAppendix('module_admin', $xoopsModule->mid(), $xoopsModule->name() . ' ' . _AM_ACTIVERIGHTS);
251 251
     $form->addAppendix('module_read', $xoopsModule->mid(), $xoopsModule->name() . ' ' . _AM_ACCESSRIGHTS);
252 252
     foreach ($item_list as $item_id => $item_name) {
Please login to merge, or discard this patch.
admin/faq.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -562,11 +562,11 @@
 block discarded – undo
562 562
             $faqid =  Request::getInt('faqid', 0, 'POST');
563 563
             xoops_cp_header();
564 564
             xoops_confirm([
565
-                              'op'      => 'del',
566
-                              'faqid'   => $faqObj->faqid(),
567
-                              'confirm' => 1,
568
-                              'name'    => $faqObj->question()
569
-                          ], 'faq.php', _AM_SF_DELETETHISARTICLE . " <br>'" . $faqObj->question() . "'. <br> <br>", _AM_SF_DELETE);
565
+                                'op'      => 'del',
566
+                                'faqid'   => $faqObj->faqid(),
567
+                                'confirm' => 1,
568
+                                'name'    => $faqObj->question()
569
+                            ], 'faq.php', _AM_SF_DELETETHISARTICLE . " <br>'" . $faqObj->question() . "'. <br> <br>", _AM_SF_DELETE);
570 570
             xoops_cp_footer();
571 571
         }
572 572
 
Please login to merge, or discard this patch.
admin/mygrouppermform.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -379,20 +379,20 @@
 block discarded – undo
379 379
             $tree .= ' checked';
380 380
         }
381 381
         $tree .= '>'
382
-                 . $option['name']
383
-                 . '<input type="hidden" name="'
384
-                 . $this->getName()
385
-                 . '[parents]['
386
-                 . $option['id']
387
-                 . ']" value="'
388
-                 . implode(':', $parentIds)
389
-                 . '"><input type="hidden" name="'
390
-                 . $this->getName()
391
-                 . '[itemname]['
392
-                 . $option['id']
393
-                 . ']" value="'
394
-                 . htmlspecialchars($option['name'], ENT_QUOTES)
395
-                 . "\"><br>\n";
382
+                    . $option['name']
383
+                    . '<input type="hidden" name="'
384
+                    . $this->getName()
385
+                    . '[parents]['
386
+                    . $option['id']
387
+                    . ']" value="'
388
+                    . implode(':', $parentIds)
389
+                    . '"><input type="hidden" name="'
390
+                    . $this->getName()
391
+                    . '[itemname]['
392
+                    . $option['id']
393
+                    . ']" value="'
394
+                    . htmlspecialchars($option['name'], ENT_QUOTES)
395
+                    . "\"><br>\n";
396 396
         if (isset($option['children'])) {
397 397
             foreach ($option['children'] as $child) {
398 398
                 array_push($parentIds, $option['id']);
Please login to merge, or discard this patch.
class/FaqHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
         if ($faq->isNew()) {
95 95
             $sql = sprintf(
96 96
                 'INSERT INTO %s (faqid, categoryid, question, howdoi, diduno, uid, datesub, `status`, counter, weight, html, smiley, xcodes, cancomment, comments, notifypub, modulelink, contextpage, exacturl, partialview) VALUES (NULL, %u, %s, %s, %s, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %s, %s, %u, %u)',
97
-                           $this->db->prefix('smartfaq_faq'),
97
+                            $this->db->prefix('smartfaq_faq'),
98 98
                 $categoryid,
99 99
                 $this->db->quoteString($question),
100 100
                 $this->db->quoteString($howdoi),
Please login to merge, or discard this patch.
class/CategoryHandler.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             $sql = sprintf(
93 93
                 'INSERT INTO %s (parentid, name, description, total, weight, created) VALUES (%u, %s, %s, %u, %u, %u)',
94 94
                 $this->db->prefix('smartfaq_categories'),
95
-                           $parentid,
95
+                            $parentid,
96 96
                 $this->db->quoteString($name),
97 97
                 $this->db->quoteString($description),
98 98
                 $total,
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                 'UPDATE %s SET parentid = %u, name = %s, description = %s, total = %s, weight = %u, created = %u WHERE categoryid = %u',
105 105
                 $this->db->prefix('smartfaq_categories'),
106 106
                 $parentid,
107
-                           $this->db->quoteString($name),
107
+                            $this->db->quoteString($name),
108 108
                 $this->db->quoteString($description),
109 109
                 $total,
110 110
                 $weight,
Please login to merge, or discard this patch.
class/GroupFormCheckBox.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -201,20 +201,20 @@
 block discarded – undo
201 201
             $tree .= ' checked';
202 202
         }
203 203
         $tree .= '>'
204
-                 . $option['name']
205
-                 . '<input type="hidden" name="'
206
-                 . $this->getName()
207
-                 . '[parents]['
208
-                 . $option['id']
209
-                 . ']" value="'
210
-                 . implode(':', $parentIds)
211
-                 . '"><input type="hidden" name="'
212
-                 . $this->getName()
213
-                 . '[itemname]['
214
-                 . $option['id']
215
-                 . ']" value="'
216
-                 . htmlspecialchars($option['name'], ENT_QUOTES)
217
-                 . "\"><br>\n";
204
+                    . $option['name']
205
+                    . '<input type="hidden" name="'
206
+                    . $this->getName()
207
+                    . '[parents]['
208
+                    . $option['id']
209
+                    . ']" value="'
210
+                    . implode(':', $parentIds)
211
+                    . '"><input type="hidden" name="'
212
+                    . $this->getName()
213
+                    . '[itemname]['
214
+                    . $option['id']
215
+                    . ']" value="'
216
+                    . htmlspecialchars($option['name'], ENT_QUOTES)
217
+                    . "\"><br>\n";
218 218
         if (isset($option['children'])) {
219 219
             foreach ($option['children'] as $child) {
220 220
                 array_push($parentIds, $option['id']);
Please login to merge, or discard this patch.