Completed
Push — master ( 260239...804154 )
by Michael
02:57
created
comment_delete.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
 // URL: http://xoops.org                         //
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27
-include dirname(dirname(__DIR__)) . '/mainfile.php';
28
-include XOOPS_ROOT_PATH . '/include/comment_delete.php';
27
+include dirname(dirname(__DIR__)).'/mainfile.php';
28
+include XOOPS_ROOT_PATH.'/include/comment_delete.php';
Please login to merge, or discard this patch.
view.article.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 // URL: http://xoops.org                         //
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27
-include __DIR__ . '/header.php';
27
+include __DIR__.'/header.php';
28 28
 
29 29
 /**
30 30
  * The comment detection scripts should be removed once absolute url is used in comment_view.php
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
  *
33 33
  */
34 34
 if (preg_match("/(\/comment_[^\.]*\.php\?.*=.*)/i", $_SERVER['REQUEST_URI'], $matches)) {
35
-    header('location: ' . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . $matches[1]);
35
+    header('location: '.XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].$matches[1]);
36 36
     exit();
37 37
 }
38 38
 if (preg_match("/\/notification_update\.php/i", $_SERVER['REQUEST_URI'], $matches)) {
39
-    include XOOPS_ROOT_PATH . '/include/notification_update.php';
39
+    include XOOPS_ROOT_PATH.'/include/notification_update.php';
40 40
     exit();
41 41
 }
42 42
 
@@ -45,24 +45,24 @@  discard block
 block discarded – undo
45 45
     $args['blog']    = @$args['blog'];
46 46
 }
47 47
 
48
-$article_id = (int)(empty($_GET['article']) ? @$args['article'] : $_GET['article']);
49
-$blog_id    = (int)(empty($_GET['blog']) ? @$args['blog'] : $_GET['blog']);
48
+$article_id = (int) (empty($_GET['article']) ? @$args['article'] : $_GET['article']);
49
+$blog_id    = (int) (empty($_GET['blog']) ? @$args['blog'] : $_GET['blog']);
50 50
 
51 51
 $article_handler = xoops_getModuleHandler('article', $GLOBALS['moddirname']);
52 52
 $blog_handler    = xoops_getModuleHandler('blog', $GLOBALS['moddirname']);
53
-$article_obj     =& $article_handler->get($article_id);
54
-$blog_obj        =& $blog_handler->get($article_obj->getVar('blog_id'));
53
+$article_obj     = & $article_handler->get($article_id);
54
+$blog_obj        = & $blog_handler->get($article_obj->getVar('blog_id'));
55 55
 
56 56
 // restore $_SERVER['REQUEST_URI']
57 57
 if (!empty($REQUEST_URI_parsed)) {
58
-    $_SERVER['REQUEST_URI'] = XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/view.article.php'
59
-                              . (empty($article_id) ? '' : '?article=' . $article_id);
58
+    $_SERVER['REQUEST_URI'] = XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/view.article.php'
59
+                              . (empty($article_id) ? '' : '?article='.$article_id);
60 60
 }
61 61
 
62
-$xoopsOption['xoops_pagetitle'] = $xoopsModule->getVar('name') . ' - ' . $article_obj->getVar('art_title');
62
+$xoopsOption['xoops_pagetitle'] = $xoopsModule->getVar('name').' - '.$article_obj->getVar('art_title');
63 63
 $xoopsOption['template_main']   = planet_getTemplate('article');
64
-include_once XOOPS_ROOT_PATH . '/header.php';
65
-include XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/include/vars.php';
64
+include_once XOOPS_ROOT_PATH.'/header.php';
65
+include XOOPS_ROOT_PATH.'/modules/'.$xoopsModule->getVar('dirname').'/include/vars.php';
66 66
 
67 67
 $article_data = array(
68 68
     'id'       => $article_id,
@@ -79,16 +79,16 @@  discard block
 block discarded – undo
79 79
 );
