Completed
Branch master (55a138)
by Michael
03:21
created
language/english/main.php 1 patch
Spacing   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -1,35 +1,35 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once XOOPS_ROOT_PATH . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/calendar.php';
3
+require_once XOOPS_ROOT_PATH.'/language/'.$GLOBALS['xoopsConfig']['language'].'/calendar.php';
4 4
 define('_MD_CLEAR_CRITERIA', 'clear criteria');
5
-define('_MD_EXTCAL_1_FR', '1st ' . _CAL_FRIDAY);
6
-define('_MD_EXTCAL_1_MO', '1st ' . _CAL_MONDAY);
7
-define('_MD_EXTCAL_1_SA', '1st ' . _CAL_SATURDAY);
8
-define('_MD_EXTCAL_1_SU', '1st ' . _CAL_SUNDAY);
9
-define('_MD_EXTCAL_1_TH', '1st ' . _CAL_THURSDAY);
10
-define('_MD_EXTCAL_1_TU', '1st ' . _CAL_TUESDAY);
11
-define('_MD_EXTCAL_1_WE', '1st ' . _CAL_WEDNESDAY);
12
-define('_MD_EXTCAL_2_FR', '2nd ' . _CAL_FRIDAY);
13
-define('_MD_EXTCAL_2_MO', '2nd ' . _CAL_MONDAY);
14
-define('_MD_EXTCAL_2_SA', '2nd ' . _CAL_SATURDAY);
15
-define('_MD_EXTCAL_2_SU', '2nd ' . _CAL_SUNDAY);
16
-define('_MD_EXTCAL_2_TH', '2nd ' . _CAL_THURSDAY);
17
-define('_MD_EXTCAL_2_TU', '2nd ' . _CAL_TUESDAY);
18
-define('_MD_EXTCAL_2_WE', '2nd ' . _CAL_WEDNESDAY);
19
-define('_MD_EXTCAL_3_FR', '3rd ' . _CAL_FRIDAY);
20
-define('_MD_EXTCAL_3_MO', '3rd ' . _CAL_MONDAY);
21
-define('_MD_EXTCAL_3_SA', '3rd ' . _CAL_SATURDAY);
22
-define('_MD_EXTCAL_3_SU', '3rd ' . _CAL_SUNDAY);
23
-define('_MD_EXTCAL_3_TH', '3rd ' . _CAL_THURSDAY);
24
-define('_MD_EXTCAL_3_TU', '3rd ' . _CAL_TUESDAY);
25
-define('_MD_EXTCAL_3_WE', '3rd ' . _CAL_WEDNESDAY);
26
-define('_MD_EXTCAL_4_FR', '4th ' . _CAL_FRIDAY);
27
-define('_MD_EXTCAL_4_MO', '4th ' . _CAL_MONDAY);
28
-define('_MD_EXTCAL_4_SA', '4th ' . _CAL_SATURDAY);
29
-define('_MD_EXTCAL_4_SU', '4th ' . _CAL_SUNDAY);
30
-define('_MD_EXTCAL_4_TH', '4th ' . _CAL_THURSDAY);
31
-define('_MD_EXTCAL_4_TU', '4th ' . _CAL_TUESDAY);
32
-define('_MD_EXTCAL_4_WE', '4th ' . _CAL_WEDNESDAY);
5
+define('_MD_EXTCAL_1_FR', '1st '._CAL_FRIDAY);
6
+define('_MD_EXTCAL_1_MO', '1st '._CAL_MONDAY);
7
+define('_MD_EXTCAL_1_SA', '1st '._CAL_SATURDAY);
8
+define('_MD_EXTCAL_1_SU', '1st '._CAL_SUNDAY);
9
+define('_MD_EXTCAL_1_TH', '1st '._CAL_THURSDAY);
10
+define('_MD_EXTCAL_1_TU', '1st '._CAL_TUESDAY);
11
+define('_MD_EXTCAL_1_WE', '1st '._CAL_WEDNESDAY);
12
+define('_MD_EXTCAL_2_FR', '2nd '._CAL_FRIDAY);
13
+define('_MD_EXTCAL_2_MO', '2nd '._CAL_MONDAY);
14
+define('_MD_EXTCAL_2_SA', '2nd '._CAL_SATURDAY);
15
+define('_MD_EXTCAL_2_SU', '2nd '._CAL_SUNDAY);
16
+define('_MD_EXTCAL_2_TH', '2nd '._CAL_THURSDAY);
17
+define('_MD_EXTCAL_2_TU', '2nd '._CAL_TUESDAY);
18
+define('_MD_EXTCAL_2_WE', '2nd '._CAL_WEDNESDAY);
19
+define('_MD_EXTCAL_3_FR', '3rd '._CAL_FRIDAY);
20
+define('_MD_EXTCAL_3_MO', '3rd '._CAL_MONDAY);
21
+define('_MD_EXTCAL_3_SA', '3rd '._CAL_SATURDAY);
22
+define('_MD_EXTCAL_3_SU', '3rd '._CAL_SUNDAY);
23
+define('_MD_EXTCAL_3_TH', '3rd '._CAL_THURSDAY);
24
+define('_MD_EXTCAL_3_TU', '3rd '._CAL_TUESDAY);
25
+define('_MD_EXTCAL_3_WE', '3rd '._CAL_WEDNESDAY);
26
+define('_MD_EXTCAL_4_FR', '4th '._CAL_FRIDAY);
27
+define('_MD_EXTCAL_4_MO', '4th '._CAL_MONDAY);
28
+define('_MD_EXTCAL_4_SA', '4th '._CAL_SATURDAY);
29
+define('_MD_EXTCAL_4_SU', '4th '._CAL_SUNDAY);
30
+define('_MD_EXTCAL_4_TH', '4th '._CAL_THURSDAY);
31
+define('_MD_EXTCAL_4_TU', '4th '._CAL_TUESDAY);
32
+define('_MD_EXTCAL_4_WE', '4th '._CAL_WEDNESDAY);
33 33
 define('_MD_EXTCAL_ABSENT', 'Absent');
