Passed
Pull Request — master (#595)
by
unknown
17:03
created
htdocs/modules/publisher/admin/clone.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * @version         $Id$
19 19
  */
20 20
 
21
-include_once __DIR__ . "/admin_header.php";
21
+include_once __DIR__."/admin_header.php";
22 22
 
23 23
 $xoops = Xoops::getInstance();
24 24
 PublisherUtils::cpHeader();
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     }
41 41
 
42 42
     // Check wether the cloned module exists or not
43
-    if ($clone && is_dir(\XoopsBaseConfig::get('root-path') . '/modules/' . $clone)) {
43
+    if ($clone && is_dir(\XoopsBaseConfig::get('root-path').'/modules/'.$clone)) {
44 44
         $xoops->redirect('clone.php', 3, sprintf(_AM_PUBLISHER_CLONE_EXISTS, $clone));
45 45
     }
46 46
 
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
     $logocreated = publisher_createLogo(strtolower($clone));
57 57
 
58 58
     $msg = "";
59
-    if (is_dir(\XoopsBaseConfig::get('root-path') . '/modules/' . strtolower($clone))) {
60
-        $msg .= sprintf(_AM_PUBLISHER_CLONE_CONGRAT, "<a href='" . \XoopsBaseConfig::get('url') . "/modules/system/admin.php?fct=modulesadmin'>" . ucfirst(strtolower($clone)) . "</a>") . "<br />\n";
59
+    if (is_dir(\XoopsBaseConfig::get('root-path').'/modules/'.strtolower($clone))) {
60
+        $msg .= sprintf(_AM_PUBLISHER_CLONE_CONGRAT, "<a href='".\XoopsBaseConfig::get('url')."/modules/system/admin.php?fct=modulesadmin'>".ucfirst(strtolower($clone))."</a>")."<br />\n";
61 61
         if (!$logocreated) {
62 62
             $msg .= _AM_PUBLISHER_CLONE_IMAGEFAIL;
63 63
         }
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         }
140 140
     }
141 141
 
142
-    if (!XoopsLoad::fileExists($imageBase = \XoopsBaseConfig::get('root-path') . "/modules/" . $dirname . "/images/module_logo.png") || !XoopsLoad::fileExists($font = \XoopsBaseConfig::get('root-path') . "/modules/" . $dirname . "/images/VeraBd.ttf")) {
142
+    if (!XoopsLoad::fileExists($imageBase = \XoopsBaseConfig::get('root-path')."/modules/".$dirname."/images/module_logo.png") || !XoopsLoad::fileExists($font = \XoopsBaseConfig::get('root-path')."/modules/".$dirname."/images/VeraBd.ttf")) {
143 143
         return false;
144 144
     }
145 145
 
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     $white = imagecolorallocatealpha($imageModule, 255, 255, 255, 127);
159 159
     imagefill($imageModule, 0, 0, $white);
160 160
     imagecolortransparent($imageModule, $white);
161
-    imagepng($imageModule, \XoopsBaseConfig::get('root-path') . "/modules/" . $dirname . "/images/module_logo.png");
161
+    imagepng($imageModule, \XoopsBaseConfig::get('root-path')."/modules/".$dirname."/images/module_logo.png");
162 162
     imagedestroy($imageModule);
163 163
     return true;
164 164
 }
Please login to merge, or discard this patch.
htdocs/modules/publisher/file.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  * @version         $Id$
22 22
  */
23 23
 
24
-include_once __DIR__ . '/header.php';
24
+include_once __DIR__.'/header.php';
25 25
 $xoops = Xoops::getInstance();
26 26
 $publisher = Publisher::getInstance();
27 27
 $publisher->loadLanguage('admin');
@@ -92,9 +92,9 @@  discard block
 block discarded – undo
92 92
         }
93 93
 
94 94
         if (!$publisher->getFileHandler()->insert($fileObj)) {
95
-            $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 3, _AM_PUBLISHER_FILE_EDITING_ERROR . PublisherUtils::formatErrors($fileObj->getErrors()));
95
+            $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 3, _AM_PUBLISHER_FILE_EDITING_ERROR.PublisherUtils::formatErrors($fileObj->getErrors()));
96 96
         }
97
-        $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_EDITING_SUCCESS);
97
+        $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_EDITING_SUCCESS);
98 98
         break;
99 99
 
100 100
     case "del":
@@ -102,16 +102,16 @@  discard block
 block discarded – undo
102 102
 