80 80
 
81 81
 if (!empty($xoopsModuleConfig['do_sibling'])) {
82
-    $articles_sibling =& $article_handler->getSibling($article_obj, $blog_id);
82
+    $articles_sibling = & $article_handler->getSibling($article_obj, $blog_id);
83 83
     if (!empty($articles_sibling['previous'])) {
84
-        $articles_sibling['previous']['url']   = XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/view.article.php'
85
-                                                 . URL_DELIMITER . '' . $articles_sibling['previous']['id'] . '/b'
84
+        $articles_sibling['previous']['url']   = XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/view.article.php'
85
+                                                 . URL_DELIMITER.''.$articles_sibling['previous']['id'].'/b'
86 86
                                                  . $blog_id;
87 87
         $articles_sibling['previous']['title'] = $articles_sibling['previous']['title'];
88 88
     }
89 89
     if (!empty($articles_sibling['next'])) {
90
-        $articles_sibling['next']['url']   = XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/view.article.php'
91
-                                             . URL_DELIMITER . '' . $articles_sibling['next']['id'] . '/b' . $blog_id;
90
+        $articles_sibling['next']['url']   = XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/view.article.php'
91
+                                             . URL_DELIMITER.''.$articles_sibling['next']['id'].'/b'.$blog_id;
92 92
         $articles_sibling['next']['title'] = $articles_sibling['next']['title'];
93 93
     }
94 94
 }
@@ -100,11 +100,11 @@  discard block
 block discarded – undo
100 100
 
101 101
 $xoopsTpl->assign('user_level', !is_object($xoopsUser) ? 0 : ($xoopsUser->isAdmin() ? 2 : 1));
102 102
 if (empty($xoopsModuleConfig['anonymous_rate']) && !is_object($xoopsUser)) {
103
-} else {
103
+}else {
104 104
     $xoopsTpl->assign('canrate', 1);
105 105
 }
106 106
 
