Completed
Push — master ( 2f8aec...b781ca )
by Richard
16s
created
htdocs/modules/publisher/src/helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
         $ret = false;
122 122
         //        /** @var Connection $db */
123 123
         $db = XoopsDatabaseFactory::getConnection();
124
-        $class = '\\XoopsModules\\' . \ucfirst(mb_strtolower(\basename(\dirname(__DIR__)))) . '\\' . $name . 'Handler';
124
+        $class = '\\XoopsModules\\'.\ucfirst(mb_strtolower(\basename(\dirname(__DIR__)))).'\\'.$name.'Handler';
125 125
         $ret = new $class($db);
126 126
 
127 127
         return $ret;
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
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  * @author          trabis <[email protected]>
22 22
  * @version         $Id$
23 23
  */
24
-require_once __DIR__ . '/header.php';
24
+require_once __DIR__.'/header.php';
25 25
 
26 26
 $xoops = Xoops::getInstance();
27 27
 $uid = Request::getInt('uid');
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
 $xoopsTpl->assign('categories', $categories);
90 90
 
91
-$title = _MD_PUBLISHER_ITEMS_SAME_AUTHOR . ' - ' . $author_name;
91
+$title = _MD_PUBLISHER_ITEMS_SAME_AUTHOR.' - '.$author_name;
92 92
 
93 93
 /**
94 94
  * Generating meta information for this page
Please login to merge, or discard this patch.
htdocs/modules/publisher/category.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
  * @author          The SmartFactory <www.smartfactory.ca>
25 25
  * @version         $Id$
26 26
  */
27
-require_once __DIR__ . '/header.php';
27
+require_once __DIR__.'/header.php';
28 28
 
29 29
 $xoops = Xoops::getInstance();
30 30
 $helper = Helper::getInstance();
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
 // Added by skalpa: custom template support
62 62
 if (!$template = $categoryObj->template()) {
63
-    $template = 'module:publisher/publisher_display_' . $helper->getConfig('idxcat_items_display_type') . '.tpl';
63
+    $template = 'module:publisher/publisher_display_'.$helper->getConfig('idxcat_items_display_type').'.tpl';
64 64
 }
65 65
 
66 66
 $xoops->header($template);
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     for ($i = 0; $i < $totalItemOnPage; ++$i) {
182 182
         $item = $itemsObj[$i]->toArray('default', $helper->getConfig('item_title_size'));
183 183
         $item['categoryname'] = $categoryObj->getVar('name');
184
-        $item['categorylink'] = "<a href='" . Publisher\Utils::seoGenUrl('category', $itemsObj[$i]->getVar('categoryid'), $categoryObj->getVar('short_url')) . "'>" . $categoryObj->getVar('name') . '</a>';
184
+        $item['categorylink'] = "<a href='".Publisher\Utils::seoGenUrl('category', $itemsObj[$i]->getVar('categoryid'), $categoryObj->getVar('short_url'))."'>".$categoryObj->getVar('name').'</a>';
185 185
         $item['who_when'] = $itemsObj[$i]->getWhoAndWhen();
186 186
         $xoopsTpl->append('items', $item);
187 187
     }
@@ -211,11 +211,11 @@  discard block
 block discarded – undo
211 211
 $xoopsTpl->assign('selected_category', $categoryid);
212 212
 
213 213
 // The Navigation Bar
214
-$pagenav = new XoopsPageNav($thiscategory_itemcount, $helper->getConfig('idxcat_index_perpage'), $start, 'start', 'categoryid=' . $categoryObj->getVar('categoryid'));
214
+$pagenav = new XoopsPageNav($thiscategory_itemcount, $helper->getConfig('idxcat_index_perpage'), $start, 'start', 'categoryid='.$categoryObj->getVar('categoryid'));
215 215
 if (1 == $helper->getConfig('format_image_nav')) {
216
-    $navbar = '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>';
216
+    $navbar = '<div style="text-align:right;">'.$pagenav->renderImageNav().'</div>';
217 217
 } else {
218
-    $navbar = '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>';
218
+    $navbar = '<div style="text-align:right;">'.$pagenav->renderNav().'</div>';
219 219
 }
220 220
 $xoopsTpl->assign('navbar', $navbar);
221 221
 
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 
228 228
 // RSS Link
