Completed
Push — master ( 55a138...ee7aee )
by Michael
05:41
created
admin/permissions.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -17,9 +17,9 @@  discard block
 block discarded – undo
17 17
  * @author       XOOPS Development Team,
18 18
  */
19 19
 
20
-require_once __DIR__ . '/../../../include/cp_header.php';
21
-require_once XOOPS_ROOT_PATH . '/class/xoopsform/grouppermform.php';
22
-require_once __DIR__ . '/admin_header.php';
20
+require_once __DIR__.'/../../../include/cp_header.php';
21
+require_once XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php';
22
+require_once __DIR__.'/admin_header.php';
23 23
 
24 24
 $step = 'default';
25 25
 if (isset($_POST['step'])) {
@@ -95,35 +95,35 @@  discard block
 block discarded – undo
95 95
         echo '<fieldset id="defaultBookmark"><legend><a href="#defaultBookmark" style="font-weight:bold; color:#990000;" onClick="toggle(\'default\'); toggleIcon(\'defaultIcon\');"><img id="defaultIcon" src="../assets/images/icons/minus.gif">&nbsp;'
96 96
              . _AM_EXTCAL_PUBLIC_PERM_MASK
97 97
              . '</a></legend><div id="default">';
98
-        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>';
98
+        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
99 99
         echo _AM_EXTCAL_PUBLIC_PERM_MASK_INFO;
100 100
         echo '</fieldset><br>';
101 101
         echo '<table class="outer" style="width:100%;">';
102 102
         echo '<form method="post" action="permissions.php">';
103 103
         echo '<tr>';
104
-        echo '<th colspan="8" style="text-align:center;">' . _AM_EXTCAL_PUBLIC_PERM_MASK . '</th>';
104
+        echo '<th colspan="8" style="text-align:center;">'._AM_EXTCAL_PUBLIC_PERM_MASK.'</th>';
105 105
         echo '</tr>';
106 106
         echo '<tr>';
107
-        echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_GROUP_NAME . '</td>';
108
-        echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_CAN_VIEW . '</td>';
109
-        echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_CAN_SUBMIT . '</td>';
110
-        echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_AUTO_APPROVE . '</td>';
111
-        echo '<td class="head" style="text-align:center;">' . _AM_EXTCAL_CAN_EDIT . '</td>';
107
+        echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_GROUP_NAME.'</td>';
108
+        echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_CAN_VIEW.'</td>';
109
+        echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_CAN_SUBMIT.'</td>';
110
+        echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_AUTO_APPROVE.'</td>';
111
+        echo '<td class="head" style="text-align:center;">'._AM_EXTCAL_CAN_EDIT.'</td>';
112 112
         echo '</tr>';
113 113
         $i = 0;
114 114
         foreach ($glist as $k => $v) {
115 115
             $style = (0 == ++$i % 2) ? 'odd' : 'even';
116 116
             echo '<tr>';
117
-            echo '<td class="' . $style . '">' . $v . '</td>';
118
-            echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][1]" type="checkbox"' . getChecked($viewGroup, $k) . '></td>';
119
-            echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][2]" type="checkbox"' . getChecked($submitGroup, $k) . '></td>';
120
-            echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][4]" type="checkbox"' . getChecked($autoApproveGroup, $k) . '></td>';
121
-            echo '<td class="' . $style . '" style="text-align:center;"><input name="perms[extcal_perm_mask][group][' . $k . '][8]" type="checkbox"' . getChecked($editGroup, $k) . '></td>';
117
+            echo '<td class="'.$style.'">'.$v.'</td>';
118
+            echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][1]" type="checkbox"'.getChecked($viewGroup, $k).'></td>';
119
+            echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][2]" type="checkbox"'.getChecked($submitGroup, $k).'></td>';
120
+            echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][4]" type="checkbox"'.getChecked($autoApproveGroup, $k).'></td>';
121
+            echo '<td class="'.$style.'" style="text-align:center;"><input name="perms[extcal_perm_mask][group]['.$k.'][8]" type="checkbox"'.getChecked($editGroup, $k).'></td>';
122 122
             echo '</tr>';
123 123
         }
124 124
         echo '<input type="hidden" name="type" value="public">';
125 125
         echo '<input type="hidden" name="step" value="enreg">';
126
-        echo '<tr><td colspan="8" style="text-align:center;" class="head"><input type="submit" value="' . _SUBMIT . '"></td></tr></form>';
126
+        echo '<tr><td colspan="8" style="text-align:center;" class="head"><input type="submit" value="'._SUBMIT.'"></td></tr></form>';
127 127
         echo '</table><br>';
128 128
 
129 129
         echo '</div></fieldset><br>';
@@ -158,12 +158,12 @@  discard block
 block discarded – undo
158 158
              . '</a></legend><div id="'
159 159
              . $permName
160 160
              . '">';
161
-        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>';
161
+        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
162 162
         echo $permDesc;
163 163
         echo '</fieldset>';
164 164
 
165 165
         if ($catHandler->getCount()) {
166
-            echo $form->render() . '<br>';
166
+            echo $form->render().'<br>';
167 167
         } else {
168 168
             redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false);
169 169
         }
@@ -196,11 +196,11 @@  discard block
 block discarded – undo
196 196
              . '</a></legend><div id="'
197 197
              . $permName
198 198
              . '">';
199
-        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>';
199
+        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
200 200
         echo $permDesc;
201 201
         echo '</fieldset>';