107
-if ($transferbar = @include XOOPS_ROOT_PATH . '/Frameworks/transfer/bar.transfer.php') {
107
+if ($transferbar = @include XOOPS_ROOT_PATH.'/Frameworks/transfer/bar.transfer.php') {
108 108
     $xoopsTpl->assign('transfer', $transferbar);
109 109
 }
110 110
 
@@ -114,6 +114,6 @@  discard block
 block discarded – undo
114 114
 // for comment and notification
115 115
 //$_SERVER['REQUEST_URI'] = XOOPS_URL."/modules/".$GLOBALS["moddirname"]."/view.article.php";
116 116
 $_GET['article'] = $article_id;
117
-include XOOPS_ROOT_PATH . '/include/comment_view.php';
117
+include XOOPS_ROOT_PATH.'/include/comment_view.php';
118 118
 
119
-include_once __DIR__ . '/footer.php';
119
+include_once __DIR__.'/footer.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
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
 // URL: http://xoops.org                         //
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27
-include dirname(dirname(__DIR__)) . '/mainfile.php';
28
-include XOOPS_ROOT_PATH . '/include/comment_edit.php';
27
+include dirname(dirname(__DIR__)).'/mainfile.php';
28
+include XOOPS_ROOT_PATH.'/include/comment_edit.php';
Please login to merge, or discard this patch.
search.php 1 patch
Spacing   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -26,28 +26,28 @@  discard block
 block discarded – undo
26 26
 // ------------------------------------------------------------------------ //
27 27
 
28 28
 $xoopsOption['pagetype'] = 'search';
29
-include __DIR__ . '/header.php';
29
+include __DIR__.'/header.php';
30 30
 $xoopsModule->loadLanguage('main');
31 31
 $config_handler    = xoops_getHandler('config');
32
-$xoopsConfigSearch =& $config_handler->getConfigsByCat(XOOPS_CONF_SEARCH);
32
+$xoopsConfigSearch = & $config_handler->getConfigsByCat(XOOPS_CONF_SEARCH);
33 33
 if (empty($xoopsConfigSearch['enable_search'])) {
34
-    redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/index.php', 2, planet_constant('MD_NOACCESS'));
34
+    redirect_header(XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/index.php', 2, planet_constant('MD_NOACCESS'));
35 35
 }
36 36
 
37 37
 $xoopsConfig['module_cache'][$xoopsModule->getVar('mid')] = 0;
38 38
 $xoopsOption['template_main']                             = planet_getTemplate('search');
39
-include XOOPS_ROOT_PATH . '/header.php';
40
-include XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/include/vars.php';
39
+include XOOPS_ROOT_PATH.'/header.php';
40
+include XOOPS_ROOT_PATH.'/modules/'.$xoopsModule->getVar('dirname').'/include/vars.php';
41 41
 
42
-include_once XOOPS_ROOT_PATH . '/modules/' . $GLOBALS['moddirname'] . '/include/search.inc.php';
42
+include_once XOOPS_ROOT_PATH.'/modules/'.$GLOBALS['moddirname'].'/include/search.inc.php';
43 43
 $limit = $xoopsModuleConfig['articles_perpage'];
44 44
 
45 45
 $queries  = array();
46 46
 $andor    = isset($_POST['andor']) ? $_POST['andor'] : (isset($_GET['andor']) ? $_GET['andor'] : '');
47 47
 $start    = isset($_GET['start']) ? $_GET['start'] : 0;
48
-$category = (int)(isset($_POST['category']) ? $_POST['category'] : (isset($_GET['category']) ? $_GET['category'] : null));
49
-$blog     = (int)(isset($_POST['blog']) ? $_POST['blog'] : (isset($_GET['blog']) ? $_GET['blog'] : null));
50
-$uid      = (int)(isset($_POST['uid']) ? $_POST['uid'] : (isset($_GET['uid']) ? $_GET['uid'] : null));
48
+$category = (int) (isset($_POST['category']) ? $_POST['category'] : (isset($_GET['category']) ? $_GET['category'] : null));
49
+$blog     = (int) (isset($_POST['blog']) ? $_POST['blog'] : (isset($_GET['blog']) ? $_GET['blog'] : null));
50
+$uid      = (int) (isset($_POST['uid']) ? $_POST['uid'] : (isset($_GET['uid']) ? $_GET['uid'] : null));
51 51
 $searchin = isset($_POST['searchin']) ? $_POST['searchin'] : (isset($_GET['searchin']) ? explode('|',
52 52
                                                                                                  $_GET['searchin']) : array());
53 53
 $sortby   = isset($_POST['sortby']) ? $_POST['sortby'] : (isset($_GET['sortby']) ? $_GET['sortby'] : null);
@@ -79,19 +79,19 @@  discard block
 block discarded – undo
79 79
         $temp_queries    = preg_split("/[\s,]+/", $query);
80 80
         foreach ($temp_queries as $q) {
81 81
             $q = trim($q);
82
-            if (strlen($q) >= $xoopsConfigSearch['keyword_min']) {
82
+            if (strlen($q)>=$xoopsConfigSearch['keyword_min']) {
83 83
                 $queries[] = $myts->addSlashes($q);
84
-            } else {
84
+            }else {
85 85
                 $ignored_queries[] = $myts->addSlashes($q);
86 86
             }
87 87
         }
88 88
         if (count($queries) == 0) {
89
-            redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/search.php', 2,
89
+            redirect_header(XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/search.php', 2,
90 90
                             sprintf(_SR_KEYTOOSHORT, $xoopsConfigSearch['keyword_min']));
91 91
         }
92
-    } else {
93
-        if (strlen($query) < $xoopsConfigSearch['keyword_min']) {
94
-            redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/search.php', 2,
92
+    }else {
93
+        if (strlen($query)<$xoopsConfigSearch['keyword_min']) {
94
+            redirect_header(XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/search.php', 2,
95 95
                             sprintf(_SR_KEYTOOSHORT, $xoopsConfigSearch['keyword_min']));
96 96
         }
97 97
         $queries = array($myts->addSlashes($query));
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     if (!empty($time)) {
107 107
         $extra = '';
108
-    } else {
108
+    }else {
109 109
         $extra = '';
110 110
     }
111 111
 
@@ -119,20 +119,20 @@  discard block
 block discarded – undo
119 119
     {
120 120
         $xoopsTpl->assign('results', $results);
121 121
 
122
-        if (count($next_search) > 0) {
122
+        if (count($next_search)>0) {
123 123
             $items = array();
124 124
             foreach ($next_search as $para => $val) {
125 125
                 if (!empty($val)) {
126 126
                     $items[] = "$para=$val";
127 127
                 }
128 128
             }
129
-            if (count($items) > 0) {
129
+            if (count($items)>0) {
130 130
                 $paras = implode('&', $items);
131 131
             }
132 132
             unset($next_search);
133 133
             unset($items);
134 134
         }
135
-        $search_url = XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/search.php?' . $paras;
135
+        $search_url = XOOPS_URL.'/modules/'.$GLOBALS['moddirname'].'/search.php?'.$paras;
136 136
 
137 137
         /*
138 138
          $next_results =& planet_search($queries, $andor, 1, $start + $limit, $uid, $category, $sortby, $searchin, $extra);
@@ -144,22 +144,22 @@  discard block
 block discarded – undo
144 144
       if (false != $has_next)
145 145
       */
146 146
         if (count($results)) {
147
-            $next            = $start + $limit;
147
+            $next            = $start+$limit;
148 148
             $queries         = implode(',', $queries);
149
-            $search_url_next = $search_url . "&start=$next";
150
-            $search_next     = "<a href=\"" . htmlspecialchars($search_url_next) . "\">" . _SR_NEXT . '</a>';
149
+            $search_url_next = $search_url."&start=$next";
150
+            $search_next     = "<a href=\"".htmlspecialchars($search_url_next)."\">"._SR_NEXT.'</a>';
151 151
             $xoopsTpl->assign('search_next', $search_next);
152 152
         }
153
-        if ($start > 0) {
154
-            $prev            = $start - $limit;
155
-            $search_url_prev = $search_url . "&start=$prev";
156
-            $search_prev     = "<a href=\"" . htmlspecialchars($search_url_prev) . "\">" . _SR_PREVIOUS . '</a>';
153
+        if ($start>0) {
154
+            $prev            = $start-$limit;
155
+            $search_url_prev = $search_url."&start=$prev";
156
+            $search_prev     = "<a href=\"".htmlspecialchars($search_url_prev)."\">"._SR_PREVIOUS.'</a>';
157 157
             $xoopsTpl->assign('search_prev', $search_prev);
158 158
         }
159 159
     }
160 160
 
161 161
     unset($results);
162
-    $search_info = _SR_KEYWORDS . ': ' . $myts->htmlSpecialChars($term);
162
+    $search_info = _SR_KEYWORDS.': '.$myts->htmlSpecialChars($term);
163 163
     $xoopsTpl->assign('search_info', $search_info);
164 164
 }
165 165
 
@@ -169,17 +169,17 @@  discard block
 block discarded – undo
169 169
 if ('OR' === $andor) {
170 170
     $type_select .= " selected=\"selected\"";
171 171
 }
172
-$type_select .= '>' . _SR_ANY . '</option>';
172
+$type_select .= '>'._SR_ANY.'</option>';
173 173
 $type_select .= "<option value=\"AND\"";
174 174
 if ('AND' === $andor) {
175 175
     $type_select .= " selected=\"selected\"";
176 176
 }
177
-$type_select .= '>' . _SR_ALL . '</option>';
177
+$type_select .= '>'._SR_ALL.'</option>';
178 178
 $type_select .= "<option value=\"EXACT\"";
179 179
 if ('exact' === $andor) {
180 180
     $type_select .= " selected=\"selected\"";
181 181
 }
182
-$type_select .= '>' . _SR_EXACT . '</option>';
182
+$type_select .= '>'._SR_EXACT.'</option>';
183 183
 $type_select .= '</select>';
184 184
 
185 185
 /* scope */
@@ -188,32 +188,32 @@  discard block
 block discarded – undo
188 188
 if (in_array('title', $searchin)) {
189 189
     $searchin_select .= ' checked';
190 190
 }
191
-$searchin_select .= ' />' . planet_constant('MD_TITLE') . '&nbsp;&nbsp;';
191
+$searchin_select .= ' />'.planet_constant('MD_TITLE').'&nbsp;&nbsp;';
192 192
 $searchin_select .= "<input type=\"checkbox\" name=\"searchin[]\" value=\"text\"";
193 193
 if (in_array('text', $searchin)) {
194 194
     $searchin_select .= ' checked';
195 195
 }
196
-$searchin_select .= ' />' . planet_constant('MD_BODY') . '&nbsp;&nbsp;||&nbsp;&nbsp;';
196
+$searchin_select .= ' />'.planet_constant('MD_BODY').'&nbsp;&nbsp;||&nbsp;&nbsp;';
197 197
 $searchin_select .= "<input type=\"checkbox\" name=\"searchin[]\" value=\"blog\"";
198 198
 if (in_array('blog', $searchin)) {
199 199
     $searchin_select .= ' checked';
200 200
 }
201
-$searchin_select .= ' />' . planet_constant('MD_BLOG') . '&nbsp;&nbsp;';
201
+$searchin_select .= ' />'.planet_constant('MD_BLOG').'&nbsp;&nbsp;';
202 202
 $searchin_select .= "<input type=\"checkbox\" name=\"searchin[]\" value=\"feed\"";
203 203
 if (in_array('feed', $searchin)) {
204 204
     $searchin_select .= ' checked';
205 205
 }
206
-$searchin_select .= ' />' . planet_constant('MD_FEED') . '&nbsp;&nbsp;';
206
+$searchin_select .= ' />'.planet_constant('MD_FEED').'&nbsp;&nbsp;';
207 207
 $searchin_select .= "<input type=\"checkbox\" name=\"searchin[]\" value=\"desc\"";
208 208
 if (in_array('desc', $searchin)) {
209 209
     $searchin_select .= ' checked';
210 210
 }
211
-$searchin_select .= ' />' . planet_constant('MD_DESC') . '&nbsp;&nbsp;';
211
+$searchin_select .= ' />'.planet_constant('MD_DESC').'&nbsp;&nbsp;';
212 212
 $searchin_select .= "<input type=\"checkbox\" name=\"searchin[]\" value=\"all\"";
213 213
 if (empty($searchin)) {
214 214
     $searchin_select .= ' checked';
215 215
 }
216
-$searchin_select .= ' />' . _ALL . '&nbsp;&nbsp;';
216
+$searchin_select .= ' />'._ALL.'&nbsp;&nbsp;';
217 217
 
218 218
 /* sortby */
219 219
 $sortby_select = "<select name=\"sortby\">";
@@ -221,28 +221,28 @@  discard block
 block discarded – undo
221 221
 if (empty($sortby)) {
222 222
     $sortby_select .= " selected=\"selected\"";
223 223
 }
224
-$sortby_select .= '>' . _NONE . '</option>';
224
+$sortby_select .= '>'._NONE.'</option>';
225 225
 $sortby_select .= "<option value=\"a.art_time\"";
226 226
 if ('a.art_time' === $sortby) {
227 227
     $sortby_select .= " selected=\"selected\"";
228 228
 }
229
-$sortby_select .= '>' . planet_constant('MD_TIME') . '</option>';
229
+$sortby_select .= '>'.planet_constant('MD_TIME').'</option>';
230 230
 $sortby_select .= "<option value=\"a.art_title\"";
231 231
 if ('a.art_title' === $sortby) {
232 232
     $sortby_select .= " selected=\"selected\"";
233 233
 }
234
-$sortby_select .= '>' . planet_constant('MD_TITLE') . '</option>';
234
+$sortby_select .= '>'.planet_constant('MD_TITLE').'</option>';
235 235
 $sortby_select .= "<option value=\"\">&nbsp;&nbsp;----&nbsp;&nbsp;</option>";
236 236
 $sortby_select .= "<option value=\"a.blog_title\"";
237 237
 if ('a.blog_title' === $sortby) {
238 238
     $sortby_select .= " selected=\"selected\"";
239 239
 }
240
-$sortby_select .= '>' . planet_constant('MD_BLOG') . '</option>';
240
+$sortby_select .= '>'.planet_constant('MD_BLOG').'</option>';
241 241
 $sortby_select .= "<option value=\"a.blog_time\"";
242 242
 if ('b.blog_time' === $sortby) {
243 243
     $sortby_select .= " selected=\"selected\"";
244 244
 }
245
-$sortby_select .= '>' . planet_constant('MD_UPDATE') . '</option>';
245
+$sortby_select .= '>'.planet_constant('MD_UPDATE').'</option>';
246 246
 $sortby_select .= '</select>';
247 247
 
248 248
 $xoopsTpl->assign('type_select', $type_select);
@@ -256,8 +256,8 @@  discard block
 block discarded – undo
256 256
 $xoopsTpl->assign('blog', $blog);
257 257
 $xoopsTpl->assign('uid', $uid);
258 258
 
259
-if ($xoopsConfigSearch['keyword_min'] > 0) {
259
+if ($xoopsConfigSearch['keyword_min']>0) {
260 260
     $xoopsTpl->assign('search_rule', sprintf(_SR_KEYIGNORE, $xoopsConfigSearch['keyword_min']));
261 261
 }
262 262
 
263
-include XOOPS_ROOT_PATH . '/footer.php';
263
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,4 +25,4 @@
 block discarded – undo
25 25
 // Project: Article Project                                                 //
26 26
 // ------------------------------------------------------------------------ //
27 27
 
28
-include_once XOOPS_ROOT_PATH . '/footer.php';
28
+include_once XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
include/action.module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
 // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
29 29
 
30
-include __DIR__ . '/vars.php';
30
+include __DIR__.'/vars.php';
31 31
 mod_loadFunctions('', $GLOBALS['moddirname']);
32 32
 
33 33
 planet_parse_function('
Please login to merge, or discard this patch.
include/search.inc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
 // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
29 29
 
30
-include __DIR__ . '/vars.php';
30
+include __DIR__.'/vars.php';
31 31
 mod_loadFunctions('', $GLOBALS['moddirname']);
32 32
 
33 33
 planet_parse_function('
Please login to merge, or discard this patch.
admin/about.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  * @author       XOOPS Development Team
18 18
  */
19 19
 
20
-include_once __DIR__ . '/admin_header.php';
20
+include_once __DIR__.'/admin_header.php';
21 21
 
22 22
 xoops_cp_header();
23 23
 
@@ -26,4 +26,4 @@  discard block
 block discarded – undo
26 26
 echo $aboutAdmin->addNavigation(basename(__FILE__));
27 27
 echo $aboutAdmin->renderAbout('[email protected]', false);
28 28
 
29
-include_once __DIR__ . '/admin_footer.php';
29
+include_once __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
class/bookmark.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
  */
31 31
 
32 32
 // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
33
-include_once dirname(__DIR__) . '/include/vars.php';
33
+include_once dirname(__DIR__).'/include/vars.php';
34 34
 mod_loadFunctions('', $GLOBALS['moddirname']);
35 35
 
36 36
 /**
Please login to merge, or discard this patch.