Completed
Branch master (77281f)
by Michael
03:56
created
class/pear/Calendar/Decorator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Returns the date as an associative array (helper method).
138 138
      *
139
-     * @param mixed $stamp timestamp (leave empty for current timestamp)
139
+     * @param integer $stamp timestamp (leave empty for current timestamp)
140 140
      *
141 141
      * @return array
142 142
      */
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      *
243 243
      * @param array $sDates array containing Calendar objects to select (optional)
244 244
      *
245
-     * @return bool
245
+     * @return boolean|null
246 246
      * @abstract
247 247
      */
248 248
     public function build($sDates = array())
Please login to merge, or discard this patch.
class/pear/Calendar/Engine/Interface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
346 346
      *
347 347
      * @param int timestamp (depending on implementation)
348 348
      *
349
-     * @return bool
349
+     * @return boolean|null
350 350
      */
351 351
     public function isToday($stamp)
352 352
     {
Please login to merge, or discard this patch.
etablissement.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
 $edit_delete = '';
39 39
 if (is_object($xoopsUser) && $isAdmin) {
40 40
     $edit_delete = '<a href="'.XOOPS_URL.'/modules/extcal/admin/etablissement.php?op=edit_etablissement&etablissement_id='.$etablissement_id.'"><img src="'.$pathIcon16
41
-                   .'/edit.png" width="16px" height="16px" border="0" title="'._MD_EXTCAL_ETABLISSEMENT_EDIT.'"/></a><a href="'.XOOPS_URL
42
-                   .'/modules/extcal/admin/etablissement.php?op=delete_etablissement&etablissement_id='.$etablissement_id.'"><img src="'.$pathIcon16
43
-                   .'/delete.png" width="16px" height="16px" border="0" title="'._MD_EXTCAL_ETABLISSEMENT_DELETE.'"/></a>';
41
+                    .'/edit.png" width="16px" height="16px" border="0" title="'._MD_EXTCAL_ETABLISSEMENT_EDIT.'"/></a><a href="'.XOOPS_URL
42
+                    .'/modules/extcal/admin/etablissement.php?op=delete_etablissement&etablissement_id='.$etablissement_id.'"><img src="'.$pathIcon16
43
+                    .'/delete.png" width="16px" height="16px" border="0" title="'._MD_EXTCAL_ETABLISSEMENT_DELETE.'"/></a>';
44 44
 }
45 45
 $xoopsTpl->assign('edit_delete', $edit_delete);
46 46
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 $date = mktime(0, 0, 0, date('m'), date('d'), date('y'));
50 50
 
51 51
 $requete = $xoopsDB->query('SELECT event_id, event_title, event_desc, event_picture1, event_start FROM '.$xoopsDB->prefix('extcal_event')." WHERE event_etablissement='".$etablissement_id
52
-                           ."' AND event_start >='".$date."'");
52
+                            ."' AND event_start >='".$date."'");
53 53
 while ($donnees = $xoopsDB->fetchArray($requete)) {
54 54
     if ($donnees['event_desc'] > 210) {
55 55
         $event_desc = $donnees['event_desc'];
Please login to merge, or discard this patch.
event_notmember.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@
 block discarded – undo
34 34
         if ($_POST['mode'] === 'add') {
35 35
             $event = $eventHandler->getEvent((int) $_POST['event'], $xoopsUser);
36 36
             $eventNotMemberHandler->createEventNotMember(array(
37
-                                                             'event_id' => (int) $_POST['event'],
38
-                                                             'uid' => $xoopsUser->getVar('uid'),
39
-                                                         ));
37
+                                                                'event_id' => (int) $_POST['event'],
38
+                                                                'uid' => $xoopsUser->getVar('uid'),
39
+                                                            ));
40 40
             sendMail2member($mode, $event_id, $member_uid, _MD_EXTCAL_SUBJECT_3, _MD_EXTCAL_MSG_3);
41 41
             $rediredtMessage = _MD_EXTCAL_WHOSNOT_GOING_ADDED_TO_EVENT;
42 42
 
Please login to merge, or discard this patch.
versions/extcal_2_15.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
         $xoopsDB->query($sql);
49 49
 
50 50
         $sql = 'CREATE TABLE `'.$xoopsDB->prefix('extcal_event')
51
-               ."` (`eventnotmember_id` int(11) NOT NULL auto_increment,`event_id` int(11) NOT NULL default '0',`uid` int(11) NOT NULL default '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
51
+                ."` (`eventnotmember_id` int(11) NOT NULL auto_increment,`event_id` int(11) NOT NULL default '0',`uid` int(11) NOT NULL default '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
52 52
         $xoopsDB->query($sql);
53 53
 
54 54
         $sql = 'CREATE TABLE `'.$xoopsDB->prefix('extcal_file')
55
-               ."` (`file_id` int(11) NOT NULL auto_increment,`file_name` varchar(255) NOT NULL,`file_nicename` varchar(255) NOT NULL,`file_mimetype` varchar(255) NOT NULL,`file_size` int(11) NOT NULL,`file_download` int(11) NOT NULL,`file_date` int(11) NOT NULL,`file_approved` tinyint(1) NOT NULL,`event_id` int(11) NOT NULL,`uid` int(11) NOT NULL,PRIMARY KEY  (`file_id`)) COMMENT='eXtcal By Zoullou' ;";
55
+                ."` (`file_id` int(11) NOT NULL auto_increment,`file_name` varchar(255) NOT NULL,`file_nicename` varchar(255) NOT NULL,`file_mimetype` varchar(255) NOT NULL,`file_size` int(11) NOT NULL,`file_download` int(11) NOT NULL,`file_date` int(11) NOT NULL,`file_approved` tinyint(1) NOT NULL,`event_id` int(11) NOT NULL,`uid` int(11) NOT NULL,PRIMARY KEY  (`file_id`)) COMMENT='eXtcal By Zoullou' ;";
56 56
         $xoopsDB->query($sql);
57 57
     }
