Passed
Push — master ( 4e30dc...deff52 )
by Michael
02:16
created
language/english/main.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 define('_MD_SF_SPECIFIC_URL_SELECT', 'Specific URL...');
133 133
 define('_MD_SF_SENDSTORY', 'Send this Q&A to a friend');
134 134
 define('_MD_SF_SPECIFIC_URL', 'Specific URL');
135
-define('_MD_SF_SPECIFIC_URL_DSC', "If you have set the 'Contextually link to this module' to <i>" . _MD_SF_SPECIFIC_URL_SELECT . "</i>, please specify the URL.<br>\n<b>Example :</b> modules/newbb");
135
+define('_MD_SF_SPECIFIC_URL_DSC', "If you have set the 'Contextually link to this module' to <i>"._MD_SF_SPECIFIC_URL_SELECT."</i>, please specify the URL.<br>\n<b>Example :</b> modules/newbb");
136 136
 define('_MD_SF_SUB_INTRO', 'please fill this form to send your Q&amp;A. The site administrator will review it and then publish it as soon as possible. Thank you in advance for your contribution.');
137 137
 define('_MD_SF_SUB_SNEWNAME', 'Submit a Q&amp;A');
138 138
 define('_MD_SF_SUB_SMNAME', 'Submit a Q&amp;A');
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
 define('_MD_SF_MAINHEAD', 'Welcome to the');
77 77
 define(
78 78
     '_MD_SF_MAININTRO',
79
-       "In this area of the site, you will find the answers to the frequently asked questions. Each Q&amp;A is placed in a category for easier finding. This is the section from where the random Q&amp;As in the right column of the site come from. Should you not find the answer to a particular question, don't hesitate to <a href='"
80
-       . XOOPS_URL
81
-       . "/forms/askus/form.php'>Ask us a Question!</a>"
79
+        "In this area of the site, you will find the answers to the frequently asked questions. Each Q&amp;A is placed in a category for easier finding. This is the section from where the random Q&amp;As in the right column of the site come from. Should you not find the answer to a particular question, don't hesitate to <a href='"
80
+        . XOOPS_URL
81
+        . "/forms/askus/form.php'>Ask us a Question!</a>"
82 82
 );
83 83
 define('_MD_SF_MAINNOSELECTCAT', 'You did not select a valid category');
84 84
 define('_MD_SF_MAINNOFAQS', 'There are no Q&amp;As in this category');
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 define('_MD_SF_REQUEST_ERROR', 'An error occured. Your request was not sent.');
121 121
 define(
122 122
     '_MD_SF_REQUEST_INTRO',
123
-       'You did not find the answer to the question you were looking for? No problem! Simply fill the following form in order to request the answer for a new question. The site administrator will review your request and publish this new question in the Open Questions section for someone to answer it!'
123
+        'You did not find the answer to the question you were looking for? No problem! Simply fill the following form in order to request the answer for a new question. The site administrator will review your request and publish this new question in the Open Questions section for someone to answer it!'
124 124
 );
125 125
 define('_MD_SF_REQUEST_RECEIVED_NEED_APPROVAL', 'Your request has been sent and will be published in the Open Questions section upon approval by a moderator.<br>Thank you for your contribution!');
126 126
 define('_MD_SF_REQUEST_RECEIVED_AND_PUBLISHED', 'Your request has been sent and automatically published in the Open Questions section. Thank you for your contribution!');
Please login to merge, or discard this patch.
notification_update.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include __DIR__ . '/../../mainfile.php';
10
-include XOOPS_ROOT_PATH . '/include/notification_update.php';
9
+include __DIR__.'/../../mainfile.php';
10
+include XOOPS_ROOT_PATH.'/include/notification_update.php';
Please login to merge, or discard this patch.
comment_reply.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include __DIR__ . '/../../mainfile.php';
10
-require_once XOOPS_ROOT_PATH . '/include/comment_reply.php';
9
+include __DIR__.'/../../mainfile.php';
10
+require_once XOOPS_ROOT_PATH.'/include/comment_reply.php';
Please login to merge, or discard this patch.
comment_edit.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include __DIR__ . '/../../mainfile.php';
10
-require_once XOOPS_ROOT_PATH . '/include/comment_edit.php';
9
+include __DIR__.'/../../mainfile.php';
10
+require_once XOOPS_ROOT_PATH.'/include/comment_edit.php';
Please login to merge, or discard this patch.
admin/admin_footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,6 @@
 block discarded – undo
