Completed
Branch master (55a138)
by Michael
03:21
created
blocks/random_events.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 {
63 63
     global $xoopsUser;
64 64
 
65
-     $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
65
+        $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
66 66
 
67 67
     $cats = $catHandler->getAllCat($xoopsUser, 'extcal_cat_view');
68 68
 
Please login to merge, or discard this patch.
blocks/minical.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
         new Calendar_Day(
169 169
             date('Y', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))),
170 170
             date('n', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser']))),
171
-                         date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))
171
+                            date('j', xoops_getUserTimestamp(time(), $timeHandler->_getUserTimeZone($GLOBALS['xoopsUser'])))
172 172
         ),
173 173
     ];
174 174
 
Please login to merge, or discard this patch.
include/functions0.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 {
112 112
     global $xoopsUser;
113 113
     // Category selectbox
114
-     $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
114
+        $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
115 115
 
116 116
     $catsList  = $catHandler->getAllCat($xoopsUser);
117 117
     $catSelect = new \XoopsFormSelect('', $name, $cat);
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     // Category selectbox
140 140
     //<option style="background-color:#00FFFF;">VARCHAR</option>
141 141
 
142
-     $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
142
+        $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
143 143
     $catsList   = $catHandler->getAllCat($xoopsUser);
144 144
 
145 145
     $t = [];
@@ -149,11 +149,11 @@  discard block
 block discarded – undo
149 149
         $cat_color = $catList->getVar('cat_color');
150 150
         $checked   = in_array($cat_id, $cat) ? 'checked' : '';
151 151
         $cat       = ''
152
-                     . "<div style='float:left; margin-left:5px;'>"
153
-                     . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
154
-                     . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
155
-                     . " {$name}"
156
-                     . '</div>';
152
+                        . "<div style='float:left; margin-left:5px;'>"
153
+                        . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
154
+                        . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
155
+                        . " {$name}"
156
+                        . '</div>';
157 157
 
158 158
         $t[] = $cat;
159 159
     }
Please login to merge, or discard this patch.
include/agenda_fnc.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -435,7 +435,7 @@
 block discarded – undo
435 435
 
436 436
     $user = isset($GLOBALS['xoopsUser']) ? $GLOBALS['xoopsUser'] : null;
437 437
     /** @var CategoryHandler $catHandler */
438
-     $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
438
+        $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
439 439
     if ($catHandler->haveSubmitRight($user)) {
440 440
         $view = _EXTCAL_NAV_NEW_EVENT;
441 441
         if (in_array($view, $visibleTabs)) {
Please login to merge, or discard this patch.
class/Utility.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         // Category selectbox
153 153
         //<option style="background-color:#00FFFF;">VARCHAR</option>
154 154
 
155
-         $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
155
+            $catHandler   = Extcal\Helper::getInstance()->getHandler(_EXTCAL_CLN_CAT);
156 156
         $catsList   = $catHandler->getAllCat($xoopsUser);
157 157
 
158 158
         $t = [];
@@ -162,11 +162,11 @@  discard block
 block discarded – undo
162 162
             $cat_color = $catList->getVar('cat_color');
163 163
             $checked   = in_array($cat_id, $cat) ? 'checked' : '';
164 164
             $cat       = ''
165
-                         . "<div style='float:left; margin-left:5px;'>"
166
-                         . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
167
-                         . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
168
-                         . " {$name}"
169
-                         . '</div>';
165
+                            . "<div style='float:left; margin-left:5px;'>"
166
+                            . "<input type='checkbox' name='{$name}[{$cat_id}]' value='1' {$checked}>"
167
+                            . "<div style='absolute:left;height:12px; width:6px; background-color:#{$cat_color}; border:1px solid black; float:left; margin-right:5px;' ></div>"
168
+                            . " {$name}"
169
+                            . '</div>';
170 170
 
171 171
             $t[] = $cat;
172 172
         }
Please login to merge, or discard this patch.
class/Event.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 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
 require_once __DIR__ . '/perm.php';
24 24
 require_once __DIR__ . '/time.php';
25 25
 require_once __DIR__ . '/config.php';
Please login to merge, or discard this patch.
class/Eventmember.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 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 Eventmember.
Please login to merge, or discard this patch.
class/File.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 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
 require_once XOOPS_ROOT_PATH . '/class/uploader.php';
24 24
 
25 25
 /**
Please login to merge, or discard this patch.
class/Category.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 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
 require_once __DIR__ . '/perm.php';
24 24
 require_once __DIR__ . '/time.php';
25 25
 
Please login to merge, or discard this patch.