Completed
Push — master ( 5f5d60...a9decc )
by Michael
03:36
created
include/agenda_fnc.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@  discard block
 block discarded – undo
18 18
 define('_EXTCAL_FORMAT_AGENDA_KEYD', 'Y-m-d');
19 19
 define('_EXTCAL_FORMAT_AGENDA_KEYT', 'H:i');
20 20
 
21
-include_once __DIR__ . '/constantes.php';
22
-include_once __DIR__ . '/../class/utilities.php';
21
+include_once __DIR__.'/constantes.php';
22
+include_once __DIR__.'/../class/utilities.php';
23 23
 
24 24
 $moduleDirName = basename(dirname(__DIR__));
25 25
 xoops_loadLanguage('main', $moduleDirName);
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $tj[$kj]['dayWeek'] = date('w', $tsj);
72 72
         $tj[$kj]['jour']    = $jName[$tj[$kj]['dayWeek']]; //date('l', $tsj);
73 73
         if ($tj[$kj]['dayWeek'] == 0) {
74
-            $tj[$kj]['bg'] = "background='" . XOOPS_URL . "/modules/extcal/assets/images/trame.png'";
74
+            $tj[$kj]['bg'] = "background='".XOOPS_URL."/modules/extcal/assets/images/trame.png'";
75 75
         } else {
76 76
             $tj[$kj]['bg'] = '';
77 77
         }
@@ -151,16 +151,16 @@  discard block
 block discarded – undo
151 151
         $kd     = date(_EXTCAL_FORMAT_AGENDA_KEYD, $ts);
152 152
         $hour   = date('H', $ts);
153 153
         $minute = date('i', $ts);
154
-        $m      = (int)($minute / $mPlage) * $mPlage;
154
+        $m      = (int) ($minute / $mPlage) * $mPlage;
155 155
         //      echo "--->{$minute} / {$mPlage} = {$m}<br>";
156
-        $sMinute = (($m < 10) ? '0' . $m : $m);
156
+        $sMinute = (($m < 10) ? '0'.$m : $m);
157 157
         //$kt = date(_EXTCAL_FORMAT_AGENDA_KEYT, $ts);
158 158
         if ($hour < $hStart) {
159 159
             $kt = $tk0;
160 160
         } elseif ($hour >= ($hEnd + 1)) {
161 161
             $kt = $tk1;
162 162
         } else {
163
-            $kt = $hour . ':' . $sMinute;
163
+            $kt = $hour.':'.$sMinute;
164 164
         }
165 165
 
166 166
         $tAgenda[$kt]['jours'][$kd]['events'][] = $e;
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
             return false;
310 310
     }
311 311
 
312
-    $file   = XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/' . $f;
312
+    $file   = XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/'.$f;
313 313
     $prefix = (defined($name) ? '_MI' : '_MD');
314 314
     include_once $file;
315 315
 }
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
     $ordre = array();