229 229
 if (1 == $helper->getConfig('idxcat_show_rss_link')) {
230
-    $link = sprintf("<a href='%s' title='%s'><img src='%s' border=0 alt='%s'></a>", PUBLISHER_URL . '/backend.php?categoryid=' . $categoryid, _MD_PUBLISHER_RSSFEED, PUBLISHER_URL . '/images/rss.gif', _MD_PUBLISHER_RSSFEED);
230
+    $link = sprintf("<a href='%s' title='%s'><img src='%s' border=0 alt='%s'></a>", PUBLISHER_URL.'/backend.php?categoryid='.$categoryid, _MD_PUBLISHER_RSSFEED, PUBLISHER_URL.'/images/rss.gif', _MD_PUBLISHER_RSSFEED);
231 231
     $xoopsTpl->assign('rssfeed_link', $link);
232 232
 }
233 233
 
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
-require __DIR__ . '/header.php';
23
-include XoopsBaseConfig::get('root-path') . '/modules/tag/list.tag.php';
22
+require __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/item.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  * @author          The SmartFactory <www.smartfactory.ca>
26 26
  * @version         $Id$
27 27
  */
28
-require_once __DIR__ . '/header.php';
28
+require_once __DIR__.'/header.php';
29 29
 $xoops = Xoops::getInstance();
30 30
 $helper = Helper::getInstance();
31 31
 $myts = Sanitizer::getInstance();
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 $xoops->header('module:publisher/publisher_item.tpl');
50 50
 $xoopsTpl = $xoops->tpl();
51 51
 $xoTheme = $xoops->theme();
52
-$xoTheme->addStylesheet(PUBLISHER_URL . '/css/jquery.popeye.style.css');
52
+$xoTheme->addStylesheet(PUBLISHER_URL.'/css/jquery.popeye.style.css');
53 53
 $xoTheme->addBaseScriptAssets('@jquery');
54
-$xoTheme->addScript(PUBLISHER_URL . '/js/jquery.popeye-2.0.4.js');
54
+$xoTheme->addScript(PUBLISHER_URL.'/js/jquery.popeye-2.0.4.js');
55 55
 $xoTheme->addBaseScriptAssets('modules/publisher/js/publisher.js');
56 56
 
57 57
 XoopsLoad::loadFile($helper->path('footer.php'));
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     if (-1 == $item_page_id) {
138 138
         $item_page_id = 0;
139 139
     }
140
-    $pagenav = new XoopsPageNav($itemObj->getVar('pagescount'), 1, $item_page_id, 'page', 'itemid=' . $itemObj->getVar('itemid'));
140
+    $pagenav = new XoopsPageNav($itemObj->getVar('pagescount'), 1, $item_page_id, 'page', 'itemid='.$itemObj->getVar('itemid'));
141 141
     $xoopsTpl->assign('pagenav', $pagenav->renderNav());
142 142
 }
143 143
 
@@ -163,8 +163,8 @@  discard block
 block discarded – undo
163 163
 
