Completed
Branch master (c921ab)
by Michael
109:50 queued 98:29
created
include/oninstall.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 function xoops_module_pre_install_extcal(XoopsModule $module)
26 26
 {
27 27
     $moduleDirName = basename(dirname(__DIR__));
28
-    $className     = ucfirst($moduleDirName) . 'Utilities';
28
+    $className     = ucfirst($moduleDirName).'Utilities';
29 29
     if (!class_exists($className)) {
30 30
         xoops_load('utilities', $moduleDirName);
31 31
     }
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
         return false;
40 40
     }
41 41
 
42
-    $mod_tables =& $module->getInfo('tables');
42
+    $mod_tables = & $module->getInfo('tables');
43 43
     foreach ($mod_tables as $table) {
44
-        $GLOBALS['xoopsDB']->queryF('DROP TABLE IF EXISTS ' . $GLOBALS['xoopsDB']->prefix($table) . ';');
44
+        $GLOBALS['xoopsDB']->queryF('DROP TABLE IF EXISTS '.$GLOBALS['xoopsDB']->prefix($table).';');
45 45
     }
46 46
 
47 47
     return true;
@@ -70,20 +70,20 @@  discard block
 block discarded – undo
70 70
      */
71 71
 
72 72
     // Access right
73
-    $groupPermissionHandler->addRight($moduleDirName . '_perm_mask', 1, XOOPS_GROUP_ADMIN, $moduleId);
74
-    $groupPermissionHandler->addRight($moduleDirName . '_perm_mask', 1, XOOPS_GROUP_USERS, $moduleId);
75
-    $groupPermissionHandler->addRight($moduleDirName . '_perm_mask', 1, XOOPS_GROUP_ANONYMOUS, $moduleId);
73
+    $groupPermissionHandler->addRight($moduleDirName.'_perm_mask', 1, XOOPS_GROUP_ADMIN, $moduleId);
74
+    $groupPermissionHandler->addRight($moduleDirName.'_perm_mask', 1, XOOPS_GROUP_USERS, $moduleId);
75
+    $groupPermissionHandler->addRight($moduleDirName.'_perm_mask', 1, XOOPS_GROUP_ANONYMOUS, $moduleId);
76 76
 
77 77
     // Can submit
78
-    $groupPermissionHandler->addRight($moduleDirName . '_perm_mask', 2, XOOPS_GROUP_ADMIN, $moduleId);
78
+    $groupPermissionHandler->addRight($moduleDirName.'_perm_mask', 2, XOOPS_GROUP_ADMIN, $moduleId);
79 79
 
80 80
     // Auto approve
81
-    $groupPermissionHandler->addRight($moduleDirName . '_perm_mask', 4, XOOPS_GROUP_ADMIN, $moduleId);
81
+    $groupPermissionHandler->addRight($moduleDirName.'_perm_mask', 4, XOOPS_GROUP_ADMIN, $moduleId);
82 82
 
83 83
     //    $moduleDirName = $xoopsModule->getVar('dirname');
84
-    $configurator = include $GLOBALS['xoops']->path('modules/' . $moduleDirName . '/include/config.php');
84
+    $configurator = include $GLOBALS['xoops']->path('modules/'.$moduleDirName.'/include/config.php');
85 85
 
86
-    $classUtilities = ucfirst($moduleDirName) . 'Utilities';
86
+    $classUtilities = ucfirst($moduleDirName).'Utilities';
87 87
     if (!class_exists($classUtilities)) {
88 88
         xoops_load('utilities', $moduleDirName);
89 89
     }
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
         }
96 96
     }