103 103
         if ($confirm) {
104 104
             if (!$publisher->getFileHandler()->delete($fileObj)) {
105
-                $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_DELETE_ERROR);
105
+                $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_DELETE_ERROR);
106 106
             }
107
-            $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 2, sprintf(_AM_PUBLISHER_FILEISDELETED, $fileObj->getVar('name')));
107
+            $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 2, sprintf(_AM_PUBLISHER_FILEISDELETED, $fileObj->getVar('name')));
108 108
         } else {
109 109
             // no confirm: show deletion condition
110 110
             $xoops->header();
111 111
             echo $xoops->confirm(array(
112 112
                 'op' => 'del', 'fileid' => $fileObj->getVar('fileid'), 'confirm' => 1,
113 113
                 'name' => $fileObj->getVar('name')
114
-            ), 'file.php', _AM_PUBLISHER_DELETETHISFILE . " <br />" . $fileObj->getVar('name') . " <br /> <br />", _AM_PUBLISHER_DELETE);
114
+            ), 'file.php', _AM_PUBLISHER_DELETETHISFILE." <br />".$fileObj->getVar('name')." <br /> <br />", _AM_PUBLISHER_DELETE);
115 115
             $xoops->footer();
116 116
         }
117 117
         break;
Please login to merge, or discard this patch.
htdocs/modules/publisher/author_items.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  * @version         $Id$
21 21
  */
22 22
 
23
-include_once __DIR__ . '/header.php';
23
+include_once __DIR__.'/header.php';
24 24
 
25 25
 $xoops = Xoops::getInstance();
26 26
 $uid = Request::getInt('uid');
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
 $xoopsTpl->assign('categories', $categories);
88 88
 
89
-$title = _MD_PUBLISHER_ITEMS_SAME_AUTHOR . ' - ' . $author_name;
89
+$title = _MD_PUBLISHER_ITEMS_SAME_AUTHOR.' - '.$author_name;
90 90
 
91 91
 /**
92 92
  * Generating meta information for this page
Please login to merge, or discard this patch.
htdocs/modules/publisher/list.tag.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
  */
20 20
 
21 21
 // todo: Check this file
22
-include __DIR__ . '/header.php';
23
-include \XoopsBaseConfig::get('root-path') . '/modules/tag/list.tag.php';
22
+include __DIR__.'/header.php';
23
+include \XoopsBaseConfig::get('root-path').'/modules/tag/list.tag.php';
Please login to merge, or discard this patch.
htdocs/modules/publisher/view.tag.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
  */
20 20
 
21 21
 //todo: check this file
22
-include_once __DIR__ . '/header.php';
23
-include_once \XoopsBaseConfig::get('root-path') . '/modules/tag/view.tag.php';
22
+include_once __DIR__.'/header.php';
23
+include_once \XoopsBaseConfig::get('root-path').'/modules/tag/view.tag.php';
Please login to merge, or discard this patch.
htdocs/modules/publisher/xoops_version.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  */
21 21
 
22 22
 $xoops = Xoops::getInstance();
23
-XoopsLoad::loadFile($xoops->path(__DIR__ . '/include/constants.php'));
23
+XoopsLoad::loadFile($xoops->path(__DIR__.'/include/constants.php'));
24 24
 
25 25
 $modversion['name']        = _MI_PUBLISHER_MD_NAME;
26 26
 $modversion['description'] = _MI_PUBLISHER_MD_DESC;
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
 $modversion['official']    = 0;
35 35
 $modversion['dirname']     = basename(__DIR__);
36 36
 
37
-$logo_filename = $modversion['dirname'] . '_logo.png';
37
+$logo_filename = $modversion['dirname'].'_logo.png';
38 38
 
39
-if (XoopsLoad::fileExists(__DIR__ . '/images/' . $logo_filename)) {
39
+if (XoopsLoad::fileExists(__DIR__.'/images/'.$logo_filename)) {
40 40
     $modversion['image'] = "images/{$logo_filename}";
41 41
 } else {
42 42
     $modversion['image'] = "images/module_logo.png";
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     'description' => _MI_PUBLISHER_DATE_TO_DATE_DSC,
160 160
     'show_func'   => "publisher_date_to_date_show",
161 161
     'edit_func'   => "publisher_date_to_date_edit",
162
-    'options'     => XoopsLocale::formatTimestamp(time(), 'm/j/Y') . "|" . XoopsLocale::formatTimestamp(time(), 'm/j/Y'),
162
+    'options'     => XoopsLocale::formatTimestamp(time(), 'm/j/Y')."|".XoopsLocale::formatTimestamp(time(), 'm/j/Y'),
163 163
     'template'    => "publisher_date_to_date.tpl",
164 164
 );
165 165
 
@@ -655,7 +655,7 @@  discard block
 block discarded – undo
655 655
     'description' => '_MI_PUBLISHER_PRINTLOGOURLDSC',
656 656
     'formtype'    => 'textbox',
657 657
     'valuetype'   => 'text',
658
-    'default'     => \XoopsBaseConfig::get('url') . '/images/logo.gif',
658
+    'default'     => \XoopsBaseConfig::get('url').'/images/logo.gif',
659 659
     'category'    => 'print',
660 660
 );