18 18
  */
19 19
 
20 20
 $pathIcon32 = \Xmf\Module\Admin::iconUrl('', 32);
21
-echo "<div class='adminfooter'>\n" . "  <div style='text-align: center;'>\n" . "    <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . "  </div>\n" . '  ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';
21
+echo "<div class='adminfooter'>\n"."  <div style='text-align: center;'>\n"."    <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"."  </div>\n".'  '._AM_MODULEADMIN_ADMIN_FOOTER."\n".'</div>';
22 22
 
23 23
 xoops_cp_footer();
Please login to merge, or discard this patch.
admin/permissions.php 3 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -59,14 +59,14 @@
 block discarded – undo
59 59
             echo $form_view->render();
60 60
         } else {
61 61
             echo "<img id='toptableicon' src="
62
-                 . XOOPS_URL
63
-                 . '/modules/'
64
-                 . $xoopsModule->dirname()
65
-                 . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
66
-                 . _AM_SF_PERMISSIONSVIEWMAN
67
-                 . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
68
-                 . _AM_SF_NOPERMSSET
69
-                 . '</span>';
62
+                    . XOOPS_URL
63
+                    . '/modules/'
64
+                    . $xoopsModule->dirname()
65
+                    . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
66
+                    . _AM_SF_PERMISSIONSVIEWMAN
67
+                    . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
68
+                    . _AM_SF_NOPERMSSET
69
+                    . '</span>';
70 70
         }
71 71
         echo '</div>';
72 72
 
Please login to merge, or discard this patch.
Switch Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -26,53 +26,53 @@
 block discarded – undo
26 26
 }
27 27
 