164 164
     if ('application/x-shockwave-flash' === $fileObj->getVar('mimetype')) {
165 165
         $file['content'] = $fileObj->displayFlash();
166
-        if (mb_strpos($item['maintext'], '[flash-' . $fileObj->getVar('fileid') . ']')) {
167
-            $item['maintext'] = str_replace('[flash-' . $fileObj->getVar('fileid') . ']', $file['content'], $item['maintext']);
166
+        if (mb_strpos($item['maintext'], '[flash-'.$fileObj->getVar('fileid').']')) {
167
+            $item['maintext'] = str_replace('[flash-'.$fileObj->getVar('fileid').']', $file['content'], $item['maintext']);
168 168
         } else {
169 169
             $embeded_files[] = $file;
170 170
         }
@@ -185,12 +185,12 @@  discard block
 block discarded – undo
185 185
 unset($file, $embeded_files, $filesObj, $fileObj);
186 186
 
187 187
 // Language constants
188
-$xoopsTpl->assign('mail_link', 'mailto:?subject=' . sprintf(_CO_PUBLISHER_INTITEM, $xoops->getConfig('sitename')) . '&amp;body=' . sprintf(_CO_PUBLISHER_INTITEMFOUND, $xoops->getConfig('sitename')) . ': ' . $itemObj->getItemUrl());
188
+$xoopsTpl->assign('mail_link', 'mailto:?subject='.sprintf(_CO_PUBLISHER_INTITEM, $xoops->getConfig('sitename')).'&amp;body='.sprintf(_CO_PUBLISHER_INTITEMFOUND, $xoops->getConfig('sitename')).': '.$itemObj->getItemUrl());
189 189
 $xoopsTpl->assign('itemid', $itemObj->getVar('itemid'));
190 190
 $xoopsTpl->assign('sectionname', $helper->getModule()->getVar('name'));
191 191
 $xoopsTpl->assign('modulename', $helper->getModule()->getVar('dirname'));
192 192
 $xoopsTpl->assign('module_home', Publisher\Utils::moduleHome($helper->getConfig('format_linked_path')));
193
-$xoopsTpl->assign('categoryPath', $item['categoryPath'] . ' > ' . $item['title']);
193
+$xoopsTpl->assign('categoryPath', $item['categoryPath'].' > '.$item['title']);
194 194
 $xoopsTpl->assign('commentatarticlelevel', $helper->getConfig('perm_com_art_level'));
195 195
 $xoopsTpl->assign('com_rule', $helper->getConfig('com_rule'));
196 196
 $xoopsTpl->assign('other_items', $helper->getConfig('item_other_items_type'));
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 
200 200
 // tags support
201 201
 if ($xoops->isActiveModule('tag')) {
202
-    require_once XoopsBaseConfig::get('root-path') . '/modules/tag/include/tagbar.php';
202
+    require_once XoopsBaseConfig::get('root-path').'/modules/tag/include/tagbar.php';
203 203
     $xoopsTpl->assign('tagbar', tagBar($itemid, $catid = 0));
204 204
 }
205 205
 
@@ -227,8 +227,8 @@  discard block
 block discarded – undo
227 227
 if ($helper->getConfig('perm_rating')) {
228 228
     $xoopsTpl->assign('rating_enabled', true);
229 229
     $item['ratingbar'] = Publisher\Utils::ratingBar($itemid);
230
-    $xoTheme->addScript(PUBLISHER_URL . '/js/behavior.js');
231
-    $xoTheme->addScript(PUBLISHER_URL . '/js/rating.js');
230
+    $xoTheme->addScript(PUBLISHER_URL.'/js/behavior.js');
231
+    $xoTheme->addScript(PUBLISHER_URL.'/js/rating.js');
232 232
 }
233 233
 
234 234
 $xoopsTpl->assign('item', $item);
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
-require_once __DIR__ . '/header.php';
23
-require_once XoopsBaseConfig::get('root-path') . '/modules/tag/view.tag.php';
22
+require_once __DIR__.'/header.php';
23
+require_once XoopsBaseConfig::get('root-path').'/modules/tag/view.tag.php';
Please login to merge, or discard this patch.
htdocs/modules/publisher/index.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  * @author          The SmartFactory <www.smartfactory.ca>
26 26
  * @version         $Id$
27 27
  */
28
-require_once __DIR__ . '/header.php';
28
+require_once __DIR__.'/header.php';
29 29
 
30 30
 $xoops = Xoops::getInstance();
31 31
 $helper = Helper::getInstance();
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     $xoops->redirect(XoopsBaseConfig::get('url'), 2, _MD_PUBLISHER_NO_TOP_PERMISSIONS);
46 46
 }
47 47
 
48
-$xoops->header('module:publisher/publisher_display' . '_' . $helper->getConfig('idxcat_items_display_type') . '.tpl');
48
+$xoops->header('module:publisher/publisher_display'.'_'.$helper->getConfig('idxcat_items_display_type').'.tpl');
49 49
 $xoopsTpl = $xoops->tpl();
50 50
 XoopsLoad::loadFile($helper->path('footer.php'));
51 51
 
@@ -192,16 +192,16 @@  discard block
 block discarded – undo
192 192
 // Category Navigation Bar
193 193
 $pagenav = new XoopsPageNav($totalCategories, $helper->getConfig('idxcat_cat_perpage'), $catstart, 'catstart', '');
194 194
 if (1 == $helper->getConfig('format_image_nav')) {
195
-    $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>');
195
+    $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">'.$pagenav->renderImageNav().'</div>');
196 196
 } else {
197
-    $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>');
197
+    $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">'.$pagenav->renderNav().'</div>');
198 198
 }
199 199
 // ITEM Navigation Bar
200 200
 $pagenav = new XoopsPageNav($real_total_items, $helper->getConfig('idxcat_index_perpage'), $start, 'start', '');
201 201
 if (1 == $helper->getConfig('format_image_nav')) {
202
-    $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>');
202
+    $xoopsTpl->assign('navbar', '<div style="text-align:right;">'.$pagenav->renderImageNav().'</div>');
203 203
 } else {
204
-    $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>');
204
+    $xoopsTpl->assign('navbar', '<div style="text-align:right;">'.$pagenav->renderNav().'</div>');
205 205
 }
206 206
 //show subcategories
207 207
 $xoopsTpl->assign('show_subcats', $helper->getConfig('idxcat_show_subcats'));
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 
216 216
 // RSS Link
217 217
 if (1 == $helper->getConfig('idxcat_show_rss_link')) {
218
-    $link = sprintf("<a href='%s' title='%s'><img src='%s' border=0 alt='%s'></a>", PUBLISHER_URL . '/backend.php', _MD_PUBLISHER_RSSFEED, PUBLISHER_URL . '/images/rss.gif', _MD_PUBLISHER_RSSFEED);
218
+    $link = sprintf("<a href='%s' title='%s'><img src='%s' border=0 alt='%s'></a>", PUBLISHER_URL.'/backend.php', _MD_PUBLISHER_RSSFEED, PUBLISHER_URL.'/images/rss.gif', _MD_PUBLISHER_RSSFEED);
219 219
     $xoopsTpl->assign('rssfeed_link', $link);
220 220
 }
221 221
 
Please login to merge, or discard this patch.
htdocs/modules/publisher/file.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -111,11 +111,11 @@
 block discarded – undo
111 111
             // no confirm: show deletion condition
112 112
             $xoops->header();
113 113
             echo $xoops->confirm([
114
-                                     'op' => 'del',
115
-                                     'fileid' => $fileObj->getVar('fileid'),
116
-                                     'confirm' => 1,
117
-                                     'name' => $fileObj->getVar('name'),
118
-                                 ], 'file.php', _AM_PUBLISHER_DELETETHISFILE . ' <br>' . $fileObj->getVar('name') . ' <br> <br>', _AM_PUBLISHER_DELETE);
114
+                                        'op' => 'del',
115
+                                        'fileid' => $fileObj->getVar('fileid'),
116
+                                        'confirm' => 1,
117
+                                        'name' => $fileObj->getVar('name'),
118
+                                    ], 'file.php', _AM_PUBLISHER_DELETETHISFILE . ' <br>' . $fileObj->getVar('name') . ' <br> <br>', _AM_PUBLISHER_DELETE);
119 119
             $xoops->footer();