202 202
         if ($catHandler->getCount()) {
203
-            echo $form->render() . '<br>';
203
+            echo $form->render().'<br>';
204 204
         } else {
205 205
             redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false);
206 206
         }
@@ -233,11 +233,11 @@  discard block
 block discarded – undo
233 233
              . '</a></legend><div id="'
234 234
              . $permName
235 235
              . '">';
236
-        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>';
236
+        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
237 237
         echo $permDesc;
238 238
         echo '</fieldset>';
239 239
         if ($catHandler->getCount()) {
240
-            echo $form->render() . '<br>';
240
+            echo $form->render().'<br>';
241 241
         } else {
242 242
             redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false);
243 243
         }
@@ -270,11 +270,11 @@  discard block
 block discarded – undo
270 270
              . '</a></legend><div id="'
271 271
              . $permName
272 272
              . '">';
273
-        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">' . _AM_EXTCAL_INFORMATION . '</legend>';
273
+        echo '<fieldset><legend style="font-weight:bold; color:#0A3760;">'._AM_EXTCAL_INFORMATION.'</legend>';
274 274
         echo $permDesc;
275 275
         echo '</fieldset>';
276 276
         if ($catHandler->getCount()) {
277
-            echo $form->render() . '<br>';
277
+            echo $form->render().'<br>';
278 278
         } else {
279 279
             redirect_header('cat.php', 2, _AM_EXTCAL_NOPERMSSET, false);
280 280
         }
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
         echo 'toggle(\'extcal_cat_edit\'); toggleIcon (\'extcal_cat_editIcon\');';
292 292
         echo '</script>';
293 293
 
294
-        require_once __DIR__ . '/admin_footer.php';
294
+        require_once __DIR__.'/admin_footer.php';
295 295
 
296 296
         break;
297 297
 
Please login to merge, or discard this patch.
view_search.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@  discard block
 block discarded – undo
2 2
 
3 3
 use XoopsModules\Extcal;
4 4
 
5
-include __DIR__ . '/../../mainfile.php';
6
-require_once __DIR__ . '/include/constantes.php';
7
-$params                                  = [
5
+include __DIR__.'/../../mainfile.php';
6
+require_once __DIR__.'/include/constantes.php';
7
+$params = [
8 8
     'view' => _EXTCAL_NAV_SEARCH,
9 9
     'file' => _EXTCAL_FILE_SEARCH,
10 10
 ];
11 11
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
12
-require_once __DIR__ . '/header.php';
12
+require_once __DIR__.'/header.php';
13 13
 
14 14
 $recurEventsArray = [];
15 15
 //needed to save the state of the form, so we don't show on the first time the list of available events
@@ -21,10 +21,10 @@  discard block
 block discarded – undo
21 21
 /***************************************************************/
22 22
 $searchExp = isset($_POST['searchExp']) ? $_POST['searchExp'] : '';
23 23
 $andor     = isset($_POST['andor']) ? $_POST['andor'] : '';
24
-$year      = isset($_POST['year']) ? (int)$_POST['year'] : date('Y');
25
-$month     = isset($_POST['month']) ? (int)$_POST['month'] : date('n');
26
-$day       = isset($_POST['day']) ? (int)$_POST['day'] : 0;
27
-$cat       = isset($_POST['cat']) ? (int)$_POST['cat'] : 0;
24
+$year      = isset($_POST['year']) ? (int) $_POST['year'] : date('Y');
25
+$month     = isset($_POST['month']) ? (int) $_POST['month'] : date('n');
26
+$day       = isset($_POST['day']) ? (int) $_POST['day'] : 0;
27
+$cat       = isset($_POST['cat']) ? (int) $_POST['cat'] : 0;
28 28
 $orderby1  = isset($_POST['orderby1']) ? $_POST['orderby1'] : 'cat_name ASC';
29 29
 $orderby2  = isset($_POST['orderby2']) ? $_POST['orderby2'] : 'event_title ASC';
30 30
 $orderby3  = isset($_POST['orderby3']) ? $_POST['orderby3'] : '';
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     }
147 147
 }
148 148
 
149
-$eventsArray = array_merge((array)$eventsArray, (array)$recurEventsArray);
149
+$eventsArray = array_merge((array) $eventsArray, (array) $recurEventsArray);
150 150
 
151 151
 // Sort event array by event start
152 152
 //usort($eventsArray, "orderEvents");
@@ -237,4 +237,4 @@  discard block
 block discarded – undo
237 237
 $xoopsTpl->assign('lang', $lang);
238 238
 $xoopsTpl->assign('view', 'search');
239 239
 
240
-include XOOPS_ROOT_PATH . '/footer.php';
240
+include XOOPS_ROOT_PATH.'/footer.php';
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
@@ -19,17 +19,17 @@  discard block
 block discarded – undo
19 19
  * @author       XOOPS Development Team,
20 20
  */
21 21
 
22
-include __DIR__ . '/../../mainfile.php';
23
-require_once __DIR__ . '/include/constantes.php';
22
+include __DIR__.'/../../mainfile.php';
23
+require_once __DIR__.'/include/constantes.php';
24 24
 $params                                  = ['view' => _EXTCAL_NAV_DAY, 'file' => _EXTCAL_FILE_DAY];
25 25
 $GLOBALS['xoopsOption']['template_main'] = "extcal_view_{$params['view']}.tpl";
26
-require_once __DIR__ . '/header.php';
26
+require_once __DIR__.'/header.php';
27 27
 
