Completed
Push — master ( 77281f...d1e393 )
by Michael
04:26
created
class/colorTools.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,9 +159,9 @@
 block discarded – undo
159 159
         $tHex = array('', '', '', '');
160 160
 
161 161
         $tHex[0] = $aColors[0];
162
-        $tHex[1] = substr('00' . dechex($aColors[1]), -2);
163
-        $tHex[2] = substr('00' . dechex($aColors[2]), -2);
164
-        $tHex[3] = substr('00' . dechex($aColors[3]), -2);
162
+        $tHex[1] = substr('00'.dechex($aColors[1]), -2);
163
+        $tHex[2] = substr('00'.dechex($aColors[2]), -2);
164
+        $tHex[3] = substr('00'.dechex($aColors[3]), -2);
165 165
 
166 166
         $colorHexa = implode('', $tHex);
167 167
 
Please login to merge, or discard this patch.
class/form/spin/formspin.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      */
204 204
     public function setMin($min)
205 205
     {
206
-        $this->_min = (int)$min;
206
+        $this->_min = (int) $min;
207 207
     }
208 208
     /*-----------------------------------------------------------------*/
209 209
     /**
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      */
222 222
     public function setMax($max)
223 223
     {
224
-        $this->_max = (int)$max;
224
+        $this->_max = (int) $max;
225 225
     }
226 226
 
227 227
     /*-----------------------------------------------------------------*/
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      */
243 243
     public function setSmallIncrement($smallIncrement)