661 661
 
Please login to merge, or discard this patch.
htdocs/modules/publisher/archive.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -162,17 +162,17 @@
 block discarded – undo
162 162
             $story = array();
163 163
             $htmltitle = '';
164 164
             $story['title'] = "<a href='" . \XoopsBaseConfig::get('url') . '/modules/publisher/category.php?categoryid='
165
-                              . $item->getVar('categoryid') . "'>"
166
-                              . $item->getCategoryName() . "</a>: <a href='"
167
-                              . $item->getItemUrl() . "'" . $htmltitle . ">"
168
-                              . $item->title() . "</a>";
165
+                                . $item->getVar('categoryid') . "'>"
166
+                                . $item->getCategoryName() . "</a>: <a href='"
167
+                                . $item->getItemUrl() . "'" . $htmltitle . ">"
168
+                                . $item->title() . "</a>";
169 169
             $story['counter'] = $item->getVar('counter');
170 170
             $story['date'] = $item->datesub();
171 171
             $story['print_link'] = \XoopsBaseConfig::get('url') . '/modules/publisher/print.php?itemid=' . $item->getVar('itemid');
172 172
             $story['mail_link'] = 'mailto:?subject='
173
-                                  . sprintf(_CO_PUBLISHER_INTITEM, $xoops->getConfig('sitename'))
174
-                                  . '&amp;body=' . sprintf(_CO_PUBLISHER_INTITEMFOUND, $xoops->getConfig('sitename'))
175
-                                  . ':  ' . $item->getItemUrl();
173
+                                    . sprintf(_CO_PUBLISHER_INTITEM, $xoops->getConfig('sitename'))
174
+                                    . '&amp;body=' . sprintf(_CO_PUBLISHER_INTITEMFOUND, $xoops->getConfig('sitename'))
175
+                                    . ':  ' . $item->getItemUrl();
176 176
 
177 177
             $xoopsTpl->append('stories', $story);
178 178
         }
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 // # [11-may-2001] Kenneth Lee - http://www.nexgear.com/
30 30
 // ######################################################################
31 31
 
32
-include_once __DIR__ . '/header.php';
32
+include_once __DIR__.'/header.php';
33 33
 
34 34
 $xoops = Xoops::getInstance();
35 35
 $publisher = Publisher::getInstance();
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 }
58 58
 
59 59
 $myts = \Xoops\Core\Text\Sanitizer::getInstance();
60
-$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars(_MD_PUBLISHER_ARCHIVES) . $pgtitle . ' - ' . $myts->htmlSpecialChars($xoopsModule->getVar('name')));
60
+$xoopsTpl->assign('xoops_pagetitle', $myts->htmlSpecialChars(_MD_PUBLISHER_ARCHIVES).$pgtitle.' - '.$myts->htmlSpecialChars($xoopsModule->getVar('name')));
61 61
 
62 62
 $useroffset = '';