28 28
 /* ========================================================================== */
29
-$year  = isset($_GET['year']) ? (int)$_GET['year'] : date('Y');
30
-$month = isset($_GET['month']) ? (int)$_GET['month'] : date('n');
31
-$day   = isset($_GET['day']) ? (int)$_GET['day'] : date('j');
32
-$cat   = isset($_GET['cat']) ? (int)$_GET['cat'] : 0;
29
+$year  = isset($_GET['year']) ? (int) $_GET['year'] : date('Y');
30
+$month = isset($_GET['month']) ? (int) $_GET['month'] : date('n');
31
+$day   = isset($_GET['day']) ? (int) $_GET['day'] : date('j');
32
+$cat   = isset($_GET['cat']) ? (int) $_GET['cat'] : 0;
33 33
 /* ========================================================================== */
34 34
 
35 35
 $form = new \XoopsSimpleForm('', 'navigSelectBox', $params['file'], 'get');
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     'cat'          => $cat,
54 54
     'externalKeys' => 'cat_id',
55 55
 ];
56
-$events   = $eventHandler->getEventsOnPeriode($criteres);
56
+$events = $eventHandler->getEventsOnPeriode($criteres);
57 57
 /**********************************************************************/
58 58
 $eventsArray = $events;
59 59
 
@@ -99,21 +99,21 @@  discard block
 block discarded – undo
99 99
 
100 100
 $navig = [
101 101
     'prev' => [
102
-        'uri'  => 'year=' . $pDayCalObj->thisYear() . '&amp;month=' . $pDayCalObj->thisMonth() . '&amp;day=' . $pDayCalObj->thisDay(),
102
+        'uri'  => 'year='.$pDayCalObj->thisYear().'&amp;month='.$pDayCalObj->thisMonth().'&amp;day='.$pDayCalObj->thisDay(),
103 103
         'name' => $timeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $pDayCalObj->getTimestamp()),
104 104
     ],
105 105
     'this' => [
106
-        'uri'  => 'year=' . $dayCalObj->thisYear() . '&amp;month=' . $dayCalObj->thisMonth() . '&amp;day=' . $dayCalObj->thisDay(),
106
+        'uri'  => 'year='.$dayCalObj->thisYear().'&amp;month='.$dayCalObj->thisMonth().'&amp;day='.$dayCalObj->thisDay(),
107 107
         'name' => $timeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $dayCalObj->getTimestamp()),
108 108
     ],
109 109
     'next' => [
110
-        'uri'  => 'year=' . $nDayCalObj->thisYear() . '&amp;month=' . $nDayCalObj->thisMonth() . '&amp;day=' . $nDayCalObj->thisDay(),
110
+        'uri'  => 'year='.$nDayCalObj->thisYear().'&amp;month='.$nDayCalObj->thisMonth().'&amp;day='.$nDayCalObj->thisDay(),
111 111
         'name' => $timeHandler->getFormatedDate($xoopsModuleConfig['nav_date_day'], $nDayCalObj->getTimestamp()),
112 112
     ],
113 113
 ];
114 114
 
115 115
 // Title of the page
116
-$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name') . ' ' . $navig['this']['name']);
116
+$xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name').' '.$navig['this']['name']);
117 117
 
118 118
 // Assigning navig data to the template
119 119
 $xoopsTpl->assign('navig', $navig);
@@ -172,4 +172,4 @@  discard block
 block discarded – undo
172 172
 $xoopsTpl->assign('lang', $lang);
173 173
 $xoopsTpl->assign('view', 'day');
174 174
 
175
-include XOOPS_ROOT_PATH . '/footer.php';
175
+include XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
include/mail_fnc.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@  discard block
 block discarded – undo
22 22
 
23 23
 use XoopsModules\Extcal;
24 24
 
25
-require_once __DIR__ . '/../../../class/uploader.php';
26
-require_once __DIR__ . '/../../../class/mail/phpmailer/class.phpmailer.php'; // First we require the PHPMailer libary in our script
25
+require_once __DIR__.'/../../../class/uploader.php';
26
+require_once __DIR__.'/../../../class/mail/phpmailer/class.phpmailer.php'; // First we require the PHPMailer libary in our script
27 27
 //require_once __DIR__ . '/../class/Utility.php';
28
-require_once __DIR__ . '/constantes.php';
29
-require_once __DIR__ . '/../../../class/template.php';
28
+require_once __DIR__.'/constantes.php';
29
+require_once __DIR__.'/../../../class/template.php';
30 30
 