58 58
 
Please login to merge, or discard this patch.
versions/extcal_2_21.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
         // Create who's not going table to fix bug. If the table exist, the query will faile
43 43
         $sql = 'CREATE TABLE `'.$xoopsDB->prefix('extcal_eventnotmember')
44
-               ."` (`eventnotmember_id` int(11) NOT NULL auto_increment,`event_id` int(11) NOT NULL default '0',`uid` int(11) NOT NULL default '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
44
+                ."` (`eventnotmember_id` int(11) NOT NULL auto_increment,`event_id` int(11) NOT NULL default '0',`uid` int(11) NOT NULL default '0',PRIMARY KEY  (`eventnotmember_id`),UNIQUE KEY `eventnotmember` (`event_id`,`uid`)) COMMENT='eXtcal By Zoullou' ;";
45 45
         $xoopsDB->query($sql);
46 46
     }
47 47
 
Please login to merge, or discard this patch.
include/constantes.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,8 @@
 block discarded – undo
102 102
 define('_EXTCAL_NAV_NEW_EVENT', 'new-event');
103 103
 
104 104
 define('_EXTCAL_NAV_LIST',
105
-       _EXTCAL_NAV_CALMONTH."\n"._EXTCAL_NAV_CALWEEK."\n"._EXTCAL_NAV_YEAR."\n"._EXTCAL_NAV_MONTH."\n"._EXTCAL_NAV_WEEK."\n"._EXTCAL_NAV_DAY."\n"._EXTCAL_NAV_AGENDA_WEEK."\n"
106
-       ._EXTCAL_NAV_AGENDA_DAY."\n"._EXTCAL_NAV_SEARCH."\n"._EXTCAL_NAV_NEW_EVENT);
105
+        _EXTCAL_NAV_CALMONTH."\n"._EXTCAL_NAV_CALWEEK."\n"._EXTCAL_NAV_YEAR."\n"._EXTCAL_NAV_MONTH."\n"._EXTCAL_NAV_WEEK."\n"._EXTCAL_NAV_DAY."\n"._EXTCAL_NAV_AGENDA_WEEK."\n"
106
+        ._EXTCAL_NAV_AGENDA_DAY."\n"._EXTCAL_NAV_SEARCH."\n"._EXTCAL_NAV_NEW_EVENT);
107 107
 