448 448
     while (list($k, $v) = each($tNavBar)) {
449 449
         if (isset($tWeight[$k])) {
450
-            $ordre[] = (int)$tWeight[$k]; //ordre defini dans les option du module
450
+            $ordre[] = (int) $tWeight[$k]; //ordre defini dans les option du module
451 451
         } else {
452 452
             $ordre[] = $v['weight']; // ordre par defaut ddefini dans le tableau $tNavBar
453 453
         }
Please login to merge, or discard this patch.
include/update_function.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,22 +15,22 @@  discard block
 block discarded – undo
15 15
 
16 16
     //----------------------------------------------------------
17 17
     // Create eXtCal upload directory
18
-    $indexFile = __DIR__ . '/index.html';
18
+    $indexFile = __DIR__.'/index.html';
19 19
 
20
-    $dir = XOOPS_ROOT_PATH . '/uploads/extcal';
20
+    $dir = XOOPS_ROOT_PATH.'/uploads/extcal';
21 21
     if (!is_dir($dir)) {
22 22
         mkdir($dir, 0777);
23
-        copy($indexFile, $dir . '/index.html');
23
+        copy($indexFile, $dir.'/index.html');
24 24
     }
25 25
 
26
-    $dir = XOOPS_ROOT_PATH . '/uploads/extcal/etablissement';
26
+    $dir = XOOPS_ROOT_PATH.'/uploads/extcal/etablissement';
27 27
     if (!is_dir($dir)) {
28 28
         mkdir($dir, 0777);
29
-        copy($indexFile, $dir . '/index.html');
29
+        copy($indexFile, $dir.'/index.html');
30 30
     }
31 31
     //------------------------------------------------------------
32 32
 
33
-    $fld = XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->getVar('dirname') . '/versions/';
33
+    $fld = XOOPS_ROOT_PATH.'/modules/'.$xoopsModule->getVar('dirname').'/versions/';
34 34
     $cls = 'extcal_%1$s';
35 35
 
36 36
     $version = array(
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     while (list($key, $val) = each($version)) {
49 49
         if ($previousVersion < $val) {
50 50
             $name = sprintf($cls, $key);
51
-            $f    = $fld . $name . '.php';
51
+            $f    = $fld.$name.'.php';
52 52
             //ext_echo ("<hr>{$f}<hr>");
53 53
             if (is_readable($f)) {
54 54
                 echo "mise à jour version : {$key} = {$val}<br>";
Please login to merge, or discard this patch.
view_day.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include __DIR__ . '/../../mainfile.php';
4
-include_once __DIR__ . '/include/constantes.php';
3
+include __DIR__.'/../../mainfile.php';
4
+include_once __DIR__.'/include/constantes.php';
5 5
 $params                                  = array('view' => _EXTCAL_NAV_DAY, 'file' => _EXTCAL_FILE_DAY);
6 6
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
7
-include_once __DIR__ . '/header.php';
7
+include_once __DIR__.'/header.php';
8 8
 
9 9
 /* ========================================================================== */
10
-$year  = isset($_GET['year']) ? (int)$_GET['year'] : date('Y');
11
-$month = isset($_GET['month']) ? (int)$_GET['month'] : date('n');
12
-$day   = isset($_GET['day']) ? (int)$_GET['day'] : date('j');
13
-$cat   = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
10
+$year  = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
11
+$month = isset($_GET['month']) ? (int) $_GET['month'] : date('n');
12
+$day   = isset($_GET['day']) ? (int) $_GET['day'] : date('j');
13
+$cat   = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
14 14
 /* ========================================================================== */
15 15
 
16 16
 $form = new XoopsSimpleForm('', 'navigSelectBox', $params['file'], 'get');
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     'cat'          => $cat,
35 35
     'externalKeys' => 'cat_id',
36 36
 );
37
-$events   = $eventHandler->getEventsOnPeriode($criteres);
37
+$events = $eventHandler->getEventsOnPeriode($criteres);
38 38
 /**********************************************************************/
39 39
 $eventsArray = $events;
40 40
 
@@ -80,21 +80,21 @@  discard block
 block discarded – undo
80 80
 
81 81
 $navig = array(
82 82
     'prev' => array(
83
-        'uri'  => 'year=' . $pDayCalObj->thisYear() . '&amp;month=' . $pDayCalObj->thisMonth() . '&amp;day=' . $pDayCalObj->thisDay(),
83
+        'uri'  => 'year='.$pDayCalObj->thisYear().'&amp;month='.$pDayCalObj->thisMonth().'&amp;day='.$pDayCalObj->thisDay(),
84 84
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $pDayCalObj->getTimestamp()),
85 85
     ),
86 86
     'this' => array(
87
-        'uri'  => 'year=' . $dayCalObj->thisYear() . '&amp;month=' . $dayCalObj->thisMonth() . '&amp;day=' . $dayCalObj->thisDay(),
87
+        'uri'  => 'year='.$dayCalObj->thisYear().'&amp;month='.$dayCalObj->thisMonth().'&amp;day='.$dayCalObj->thisDay(),
88 88
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $dayCalObj->getTimestamp()),
89 89
     ),
90 90
     'next' => array(
91
-        'uri'  => 'year=' . $nDayCalObj->thisYear() . '&amp;month=' . $nDayCalObj->thisMonth() . '&amp;day=' . $nDayCalObj->thisDay(),
91
+        'uri'  => 'year='.$nDayCalObj->thisYear().'&amp;month='.$nDayCalObj->thisMonth().'&amp;day='.$nDayCalObj->thisDay(),
92 92
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $nDayCalObj->getTimestamp()),
93 93
     ),
94 94
 );
95 95
 
96 96
 // Title of the page
97
-$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name') . ' ' . $navig['this']['name']);
97
+$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name').' '.$navig['this']['name']);
98 98
 
99 99
 // Assigning navig data to the template
100 100
 $xoopsTpl->assign('navig', $navig);
@@ -153,4 +153,4 @@  discard block
 block discarded – undo
153 153
 $xoopsTpl->assign('lang', $lang);
154 154
 $xoopsTpl->assign('view', 'day');
155 155
 
156
-include XOOPS_ROOT_PATH . '/footer.php';
156
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
view_agenda-week.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include __DIR__ . '/../../mainfile.php';
4
-include_once __DIR__ . '/include/constantes.php';
3
+include __DIR__.'/../../mainfile.php';
4
+include_once __DIR__.'/include/constantes.php';
5 5
 $params                                  = array('view' => _EXTCAL_NAV_AGENDA_WEEK, 'file' => _EXTCAL_FILE_AGENDA_WEEK);
6 6
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
7
-include_once __DIR__ . '/header.php';
7
+include_once __DIR__.'/header.php';
8 8
 
9 9
 /* ========================================================================== */
10
-$year  = isset($_GET['year']) ? (int)$_GET['year'] : date('Y');
11
-$month = isset($_GET['month']) ? (int)$_GET['month'] : date('n');
12
-$day   = isset($_GET['day']) ? (int)$_GET['day'] : date('j');
13
-$cat   = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
10
+$year  = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
11
+$month = isset($_GET['month']) ? (int) $_GET['month'] : date('n');
12
+$day   = isset($_GET['day']) ? (int) $_GET['day'] : date('j');
13
+$cat   = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
14 14
 
15 15
 // Validate the date (day, month and year)
16 16
 $dayTS = mktime(0, 0, 0, $month, $day, $year);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     'nbJours'      => $nbJours,
50 50
     'externalKeys' => 'cat_id',
51 51
 );