97 97
     if (count($configurator['copyFiles']) > 0) {
98
-        $file = __DIR__ . '/../assets/images/blank.png';
98
+        $file = __DIR__.'/../assets/images/blank.png';
99 99
         foreach (array_keys($configurator['copyFiles']) as $i) {
100
-            $dest = $configurator['copyFiles'][$i] . '/blank.png';
100
+            $dest = $configurator['copyFiles'][$i].'/blank.png';
101 101
             $classUtilities::copyFile($file, $dest);
102 102
         }
103 103
     }
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
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // defined('XOOPS_ROOT_PATH') || die('XOOPS Root Path not defined');
4
-include_once __DIR__ . '/include/constantes.php';
5
-include_once __DIR__ . '/include/agenda_fnc.php';
6
-include_once __DIR__ . '/class/config.php';
4
+include_once __DIR__.'/include/constantes.php';
5
+include_once __DIR__.'/include/agenda_fnc.php';
6
+include_once __DIR__.'/class/config.php';
7 7
 //$loc_de = setlocale (LC_ALL, 'french');
8 8
 
9 9
 //echo "local :" .  setlocale(LC_TIME, $xoopsConfig['language'])."</ br>";
@@ -78,12 +78,12 @@  discard block
 block discarded – undo
78 78
 
79 79
 // Tables created by sql file (without prefix!)
80 80
 $modversion['tables'] = array(
81
-    $moduleDirName . '_' . 'cat',
82
-    $moduleDirName . '_' . 'event',
83
-    $moduleDirName . '_' . 'eventmember',
84
-    $moduleDirName . '_' . 'eventnotmember',
85
-    $moduleDirName . '_' . 'file',
86
-    $moduleDirName . '_' . 'etablissement'
81
+    $moduleDirName.'_'.'cat',
82
+    $moduleDirName.'_'.'event',
83
+    $moduleDirName.'_'.'eventmember',
84
+    $moduleDirName.'_'.'eventnotmember',
85
+    $moduleDirName.'_'.'file',
86
+    $moduleDirName.'_'.'etablissement'
87 87
 );
88 88
 
89 89
 // SQL
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
 $modversion['config'][$i]['default']     = 5;
497 497
 
498 498
 ++$i;
499
-$modversion['config'][$i]['name']        = 'break' . $i;
499
+$modversion['config'][$i]['name']        = 'break'.$i;
500 500
 $modversion['config'][$i]['title']       = '_MI_EXTCAL_SHOW_OTHEROPTIONS';
501 501
 $modversion['config'][$i]['description'] = '';
502 502
 $modversion['config'][$i]['formtype']    = 'line_break';
Please login to merge, or discard this patch.
versions/extcal_2_21.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,17 +30,17 @@
 block discarded – undo
30 30
         global $xoopsDB;
31 31
 
32 32
         // Create eXtcal upload directory if don't exist
33
-        $dir = XOOPS_ROOT_PATH . '/uploads/extcal';
33
+        $dir = XOOPS_ROOT_PATH.'/uploads/extcal';
34 34
         if (!is_dir($dir)) {
35 35
             mkdir($dir);
36 36
 
37 37
             // Copy index.html files on uploads folders
38
-            $indexFile = __DIR__ . '/index.html';
39
-            copy($indexFile, XOOPS_ROOT_PATH . '/uploads/extcal/index.html');
38
+            $indexFile = __DIR__.'/index.html';
39
+            copy($indexFile, XOOPS_ROOT_PATH.'/uploads/extcal/index.html');
40 40
         }
41 41
 
42 42
         // Create who's not going table to fix bug. If the table exist, the query will faile
43
-        $sql = 'CREATE TABLE `' . $xoopsDB->prefix('extcal_eventnotmember')
43
+        $sql = 'CREATE TABLE `'.$xoopsDB->prefix('extcal_eventnotmember')
44 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
     }
Please login to merge, or discard this patch.
versions/extcal_2_15.php 2 patches
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.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,26 +32,26 @@
 block discarded – undo
32 32
         //$xoopsDB = Database::getInstance();
33 33
         $xoopsDB = XoopsDatabaseFactory::getDatabaseConnection();
34 34
 
35
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . "` CHANGE `event_approved` `event_approved` TINYINT( 1 ) NOT NULL DEFAULT '0' ;";
35
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event')."` CHANGE `event_approved` `event_approved` TINYINT( 1 ) NOT NULL DEFAULT '0' ;";
36 36
         $xoopsDB->query($sql);