108 108
 define('_EXTCAL_PREFIX_VIEW', 'view_');
109 109
 define('_EXTCAL_SUFFIX_VIEW', '.php');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 define('_EXTCAL_CLN_EVENT', 'ExtcalEvent');
38 38
 
39 39
 //-------------------------------------------------------------------
40
-define('_EXTCAL_PEAR_ROOT_DEFAULT', dirname(__DIR__) .'/class/pear');
40
+define('_EXTCAL_PEAR_ROOT_DEFAULT', dirname(__DIR__).'/class/pear');
41 41
 //define('_EXTCAL_PEAR_ROOT', 'F:/wamp/www/xfr254b/xoops_lib/Frameworks/pear' );
42 42
 
43 43
 $pear_path = _EXTCAL_PEAR_ROOT_DEFAULT;
Please login to merge, or discard this patch.
language/english/admin.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 define('_AM_EXTCAL_MD_FILE_DONT_EXIST_SHORT', "Module files don't exist");
94 94
 define('_AM_EXTCAL_MODULE_ADMIN_SUMMARY', 'eXtCal Administration Summary');
95 95
 define('_AM_EXTCAL_MULTIUPLOADS_NOT_OK',
96
-       "The multiuploads component is not installed.<br><br><a href='http://xoops.kiolo.com/modules/mydownloads/'>Download here the multiuploads component</a><br><br>and install it in the folder 'class/xoopsform/'");
96
+        "The multiuploads component is not installed.<br><br><a href='http://xoops.kiolo.com/modules/mydownloads/'>Download here the multiuploads component</a><br><br>and install it in the folder 'class/xoopsform/'");
97 97
 define('_AM_EXTCAL_NAME', 'Name');
98 98
 define('_AM_EXTCAL_NOPERMSSET', 'Permission cannot be set: There are no Categories created yet! Please create a Category first.');
99 99
 define('_AM_EXTCAL_PENDING', 'Pending');
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 define('_AM_EXTCAL_PREFERENCES', 'Preferences');
104 104
 define('_AM_EXTCAL_PUBLIC_PERM_MASK', 'Public permissions mask');
105 105
 define('_AM_EXTCAL_PUBLIC_PERM_MASK_INFO',
106
-       "You can set here the default mask permission who will be apply to new category. Be careful to don't give excessive permissions here because all new category will give them.");
106
+        "You can set here the default mask permission who will be apply to new category. Be careful to don't give excessive permissions here because all new category will give them.");
107 107
 define('_AM_EXTCAL_REDIRECT_DELOK', 'successfully deleted');
108 108
 define('_AM_EXTCAL_START_DATE', 'Start Date');
109 109
 define('_AM_EXTCAL_SUBMIT_PERMISSION', 'Submit permission');
Please login to merge, or discard this patch.
language/english/modinfo.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 
158 158
 define('_MI_EXTCAL_EDITOR_ADMIN', 'Editor to use (admin):');
159 159
 define('_MI_EXTCAL_EDITOR_ADMIN_DESC',
160
-       "Select the editor to use for admin side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
160
+        "Select the editor to use for admin side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
161 161
 define('_MI_EXTCAL_EDITOR_USER', 'Editor to use (user):');
162 162
 define('_MI_EXTCAL_EDITOR_USER_DESC',
163
-       "Select the editor to use for user side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
163
+        "Select the editor to use for user side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
Please login to merge, or discard this patch.