52
-$events   = $eventHandler->getEventsOnPeriode($criteres);
52
+$events = $eventHandler->getEventsOnPeriode($criteres);
53 53
 /**********************************************************************/
54 54
 $eventsArray = $events;
55 55
 // Formating date
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 //-------------------------------------------------------------------
82 82
 
83 83
 //$params['colJourWidth'] = (int)((((500-50)/$nbJours)/500*100)+.5);
84
-$params['colJourWidth'] = (int)((((500 - 50) / $nbJours) / 500 * 100) + .6);
84
+$params['colJourWidth'] = (int) ((((500 - 50) / $nbJours) / 500 * 100) + .6);
85 85
 //  echo "agenda_week : {$dayTS}<br>";
86 86
 $tAgenda = agenda_getEvents($eventsArray, $dayTS, $hStart, $hEnd, $mTranche, $nbJours);
87 87
 //$exp = print_r($eventsArray, true);
@@ -103,21 +103,21 @@  discard block
 block discarded – undo
103 103
 
104 104
 $navig = array(
105 105
     'prev' => array(
106
-        'uri'  => 'year=' . $pWeekCalObj->thisYear() . '&amp;month=' . $pWeekCalObj->thisMonth() . '&amp;day=' . $pWeekCalObj->thisDay(),
106
+        'uri'  => 'year='.$pWeekCalObj->thisYear().'&amp;month='.$pWeekCalObj->thisMonth().'&amp;day='.$pWeekCalObj->thisDay(),
107 107
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_week'], $pWeekCalObj->getTimestamp()),
108 108
     ),
109 109
     'this' => array(
110
-        'uri'  => 'year=' . $weekCalObj->thisYear() . '&amp;month=' . $weekCalObj->thisMonth() . '&amp;day=' . $weekCalObj->thisDay(),
110
+        'uri'  => 'year='.$weekCalObj->thisYear().'&amp;month='.$weekCalObj->thisMonth().'&amp;day='.$weekCalObj->thisDay(),
111 111
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_week'], $weekCalObj->getTimestamp()),
112 112
     ),
113 113
     'next' => array(
114
-        'uri'  => 'year=' . $nWeekCalObj->thisYear() . '&amp;month=' . $nWeekCalObj->thisMonth() . '&amp;day=' . $nWeekCalObj->thisDay(),
114
+        'uri'  => 'year='.$nWeekCalObj->thisYear().'&amp;month='.$nWeekCalObj->thisMonth().'&amp;day='.$nWeekCalObj->thisDay(),
115 115
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_week'], $nWeekCalObj->getTimestamp()),
116 116
     ),
117 117
 );
118 118
 
