Completed
Push — master ( 26b490...31307f )
by Michael
03:13
created
edit_event.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@  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
 
22
-include XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
23
-include __DIR__ . '/class/form/extcalform.php';
24
-include __DIR__ . '/class/perm.php';
25
-require_once __DIR__ . '/include/constantes.php';
22
+include XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
23
+include __DIR__.'/class/form/extcalform.php';
24
+include __DIR__.'/class/perm.php';
25
+require_once __DIR__.'/include/constantes.php';
26 26
 
27 27
 $permHandler = ExtcalPerm::getHandler();
28 28
 $xoopsUser   = $xoopsUser ?: null;
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
 $params                                  = ['view' => _EXTCAL_NAV_NEW_EVENT, 'file' => _EXTCAL_FILE_NEW_EVENT];
36 36
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
37
-include XOOPS_ROOT_PATH . '/header.php';
37
+include XOOPS_ROOT_PATH.'/header.php';
38 38
 /* ========================================================================== */
39 39
 
40 40
 // Tooltips include
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 if (!isset($_GET['event'])) {
46 46
     $eventId = 0;
47 47
 } else {
48
-    $eventId = (int)$_GET['event'];
48
+    $eventId = (int) $_GET['event'];
49 49
 }
50 50
 if (!isset($_GET['action'])) {
51 51
     $action = 'edit';
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 // Getting eXtCal object's handler
57 57
 $eventHandler = xoops_getModuleHandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE);
58 58
 
59
-include XOOPS_ROOT_PATH . '/header.php';
59
+include XOOPS_ROOT_PATH.'/header.php';
60 60
 
61 61
 // Title of the page
62 62
 $xoopsTpl->assign('xoops_pagetitle', _MI_EXTCAL_SUBMIT_EVENT);
@@ -65,4 +65,4 @@  discard block
 block discarded – undo
65 65
 $form = $eventHandler->getEventForm('user', $action, ['event_id' => $eventId]);
66 66
 $form->display();
67 67
 
68
-include XOOPS_ROOT_PATH . '/footer.php';
68
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
view_week.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -17,17 +17,17 @@  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                                  = ['view' => _EXTCAL_NAV_WEEK, 'file' => _EXTCAL_FILE_WEEK];
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
-$month = isset($_GET['month']) ? (int)$_GET['month'] : date('n');
29
-$day   = isset($_GET['day']) ? (int)$_GET['day'] : date('j');
30
-$cat   = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
27
+$year  = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
28
+$month = isset($_GET['month']) ? (int) $_GET['month'] : date('n');
29
+$day   = isset($_GET['day']) ? (int) $_GET['day'] : date('j');
30
+$cat   = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
31 31
 /* ========================================================================== */
32 32
 
33 33
 // Validate the date (day, month and year)
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     'cat'          => $cat,
63 63
     'externalKeys' => 'cat_id',
64 64
 ];
65
-$events   = $eventHandler->getEventsOnPeriode($criteres);
65
+$events = $eventHandler->getEventsOnPeriode($criteres);
66 66
 /**********************************************************************/
67 67
 $eventsArray = $events;
68 68
 // Formating date
@@ -103,21 +103,21 @@  discard block
 block discarded – undo
103 103
 $nWeekCalObj = $weekCalObj->nextWeek('object');