63 63
 if ($xoops->isUser()) {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     $itemhandler->field_object = 'categoryid';
143 143
     // Categories for which user has access
144 144
     $categoriesGranted = $publisher->getPermissionHandler()->getGrantedItems('category_read');
145
-    $grantedCategories = new Criteria('l.categoryid', "(" . implode(',', $categoriesGranted) . ")", 'IN');
145
+    $grantedCategories = new Criteria('l.categoryid', "(".implode(',', $categoriesGranted).")", 'IN');
146 146
     $criteria = new CriteriaCompo();
147 147
     $criteria->add($grantedCategories, 'AND');
148 148
     $criteria->add(new Criteria('o.status', 2), 'AND');
@@ -161,25 +161,25 @@  discard block
 block discarded – undo
161 161
         foreach ($storyarray as $item) {
162 162
             $story = array();
163 163
             $htmltitle = '';
164
-            $story['title'] = "<a href='" . \XoopsBaseConfig::get('url') . '/modules/publisher/category.php?categoryid='
165
-                              . $item->getVar('categoryid') . "'>"
166
-                              . $item->getCategoryName() . "</a>: <a href='"
167
-                              . $item->getItemUrl() . "'" . $htmltitle . ">"
168
-                              . $item->title() . "</a>";
164
+            $story['title'] = "<a href='".\XoopsBaseConfig::get('url').'/modules/publisher/category.php?categoryid='
165
+                              . $item->getVar('categoryid')."'>"
166
+                              . $item->getCategoryName()."</a>: <a href='"
167
+                              . $item->getItemUrl()."'".$htmltitle.">"
168
+                              . $item->title()."</a>";
169 169
             $story['counter'] = $item->getVar('counter');
170 170
             $story['date'] = $item->datesub();
171
-            $story['print_link'] = \XoopsBaseConfig::get('url') . '/modules/publisher/print.php?itemid=' . $item->getVar('itemid');
171
+            $story['print_link'] = \XoopsBaseConfig::get('url').'/modules/publisher/print.php?itemid='.$item->getVar('itemid');
172 172
             $story['mail_link'] = 'mailto:?subject='
173 173
                                   . sprintf(_CO_PUBLISHER_INTITEM, $xoops->getConfig('sitename'))
174
-                                  . '&amp;body=' . sprintf(_CO_PUBLISHER_INTITEMFOUND, $xoops->getConfig('sitename'))
175
-                                  . ':  ' . $item->getItemUrl();
174
+                                  . '&amp;body='.sprintf(_CO_PUBLISHER_INTITEMFOUND, $xoops->getConfig('sitename'))
175
+                                  . ':  '.$item->getItemUrl();
176 176
 
177 177
             $xoopsTpl->append('stories', $story);
178 178
         }
179 179
     }
180 180
     $xoopsTpl->assign('lang_printer', _MD_PUBLISHER_PRINTERFRIENDLY);
181 181
     $xoopsTpl->assign('lang_sendstory', _MD_PUBLISHER_SENDSTORY);
182
-    $xoopsTpl->assign('lang_storytotal', _MD_PUBLISHER_TOTAL_ITEMS . ' ' . $count);
182
+    $xoopsTpl->assign('lang_storytotal', _MD_PUBLISHER_TOTAL_ITEMS.' '.$count);
183 183
 } else {
184 184
     $xoopsTpl->assign('show_articles', false);
185 185
 }
Please login to merge, or discard this patch.
htdocs/modules/publisher/footer.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
 
30 30
 $xoopsTpl = $xoops->tpl();
31 31
 $xoopsTpl->assign("xoops_module_header", '<link rel="alternate" type="application/rss+xml" title="'
32
-                                         . $publisher->getModule()->getVar('name') . '" href="' . $publisher->url('backend.php') . '" />'
33
-                                         . @$xoopsTpl->getTemplateVars("xoops_module_header"));
32
+                                            . $publisher->getModule()->getVar('name') . '" href="' . $publisher->url('backend.php') . '" />'
33
+                                            . @$xoopsTpl->getTemplateVars("xoops_module_header"));
34 34
 
35 35
 $xoopsTpl->assign("publisher_adminpage", "<a href='" . $publisher->url("admin/index.php") . "'>" . _MD_PUBLISHER_ADMIN_PAGE . "</a>");
36 36
 $xoopsTpl->assign("isAdmin", PublisherUtils::IsUserAdmin());
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,19 +20,19 @@
 block discarded – undo
20 20
  * @version         $Id$
21 21
  */
22 22
 
23
-include_once __DIR__ . '/include/common.php';
23
+include_once __DIR__.'/include/common.php';
24 24
 
25 25
 $publisher = Publisher::getInstance();
26 26
 
27 27
 $xoops = Xoops::getInstance();
28
-$xoops->theme()->addStylesheet(PUBLISHER_URL . '/css/publisher.css');
28
+$xoops->theme()->addStylesheet(PUBLISHER_URL.'/css/publisher.css');
29 29
 
30 30
 $xoopsTpl = $xoops->tpl();
31 31
 $xoopsTpl->assign("xoops_module_header", '<link rel="alternate" type="application/rss+xml" title="'
32
-                                         . $publisher->getModule()->getVar('name') . '" href="' . $publisher->url('backend.php') . '" />'
32
+                                         . $publisher->getModule()->getVar('name').'" href="'.$publisher->url('backend.php').'" />'
33 33
                                          . @$xoopsTpl->getTemplateVars("xoops_module_header"));
34 34
 