244 244
     {
245
-        $this->_smallIncrement = (int)$smallIncrement;
245
+        $this->_smallIncrement = (int) $smallIncrement;
246 246
         if ($this->_smallIncrement == 0) {
247 247
             $this->_smallIncrement = 1;
248 248
         }
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      */
265 265
     public function setLargeIncrement($largeIncrement)
266 266
     {
267
-        $this->_largeIncrement = (int)$largeIncrement;
267
+        $this->_largeIncrement = (int) $largeIncrement;
268 268
         if ($this->_largeIncrement == 0) {
269 269
             $this->_largeIncrement = 10;
270 270
         }
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
         $sFolderImg  = "{$sSpinFolder}/images/{$this->getImgFolder()}/";
406 406
 
407 407
         $prefixe  = $this->getName();
408
-        $prefixe2 = 'spin' . $prefixe;
408
+        $prefixe2 = 'spin'.$prefixe;
409 409
 
410 410
         $smallIncrement = $this->getSmallIncrement();
411 411
         $largeIncrement = $this->getLargeIncrement();
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
         $t = array();
425 425
 
426 426
         if ($this->_loadJS) {
427
-            $js  = $sSpinFolder . '/js/spin.js';
427
+            $js  = $sSpinFolder.'/js/spin.js';
428 428
             $t[] = "<script src='{$js}' type='text/javascript'></script>";
429 429
         }
430 430
 
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
         //-------------------------------------------------------
470 470
 
471 471
         $t[] = '  </tr>';
472
-        $t[] = '</table>' . "\n";
472
+        $t[] = '</table>'."\n";
473 473
         $t[] = '</div>';
474 474
         //-------------------------------------------
475 475
         $html = implode("\n", $t);
Please login to merge, or discard this patch.
include/constantes.php 1 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.
xoops_version.php 1 patch
Spacing   +4 added lines, -4 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>";
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
 $modversion['config'][$i]['default']     = 5;
490 490
 
491 491
 ++$i;
492
-$modversion['config'][$i]['name']        = 'break' . $i;
492
+$modversion['config'][$i]['name']        = 'break'.$i;
493 493
 $modversion['config'][$i]['title']       = '_MI_EXTCAL_SHOW_OTHEROPTIONS';
494 494
 $modversion['config'][$i]['description'] = '';
495 495
 $modversion['config'][$i]['formtype']    = 'line_break';
Please login to merge, or discard this patch.
admin/menu.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -5,14 +5,14 @@  discard block
 block discarded – undo
5 5
 $moduleDirName = basename(dirname(__DIR__));
6 6
 $moduleHandler = xoops_getHandler('module');
7 7
 $module        = $moduleHandler->getByDirname($moduleDirName);
8
-$pathIcon32    = '../../' . $module->getInfo('sysicons32');
9
-$pathModIcon32 = './' . $module->getInfo('modicons32');
8
+$pathIcon32    = '../../'.$module->getInfo('sysicons32');
9
+$pathModIcon32 = './'.$module->getInfo('modicons32');
10 10
 xoops_loadLanguage('modinfo', $moduleDirName);
11 11
 
12
-$xoopsModuleAdminPath = XOOPS_ROOT_PATH . '/' . $module->getInfo('dirmoduleadmin');
12
+$xoopsModuleAdminPath = XOOPS_ROOT_PATH.'/'.$module->getInfo('dirmoduleadmin');
13 13
 
14
-if (!file_exists($fileinc = $xoopsModuleAdminPath . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) {
15
-    $fileinc = $xoopsModuleAdminPath . '/language/english/main.php';
14
+if (!file_exists($fileinc = $xoopsModuleAdminPath.'/language/'.$GLOBALS['xoopsConfig']['language'].'/'.'main.php')) {
15
+    $fileinc = $xoopsModuleAdminPath.'/language/english/main.php';
16 16
 }
17 17
 
18 18
 include_once $fileinc;
@@ -20,33 +20,33 @@  discard block
 block discarded – undo
20 20
 $adminmenu[] = array(
21 21
     'title' => _AM_MODULEADMIN_HOME,
22 22
     'link'  => 'admin/index.php',
23
-    'icon'  => $pathIcon32 . '/home.png'
23
+    'icon'  => $pathIcon32.'/home.png'
24 24
 );
25 25
 
26 26
 $adminmenu[] = array(
27 27
     'title' => _MI_EXTCAL_CATEGORY,
28 28
     'link'  => 'admin/cat.php',
29
-    'icon'  => $pathIcon32 . '/category.png'
29
+    'icon'  => $pathIcon32.'/category.png'
30 30
 );
31 31
 
32 32
 $adminmenu[] = array(
33 33
     'title' => _MI_EXTCAL_EVENT,
34 34
     'link'  => 'admin/event.php',
35
-    'icon'  => $pathIcon32 . '/event.png'
35
+    'icon'  => $pathIcon32.'/event.png'
36 36
 );
37 37
 $adminmenu[] = array(
38 38
     'title' => _MI_EXTCAL_ETABLISSEMENTS,
39 39
     'link'  => 'admin/etablissement.php',
40
-    'icon'  => $pathModIcon32 . '/etablissement.png'
40
+    'icon'  => $pathModIcon32.'/etablissement.png'
41 41
 );
42 42
 $adminmenu[] = array(
43 43
     'title' => _MI_EXTCAL_PERMISSIONS,
44 44
     'link'  => 'admin/permissions.php',
45
-    'icon'  => $pathIcon32 . '/permissions.png'
45
+    'icon'  => $pathIcon32.'/permissions.png'
46 46
 );
47 47
 
48 48
 $adminmenu[] = array(
49 49
     'title' => _AM_MODULEADMIN_ABOUT,
50 50
     'link'  => 'admin/about.php',
51
-    'icon'  => $pathIcon32 . '/about.png'
51
+    'icon'  => $pathIcon32.'/about.png'
52 52
 );
Please login to merge, or discard this patch.
admin/admin_header.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 xoops_loadLanguage('modinfo', $moduleDirName);
40 40
 xoops_loadLanguage('main', $moduleDirName);
41 41
 
42
-$pathIcon16      = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('sysicons16'));
43
-$pathIcon32      = $GLOBALS['xoops']->url('www/' . $GLOBALS['xoopsModule']->getInfo('sysicons32'));
44
-$xoopsModuleAdminPath = $GLOBALS['xoops']->path('www/' . $GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'));
42
+$pathIcon16      = $GLOBALS['xoops']->url('www/'.$GLOBALS['xoopsModule']->getInfo('sysicons16'));
43
+$pathIcon32      = $GLOBALS['xoops']->url('www/'.$GLOBALS['xoopsModule']->getInfo('sysicons32'));
44
+$xoopsModuleAdminPath = $GLOBALS['xoops']->path('www/'.$GLOBALS['xoopsModule']->getInfo('dirmoduleadmin'));
45 45
 require_once $xoopsModuleAdminPath.'/moduleadmin.php';
Please login to merge, or discard this patch.
admin/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
                 adminMenu(1);
48 48
 
49 49
                 $myts = MyTextSanitizer::getInstance();
50
-                $xoopsMailer =& getMailer();
50
+                $xoopsMailer = & getMailer();
51 51
                 $catHandler = xoops_getModuleHandler(_EXTCAL_CLS_CAT, _EXTCAL_MODULE);
52 52
                 $eventHandler = xoops_getModuleHandler(_EXTCAL_CLS_EVENT, _EXTCAL_MODULE);
53 53
                 $eventMemberHandler = xoops_getModuleHandler(_EXTCAL_CLS_MEMBER, _EXTCAL_MODULE);
Please login to merge, or discard this patch.