34 34
 define('_MD_EXTCAL_ACTION_COME', 'Register');
35 35
 define('_MD_EXTCAL_ACTION_DELEGATION', 'Delegate');
@@ -110,13 +110,13 @@  discard block
 block discarded – undo
110 110
 define('_MD_EXTCAL_JAN', 'Jan');
111 111
 define('_MD_EXTCAL_JUL', 'Jul');
112 112
 define('_MD_EXTCAL_JUN', 'Jun');
113
-define('_MD_EXTCAL_LAST_FR', 'Last ' . _CAL_FRIDAY);
114
-define('_MD_EXTCAL_LAST_MO', 'Last ' . _CAL_MONDAY);
115
-define('_MD_EXTCAL_LAST_SA', 'Last ' . _CAL_SATURDAY);
116
-define('_MD_EXTCAL_LAST_SU', 'Last ' . _CAL_SUNDAY);
117
-define('_MD_EXTCAL_LAST_TH', 'Last ' . _CAL_THURSDAY);
118
-define('_MD_EXTCAL_LAST_TU', 'Last ' . _CAL_TUESDAY);
119
-define('_MD_EXTCAL_LAST_WE', 'Last ' . _CAL_WEDNESDAY);
113
+define('_MD_EXTCAL_LAST_FR', 'Last '._CAL_FRIDAY);
114
+define('_MD_EXTCAL_LAST_MO', 'Last '._CAL_MONDAY);
115
+define('_MD_EXTCAL_LAST_SA', 'Last '._CAL_SATURDAY);
116
+define('_MD_EXTCAL_LAST_SU', 'Last '._CAL_SUNDAY);
117
+define('_MD_EXTCAL_LAST_TH', 'Last '._CAL_THURSDAY);
118
+define('_MD_EXTCAL_LAST_TU', 'Last '._CAL_TUESDAY);
119
+define('_MD_EXTCAL_LAST_WE', 'Last '._CAL_WEDNESDAY);
120 120
 define('_MD_EXTCAL_LIB_COME', 'Register');
121 121
 define('_MD_EXTCAL_LIB_NONE', 'None');
122 122
 define('_MD_EXTCAL_LIB_NOTCOME', 'Unsubscribe');
Please login to merge, or discard this patch.
comment_edit.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_edit.php';
20
+include __DIR__.'/../../mainfile.php';
21
+include XOOPS_ROOT_PATH.'/include/comment_edit.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
@@ -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_delete.php';
20
+include __DIR__.'/../../mainfile.php';
21
+include XOOPS_ROOT_PATH.'/include/comment_delete.php';
Please login to merge, or discard this patch.
comment_post.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_post.php';
20
+include __DIR__.'/../../mainfile.php';
21
+include XOOPS_ROOT_PATH.'/include/comment_post.php';
Please login to merge, or discard this patch.
blocks/spotlight_events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require_once __DIR__ . '/../include/constantes.php';
3
+require_once __DIR__.'/../include/constantes.php';
4 4
 
5 5
 //---------------------------------------------------------------------
6 6
 
Please login to merge, or discard this patch.
admin/admin_footer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
  **/
20 20
 
21 21
 $pathIcon32 = \Xmf\Module\Admin::iconUrl('', 32);
22
-echo "<div class='adminfooter'>\n" . "  <div style='text-align: center;'>\n" . "    <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . "  </div>\n" . '  ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';
22
+echo "<div class='adminfooter'>\n"."  <div style='text-align: center;'>\n"."    <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"."  </div>\n".'  '._AM_MODULEADMIN_ADMIN_FOOTER."\n".'</div>';
23 23
 
24 24
 xoops_cp_footer();
Please login to merge, or discard this patch.
include/install_function.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,15 +9,15 @@
 block discarded – undo
