Completed
Push — master ( a9decc...a21b67 )
by Michael
02:51
created
admin/index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,16 +17,16 @@  discard block
 block discarded – undo
17 17
  * @author       XOOPS Development Team,
18 18
  */
19 19
 
20
-require_once __DIR__ . '/admin_header.php';
20
+require_once __DIR__.'/admin_header.php';
21 21
 // Display Admin header
22 22
 xoops_cp_header();
23 23
 
24
-$classUtility = ucfirst($moduleDirName) . 'Utility';
24
+$classUtility = ucfirst($moduleDirName).'Utility';
25 25
 if (!class_exists($classUtility)) {
26 26
     xoops_load('utility', $moduleDirName);
27 27
 }
28 28
 
29
-$configurator = include __DIR__ . '/../include/config.php';
29
+$configurator = include __DIR__.'/../include/config.php';
30 30
 
31 31
 foreach (array_keys($configurator['uploadFolders']) as $i) {
32 32
     $classUtility::createFolder($configurator['uploadFolders'][$i]);
@@ -37,4 +37,4 @@  discard block
 block discarded – undo
37 37
 $adminObject->displayNavigation(basename(__FILE__));
38 38
 $adminObject->displayIndex();
39 39
 
40
-require_once __DIR__ . '/admin_footer.php';
40
+require_once __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
post.php 1 patch
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -17,20 +17,20 @@  discard block
 block discarded – undo
17 17
  * @author       XOOPS Development Team,
18 18
  */
19 19
 
20
-include __DIR__ . '/../../mainfile.php';
20
+include __DIR__.'/../../mainfile.php';
21 21
 $GLOBALS['xoopsOption']['template_main'] = 'extcal_post.tpl';
22 22
 
23
-include XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
24
-include __DIR__ . '/class/form/extcalform.php';
25
-include __DIR__ . '/class/perm.php';
23
+include XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
24
+include __DIR__.'/class/form/extcalform.php';
25
+include __DIR__.'/class/perm.php';
26 26
 
27
-require_once __DIR__ . '/class/utility.php';
28
-require_once __DIR__ . '/include/constantes.php';
27
+require_once __DIR__.'/class/utility.php';
28
+require_once __DIR__.'/include/constantes.php';
29 29
 
30 30
 $permHandler = ExtcalPerm::getHandler();
31 31
 $xoopsUser   = $xoopsUser ?: null;
32 32
 
33
-if (!$permHandler->isAllowed($xoopsUser, 'extcal_cat_submit', (int)$_POST['cat_id'])) {
33
+if (!$permHandler->isAllowed($xoopsUser, 'extcal_cat_submit', (int) $_POST['cat_id'])) {
34 34
     redirect_header('index.php', 3);
35 35
     exit;
36 36
 }
@@ -39,16 +39,16 @@  discard block
 block discarded – undo
39 39
 $eventHandler = xoops_getModuleHandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE);
40 40
 
41 41
 if (isset($_POST['form_preview'])) {
42
-    include XOOPS_ROOT_PATH . '/header.php';
42
+    include XOOPS_ROOT_PATH.'/header.php';
43 43
 
44 44
     // Title of the page
45 45
     $xoopsTpl->assign('xoops_pagetitle', _MI_EXTCAL_SUBMIT_EVENT);
46 46
 
47 47
     $data = array(
48 48
         'event_title'        => $_POST['event_title'],
49
-        'cat_id'             => (int)$_POST['cat_id'],
49
+        'cat_id'             => (int) $_POST['cat_id'],
50 50
         'event_desc'         => $_POST['event_desc'],
51
-        'event_nbmember'     => (int)$_POST['event_nbmember'],
51
+        'event_nbmember'     => (int) $_POST['event_nbmember'],
52 52
         'event_contact'      => $_POST['event_contact'],
53 53
         'event_url'          => $_POST['event_url'],
54 54
         'event_email'        => $_POST['event_email'],
@@ -57,14 +57,14 @@  discard block
 block discarded – undo
57 57
         'event_start'        => $_POST['event_start'],
58 58
         'have_end'           => $_POST['have_end'],
59 59
         'event_end'          => $_POST['event_end'],
60
-        'dohtml'             => (int)$xoopsModuleConfig['allow_html'],
60
+        'dohtml'             => (int) $xoopsModuleConfig['allow_html'],
61 61
         'event_price'        => $_POST['event_price'],
62 62
         'event_organisateur' => $_POST['event_organisateur'],
63 63
         'event_icone'        => $_POST['event_icone'],
64 64
     );
65 65
 
66 66
     if (isset($_POST['event_id'])) {
67
-        $data['event_id'] = (int)$_POST['event_id'];
67
+        $data['event_id'] = (int) $_POST['event_id'];
68 68
     }
69 69
 
70 70
     // Creating tempory event object to apply Object data filtering
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     //     // Assigning language data to the template
84 84
     //     $xoopsTpl->assign('lang', $lang);
85 85
 
86
-    $event['cat_id']   = (int)$_POST['cat_id'];
86
+    $event['cat_id']   = (int) $_POST['cat_id'];
87 87
     $event['have_end'] = $_POST['have_end'];
88 88
 
89 89
     // Display the submit form
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     $xoopsTpl->assign('preview', true);
93 93
     $xoopsTpl->assign('formBody', $formBody);
94 94
 
95
-    include XOOPS_ROOT_PATH . '/footer.php';
95
+    include XOOPS_ROOT_PATH.'/footer.php';
96 96
 } elseif (isset($_POST['form_submit'])) {
97 97
     if (!isset($_POST['rrule_weekly_interval'])) {
98 98
         $_POST['rrule_weekly_interval'] = 0;
@@ -116,11 +116,11 @@  discard block
 block discarded – undo
116 116
     ExtcalUtility::extcal_loadImg($_REQUEST, $event_picture1, $event_picture2);
117 117
     ///////////////////////////////////////////////////////////////////////////////
118 118
 
119
-    require_once __DIR__ . '/class/perm.php';
119
+    require_once __DIR__.'/class/perm.php';
120 120
 
121 121
     $fileHandler = xoops_getModuleHandler(_EXTCAL_CLS_FILE, _EXTCAL_MODULE);
122 122
     $permHandler = ExtcalPerm::getHandler();
123
-    $approve     = $permHandler->isAllowed($xoopsUser, 'extcal_cat_autoapprove', (int)$_POST['cat_id']);
123
+    $approve     = $permHandler->isAllowed($xoopsUser, 'extcal_cat_autoapprove', (int) $_POST['cat_id']);
124 124
 
125 125
     $data = array(
126 126
         'event_title'         => $_POST['event_title'],
@@ -146,11 +146,11 @@  discard block
 block discarded – undo
146 146
     );
147 147
 
148 148
     if (isset($_POST['event_id'])) {
149
-        $eventHandler->modifyEvent((int)$_POST['event_id'], $data);
150
-        $fileHandler->updateEventFile((int)$_POST['event_id']);
151
-        $fileHandler->createFile((int)$_POST['event_id']);
149
+        $eventHandler->modifyEvent((int) $_POST['event_id'], $data);
150
+        $fileHandler->updateEventFile((int) $_POST['event_id']);
151
+        $fileHandler->createFile((int) $_POST['event_id']);
152 152
 
153
-        redirect_header('event.php?event=' . $_POST['event_id'], 3, _MD_EXTCAL_EVENT_UPDATED, false);
153
+        redirect_header('event.php?event='.$_POST['event_id'], 3, _MD_EXTCAL_EVENT_UPDATED, false);
154 154
     } else {
155 155
         $data['event_submitter']  = $xoopsUser ? $xoopsUser->getVar('uid') : 0;
156 156
         $data['event_submitdate'] = time();
@@ -167,8 +167,8 @@  discard block
 block discarded – undo
167 167
         $notificationHandler->triggerEvent('global', 0, $notifyEvent, array('EVENT_TITLE' => $_POST['event_title']));
168 168
         if ($approve == 1) {
169 169
             $catHandler = xoops_getModuleHandler(_EXTCAL_CLS_CAT, _EXTCAL_MODULE);
170
-            $cat        = $catHandler->getCat((int)$_POST['cat_id'], $xoopsUser, 'all');
171
-            $notificationHandler->triggerEvent('cat', (int)$_POST['cat_id'], 'new_event_cat', array(
170
+            $cat        = $catHandler->getCat((int) $_POST['cat_id'], $xoopsUser, 'all');
171
+            $notificationHandler->triggerEvent('cat', (int) $_POST['cat_id'], 'new_event_cat', array(
172 172
                 'EVENT_TITLE' => $_POST['event_title'],
173 173
                 'CAT_NAME'    => $cat->getVar('cat_name'),
174 174
             ));
Please login to merge, or discard this patch.
xoops_version.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@  discard block
 block discarded – undo
18 18
  */
19 19
 
20 20
 // defined('XOOPS_ROOT_PATH') || die('XOOPS Root Path not defined');
21
-require_once __DIR__ . '/include/constantes.php';
22
-require_once __DIR__ . '/include/agenda_fnc.php';
23
-require_once __DIR__ . '/class/config.php';
21
+require_once __DIR__.'/include/constantes.php';
22
+require_once __DIR__.'/include/agenda_fnc.php';
23
+require_once __DIR__.'/class/config.php';
24 24
 //$loc_de = setlocale (LC_ALL, 'french');
25 25
 
26 26
 //echo "local :" .  setlocale(LC_TIME, $xoopsConfig['language'])."</ br>";
@@ -93,12 +93,12 @@  discard block
 block discarded – undo
93 93
 
94 94
 // Tables created by sql file (without prefix!)
95 95
 $modversion['tables'] = array(
96
-    $moduleDirName . '_' . 'cat',
97
-    $moduleDirName . '_' . 'event',
98
-    $moduleDirName . '_' . 'eventmember',
99
-    $moduleDirName . '_' . 'eventnotmember',
100
-    $moduleDirName . '_' . 'file',
101
-    $moduleDirName . '_' . 'etablissement'
96
+    $moduleDirName.'_'.'cat',
97
+    $moduleDirName.'_'.'event',
98
+    $moduleDirName.'_'.'eventmember',
99
+    $moduleDirName.'_'.'eventnotmember',
100
+    $moduleDirName.'_'.'file',
101
+    $moduleDirName.'_'.'etablissement'
102 102
 );
103 103
 
104 104
 // SQL
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
 $modversion['config'][$i]['default']     = 5;
511 511
 
512 512
 ++$i;
513
-$modversion['config'][$i]['name']        = 'break' . $i;
513
+$modversion['config'][$i]['name']        = 'break'.$i;
514 514
 $modversion['config'][$i]['title']       = '_MI_EXTCAL_SHOW_OTHEROPTIONS';
515 515
 $modversion['config'][$i]['description'] = '';
516 516
 $modversion['config'][$i]['formtype']    = 'line_break';
Please login to merge, or discard this patch.
versions/extcal_2_21.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
 
45 45
         // Create who's not going table to fix bug. If the table exist, the query will faile
46 46
         $sql = 'CREATE TABLE `'
47
-               . $xoopsDB->prefix('extcal_eventnotmember')
48
-               . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
47
+                . $xoopsDB->prefix('extcal_eventnotmember')
48
+                . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
49 49
         $xoopsDB->query($sql);
50 50
     }
51 51
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,13 +33,13 @@
 block discarded – undo
33 33
         global $xoopsDB;
34 34
 
35 35
         // Create eXtcal upload directory if don't exist
36
-        $dir = XOOPS_ROOT_PATH . '/uploads/extcal';
36
+        $dir = XOOPS_ROOT_PATH.'/uploads/extcal';
37 37
         if (!is_dir($dir)) {
38 38
             mkdir($dir);
39 39
 
40 40
             // Copy index.html files on uploads folders
41
-            $indexFile = __DIR__ . '/index.html';
42
-            copy($indexFile, XOOPS_ROOT_PATH . '/uploads/extcal/index.html');
41
+            $indexFile = __DIR__.'/index.html';
42
+            copy($indexFile, XOOPS_ROOT_PATH.'/uploads/extcal/index.html');
43 43
         }
44 44
 
45 45
         // Create who's not going table to fix bug. If the table exist, the query will faile
Please login to merge, or discard this patch.
versions/extcal_2_15.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,13 +51,13 @@
 block discarded – undo
51 51
         $xoopsDB->query($sql);
52 52
 
53 53
         $sql = 'CREATE TABLE `'
54
-               . $xoopsDB->prefix('extcal_event')
55
-               . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
54
+                . $xoopsDB->prefix('extcal_event')
55
+                . "` (`eventnotmember_id` INT(11) NOT NULL AUTO_INCREMENT,`event_id` INT(11) NOT NULL DEFAULT '0',`uid` INT(11) NOT NULL DEFAULT '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
56 56
         $xoopsDB->query($sql);
57 57
 
58 58
         $sql = 'CREATE TABLE `'
59
-               . $xoopsDB->prefix('extcal_file')
60
-               . "` (`file_id` INT(11) NOT NULL AUTO_INCREMENT,`file_name` VARCHAR(255) NOT NULL,`file_nicename` VARCHAR(255) NOT NULL,`file_mimetype` VARCHAR(255) NOT NULL,`file_size` INT(11) NOT NULL,`file_download` INT(11) NOT NULL,`file_date` INT(11) NOT NULL,`file_approved` TINYINT(1) NOT NULL,`event_id` INT(11) NOT NULL,`uid` INT(11) NOT NULL,PRIMARY KEY  (`file_id`)) COMMENT='eXtcal By Zoullou' ;";
59
+                . $xoopsDB->prefix('extcal_file')
60
+                . "` (`file_id` INT(11) NOT NULL AUTO_INCREMENT,`file_name` VARCHAR(255) NOT NULL,`file_nicename` VARCHAR(255) NOT NULL,`file_mimetype` VARCHAR(255) NOT NULL,`file_size` INT(11) NOT NULL,`file_download` INT(11) NOT NULL,`file_date` INT(11) NOT NULL,`file_approved` TINYINT(1) NOT NULL,`event_id` INT(11) NOT NULL,`uid` INT(11) NOT NULL,PRIMARY KEY  (`file_id`)) COMMENT='eXtcal By Zoullou' ;";
61 61
         $xoopsDB->query($sql);
62 62
     }
63 63
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,19 +35,19 @@
 block discarded – undo
35 35
         //$xoopsDB = XoopsDatabaseFactory::getDatabaseConnection();
36 36
         $xoopsDB = XoopsDatabaseFactory::getDatabaseConnection();
37 37
 
38
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . "` CHANGE `event_approved` `event_approved` TINYINT( 1 ) NOT NULL DEFAULT '0' ;";
38
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event')."` CHANGE `event_approved` `event_approved` TINYINT( 1 ) NOT NULL DEFAULT '0' ;";
39 39
         $xoopsDB->query($sql);
40 40
 
41
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_isrecur` TINYINT( 1 ) NOT NULL AFTER `event_nbmember` ;';
41
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_isrecur` TINYINT( 1 ) NOT NULL AFTER `event_nbmember` ;';
42 42
         $xoopsDB->query($sql);
43 43
 
44
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_recur_rules` VARCHAR( 255 ) NOT NULL AFTER `event_isrecur` ';
44
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_recur_rules` VARCHAR( 255 ) NOT NULL AFTER `event_isrecur` ';
45 45
         $xoopsDB->query($sql);
46 46
 
47
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_recur_start` INT( 11 ) NOT NULL AFTER `event_recur_rules` ;';
47
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_recur_start` INT( 11 ) NOT NULL AFTER `event_recur_rules` ;';
48 48
         $xoopsDB->query($sql);
49 49
 
50
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_recur_end` INT( 11 ) NOT NULL AFTER `event_recur_start` ;';
50
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_recur_end` INT( 11 ) NOT NULL AFTER `event_recur_start` ;';
51 51
         $xoopsDB->query($sql);
52 52
 
53 53
         $sql = 'CREATE TABLE `'
Please login to merge, or discard this patch.
versions/extcal_2_04.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         global $xoopsDB;
34 34
 
35
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . "` ADD `event_nbmember` TINYINT(4) NOT NULL DEFAULT '0' AFTER `event_submitdate` ;";
35
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event')."` ADD `event_nbmember` TINYINT(4) NOT NULL DEFAULT '0' AFTER `event_submitdate` ;";
36 36
         $xoopsDB->query($sql);
37 37
     }
38 38
 
Please login to merge, or discard this patch.
header.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -17,24 +17,24 @@
 block discarded – undo
17 17
  * @author       XOOPS Development Team,
18 18
  */
19 19
 
20
-include XOOPS_ROOT_PATH . '/header.php';
20
+include XOOPS_ROOT_PATH.'/header.php';
21 21
 
22
-require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
22
+require_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
23 23
 
24
-require_once __DIR__ . '/include/agenda_fnc.php';
25
-require_once __DIR__ . '/class/utility.php';
24
+require_once __DIR__.'/include/agenda_fnc.php';
25
+require_once __DIR__.'/class/utility.php';
26 26
 
27
-require_once __DIR__ . '/class/perm.php';
28
-require_once __DIR__ . '/class/form/extcalform.php';
27
+require_once __DIR__.'/class/perm.php';
28
+require_once __DIR__.'/class/form/extcalform.php';
29 29
 
30 30
 xoops_loadLanguage('modinfo', _EXTCAL_MODULE);
31 31
 
32 32
 //------------------------------------------------------
33
-require_once _EXTCAL_PEAR_CALENDAR_ROOT . '/Util/Textual.php';
34
-require_once _EXTCAL_PEAR_CALENDAR_ROOT . '/Month/Weeks.php';
35
-require_once _EXTCAL_PEAR_CALENDAR_ROOT . '/Month/Weekdays.php';
36
-require_once _EXTCAL_PEAR_CALENDAR_ROOT . '/Week.php';
37
-require_once _EXTCAL_PEAR_CALENDAR_ROOT . '/Day.php';
33
+require_once _EXTCAL_PEAR_CALENDAR_ROOT.'/Util/Textual.php';
34
+require_once _EXTCAL_PEAR_CALENDAR_ROOT.'/Month/Weeks.php';
35
+require_once _EXTCAL_PEAR_CALENDAR_ROOT.'/Month/Weekdays.php';
36
+require_once _EXTCAL_PEAR_CALENDAR_ROOT.'/Week.php';
37
+require_once _EXTCAL_PEAR_CALENDAR_ROOT.'/Day.php';
38 38
 
39 39
 //------------------------------------------------------
40 40
 // Getting eXtCal object's handler
Please login to merge, or discard this patch.
view_year.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -17,15 +17,15 @@  discard block
 block discarded – undo
17 17
  * @author       XOOPS Development Team,
18 18
  */
19 19
 
20
-include __DIR__ . '/../../mainfile.php';
21
-require_once __DIR__ . '/include/constantes.php';
20
+include __DIR__.'/../../mainfile.php';
21
+require_once __DIR__.'/include/constantes.php';
22 22
 $params                                  = array('view' => _EXTCAL_NAV_YEAR, 'file' => _EXTCAL_FILE_YEAR);
23 23
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
24
-require_once __DIR__ . '/header.php';
24
+require_once __DIR__.'/header.php';
25 25
 
26 26
 /* ========================================================================== */
27
-$year = isset($_GET['year']) ? (int)$_GET['year'] : date('Y');
28
-$cat  = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
27
+$year = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
28
+$cat  = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
29 29
 
30 30
 // Getting eXtCal object's handler
31 31
 $catHandler   = xoops_getModuleHandler(_EXTCAL_CLS_CAT, _EXTCAL_MODULE);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     'cat'          => $cat,
55 55
     'externalKeys' => 'cat_id',
56 56
 );
57
-$events   = $eventHandler->getEventsOnPeriode($criteres);
57
+$events = $eventHandler->getEventsOnPeriode($criteres);
58 58
 /**********************************************************************/
59 59
 $eventsArray = $events;
60 60
 // Formating date
@@ -98,21 +98,21 @@  discard block
 block discarded – undo
98 98
 // Making navig data
99 99
 $navig = array(
100 100
     'prev' => array(
101
-        'uri'  => 'year=' . $prevYear,
101
+        'uri'  => 'year='.$prevYear,
102 102
         'name' => $prevYear,
103 103
     ),
104 104
     'this' => array(
105
-        'uri'  => 'year=' . $year,
105
+        'uri'  => 'year='.$year,
106 106
         'name' => $year,
107 107
     ),
108 108
     'next' => array(
109
-        'uri'  => 'year=' . $nexYear,
109
+        'uri'  => 'year='.$nexYear,
110 110
         'name' => $nexYear,
111 111
     ),
112 112
 );
113 113
 
114 114
 // Title of the page
115
-$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name') . ' ' . $navig['this']['name']);
115
+$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name').' '.$navig['this']['name']);
116 116
 
117 117
 // Assigning navig data to the template
118 118
 $xoopsTpl->assign('navig', $navig);
@@ -166,4 +166,4 @@  discard block
 block discarded – undo
166 166
 $xoopsTpl->assign('lang', $lang);
167 167
 $xoopsTpl->assign('view', 'year');
168 168
 
169
-include XOOPS_ROOT_PATH . '/footer.php';
169
+include XOOPS_ROOT_PATH.'/footer.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
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
  * @author       XOOPS Development Team,
18 18
  */
19 19
 
20
-include __DIR__ . '/../../mainfile.php';
21
-include XOOPS_ROOT_PATH . '/include/comment_reply.php';
20
+include __DIR__.'/../../mainfile.php';
21
+include XOOPS_ROOT_PATH.'/include/comment_reply.php';
Please login to merge, or discard this patch.