37 37
 
38
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_isrecur` TINYINT( 1 ) NOT NULL AFTER `event_nbmember` ;';
38
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_isrecur` TINYINT( 1 ) NOT NULL AFTER `event_nbmember` ;';
39 39
         $xoopsDB->query($sql);
40 40
 
41
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_recur_rules` VARCHAR( 255 ) NOT NULL AFTER `event_isrecur` ';
41
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_recur_rules` VARCHAR( 255 ) NOT NULL AFTER `event_isrecur` ';
42 42
         $xoopsDB->query($sql);
43 43
 
44
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_recur_start` INT( 11 ) NOT NULL AFTER `event_recur_rules` ;';
44
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_recur_start` INT( 11 ) NOT NULL AFTER `event_recur_rules` ;';
45 45
         $xoopsDB->query($sql);
46 46
 
47
-        $sql = 'ALTER TABLE `' . $xoopsDB->prefix('extcal_event') . '` ADD `event_recur_end` INT( 11 ) NOT NULL AFTER `event_recur_start` ;';
47
+        $sql = 'ALTER TABLE `'.$xoopsDB->prefix('extcal_event').'` ADD `event_recur_end` INT( 11 ) NOT NULL AFTER `event_recur_start` ;';
48 48
         $xoopsDB->query($sql);
49 49
 
50
-        $sql = 'CREATE TABLE `' . $xoopsDB->prefix('extcal_event')
50
+        $sql = 'CREATE TABLE `'.$xoopsDB->prefix('extcal_event')
51 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
-        $sql = 'CREATE TABLE `' . $xoopsDB->prefix('extcal_file')
54
+        $sql = 'CREATE TABLE `'.$xoopsDB->prefix('extcal_file')
55 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
     }
Please login to merge, or discard this patch.
etablissement.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 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 . '/edit.png" width="16px" height="16px" border="0" title="'
41
-                   . _MD_EXTCAL_ETABLISSEMENT_EDIT . '"/></a><a href="' . XOOPS_URL . '/modules/extcal/admin/etablissement.php?op=delete_etablissement&etablissement_id=' . $etablissement_id . '"><img src="' . $pathIcon16
42
-                   . '/delete.png" width="16px" height="16px" border="0" title="' . _MD_EXTCAL_ETABLISSEMENT_DELETE . '"/></a>';
41
+                    . _MD_EXTCAL_ETABLISSEMENT_EDIT . '"/></a><a href="' . XOOPS_URL . '/modules/extcal/admin/etablissement.php?op=delete_etablissement&etablissement_id=' . $etablissement_id . '"><img src="' . $pathIcon16
42
+                    . '/delete.png" width="16px" height="16px" border="0" title="' . _MD_EXTCAL_ETABLISSEMENT_DELETE . '"/></a>';
43 43
 }
44 44
 $xoopsTpl->assign('edit_delete', $edit_delete);
45 45
 
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include_once dirname(dirname(__DIR__)) . '/mainfile.php';
4
-include_once __DIR__ . '/include/constantes.php';
3
+include_once dirname(dirname(__DIR__)).'/mainfile.php';
4
+include_once __DIR__.'/include/constantes.php';
5 5
 $GLOBALS['xoopsOption']['template_main'] = 'extcal_etablissement.tpl';
6
-include_once __DIR__ . '/header.php';
6
+include_once __DIR__.'/header.php';
7 7
 
8 8
 //include_once XOOPS_ROOT_PATH."/modules/extcal/class/etablissement.php";
9 9
 $etablissementHandler = xoops_getModuleHandler(_EXTCAL_CLS_ETABLISSEMENT, _EXTCAL_MODULE);
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 $etablissement_exist = $etablissementHandler->getCount($criteria);
20 20
 
21 21
 if ($etablissement_exist == 0) {
22
-    redirect_header(XOOPS_URL . '/modules/extcal/index.php', 3, _NOPERM);
22
+    redirect_header(XOOPS_URL.'/modules/extcal/index.php', 3, _NOPERM);
23 23
 }