28 28
 switch ($op) {
29
-    case 'default':
30
-    default:
31
-        global $xoopsDB, $xoopsModule;
29
+        case 'default':
30
+        default:
31
+            global $xoopsDB, $xoopsModule;
32 32
 
33
-        $adminObject = \Xmf\Module\Admin::getInstance();
34
-        xoops_cp_header();
35
-        $adminObject->displayNavigation(basename(__FILE__));
36
-        // View Categories permissions
37
-        $item_list_view = [];
38
-        $block_view     = [];
39
-        // echo "<h3 style='color: #2F5376; '>"._AM_SF_PERMISSIONSADMIN."</h3>\n" ;
40
-        Smartfaq\Utility::collapsableBar('toptable', 'toptableicon');
33
+            $adminObject = \Xmf\Module\Admin::getInstance();
34
+            xoops_cp_header();
35
+            $adminObject->displayNavigation(basename(__FILE__));
36
+            // View Categories permissions
37
+            $item_list_view = [];
38
+            $block_view     = [];
39
+            // echo "<h3 style='color: #2F5376; '>"._AM_SF_PERMISSIONSADMIN."</h3>\n" ;
40
+            Smartfaq\Utility::collapsableBar('toptable', 'toptableicon');
41 41
 
42
-        $result_view = $xoopsDB->query('SELECT categoryid, name FROM ' . $xoopsDB->prefix('smartfaq_categories') . ' ');
43
-        if ($xoopsDB->getRowsNum($result_view)) {
44
-            while ($myrow_view = $xoopsDB->fetchArray($result_view)) {
45
-                $item_list_view['cid']   = $myrow_view['categoryid'];
46
-                $item_list_view['title'] = $myrow_view['name'];
47
-                $form_view               = new \XoopsGroupPermForm('', $xoopsModule->getVar('mid'), 'category_read', "<img id='toptableicon' src="
48
-                                                                                                                    . XOOPS_URL
49
-                                                                                                                    . '/modules/'
50
-                                                                                                                    . $xoopsModule->dirname()
51
-                                                                                                                    . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
52
-                                                                                                                    . _AM_SF_PERMISSIONSVIEWMAN
53
-                                                                                                                    . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
54
-                                                                                                                    . _AM_SF_VIEW_CATS
55
-                                                                                                                    . '</span>', 'admin/permissions.php');
56
-                $block_view[]            = $item_list_view;
57
-                foreach ($block_view as $itemlists) {
58
-                    $form_view->addItem($itemlists['cid'], $myts->displayTarea($itemlists['title']));
42
+            $result_view = $xoopsDB->query('SELECT categoryid, name FROM ' . $xoopsDB->prefix('smartfaq_categories') . ' ');
43
+            if ($xoopsDB->getRowsNum($result_view)) {
44
+                while ($myrow_view = $xoopsDB->fetchArray($result_view)) {
45
+                    $item_list_view['cid']   = $myrow_view['categoryid'];
46
+                    $item_list_view['title'] = $myrow_view['name'];
47
+                    $form_view               = new \XoopsGroupPermForm('', $xoopsModule->getVar('mid'), 'category_read', "<img id='toptableicon' src="
48
+                                                                                                                        . XOOPS_URL
49
+                                                                                                                        . '/modules/'
50
+                                                                                                                        . $xoopsModule->dirname()
51
+                                                                                                                        . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
52
+                                                                                                                        . _AM_SF_PERMISSIONSVIEWMAN
53
+                                                                                                                        . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
54
+                                                                                                                        . _AM_SF_VIEW_CATS
55
+                                                                                                                        . '</span>', 'admin/permissions.php');
56
+                    $block_view[]            = $item_list_view;
57
+                    foreach ($block_view as $itemlists) {
58
+                        $form_view->addItem($itemlists['cid'], $myts->displayTarea($itemlists['title']));
59
+                    }
59 60
                 }
61
+                echo $form_view->render();
62
+            } else {
63
+                echo "<img id='toptableicon' src="
64
+                     . XOOPS_URL
65
+                     . '/modules/'
66
+                     . $xoopsModule->dirname()
67
+                     . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
68
+                     . _AM_SF_PERMISSIONSVIEWMAN
69
+                     . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
70
+                     . _AM_SF_NOPERMSSET
71
+                     . '</span>';
60 72
             }
61
-            echo $form_view->render();
62
-        } else {
63
-            echo "<img id='toptableicon' src="
64
-                 . XOOPS_URL
65
-                 . '/modules/'
66
-                 . $xoopsModule->dirname()
67
-                 . "/assets/images/icon/close12.gif alt=''></a>&nbsp;"
68
-                 . _AM_SF_PERMISSIONSVIEWMAN
69
-                 . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
70
-                 . _AM_SF_NOPERMSSET
71
-                 . '</span>';
72
-        }
73
-        echo '</div>';
73
+            echo '</div>';
74 74
 
75
-        echo "<br>\n";
75
+            echo "<br>\n";
76 76
 }
77 77
 
78 78
 require_once __DIR__ . '/admin_footer.php';
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 use XoopsModules\Smartfaq;
10 10
 
11
-require_once __DIR__ . '/admin_header.php';
12
-require_once XOOPS_ROOT_PATH . '/class/xoopsform/grouppermform.php';
11
+require_once __DIR__.'/admin_header.php';
12
+require_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php';
13 13
 
14 14
 if (!Smartfaq\Utility::userIsAdmin()) {
15 15
     redirect_header('javascript:history.go(-1)', 1, _NOPERM);
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         // echo "<h3 style='color: #2F5376; '>"._AM_SF_PERMISSIONSADMIN."</h3>\n" ;
40 40
         Smartfaq\Utility::collapsableBar('toptable', 'toptableicon');
41 41
 
42
-        $result_view = $xoopsDB->query('SELECT categoryid, name FROM ' . $xoopsDB->prefix('smartfaq_categories') . ' ');
42
+        $result_view = $xoopsDB->query('SELECT categoryid, name FROM '.$xoopsDB->prefix('smartfaq_categories').' ');
43 43
         if ($xoopsDB->getRowsNum($result_view)) {
44 44
             while ($myrow_view = $xoopsDB->fetchArray($result_view)) {
45 45
                 $item_list_view['cid']   = $myrow_view['categoryid'];
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                                                                                                                     . "</h3><div id='toptable'><span style=\"color: #567; margin: 3px 0 0 0; font-size: small; display: block; \">"
54 54
                                                                                                                     . _AM_SF_VIEW_CATS
55 55
                                                                                                                     . '</span>', 'admin/permissions.php');
56
-                $block_view[]            = $item_list_view;
56
+                $block_view[] = $item_list_view;
57 57
                 foreach ($block_view as $itemlists) {
58 58
                     $form_view->addItem($itemlists['cid'], $myts->displayTarea($itemlists['title']));
59 59
                 }
@@ -75,4 +75,4 @@  discard block
 block discarded – undo
75 75
         echo "<br>\n";
76 76
 }
77 77
 
78
-require_once __DIR__ . '/admin_footer.php';
78
+require_once __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
comment_post.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include __DIR__ . '/../../mainfile.php';
10
-require_once XOOPS_ROOT_PATH . '/include/comment_post.php';
9
+include __DIR__.'/../../mainfile.php';
10
+require_once XOOPS_ROOT_PATH.'/include/comment_post.php';
Please login to merge, or discard this patch.
include/blocksadmin.inc.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -70,18 +70,18 @@
 block discarded – undo
70 70
     $myblock->setVar('title', $myts->stripSlashesGPC($btitle));
71 71
     $myblock->setVar('content', $myts->stripSlashesGPC($bcontent));
72 72
     $dummyhtml = '<html><head><meta http-equiv="content-type" content="text/html; charset='
73
-                 . _CHARSET
74
-                 . '"><meta http-equiv="content-language" content="'
75
-                 . _LANGCODE
76
-                 . '"><title>'
77
-                 . $xoopsConfig['sitename']
78
-                 . '</title><link rel="stylesheet" type="text/css" media="all" href="'
79
-                 . getcss($xoopsConfig['theme_set'])
80
-                 . '"></head><body><table><tr><th>'
81
-                 . $myblock->getVar('title')
82
-                 . '</th></tr><tr><td>'
83
-                 . $myblock->getContent('S', $bctype)
84
-                 . '</td></tr></table></body></html>';
73
+                    . _CHARSET
74
+                    . '"><meta http-equiv="content-language" content="'
75
+                    . _LANGCODE
76
+                    . '"><title>'
77
+                    . $xoopsConfig['sitename']
78
+                    . '</title><link rel="stylesheet" type="text/css" media="all" href="'
79
+                    . getcss($xoopsConfig['theme_set'])
80
+                    . '"></head><body><table><tr><th>'
81
+                    . $myblock->getVar('title')
82
+                    . '</th></tr><tr><td>'
83
+                    . $myblock->getContent('S', $bctype)
84
+                    . '</td></tr></table></body></html>';
85 85
 
86 86
     $dummyfile = '_dummyfile_' . time() . '.html';
87 87
     $fp        = fopen(XOOPS_CACHE_PATH . '/' . $dummyfile, 'w');
Please login to merge, or discard this patch.
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
 if (!is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid())) {
29 29
     exit('Access Denied');
30 30
 }
31
-require_once XOOPS_ROOT_PATH . '/class/xoopsblock.php';
32
-include XOOPS_ROOT_PATH . '/modules/system/admin/blocksadmin/blocksadmin.php';
31
+require_once XOOPS_ROOT_PATH.'/class/xoopsblock.php';
32
+include XOOPS_ROOT_PATH.'/modules/system/admin/blocksadmin/blocksadmin.php';
33 33
 
34 34
 $op = 'list';
35 35
 if (isset($HTTP_POST_VARS)) {
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 
50 50
 if (isset($previewblock)) {
51 51
     xoops_cp_header();
52
-    require_once XOOPS_ROOT_PATH . '/class/template.php';
52
+    require_once XOOPS_ROOT_PATH.'/class/template.php';
53 53
     $xoopsTpl = new \XoopsTpl();
54
-    $xoopsTpl->caching= 0;
54
+    $xoopsTpl->caching = 0;
55 55
     if (isset($bid)) {
56 56
         $block['bid']        = $bid;
57 57
         $block['form_title'] = _AM_EDITBLOCK;
@@ -83,8 +83,8 @@  discard block
 block discarded – undo
83 83
                  . $myblock->getContent('S', $bctype)
84 84
                  . '</td></tr></table></body></html>';
85 85
 
86
-    $dummyfile = '_dummyfile_' . time() . '.html';
87
-    $fp        = fopen(XOOPS_CACHE_PATH . '/' . $dummyfile, 'w');
86
+    $dummyfile = '_dummyfile_'.time().'.html';
87
+    $fp        = fopen(XOOPS_CACHE_PATH.'/'.$dummyfile, 'w');
88 88
     fwrite($fp, $dummyhtml);
89 89
     fclose($fp);
90 90
     $block['edit_form'] = false;
@@ -95,24 +95,24 @@  discard block
 block discarded – undo
95 95
     $block['visible']   = $bvisible;
96 96
     $block['title']     = $myblock->getVar('title', 'E');
97 97
     $block['content']   = $myblock->getVar('content', 'E');
98
-    $block['modules']   =& $bmodule;
98
+    $block['modules']   = & $bmodule;
99 99
     $block['ctype']     = isset($bctype) ? $bctype : $myblock->getVar('c_type');
100 100
     $block['is_custom'] = true;
101 101
     $block['cachetime'] = (int)$bcachetime;
102
-    echo '<a href="admin.php?fct=blocksadmin">' . _AM_BADMIN . '</a>&nbsp;<span style="font-weight:bold;">&raquo;&raquo;</span>&nbsp;' . $block['form_title'] . '<br><br>';
103
-    include XOOPS_ROOT_PATH . '/modules/system/admin/blocksadmin/blockform.php';
102
+    echo '<a href="admin.php?fct=blocksadmin">'._AM_BADMIN.'</a>&nbsp;<span style="font-weight:bold;">&raquo;&raquo;</span>&nbsp;'.$block['form_title'].'<br><br>';
103
+    include XOOPS_ROOT_PATH.'/modules/system/admin/blocksadmin/blockform.php';
104 104
     $form->display();
105 105
     xoops_cp_footer();
106 106
     echo '<script type="text/javascript">
107 107
     <!--//
108
-    preview_window = openWithSelfMain("' . XOOPS_URL . '/modules/system/admin.php?fct=blocksadmin&op=previewpopup&file=' . $dummyfile . '", "popup", 250, 200);
108
+    preview_window = openWithSelfMain("' . XOOPS_URL.'/modules/system/admin.php?fct=blocksadmin&op=previewpopup&file='.$dummyfile.'", "popup", 250, 200);
109 109
     //-->
110 110
     </script>';
111 111
     exit();
112 112
 }
113 113
 
114 114
 if ('previewpopup' === $op) {
115
-    $file = str_replace('..', '', XOOPS_CACHE_PATH . '/' . trim($HTTP_GET_VARS['file']));
115
+    $file = str_replace('..', '', XOOPS_CACHE_PATH.'/'.trim($HTTP_GET_VARS['file']));
116 116
     if (file_exists($file)) {
117 117
         include $file;
118 118
         @unlink($file);
@@ -254,24 +254,24 @@  discard block
 block discarded – undo
254 254
             $sql = sprintf('INSERT INTO `%s` (block_id, module_id) VALUES (`%u`, `%d`)', $db->prefix('block_module_link'), $bid, (int)$bmid);
255 255
             $db->query($sql);
256 256
         }
257
-        require_once XOOPS_ROOT_PATH . '/class/template.php';
257
+        require_once XOOPS_ROOT_PATH.'/class/template.php';
258 258
         $xoopsTpl = new \XoopsTpl();
259
-        $xoopsTpl->caching= 2;
259
+        $xoopsTpl->caching = 2;
260 260
         if ('' != $myblock->getVar('template')) {
261
-            if ($xoopsTpl->is_cached('db:' . $myblock->getVar('template'))) {
262
-                if (!$xoopsTpl->clear_cache('db:' . $myblock->getVar('template'))) {
263
-                    $msg = 'Unable to clear cache for block ID' . $bid;
261
+            if ($xoopsTpl->is_cached('db:'.$myblock->getVar('template'))) {
262
+                if (!$xoopsTpl->clear_cache('db:'.$myblock->getVar('template'))) {
263
+                    $msg = 'Unable to clear cache for block ID'.$bid;
264 264
                 }
265 265
             }
266 266
         } else {
267
-            if ($xoopsTpl->is_cached('db:system_dummy.tpl', 'block' . $bid)) {
268
-                if (!$xoopsTpl->clear_cache('db:system_dummy.tpl', 'block' . $bid)) {
269
-                    $msg = 'Unable to clear cache for block ID' . $bid;
267
+            if ($xoopsTpl->is_cached('db:system_dummy.tpl', 'block'.$bid)) {
268
+                if (!$xoopsTpl->clear_cache('db:system_dummy.tpl', 'block'.$bid)) {
269
+                    $msg = 'Unable to clear cache for block ID'.$bid;
270 270
                 }
271 271
             }
272 272
         }
273 273
     } else {
274
-        $msg = 'Failed update of block. ID:' . $bid;
274
+        $msg = 'Failed update of block. ID:'.$bid;
275 275
     }
276 276
 
277 277
     return $msg; // GIJ +
Please login to merge, or discard this patch.
comment_new.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
  * Licence: GNU
7 7
  */
8 8
 
9
-include __DIR__ . '/../../mainfile.php';
10
-require_once XOOPS_ROOT_PATH . '/include/comment_new.php';
9
+include __DIR__.'/../../mainfile.php';
10
+require_once XOOPS_ROOT_PATH.'/include/comment_new.php';
Please login to merge, or discard this patch.