120 120
         }
121 121
         break;
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
  * @author          The SmartFactory <www.smartfactory.ca>
25 25
  * @version         $Id$
26 26
  */
27
-require_once __DIR__ . '/header.php';
27
+require_once __DIR__.'/header.php';
28 28
 $xoops = Xoops::getInstance();
29 29
 $helper = Helper::getInstance();
30 30
 $helper->loadLanguage('admin');
@@ -95,18 +95,18 @@  discard block
 block discarded – undo
95 95
         }
96 96
 
97 97
         if (!$helper->getFileHandler()->insert($fileObj)) {
98
-            $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 3, _AM_PUBLISHER_FILE_EDITING_ERROR . Publisher\Utils::formatErrors($fileObj->getErrors()));
98
+            $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 3, _AM_PUBLISHER_FILE_EDITING_ERROR.Publisher\Utils::formatErrors($fileObj->getErrors()));
99 99
         }
100
-        $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_EDITING_SUCCESS);
100
+        $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_EDITING_SUCCESS);
101 101
         break;
102 102
     case 'del':
103 103
         $confirm = $_POST['confirm'] ?? 0;
104 104
 
105 105
         if ($confirm) {
106 106
             if (!$helper->getFileHandler()->delete($fileObj)) {
107
-                $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_DELETE_ERROR);
107
+                $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 2, _AM_PUBLISHER_FILE_DELETE_ERROR);
108 108
             }