31 31
 /********************************************************************
32 32
  *
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     $action  = ''; //a voir   JJD
141 141
     $message = sprintf($tplMessage, $acteur['name']);
142 142
     //$subject .= ' (' . rand(1, 100) . ')';
143
-    $subject .= ' - ' . $acteur['name'];
143
+    $subject .= ' - '.$acteur['name'];
144 144
     //--------------------------------------------------------------
145 145
     //Chargement du template dans le dossier de langue
146 146
     //$f = _EXTCAL_PATH_LG . $xoopsConfig['language'] . '\mail_inscription.html';
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     if (_EXTCAL_HEADER_HTML == $mode) {
183 183
         $template = 'extcal_mail_member_html.tpl';
184 184
     }
185
-    $mail_body = $tpl->fetch('db:' . $template);
185
+    $mail_body = $tpl->fetch('db:'.$template);
186 186
 
187 187
     extcal_SendMail($destinataires, $mail_fromName, $mail_fromemail, $mail_subject, $mail_body, $bEcho = false, $mode = 0, $sep = '|');
188 188
 
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
     $header   = [];
316 316
     $header[] = "From: {$emailSender}";
317 317
     $header[] = "Reply-To: {$emailSender}";
318
-    $header[] = 'X-Mailer: PHP/' . PHP_VERSION;
318
+    $header[] = 'X-Mailer: PHP/'.PHP_VERSION;
319 319
 
320 320
     if (_EXTCAL_HEADER_HTML == $mode) {
321 321
         $header[] = 'MIME-Version: 1.0';
Please login to merge, or discard this patch.
include/functions0.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
 use XoopsModules\Extcal;
20 20
 
21
-require_once XOOPS_ROOT_PATH . '/class/uploader.php';
21
+require_once XOOPS_ROOT_PATH.'/class/uploader.php';
22 22
 
23 23
 /**
24 24
  * @param $eventId
@@ -47,12 +47,12 @@  discard block
 block discarded – undo
47 47
 function extcal_loadImg(&$REQUEST, &$event_picture1, &$event_picture2)
48 48
 {
49 49
     ///////////////////////////////////////////////////////////////////////////////
50
-    $uploaddir_event = XOOPS_ROOT_PATH . '/uploads/extcal/';
51
-    $uploadurl_event = XOOPS_URL . '/uploads/extcal/';
50
+    $uploaddir_event = XOOPS_ROOT_PATH.'/uploads/extcal/';
51
+    $uploadurl_event = XOOPS_URL.'/uploads/extcal/';
52 52
     //$picture = '';
53 53
     for ($j = 1; $j < 3; ++$j) {
54
-        $delimg = @$REQUEST['delimg_' . $j . ''];
55
-        $delimg = isset($delimg) ? (int)$delimg : 0;
54
+        $delimg = @$REQUEST['delimg_'.$j.''];
55
+        $delimg = isset($delimg) ? (int) $delimg : 0;
56 56
         if (0 == $delimg && !empty($REQUEST['xoops_upload_file'][$j])) {
57 57
             $upload = new \XoopsMediaUploader($uploaddir_event, [
58 58
                 'image/gif',
@@ -75,15 +75,15 @@  discard block
 block discarded – undo
75 75
                         $event_picture2 = $upload->getSavedFileName();
76 76
                     }
77 77
                 }
78
-            } elseif (!empty($REQUEST['file' . $j])) {
78
+            } elseif (!empty($REQUEST['file'.$j])) {
79 79
                 if (1 == $j) {
80
-                    $event_picture1 = $REQUEST['file' . $j];
80
+                    $event_picture1 = $REQUEST['file'.$j];
81 81
                 } elseif (2 == $j) {
82
-                    $event_picture2 = $REQUEST['file' . $j];
82
+                    $event_picture2 = $REQUEST['file'.$j];
83 83
                 }
84 84
             }
85 85
         } else {
86
-            $url_event = XOOPS_ROOT_PATH . '/uploads/extcal/' . $REQUEST['file' . $j];
86
+            $url_event = XOOPS_ROOT_PATH.'/uploads/extcal/'.$REQUEST['file'.$j];
87 87
             if (1 == $j) {
88 88
                 $event_picture1 = '';
89 89
             } elseif (2 == $j) {
@@ -179,17 +179,17 @@  discard block
 block discarded – undo
179 179
         $select->addOption('', '');
180 180
     }
181 181
 
182
-    $select->addOption('year ASC', _MD_EXTCAL_YEAR . ' ' . _MD_EXTCAL_ORDER_BY_ASC);
183
-    $select->addOption('year DESC', _MD_EXTCAL_YEAR . ' ' . _MD_EXTCAL_ORDER_BY_DESC);
182
+    $select->addOption('year ASC', _MD_EXTCAL_YEAR.' '._MD_EXTCAL_ORDER_BY_ASC);
183
+    $select->addOption('year DESC', _MD_EXTCAL_YEAR.' '._MD_EXTCAL_ORDER_BY_DESC);
184 184
 
185
-    $select->addOption('month ASC', _MD_EXTCAL_MONTH . ' ' . _MD_EXTCAL_ORDER_BY_ASC);
186
-    $select->addOption('month DESC', _MD_EXTCAL_MONTH . ' ' . _MD_EXTCAL_ORDER_BY_DESC);
185
+    $select->addOption('month ASC', _MD_EXTCAL_MONTH.' '._MD_EXTCAL_ORDER_BY_ASC);
186
+    $select->addOption('month DESC', _MD_EXTCAL_MONTH.' '._MD_EXTCAL_ORDER_BY_DESC);
187 187
 
188
-    $select->addOption('event_title ASC', _MD_EXTCAL_ALPHA . ' ' . _MD_EXTCAL_ORDER_BY_ASC);
189
-    $select->addOption('event_title DESC', _MD_EXTCAL_ALPHA . ' ' . _MD_EXTCAL_ORDER_BY_DESC);
188
+    $select->addOption('event_title ASC', _MD_EXTCAL_ALPHA.' '._MD_EXTCAL_ORDER_BY_ASC);
189
+    $select->addOption('event_title DESC', _MD_EXTCAL_ALPHA.' '._MD_EXTCAL_ORDER_BY_DESC);
190 190
 
191
-    $select->addOption('cat_name ASC', _MD_EXTCAL_CATEGORY . ' ' . _MD_EXTCAL_ORDER_BY_ASC);
192
-    $select->addOption('cat_name DESC', _MD_EXTCAL_CATEGORY . ' ' . _MD_EXTCAL_ORDER_BY_DESC);
191
+    $select->addOption('cat_name ASC', _MD_EXTCAL_CATEGORY.' '._MD_EXTCAL_ORDER_BY_ASC);
192
+    $select->addOption('cat_name DESC', _MD_EXTCAL_CATEGORY.' '._MD_EXTCAL_ORDER_BY_DESC);
193 193
 
194 194
     return $select;
195 195
 }
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 function echoDateArray($period)
304 304
 {
305 305
     foreach ($period as $dt) {
306
-        echo $dt->format("l Y-m-d H:i:s\n") . '<br>';
306
+        echo $dt->format("l Y-m-d H:i:s\n").'<br>';
307 307
     }
308 308
 }
309 309
 
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
     }
320 320
 
321 321
     $txt = print_r($t, true);
322
-    echo '<pre>Number of items: ' . count($t) . "<br>{$txt}</pre>";
322
+    echo '<pre>Number of items: '.count($t)."<br>{$txt}</pre>";
323 323
 }
324 324
 
325 325
 /*****************************************************************/
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
     if ('' != $msg) {
333 333
         echo "<hr>{$msg}<hr>";
334 334
     }