119 119
 // Title of the page
120
-$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name') . ' ' . $navig['this']['name']);
120
+$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name').' '.$navig['this']['name']);
121 121
 
122 122
 // Assigning navig data to the template
123 123
 $xoopsTpl->assign('navig', $navig);
@@ -158,4 +158,4 @@  discard block
 block discarded – undo
158 158
 $xoopsTpl->assign('lang', $lang);
159 159
 $xoopsTpl->assign('view', 'agendaweek');
160 160
 
161
-include XOOPS_ROOT_PATH . '/footer.php';
161
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-include __DIR__ . '/../../mainfile.php';
3
+include __DIR__.'/../../mainfile.php';
4 4
 
5 5
 //modif JJD
6
-include_once __DIR__ . '/include/constantes.php';
6
+include_once __DIR__.'/include/constantes.php';
7 7
 
8 8
 header("Location: {$xoopsModuleConfig['start_page']}");
Please login to merge, or discard this patch.
view_month.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include __DIR__ . '/../../mainfile.php';
4
-include_once __DIR__ . '/include/constantes.php';
3
+include __DIR__.'/../../mainfile.php';
4
+include_once __DIR__.'/include/constantes.php';
5 5
 $params                                  = array('view' => _EXTCAL_NAV_MONTH, 'file' => _EXTCAL_FILE_MONTH);
6 6
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
7
-include_once __DIR__ . '/header.php';
7
+include_once __DIR__.'/header.php';
8 8
 
9 9
 /* ========================================================================== */
10
-$year  = isset($_GET['year']) ? (int)$_GET['year'] : date('Y');
11
-$month = isset($_GET['month']) ? (int)$_GET['month'] : date('n');
12
-$cat   = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
10
+$year  = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
11
+$month = isset($_GET['month']) ? (int) $_GET['month'] : date('n');
12
+$cat   = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
13 13
 /* ========================================================================== */
14 14
 
15 15
 $form = new XoopsSimpleForm('', 'navigSelectBox', $params['file'], 'get');
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     'cat'          => $cat,
32 32
     'externalKeys' => 'cat_id',
33 33
 );
34
-$events   = $eventHandler->getEventsOnPeriode($criteres);
34
+$events = $eventHandler->getEventsOnPeriode($criteres);
35 35
 /**********************************************************************/
36 36
 $eventsArray = $events;
37 37
 
@@ -88,21 +88,21 @@  discard block
 block discarded – undo
88 88
 $nMonthCalObj = $monthCalObj->nextMonth('object');
89 89
 $navig        = array(
90 90
     'prev' => array(
91
-        'uri'  => 'year=' . $pMonthCalObj->thisYear() . '&amp;month=' . $pMonthCalObj->thisMonth(),
91
+        'uri'  => 'year='.$pMonthCalObj->thisYear().'&amp;month='.$pMonthCalObj->thisMonth(),
92 92
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_month'], $pMonthCalObj->getTimestamp()),
93 93
     ),
94 94
     'this' => array(
95
-        'uri'  => 'year=' . $monthCalObj->thisYear() . '&amp;month=' . $monthCalObj->thisMonth(),
95
+        'uri'  => 'year='.$monthCalObj->thisYear().'&amp;month='.$monthCalObj->thisMonth(),
96 96
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_month'], $monthCalObj->getTimestamp()),
97 97
     ),
98 98
     'next' => array(
99
-        'uri'  => 'year=' . $nMonthCalObj->thisYear() . '&amp;month=' . $nMonthCalObj->thisMonth(),
99
+        'uri'  => 'year='.$nMonthCalObj->thisYear().'&amp;month='.$nMonthCalObj->thisMonth(),
100 100
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_month'], $nMonthCalObj->getTimestamp()),
101 101
     ),
102 102
 );
103 103
 
104 104
 // Title of the page
105
-$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name') . ' ' . $navig['this']['name']);
105
+$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name').' '.$navig['this']['name']);
106 106
 
107 107
 // Assigning navig data to the template
108 108
 $xoopsTpl->assign('navig', $navig);
@@ -159,4 +159,4 @@  discard block
 block discarded – undo
159 159
 $xoopsTpl->assign('lang', $lang);
160 160
 $xoopsTpl->assign('view', 'month');
161 161
 
162
-include XOOPS_ROOT_PATH . '/footer.php';
162
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
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
 //  along with this program; if not, write to the Free Software              //