109
-            $xoops->redirect('item.php?itemid=' . $fileObj->getVar('itemid'), 2, sprintf(_AM_PUBLISHER_FILEISDELETED, $fileObj->getVar('name')));
109
+            $xoops->redirect('item.php?itemid='.$fileObj->getVar('itemid'), 2, sprintf(_AM_PUBLISHER_FILEISDELETED, $fileObj->getVar('name')));
110 110
         } else {
111 111
             // no confirm: show deletion condition
112 112
             $xoops->header();
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
                                      'fileid' => $fileObj->getVar('fileid'),
116 116
                                      'confirm' => 1,
117 117
                                      'name' => $fileObj->getVar('name'),
118
-                                 ], 'file.php', _AM_PUBLISHER_DELETETHISFILE . ' <br>' . $fileObj->getVar('name') . ' <br> <br>', _AM_PUBLISHER_DELETE);
118
+                                 ], 'file.php', _AM_PUBLISHER_DELETETHISFILE.' <br>'.$fileObj->getVar('name').' <br> <br>', _AM_PUBLISHER_DELETE);
119 119
             $xoops->footer();
120 120
         }
121 121
         break;
Please login to merge, or discard this patch.
htdocs/modules/publisher/submit.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  * @author          The SmartFactory <www.smartfactory.ca>
26 26
  * @version         $Id$
27 27
  */
28
-require_once __DIR__ . '/header.php';
28
+require_once __DIR__.'/header.php';
29 29
 $xoops = Xoops::getInstance();
30 30
 $helper = Helper::getInstance();
31 31
 $helper->loadLanguage('admin');
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     'author_alias',
118 118
 ];
119 119
 foreach ($elements as $element) {
120
-    if (isset($_REQUEST[$element]) && !in_array(constant('_PUBLISHER_' . mb_strtoupper($element)), $form_view)) {
120
+    if (isset($_REQUEST[$element]) && !in_array(constant('_PUBLISHER_'.mb_strtoupper($element)), $form_view)) {
121 121
         $xoops->redirect('index.php', 1, _MD_PUBLISHER_SUBMIT_ERROR);
122 122
     }
123 123
 }
@@ -131,12 +131,12 @@  discard block
 block discarded – undo
131 131
 
132 132
         if ($confirm) {
133 133
             if (!$helper->getItemHandler()->delete($itemObj)) {
134
-                $xoops->redirect('index.php', 2, _AM_PUBLISHER_ITEM_DELETE_ERROR . Publisher\Utils::formatErrors($itemObj->getErrors()));
134
+                $xoops->redirect('index.php', 2, _AM_PUBLISHER_ITEM_DELETE_ERROR.Publisher\Utils::formatErrors($itemObj->getErrors()));
135 135
             }
136 136
             $xoops->redirect('index.php', 2, sprintf(_AM_PUBLISHER_ITEMISDELETED, $itemObj->title()));
137 137
         } else {
138 138
             $xoops->header();
139
-            echo $xoops->confirm(['op' => 'del', 'itemid' => $itemObj->getVar('itemid'), 'confirm' => 1, 'name' => $itemObj->title()], 'submit.php', _AM_PUBLISHER_DELETETHISITEM . " <br>'" . $itemObj->title() . "'. <br> <br>", _AM_PUBLISHER_DELETE);
139
+            echo $xoops->confirm(['op' => 'del', 'itemid' => $itemObj->getVar('itemid'), 'confirm' => 1, 'name' => $itemObj->title()], 'submit.php', _AM_PUBLISHER_DELETETHISITEM." <br>'".$itemObj->title()."'. <br> <br>", _AM_PUBLISHER_DELETE);
140 140
             $xoops->footer();
141 141
         }
142 142
         break;
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
         $xoops->header('module:publisher/publisher_submit.tpl');
230 230
         $xoopsTpl = $xoops->tpl();
231 231
         $xoTheme = $xoops->theme();
232
-        $xoTheme->addScript(PUBLISHER_URL . '/js/publisher.js');
232
+        $xoTheme->addScript(PUBLISHER_URL.'/js/publisher.js');
233 233
         XoopsLoad::loadFile($helper->path('footer.php'));
234 234
 
235 235
         $itemObj->setVarsFromRequest();
Please login to merge, or discard this patch.