104 104
 $navig       = [
105 105
     'prev' => [
106
-        'uri'  => 'year=' . $pWeekCalObj->thisYear() . '&month=' . $pWeekCalObj->thisMonth() . '&day=' . $pWeekCalObj->thisDay(),
106
+        'uri'  => 'year='.$pWeekCalObj->thisYear().'&month='.$pWeekCalObj->thisMonth().'&day='.$pWeekCalObj->thisDay(),
107 107
         'name' => $extcalTimeHandler->getFormatedDate($extcalConfig['nav_date_week'], $pWeekCalObj->getTimestamp()),
108 108
     ],
109 109
     'this' => [
110
-        'uri'  => 'year=' . $weekCalObj->thisYear() . '&month=' . $weekCalObj->thisMonth() . '&day=' . $weekCalObj->thisDay(),
110
+        'uri'  => 'year='.$weekCalObj->thisYear().'&month='.$weekCalObj->thisMonth().'&day='.$weekCalObj->thisDay(),
111 111
         'name' => $extcalTimeHandler->getFormatedDate($extcalConfig['nav_date_week'], $weekCalObj->getTimestamp()),
112 112
     ],
113 113
     'next' => [
114
-        'uri'  => 'year=' . $nWeekCalObj->thisYear() . '&month=' . $nWeekCalObj->thisMonth() . '&day=' . $nWeekCalObj->thisDay(),
114
+        'uri'  => 'year='.$nWeekCalObj->thisYear().'&month='.$nWeekCalObj->thisMonth().'&day='.$nWeekCalObj->thisDay(),
115 115
         'name' => $extcalTimeHandler->getFormatedDate($extcalConfig['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);
@@ -177,4 +177,4 @@  discard block
 block discarded – undo
177 177
 $xoopsTpl->assign('lang', $lang);
178 178
 $xoopsTpl->assign('view', 'week');
179 179
 
180
-include XOOPS_ROOT_PATH . '/footer.php';
180
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
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
 /** @var ExtcalUtility $utilityClass */
24
-$utilityClass = ucfirst($moduleDirName) . 'Utility';
24
+$utilityClass = ucfirst($moduleDirName).'Utility';
25 25
 if (!class_exists($utilityClass)) {
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
     $utilityClass::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.
admin/menu.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,33 +35,33 @@
 block discarded – undo
35 35
 $adminmenu[] = [
36 36
     'title' => _AM_MODULEADMIN_HOME,
37 37
     'link'  => 'admin/index.php',
38
-    'icon'  => $pathIcon32 . '/home.png'
38
+    'icon'  => $pathIcon32.'/home.png'
39 39
 ];
40 40
 
41 41
 $adminmenu[] = [
42 42
     'title' => _MI_EXTCAL_CATEGORY,
43 43
     'link'  => 'admin/cat.php',
44
-    'icon'  => $pathIcon32 . '/category.png'
44
+    'icon'  => $pathIcon32.'/category.png'
45 45
 ];
46 46
 
47 47
 $adminmenu[] = [
48 48
     'title' => _MI_EXTCAL_EVENT,
49 49
     'link'  => 'admin/event.php',
50
-    'icon'  => $pathIcon32 . '/event.png'
50
+    'icon'  => $pathIcon32.'/event.png'
51 51
 ];
52 52
 $adminmenu[] = [
53 53
     'title' => _MI_EXTCAL_ETABLISSEMENTS,
54 54
     'link'  => 'admin/etablissement.php',
55
-    'icon'  => $pathModIcon32 . '/etablissement.png'
55
+    'icon'  => $pathModIcon32.'/etablissement.png'
56 56
 ];
57 57
 $adminmenu[] = [
58 58
     'title' => _MI_EXTCAL_PERMISSIONS,
59 59
     'link'  => 'admin/permissions.php',
60
-    'icon'  => $pathIcon32 . '/permissions.png'
60
+    'icon'  => $pathIcon32.'/permissions.png'
61 61
 ];
62 62
 
63 63
 $adminmenu[] = [
64 64
     'title' => _AM_MODULEADMIN_ABOUT,
65 65
     'link'  => 'admin/about.php',
66
-    'icon'  => $pathIcon32 . '/about.png'
66
+    'icon'  => $pathIcon32.'/about.png'
67 67
 ];
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                                  = ['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 = [
100 100
     'prev' => [
101
-        'uri'  => 'year=' . $prevYear,
101
+        'uri'  => 'year='.$prevYear,
102 102
         'name' => $prevYear,
103 103
     ],
104 104
     'this' => [
105
-        'uri'  => 'year=' . $year,
105
+        'uri'  => 'year='.$year,
106 106
         'name' => $year,
107 107
     ],
108 108
     'next' => [
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.
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>";
@@ -92,12 +92,12 @@  discard block
 block discarded – undo
92 92
 
93 93
 // Tables created by sql file (without prefix!)
94 94
 $modversion['tables'] = [
95
-    $moduleDirName . '_' . 'cat',
96
-    $moduleDirName . '_' . 'event',
97
-    $moduleDirName . '_' . 'eventmember',
98
-    $moduleDirName . '_' . 'eventnotmember',
99
-    $moduleDirName . '_' . 'file',
100
-    $moduleDirName . '_' . 'etablissement'
95
+    $moduleDirName.'_'.'cat',
96
+    $moduleDirName.'_'.'event',
97
+    $moduleDirName.'_'.'eventmember',
98
+    $moduleDirName.'_'.'eventnotmember',
99
+    $moduleDirName.'_'.'file',
100
+    $moduleDirName.'_'.'etablissement'
101 101
 ];
102 102
 
103 103
 // SQL
@@ -509,7 +509,7 @@  discard block
 block discarded – undo
509 509
 $modversion['config'][$i]['default']     = 5;
510 510
 
511 511
 ++$i;
512
-$modversion['config'][$i]['name']        = 'break' . $i;
512
+$modversion['config'][$i]['name']        = 'break'.$i;
513 513
 $modversion['config'][$i]['title']       = '_MI_EXTCAL_SHOW_OTHEROPTIONS';
514 514
 $modversion['config'][$i]['description'] = '';
515 515
 $modversion['config'][$i]['formtype']    = 'line_break';
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
@@ -17,17 +17,17 @@  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                                  = ['view' => _EXTCAL_NAV_DAY, 'file' => _EXTCAL_FILE_DAY];
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
-$month = isset($_GET['month']) ? (int)$_GET['month'] : date('n');
29
-$day   = isset($_GET['day']) ? (int)$_GET['day'] : date('j');
30
-$cat   = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
27
+$year  = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
28
+$month = isset($_GET['month']) ? (int) $_GET['month'] : date('n');
29
+$day   = isset($_GET['day']) ? (int) $_GET['day'] : date('j');
30
+$cat   = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
31 31
 /* ========================================================================== */
32 32
 
33 33
 $form = new XoopsSimpleForm('', 'navigSelectBox', $params['file'], 'get');
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     'cat'          => $cat,
52 52
     'externalKeys' => 'cat_id',
53 53
 ];
54
-$events   = $eventHandler->getEventsOnPeriode($criteres);
54
+$events = $eventHandler->getEventsOnPeriode($criteres);
55 55
 /**********************************************************************/
56 56
 $eventsArray = $events;
57 57
 
@@ -97,21 +97,21 @@  discard block
 block discarded – undo
97 97
 
98 98
 $navig = [
99 99
     'prev' => [
100
-        'uri'  => 'year=' . $pDayCalObj->thisYear() . '&amp;month=' . $pDayCalObj->thisMonth() . '&amp;day=' . $pDayCalObj->thisDay(),
100
+        'uri'  => 'year='.$pDayCalObj->thisYear().'&amp;month='.$pDayCalObj->thisMonth().'&amp;day='.$pDayCalObj->thisDay(),
101 101
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $pDayCalObj->getTimestamp()),
102 102
     ],
103 103
     'this' => [
104
-        'uri'  => 'year=' . $dayCalObj->thisYear() . '&amp;month=' . $dayCalObj->thisMonth() . '&amp;day=' . $dayCalObj->thisDay(),
104
+        'uri'  => 'year='.$dayCalObj->thisYear().'&amp;month='.$dayCalObj->thisMonth().'&amp;day='.$dayCalObj->thisDay(),
105 105
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $dayCalObj->getTimestamp()),
106 106
     ],
107 107
     'next' => [
108
-        'uri'  => 'year=' . $nDayCalObj->thisYear() . '&amp;month=' . $nDayCalObj->thisMonth() . '&amp;day=' . $nDayCalObj->thisDay(),
108
+        'uri'  => 'year='.$nDayCalObj->thisYear().'&amp;month='.$nDayCalObj->thisMonth().'&amp;day='.$nDayCalObj->thisDay(),
109 109
         'name' => $extcalTimeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $nDayCalObj->getTimestamp()),
110 110
     ],
111 111
 ];
112 112
 
113 113
 // Title of the page
114
-$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name') . ' ' . $navig['this']['name']);
114
+$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name').' '.$navig['this']['name']);
115 115
 
116 116
 // Assigning navig data to the template
117 117
 $xoopsTpl->assign('navig', $navig);
@@ -170,4 +170,4 @@  discard block
 block discarded – undo
170 170
 $xoopsTpl->assign('lang', $lang);
171 171
 $xoopsTpl->assign('view', 'day');
172 172
 
173
-include XOOPS_ROOT_PATH . '/footer.php';
173
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
rss.php 1 patch
Spacing   +9 added lines, -9 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
-require_once __DIR__ . '/include/constantes.php';
5
-require_once __DIR__ . '/header.php';
3
+include __DIR__.'/../../mainfile.php';
4
+require_once __DIR__.'/include/constantes.php';
5
+require_once __DIR__.'/header.php';
6 6
 
7
-require_once XOOPS_ROOT_PATH . '/class/template.php';
7
+require_once XOOPS_ROOT_PATH.'/class/template.php';
8 8
 $eventHandler = xoops_getModuleHandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE);
9 9
 if (!isset($_GET['cat'])) {
10 10
     $cat = 0;
11 11
 } else {
12
-    $cat = (int)$_GET['cat'];
12
+    $cat = (int) $_GET['cat'];
13 13
 }
14 14
 if (function_exists('mb_http_output')) {
15 15
     mb_http_output('pass');
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     $events = $eventHandler->getUpcommingEvent($xoopsModuleConfig['rss_nb_event'], $cat);
23 23
     if (is_array($events)) {
24 24
         $tpl->assign('channel_title', xoops_utf8_encode(htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES)));
25
-        $tpl->assign('channel_link', XOOPS_URL . '/');
25
+        $tpl->assign('channel_link', XOOPS_URL.'/');
26 26
         $tpl->assign('channel_desc', xoops_utf8_encode(htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES)));
27 27
         $tpl->assign('channel_lastbuild', formatTimestamp(time(), 'rss'));
28 28
         $tpl->assign('channel_webmaster', $xoopsConfig['adminmail']);
@@ -30,14 +30,14 @@  discard block
 block discarded – undo
30 30
         $tpl->assign('channel_category', 'Event');
31 31
         $tpl->assign('channel_generator', 'XOOPS');
32 32
         $tpl->assign('channel_language', _LANGCODE);
33
-        $tpl->assign('image_url', XOOPS_URL . '/modules/extcal/assets/images/extcal_logo.png');
33
+        $tpl->assign('image_url', XOOPS_URL.'/modules/extcal/assets/images/extcal_logo.png');
34 34
         $tpl->assign('image_width', 92);
35 35
         $tpl->assign('image_height', 52);
36 36
         foreach ($events as $event) {
37 37
             $tpl->append('items', [
38 38
                 'title'       => xoops_utf8_encode(htmlspecialchars($event->getVar('event_title'), ENT_QUOTES)),
39
-                'link'        => XOOPS_URL . '/modules/extcal/event.php?event=' . $event->getVar('event_id'),
40
-                'guid'        => XOOPS_URL . '/modules/extcal/event.php?event=' . $event->getVar('event_id'),
39
+                'link'        => XOOPS_URL.'/modules/extcal/event.php?event='.$event->getVar('event_id'),
40
+                'guid'        => XOOPS_URL.'/modules/extcal/event.php?event='.$event->getVar('event_id'),
41 41
                 'pubdate'     => formatTimestamp($event->getVar('event_start'), 'rss'),
42 42
                 'description' => xoops_utf8_encode(htmlspecialchars($event->getVar('event_desc'), ENT_QUOTES)),
43 43
             ]);
Please login to merge, or discard this patch.
class/eventmember.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
 // defined('XOOPS_ROOT_PATH') || exit('Restricted access.');
21 21
 
22
-require_once __DIR__ . '/ExtcalPersistableObjectHandler.php';
22
+require_once __DIR__.'/ExtcalPersistableObjectHandler.php';
23 23
 
24 24
 /**
25 25
  * Class ExtcalEventmember.
@@ -85,12 +85,12 @@  discard block
 block discarded – undo
85 85
         $eventMember   = $this->getObjects(new Criteria('event_id', $eventId));
86 86
         $count         = count($eventMember);
87 87
         if ($count > 0) {
88
-            $in = '(' . $eventMember[0]->getVar('uid');
88
+            $in = '('.$eventMember[0]->getVar('uid');
89 89
             array_shift($eventMember);
90 90
             foreach ($eventMember as $member) {
91
-                $in .= ',' . $member->getVar('uid');
91
+                $in .= ','.$member->getVar('uid');
92 92
             }
93
-            $in       .= ')';
93
+            $in .= ')';
94 94
             $criteria = new Criteria('uid', $in, 'IN');
95 95
         } else {
96 96
             $criteria = new Criteria('uid', '(0)', 'IN');
Please login to merge, or discard this patch.