25 25
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
26 26
 //  ------------------------------------------------------------------------ //
27
-include __DIR__ . '/../../mainfile.php';
28
-include XOOPS_ROOT_PATH . '/include/comment_delete.php';
27
+include __DIR__.'/../../mainfile.php';
28
+include XOOPS_ROOT_PATH.'/include/comment_delete.php';
Please login to merge, or discard this patch.
download_attachement.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-include __DIR__ . '/../../mainfile.php';
4
-include_once __DIR__ . '/include/constantes.php';
3
+include __DIR__.'/../../mainfile.php';
4
+include_once __DIR__.'/include/constantes.php';
5 5
 
6 6
 if (!isset($_GET['file'])) {
7 7
     $fileId = 0;
8 8
 } else {
9
-    $fileId = (int)$_GET['file'];
9
+    $fileId = (int) $_GET['file'];
10 10
 }
11 11
 /** @var ExtcalFileHandler $fileHandler */
12 12
 $fileHandler = xoops_getModuleHandler(_EXTCAL_CLS_FILE, _EXTCAL_MODULE);
13 13
 
14 14
 $file = $fileHandler->getFile($fileId);
15 15
 
16
-header('Content-Type: ' . $file->getVar('file_mimetype') . '');
17
-header('Content-Disposition: attachment; filename="' . $file->getVar('file_nicename') . '"');
16
+header('Content-Type: '.$file->getVar('file_mimetype').'');
17
+header('Content-Disposition: attachment; filename="'.$file->getVar('file_nicename').'"');
18 18
 
19
-readfile(XOOPS_ROOT_PATH . '/uploads/extcal/' . $file->getVar('file_name'));
19
+readfile(XOOPS_ROOT_PATH.'/uploads/extcal/'.$file->getVar('file_name'));
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
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include __DIR__ . '/../../mainfile.php';
4
-include_once __DIR__ . '/include/constantes.php';
3
+include __DIR__.'/../../mainfile.php';
4
+include_once __DIR__.'/include/constantes.php';
5 5
 $params                                  = array('view' => _EXTCAL_NAV_YEAR, 'file' => _EXTCAL_FILE_YEAR);
6 6
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
7
-include_once __DIR__ . '/header.php';
7
+include_once __DIR__.'/header.php';
8 8
 
9 9
 /* ========================================================================== */
10
-$year = isset($_GET['year']) ? (int)$_GET['year'] : date('Y');
11
-$cat  = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
10
+$year = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
11
+$cat  = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
12 12
 
13 13
 // Getting eXtCal object's handler
14 14
 $catHandler   = xoops_getModuleHandler(_EXTCAL_CLS_CAT, _EXTCAL_MODULE);
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     'cat'          => $cat,
37 37
     'externalKeys' => 'cat_id',
38 38
 );
39
-$events   = $eventHandler->getEventsOnPeriode($criteres);
39
+$events = $eventHandler->getEventsOnPeriode($criteres);
40 40
 /**********************************************************************/
41 41
 $eventsArray = $events;
42 42
 // Formating date
@@ -80,21 +80,21 @@  discard block
 block discarded – undo
80 80
 // Making navig data
81 81
 $navig = array(
82 82
     'prev' => array(
83
-        'uri'  => 'year=' . $prevYear,
83
+        'uri'  => 'year='.$prevYear,
84 84
         'name' => $prevYear,
85 85
     ),
86 86
     'this' => array(
87
-        'uri'  => 'year=' . $year,
87
+        'uri'  => 'year='.$year,
88 88
         'name' => $year,
89 89
     ),
90 90
     'next' => array(
91
-        'uri'  => 'year=' . $nexYear,
91
+        'uri'  => 'year='.$nexYear,
92 92
         'name' => $nexYear,
93 93
     ),
94 94
 );
95 95
 
96 96
 // Title of the page
97
-$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name') . ' ' . $navig['this']['name']);
97
+$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name').' '.$navig['this']['name']);
98 98
 
99 99
 // Assigning navig data to the template
100 100
 $xoopsTpl->assign('navig', $navig);
@@ -148,4 +148,4 @@  discard block
 block discarded – undo
148 148
 $xoopsTpl->assign('lang', $lang);
149 149
 $xoopsTpl->assign('view', 'year');
150 150
 
151
-include XOOPS_ROOT_PATH . '/footer.php';
151
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.