9 9
 {
10 10
 
11 11
     // Create eXtCal upload directory
12
-    $dir = XOOPS_ROOT_PATH . '/uploads/extcal';
12
+    $dir = XOOPS_ROOT_PATH.'/uploads/extcal';
13 13
     if (!is_dir($dir)) {
14 14
         mkdir($dir);
15
-        mkdir($dir . '/etablissement');
15
+        mkdir($dir.'/etablissement');
16 16
 
17 17
         // Copy index.html files on uploads folders
18
-        $indexFile = __DIR__ . '/index.html';
19
-        copy($indexFile, $dir . '/index.html');
20
-        copy($indexFile, $dir . '/etablissement/index.html');
18
+        $indexFile = __DIR__.'/index.html';
19
+        copy($indexFile, $dir.'/index.html');
20
+        copy($indexFile, $dir.'/etablissement/index.html');
21 21
     }
22 22
 
23 23
     $moduleId               = $xoopsModule->getVar('mid');
Please login to merge, or discard this patch.
class/pclerror.lib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         global $g_pcl_error_string;
139 139
         global $g_pcl_error_code;
140 140
 
141
-        return $g_pcl_error_string . " [code $g_pcl_error_code]";
141
+        return $g_pcl_error_string." [code $g_pcl_error_code]";
142 142
     }
143 143
 
144 144
     // --------------------------------------------------------------------------------
Please login to merge, or discard this patch.
class/pear/Calendar/Factory.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 /**
51 51
  * Load Calendar base class.
52 52
  */
53
-require_once CALENDAR_ROOT . 'Calendar.php';
53
+require_once CALENDAR_ROOT.'Calendar.php';
54 54
 
55 55
 /**
56 56
  * Contains a factory method to return a Singleton instance of a class
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $firstDay = defined('CALENDAR_FIRST_DAY_OF_WEEK') ? CALENDAR_FIRST_DAY_OF_WEEK : 1;
98 98
         switch ($type) {
99 99
             case 'Day':
100
-                require_once CALENDAR_ROOT . 'Day.php';
100
+                require_once CALENDAR_ROOT.'Day.php';
101 101
 
102 102
                 return new Calendar_Day($y, $m, $d);
103 103
             case 'Month':
@@ -107,44 +107,44 @@  discard block
 block discarded – undo
107 107
                 }
108 108
                 switch (CALENDAR_MONTH_STATE) {
109 109
                     case CALENDAR_USE_MONTH_WEEKDAYS:
110
-                        require_once CALENDAR_ROOT . 'Month/Weekdays.php';
110
+                        require_once CALENDAR_ROOT.'Month/Weekdays.php';
111 111
                         $class = 'Calendar_Month_Weekdays';
112 112
                         break;
113 113
                     case CALENDAR_USE_MONTH_WEEKS:
114
-                        require_once CALENDAR_ROOT . 'Month/Weeks.php';
114
+                        require_once CALENDAR_ROOT.'Month/Weeks.php';
115 115
                         $class = 'Calendar_Month_Weeks';
116 116
                         break;
117 117
                     case CALENDAR_USE_MONTH:
118 118
                     default:
119
-                        require_once CALENDAR_ROOT . 'Month.php';
119
+                        require_once CALENDAR_ROOT.'Month.php';
120 120
                         $class = 'Calendar_Month';
121 121
                         break;
122 122
                 }
123 123
 
124 124
                 return new $class($y, $m, $firstDay);
125 125
             case 'Week':
126
-                require_once CALENDAR_ROOT . 'Week.php';
126
+                require_once CALENDAR_ROOT.'Week.php';
127 127
 
128 128
                 return new Calendar_Week($y, $m, $d, $firstDay);
129 129
             case 'Hour':
130
-                require_once CALENDAR_ROOT . 'Hour.php';
130
+                require_once CALENDAR_ROOT.'Hour.php';
131 131
 
132 132
                 return new Calendar_Hour($y, $m, $d, $h);
133 133
             case 'Minute':
134
-                require_once CALENDAR_ROOT . 'Minute.php';
134
+                require_once CALENDAR_ROOT.'Minute.php';
135 135
 
136 136
                 return new Calendar_Minute($y, $m, $d, $h, $i);
137 137
             case 'Second':
138
-                require_once CALENDAR_ROOT . 'Second.php';
138
+                require_once CALENDAR_ROOT.'Second.php';
139 139
 
140 140
                 return new Calendar_Second($y, $m, $d, $h, $i, $s);
141 141
             case 'Year':
142
-                require_once CALENDAR_ROOT . 'Year.php';
142
+                require_once CALENDAR_ROOT.'Year.php';
143 143
 
144 144
                 return new Calendar_Year($y);
145 145
             default:
146
-                require_once __DIR__ . '/PEAR.php';
147
-                PEAR::raiseError('Calendar_Factory::create() unrecognised type: ' . $type, null, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Factory::create()');
146
+                require_once __DIR__.'/PEAR.php';
147
+                PEAR::raiseError('Calendar_Factory::create() unrecognised type: '.$type, null, PEAR_ERROR_TRIGGER, E_USER_NOTICE, 'Calendar_Factory::create()');
148 148
 
149 149
                 return false;
150 150
         }
Please login to merge, or discard this patch.