335
-    echo $line . '<br>';
335
+    echo $line.'<br>';
336 336
 }
337 337
 
338 338
 /*****************************************************************/
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
         echo "<hr>{$msg}<hr>";
360 360
     }
361 361
 
362
-    echo 'date --->' . $tsName . ' = ' . $ts . ' - ' . date('d-m-Y H:m:s', $ts) . '<br>';
362
+    echo 'date --->'.$tsName.' = '.$ts.' - '.date('d-m-Y H:m:s', $ts).'<br>';
363 363
 }
364 364
 
365 365
 /*****************************************************************/
Please login to merge, or discard this patch.
include/onupdate.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
 if ((!defined('XOOPS_ROOT_PATH')) || !($GLOBALS['xoopsUser'] instanceof XoopsUser)
24 24
     || !$GLOBALS['xoopsUser']->IsAdmin()) {
25
-    exit('Restricted access' . PHP_EOL);
25
+    exit('Restricted access'.PHP_EOL);
26 26
 }
27 27
 
28 28
 /**
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         return true;
76 76
     }
77 77
 
78
-    $fld = XOOPS_ROOT_PATH . '/modules/' . $module->getVar('dirname') . '/versions/';
78
+    $fld = XOOPS_ROOT_PATH.'/modules/'.$module->getVar('dirname').'/versions/';
79 79
     $cls = 'Extcal_%1$s';
80 80
 
81 81
     $version = [
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     foreach ($version as $key => $val) {
95 95
         if ($previousVersion < $val) {
96 96
             $name = sprintf($cls, $key);
97
-            $f    = $fld . $name . '.php';
97
+            $f    = $fld.$name.'.php';
98 98
             //ext_echo ("<hr>{$f}<hr>");
99 99
             if (is_readable($f)) {
100 100
                 echo "mise à jour version : {$key} = {$val}<br>";
@@ -118,14 +118,14 @@  discard block
 block discarded – undo
118 118
         //delete old HTML templates
119 119
         if (count($configurator['templateFolders']) > 0) {
120 120
             foreach ($configurator['templateFolders'] as $folder) {
121
-                $templateFolder = $GLOBALS['xoops']->path('modules/' . $moduleDirName . $folder);
121
+                $templateFolder = $GLOBALS['xoops']->path('modules/'.$moduleDirName.$folder);
122 122
                 if (is_dir($templateFolder)) {
123 123
                     $templateList = array_diff(scandir($templateFolder, SCANDIR_SORT_NONE), ['..', '.']);
124 124
                     foreach ($templateList as $k => $v) {
125
-                        $fileInfo = new SplFileInfo($templateFolder . $v);
125
+                        $fileInfo = new SplFileInfo($templateFolder.$v);
126 126
                         if ('html' === $fileInfo->getExtension() && 'index.html' !== $fileInfo->getFilename()) {
127
-                            if (file_exists($templateFolder . $v)) {
128
-                                unlink($templateFolder . $v);
127
+                            if (file_exists($templateFolder.$v)) {
128
+                                unlink($templateFolder.$v);
129 129
                             }
130 130
                         }
131 131
                     }
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
 
136 136
         //  ---  COPY blank.png FILES ---------------
137 137
         if (count($configurator['copyFiles']) > 0) {
138
-            $file = __DIR__ . '/../assets/images/blank.png';
138
+            $file = __DIR__.'/../assets/images/blank.png';
139 139
             foreach (array_keys($configurator['copyFiles']) as $i) {
140
-                $dest = $configurator['copyFiles'][$i] . '/blank.png';
140
+                $dest = $configurator['copyFiles'][$i].'/blank.png';
141 141
                 $utilityClass::copyFile($file, $dest);
142 142
             }
143 143
         }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         if (count($configurator['oldFiles']) > 0) {
147 147
             //    foreach (array_keys($GLOBALS['uploadFolders']) as $i) {
148 148
             foreach (array_keys($configurator['oldFiles']) as $i) {
149
-                $tempFile = $GLOBALS['xoops']->path('modules/' . $moduleDirName . $configurator['oldFiles'][$i]);
149
+                $tempFile = $GLOBALS['xoops']->path('modules/'.$moduleDirName.$configurator['oldFiles'][$i]);
150 150
                 if (is_file($tempFile)) {
151 151
                     unlink($tempFile);
152 152
                 }
@@ -156,14 +156,14 @@  discard block
 block discarded – undo
156 156
         //---------------------
157 157
 
158 158
         //delete .html entries from the tpl table
159
-        $sql = 'DELETE FROM ' . $xoopsDB->prefix('tplfile') . " WHERE `tpl_module` = '" . $module->getVar('dirname', 'n') . "' AND `tpl_file` LIKE '%.html%'";
159
+        $sql = 'DELETE FROM '.$xoopsDB->prefix('tplfile')." WHERE `tpl_module` = '".$module->getVar('dirname', 'n')."' AND `tpl_file` LIKE '%.html%'";
160 160
         $xoopsDB->queryF($sql);
161 161
 
162 162
         // Load class XoopsFile ====================
163 163
         xoops_load('XoopsFile');
164 164
 
165 165
         //delete /images directory ============
166
-        $imagesDirectory = $GLOBALS['xoops']->path('modules/' . $module->getVar('dirname', 'n') . '/images/');
166
+        $imagesDirectory = $GLOBALS['xoops']->path('modules/'.$module->getVar('dirname', 'n').'/images/');
167 167
         $folderHandler   = \XoopsFile::getHandler('folder', $imagesDirectory);
168 168
         $folderHandler->delete($imagesDirectory);
169 169
     }
Please login to merge, or discard this patch.
include/agenda_fnc.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 define('_EXTCAL_FORMAT_AGENDA_KEYD', 'Y-m-d');
22 22
 define('_EXTCAL_FORMAT_AGENDA_KEYT', 'H:i');
23 23
 
24
-require_once __DIR__ . '/constantes.php';
24
+require_once __DIR__.'/constantes.php';
25 25
 //require_once __DIR__ . '/../class/Utility.php';
26 26
 
27 27
 $moduleDirName = basename(dirname(__DIR__));
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $tj[$kj]['dayWeek'] = date('w', $tsj);
75 75
         $tj[$kj]['jour']    = $jName[$tj[$kj]['dayWeek']]; //date('l', $tsj);
76 76
         if (0 == $tj[$kj]['dayWeek']) {
77
-            $tj[$kj]['bg'] = "background='" . XOOPS_URL . "/modules/extcal/assets/images/trame.png'";
77
+            $tj[$kj]['bg'] = "background='".XOOPS_URL."/modules/extcal/assets/images/trame.png'";
78 78
         } else {
79 79
             $tj[$kj]['bg'] = '';
80 80
         }
@@ -154,16 +154,16 @@  discard block
 block discarded – undo
154 154
         $kd     = date(_EXTCAL_FORMAT_AGENDA_KEYD, $ts);
155 155
         $hour   = date('H', $ts);
156 156
         $minute = date('i', $ts);
157
-        $m      = (int)($minute / $mPlage) * $mPlage;
157
+        $m      = (int) ($minute / $mPlage) * $mPlage;
158 158
         //      echo "--->{$minute} / {$mPlage} = {$m}<br>";
159
-        $sMinute = (($m < 10) ? '0' . $m : $m);
159
+        $sMinute = (($m < 10) ? '0'.$m : $m);
160 160
         //$kt = date(_EXTCAL_FORMAT_AGENDA_KEYT, $ts);
161 161
         if ($hour < $hStart) {
162 162
             $kt = $tk0;
163 163
         } elseif ($hour >= ($hEnd + 1)) {
164 164
             $kt = $tk1;
165 165
         } else {
166
-            $kt = $hour . ':' . $sMinute;
166
+            $kt = $hour.':'.$sMinute;
167 167
         }
168 168
 
169 169
         $tAgenda[$kt]['jours'][$kd]['events'][] = $e;
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
             return false;
313 313
     }
314 314
 
315
-    $file   = XOOPS_ROOT_PATH . '/language/' . $xoopsConfig['language'] . '/' . $f;
315
+    $file   = XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/'.$f;
316 316
     $prefix = (defined($name) ? '_MI' : '_MD');
317 317
     require_once $file;
318 318
 }
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
     //    while (list($k, $v) = each($tNavBar)) {
453 453
     foreach ($tNavBar as $k => $v) {
454 454
         if (isset($tWeight[$k])) {
455
-            $ordre[] = (int)$tWeight[$k]; //ordre defini dans les option du module
455
+            $ordre[] = (int) $tWeight[$k]; //ordre defini dans les option du module
456 456
         } else {
457 457
             $ordre[] = $v['weight']; // ordre par defaut ddefini dans le tableau $tNavBar
458 458
         }
Please login to merge, or discard this patch.
include/common.php 1 patch
Spacing   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
 use XoopsModules\Extcal;
21 21
 
22
-include __DIR__ . '/../preloads/autoloader.php';
22
+include __DIR__.'/../preloads/autoloader.php';
23 23
 
24 24
 $moduleDirName      = basename(dirname(__DIR__));
25 25
 $moduleDirNameUpper = strtoupper($moduleDirName);
@@ -39,23 +39,23 @@  discard block
 block discarded – undo
39 39
 ///** @var \XoopsPersistableObjectHandler $extcal_brokenHandler */