24 24
 
25 25
 $view_etablissement = $etablissementHandler->getEtablissement($etablissement_id, true);
@@ -33,13 +33,13 @@  discard block
 block discarded – undo
33 33
 /* todo a deplacer dans le template JJD */
34 34
 $uid = $xoopsUser ? $xoopsUser->getVar('uid') : 0;
35 35
 global $xoopsModule;
36
-$pathIcon16 =& $xoopsModule->getInfo('icons16');
36
+$pathIcon16 = & $xoopsModule->getInfo('icons16');
37 37
 
38 38
 $edit_delete = '';
39 39
 if (is_object($xoopsUser) && $isAdmin) {
40
-    $edit_delete = '<a href="' . XOOPS_URL . '/modules/extcal/admin/etablissement.php?op=edit_etablissement&etablissement_id=' . $etablissement_id . '"><img src="' . $pathIcon16 . '/edit.png" width="16px" height="16px" border="0" title="'
41
-                   . _MD_EXTCAL_ETABLISSEMENT_EDIT . '"/></a><a href="' . XOOPS_URL . '/modules/extcal/admin/etablissement.php?op=delete_etablissement&etablissement_id=' . $etablissement_id . '"><img src="' . $pathIcon16
42
-                   . '/delete.png" width="16px" height="16px" border="0" title="' . _MD_EXTCAL_ETABLISSEMENT_DELETE . '"/></a>';
40
+    $edit_delete = '<a href="'.XOOPS_URL.'/modules/extcal/admin/etablissement.php?op=edit_etablissement&etablissement_id='.$etablissement_id.'"><img src="'.$pathIcon16.'/edit.png" width="16px" height="16px" border="0" title="'
41
+                   . _MD_EXTCAL_ETABLISSEMENT_EDIT.'"/></a><a href="'.XOOPS_URL.'/modules/extcal/admin/etablissement.php?op=delete_etablissement&etablissement_id='.$etablissement_id.'"><img src="'.$pathIcon16
42
+                   . '/delete.png" width="16px" height="16px" border="0" title="'._MD_EXTCAL_ETABLISSEMENT_DELETE.'"/></a>';
43 43
 }
44 44
 $xoopsTpl->assign('edit_delete', $edit_delete);
45 45
 
@@ -47,12 +47,12 @@  discard block
 block discarded – undo
47 47
 
48 48
 $date = mktime(0, 0, 0, date('m'), date('d'), date('y'));
49 49
 