35
-$xoopsTpl->assign("publisher_adminpage", "<a href='" . $publisher->url("admin/index.php") . "'>" . _MD_PUBLISHER_ADMIN_PAGE . "</a>");
35
+$xoopsTpl->assign("publisher_adminpage", "<a href='".$publisher->url("admin/index.php")."'>"._MD_PUBLISHER_ADMIN_PAGE."</a>");
36 36
 $xoopsTpl->assign("isAdmin", PublisherUtils::IsUserAdmin());
37 37
 $xoopsTpl->assign('publisher_url', $publisher->url());
38 38
 $xoopsTpl->assign('publisher_images_url', $publisher->url('images'));
Please login to merge, or discard this patch.
htdocs/modules/publisher/submit.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  * @version         $Id$
23 23
  */
24 24
 
25
-include_once __DIR__ . '/header.php';
25
+include_once __DIR__.'/header.php';
26 26
 $xoops = Xoops::getInstance();
27 27
 $publisher = Publisher::getInstance();
28 28
 $publisher->loadLanguage('admin');
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $xoops->redirect("index.php", 1, XoopsLocale::E_NO_ACCESS_PERMISSION);
48 48
     }
49 49
     if (!PublisherUtils::IsUserAdmin() || !PublisherUtils::IsUserModerator($itemObj)) {
50
-        if (isset($_GET['op']) && $_GET['op']  === 'del' && !$publisher->getConfig('perm_delete')) {
50
+        if (isset($_GET['op']) && $_GET['op'] === 'del' && !$publisher->getConfig('perm_delete')) {
51 51
             $xoops->redirect("index.php", 1, XoopsLocale::E_NO_ACCESS_PERMISSION);
52 52
         } elseif (!$publisher->getConfig('perm_edit')) {
53 53
             $xoops->redirect("index.php", 1, XoopsLocale::E_NO_ACCESS_PERMISSION);
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     'dohtml', 'dosmiley', 'doxcode', 'doimage', 'dolinebreak',
99 99
     'notify', 'subtitle', 'author_alias');
100 100
 foreach ($elements as $element) {
101
-    if (isset($_REQUEST[$element]) && !in_array(constant('_PUBLISHER_' . strtoupper($element)), $form_view)) {
101
+    if (isset($_REQUEST[$element]) && !in_array(constant('_PUBLISHER_'.strtoupper($element)), $form_view)) {
102 102
         $xoops->redirect("index.php", 1, _MD_PUBLISHER_SUBMIT_ERROR);
103 103
     }
104 104
 }
@@ -112,12 +112,12 @@  discard block
 block discarded – undo
112 112
 
113 113
         if ($confirm) {
114 114
             if (!$publisher->getItemHandler()->delete($itemObj)) {
115
-                $xoops->redirect("index.php", 2, _AM_PUBLISHER_ITEM_DELETE_ERROR . PublisherUtils::formatErrors($itemObj->getErrors()));
115
+                $xoops->redirect("index.php", 2, _AM_PUBLISHER_ITEM_DELETE_ERROR.PublisherUtils::formatErrors($itemObj->getErrors()));
116 116
             }
117 117
             $xoops->redirect("index.php", 2, sprintf(_AM_PUBLISHER_ITEMISDELETED, $itemObj->title()));
118 118
         } else {
119 119
             $xoops->header();
120
-            echo $xoops->confirm(array('op' => 'del', 'itemid' => $itemObj->getVar('itemid'), 'confirm' => 1, 'name' => $itemObj->title()), 'submit.php', _AM_PUBLISHER_DELETETHISITEM . " <br />'" . $itemObj->title() . "'. <br /> <br />", _AM_PUBLISHER_DELETE);
120
+            echo $xoops->confirm(array('op' => 'del', 'itemid' => $itemObj->getVar('itemid'), 'confirm' => 1, 'name' => $itemObj->title()), 'submit.php', _AM_PUBLISHER_DELETETHISITEM." <br />'".$itemObj->title()."'. <br /> <br />", _AM_PUBLISHER_DELETE);
121 121
             $xoops->footer();
122 122
         }
123 123
         break;
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         $xoops->header('module:publisher/publisher_submit.tpl');
212 212
         $xoopsTpl = $xoops->tpl();
213 213
         $xoTheme = $xoops->theme();
214
-        $xoTheme->addScript(PUBLISHER_URL . '/js/publisher.js');
214
+        $xoTheme->addScript(PUBLISHER_URL.'/js/publisher.js');
215 215
         XoopsLoad::loadFile($publisher->path('footer.php'));
216 216
 
217 217
         $itemObj->setVarsFromRequest();
Please login to merge, or discard this patch.