40 40
 //$extcal_brokenHandler  = new Extcal\Extcal_brokenHandler($db);
41 41
 
42
-if (!defined($moduleDirNameUpper . '_CONSTANTS_DEFINED')) {
43
-    define($moduleDirNameUpper . '_DIRNAME', basename(dirname(__DIR__)));
44
-    define($moduleDirNameUpper . '_ROOT_PATH', XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/');
45
-    define($moduleDirNameUpper . '_PATH', XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/');
46
-    define($moduleDirNameUpper . '_URL', XOOPS_URL . '/modules/' . $moduleDirName . '/');
47
-    define($moduleDirNameUpper . '_IMAGES_URL', constant($moduleDirNameUpper . '_URL') . '/assets/images/');
48
-    define($moduleDirNameUpper . '_IMAGES_PATH', constant($moduleDirNameUpper . '_ROOT_PATH') . '/assets/images/');
49
-    define($moduleDirNameUpper . '_ADMIN_URL', constant($moduleDirNameUpper . '_URL') . '/admin/');
50
-    define($moduleDirNameUpper . '_ADMIN_PATH', constant($moduleDirNameUpper . '_ROOT_PATH') . '/admin/');
51
-    define($moduleDirNameUpper . '_ADMIN', constant($moduleDirNameUpper . '_URL') . '/admin/index.php');
52
-    define($moduleDirNameUpper . '_AUTHOR_LOGOIMG', constant($moduleDirNameUpper . '_URL') . '/assets/images/logoModule.png');
53
-    define($moduleDirNameUpper . '_UPLOAD_URL', XOOPS_UPLOAD_URL . '/' . $moduleDirName); // WITHOUT Trailing slash
54
-    define($moduleDirNameUpper . '_UPLOAD_PATH', XOOPS_UPLOAD_PATH . '/' . $moduleDirName); // WITHOUT Trailing slash
55
-    define($moduleDirNameUpper . '_CAT_IMAGES_URL', XOOPS_UPLOAD_URL . ' / ' . constant($moduleDirNameUpper . '_DIRNAME') . '/images/category');
56
-    define($moduleDirNameUpper . '_CAT_IMAGES_PATH', XOOPS_UPLOAD_PATH . '/' . constant($moduleDirNameUpper . '_DIRNAME') . ' / images / category');
57
-    define($moduleDirNameUpper . '_CACHE_PATH', XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/');
58
-    define($moduleDirNameUpper . '_CONSTANTS_DEFINED', 1);
42
+if (!defined($moduleDirNameUpper.'_CONSTANTS_DEFINED')) {
43
+    define($moduleDirNameUpper.'_DIRNAME', basename(dirname(__DIR__)));
44
+    define($moduleDirNameUpper.'_ROOT_PATH', XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/');
45
+    define($moduleDirNameUpper.'_PATH', XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/');
46
+    define($moduleDirNameUpper.'_URL', XOOPS_URL.'/modules/'.$moduleDirName.'/');
47
+    define($moduleDirNameUpper.'_IMAGES_URL', constant($moduleDirNameUpper.'_URL').'/assets/images/');
48
+    define($moduleDirNameUpper.'_IMAGES_PATH', constant($moduleDirNameUpper.'_ROOT_PATH').'/assets/images/');
49
+    define($moduleDirNameUpper.'_ADMIN_URL', constant($moduleDirNameUpper.'_URL').'/admin/');
50
+    define($moduleDirNameUpper.'_ADMIN_PATH', constant($moduleDirNameUpper.'_ROOT_PATH').'/admin/');
51
+    define($moduleDirNameUpper.'_ADMIN', constant($moduleDirNameUpper.'_URL').'/admin/index.php');
52
+    define($moduleDirNameUpper.'_AUTHOR_LOGOIMG', constant($moduleDirNameUpper.'_URL').'/assets/images/logoModule.png');
53
+    define($moduleDirNameUpper.'_UPLOAD_URL', XOOPS_UPLOAD_URL.'/'.$moduleDirName); // WITHOUT Trailing slash
54
+    define($moduleDirNameUpper.'_UPLOAD_PATH', XOOPS_UPLOAD_PATH.'/'.$moduleDirName); // WITHOUT Trailing slash
55
+    define($moduleDirNameUpper.'_CAT_IMAGES_URL', XOOPS_UPLOAD_URL.' / '.constant($moduleDirNameUpper.'_DIRNAME').'/images/category');
56
+    define($moduleDirNameUpper.'_CAT_IMAGES_PATH', XOOPS_UPLOAD_PATH.'/'.constant($moduleDirNameUpper.'_DIRNAME').' / images / category');
57
+    define($moduleDirNameUpper.'_CACHE_PATH', XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/');
58
+    define($moduleDirNameUpper.'_CONSTANTS_DEFINED', 1);
59 59
 }
60 60
 
61 61
 $pathIcon16 = Xmf\Module\Admin::iconUrl('', 16);
@@ -64,15 +64,15 @@  discard block
 block discarded – undo
64 64
 //$pathModIcon32 = $helper->getModule()->getInfo('modicons32');
65 65
 
66 66
 $icons = [
67
-    'edit'    => "<img src='" . $pathIcon16 . "/edit.png'  alt=" . _EDIT . "' align='middle'>",
68
-    'delete'  => "<img src='" . $pathIcon16 . "/delete.png' alt='" . _DELETE . "' align='middle'>",
69
-    'clone'   => "<img src='" . $pathIcon16 . "/editcopy.png' alt='" . _CLONE . "' align='middle'>",
70
-    'preview' => "<img src='" . $pathIcon16 . "/view.png' alt='" . _PREVIEW . "' align='middle'>",
71
-    'print'   => "<img src='" . $pathIcon16 . "/printer.png' alt='" . _CLONE . "' align='middle'>",
72
-    'pdf'     => "<img src='" . $pathIcon16 . "/pdf.png' alt='" . _CLONE . "' align='middle'>",
73
-    'add'     => "<img src='" . $pathIcon16 . "/add.png' alt='" . _ADD . "' align='middle'>",
74
-    '0'       => "<img src='" . $pathIcon16 . "/0.png' alt='" . 0 . "' align='middle'>",
75
-    '1'       => "<img src='" . $pathIcon16 . "/1.png' alt='" . 1 . "' align='middle'>",
67
+    'edit'    => "<img src='".$pathIcon16."/edit.png'  alt="._EDIT."' align='middle'>",
68
+    'delete'  => "<img src='".$pathIcon16."/delete.png' alt='"._DELETE."' align='middle'>",
69
+    'clone'   => "<img src='".$pathIcon16."/editcopy.png' alt='"._CLONE."' align='middle'>",
70
+    'preview' => "<img src='".$pathIcon16."/view.png' alt='"._PREVIEW."' align='middle'>",
71
+    'print'   => "<img src='".$pathIcon16."/printer.png' alt='"._CLONE."' align='middle'>",
72
+    'pdf'     => "<img src='".$pathIcon16."/pdf.png' alt='"._CLONE."' align='middle'>",
73
+    'add'     => "<img src='".$pathIcon16."/add.png' alt='"._ADD."' align='middle'>",
74
+    '0'       => "<img src='".$pathIcon16."/0.png' alt='".0."' align='middle'>",
75
+    '1'       => "<img src='".$pathIcon16."/1.png' alt='".1."' align='middle'>",
76 76
 ];
77 77
 
78 78
 $debug = false;
@@ -85,12 +85,12 @@  discard block
 block discarded – undo
85 85
     $GLOBALS['xoopsTpl'] = new \XoopsTpl();
86 86
 }
87 87
 
88
-$GLOBALS['xoopsTpl']->assign('mod_url', XOOPS_URL . '/modules/' . $moduleDirName);
88
+$GLOBALS['xoopsTpl']->assign('mod_url', XOOPS_URL.'/modules/'.$moduleDirName);
89 89
 // Local icons path
90 90
 if (is_object($helper->getModule())) {
91 91
     $pathModIcon16 = $helper->getModule()->getInfo('modicons16');
92 92
     $pathModIcon32 = $helper->getModule()->getInfo('modicons32');
93 93
 
94
-    $GLOBALS['xoopsTpl']->assign('pathModIcon16', XOOPS_URL . '/modules/' . $moduleDirName . '/' . $pathModIcon16);
94
+    $GLOBALS['xoopsTpl']->assign('pathModIcon16', XOOPS_URL.'/modules/'.$moduleDirName.'/'.$pathModIcon16);
95 95
     $GLOBALS['xoopsTpl']->assign('pathModIcon32', $pathModIcon32);
96 96
 }
Please login to merge, or discard this patch.
include/config.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -21,34 +21,34 @@  discard block
 block discarded – undo
21 21
 $moduleDirNameUpper = strtoupper($moduleDirName);
22 22
 
23 23
 //Configurator
24
-return (object)[
25
-    'name'           => strtoupper($moduleDirName) . ' Module Configurator',
24
+return (object) [
25
+    'name'           => strtoupper($moduleDirName).' Module Configurator',
26 26
     'paths'          => [
27 27
         'dirname'    => $moduleDirName,
28
-        'admin'      => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/admin',
29
-        'modPath'    => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName,
30
-        'modUrl'     => XOOPS_URL . '/modules/' . $moduleDirName,
31
-        'uploadPath' => XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
32
-        'uploadUrl'  => XOOPS_UPLOAD_URL . '/' . $moduleDirName,
28
+        'admin'      => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/admin',
29
+        'modPath'    => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName,
30
+        'modUrl'     => XOOPS_URL.'/modules/'.$moduleDirName,
31
+        'uploadPath' => XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
32
+        'uploadUrl'  => XOOPS_UPLOAD_URL.'/'.$moduleDirName,
33 33
     ],
34 34
     'uploadFolders'  => [
35
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
36
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/images',
37
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/images/thumbnails'
35
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
36
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/images',
37
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/images/thumbnails'
38 38
     ],
39 39
     'copyBlankFiles' => [
40
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/images',
41
-        XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/images/thumbnails'
40
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/images',
41
+        XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/images/thumbnails'
42 42
     ],
43 43
 
44 44
     'copyTestFolders' => [
45 45
         [
46
-            XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/testdata/images',
47
-            XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/images',
46
+            XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/testdata/images',
47
+            XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/images',
48 48
         ],
49 49
         [
50
-            XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/testdata/thumbs',
51
-            XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/thumbs',
50
+            XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/testdata/thumbs',
51
+            XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/thumbs',
52 52
         ]
53 53
     ],
54 54
 
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
         '/images',
71 71
     ],
72 72
     'modCopyright'    => "<a href='https://xoops.org' title='XOOPS Project' target='_blank'>
73
-                     <img src='" . XOOPS_URL . '/modules/' . $moduleDirName . '_AUTHOR_LOGOIMG' . '\' alt=\'XOOPS Project\' /></a>',
73
+                     <img src='" . XOOPS_URL.'/modules/'.$moduleDirName.'_AUTHOR_LOGOIMG'.'\' alt=\'XOOPS Project\' /></a>',
74 74
 
75 75
 ];
Please login to merge, or discard this patch.