50
-$requete = $xoopsDB->query('SELECT event_id, event_title, event_desc, event_picture1, event_start FROM ' . $xoopsDB->prefix('extcal_event') . " WHERE event_etablissement='" . $etablissement_id . "' AND event_start >='" . $date . "'");
50
+$requete = $xoopsDB->query('SELECT event_id, event_title, event_desc, event_picture1, event_start FROM '.$xoopsDB->prefix('extcal_event')." WHERE event_etablissement='".$etablissement_id."' AND event_start >='".$date."'");
51 51
 while ($donnees = $xoopsDB->fetchArray($requete)) {
52 52
     if ($donnees['event_desc'] > 210) {
53 53
         $event_desc = $donnees['event_desc'];
54 54
     } else {
55
-        $event_desc = substr($donnees['event_desc'], 0, 210) . '...';
55
+        $event_desc = substr($donnees['event_desc'], 0, 210).'...';
56 56
     }
57 57
     $xoopsTpl->append('events', array(
58 58
         'event_picture1' => $donnees['event_picture1'],
@@ -64,4 +64,4 @@  discard block
 block discarded – undo
64 64
 }
65 65
 $xoTheme->addScript('browse.php?modules/extcal/assets/js/highslide.js');
66 66
 $xoTheme->addStylesheet('browse.php?modules/extcal/assets/js/highslide.css');
67
-include_once XOOPS_ROOT_PATH . '/footer.php';
67
+include_once XOOPS_ROOT_PATH.'/footer.php';
Please login to merge, or discard this patch.
admin/admin_header.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
 //  ------------------------------------------------------------------------ //
27 27
 
28 28
 $path = dirname(dirname(dirname(__DIR__)));
29
-include_once $path . '/mainfile.php';
30
-include_once $path . '/include/cp_functions.php';
31
-require_once $path . '/include/cp_header.php';
29
+include_once $path.'/mainfile.php';
30
+include_once $path.'/include/cp_functions.php';
31
+require_once $path.'/include/cp_header.php';
32 32
 
33 33
 global $xoopsModule;
34 34
 
@@ -41,10 +41,10 @@  discard block
 block discarded – undo
41 41
 xoops_loadLanguage('modinfo', $moduleDirName);
42 42
 xoops_loadLanguage('main', $moduleDirName);
43 43
 
44
-$pathIcon16           = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('sysicons16'));
45
-$pathIcon32           = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('sysicons32'));
46
-$xoopsModuleAdminPath = $GLOBALS['xoops']->path('www/' . $GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'));
47
-require_once $xoopsModuleAdminPath . '/moduleadmin.php';
44
+$pathIcon16           = $GLOBALS['xoops']->url('www/'.$GLOBALS['xoopsModule']->getInfo('sysicons16'));
45
+$pathIcon32           = $GLOBALS['xoops']->url('www/'.$GLOBALS['xoopsModule']->getInfo('sysicons32'));
46
+$xoopsModuleAdminPath = $GLOBALS['xoops']->path('www/'.$GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'));
47
+require_once $xoopsModuleAdminPath.'/moduleadmin.php';
48 48
 
49 49
 /** @var ExtcalCatHandler $catHandler */
50 50
 $catHandler = xoops_getModuleHandler(_EXTCAL_CLS_CAT, _EXTCAL_MODULE);
Please login to merge, or discard this patch.
admin/admin_footer.php 2 patches
Indentation   +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
 echo "<div class='adminfooter'>\n" . "  <div style='text-align: center;'>\n" . "    <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . "  </div>\n" . '  '
22
-     . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';
22
+        . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';
23 23
 
24 24
 xoops_cp_footer();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @author    Mamba (www.xoops.org)
19 19
  **/
20 20
 
21
-echo "<div class='adminfooter'>\n" . "  <div style='text-align: center;'>\n" . "    <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . "  </div>\n" . '  '
22
-     . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';
21
+echo "<div class='adminfooter'>\n"."  <div style='text-align: center;'>\n"."    <a href='http://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"."  </div>\n".'  '
22
+     . _AM_MODULEADMIN_ADMIN_FOOTER."\n".'</div>';
23 23
 
24 24
 xoops_cp_footer();
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
-include_once __DIR__ . '/admin_header.php';
20
+include_once __DIR__.'/admin_header.php';
21 21
 // Display Admin header
22 22
 xoops_cp_header();
23 23
 
24
-$classUtilities = ucfirst($moduleDirName) . 'Utilities';
24
+$classUtilities = ucfirst($moduleDirName).'Utilities';
25 25
 if (!class_exists($classUtilities)) {
26 26
     xoops_load('utilities', $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
     $classUtilities::createFolder($configurator['uploadFolders'][$i]);
@@ -40,4 +40,4 @@  discard block
 block discarded – undo
40 40
 echo $adminObject->addNavigation(basename(__FILE__));
41 41
 echo $adminObject->renderIndex();
42 42
 
43
-include_once __DIR__ . '/admin_footer.php';
43
+include_once __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.
admin/about.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
  *
17 17
  * @author       Mage, Mamba
18 18
  **/
19
-include_once __DIR__ . '/admin_header.php';
19
+include_once __DIR__.'/admin_header.php';
20 20
 xoops_cp_header();
21 21
 
22 22
 echo $adminObject->addNavigation(basename(__FILE__));
23 23
 echo $adminObject->renderAbout('6KJ7RW5DR3VTJ', false);
24 24
 
25
-include_once __DIR__ . '/admin_footer.php';
25
+include_once __DIR__.'/admin_footer.php';
Please login to merge, or discard this patch.