Completed
Push — master ( 0881bb...3a6ebc )
by Michael
04:47
created
html/modules/altsys/admin/index.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-require '../../../mainfile.php' ;
4
-if (! defined('XOOPS_TRUST_PATH')) {
5
-    die('set XOOPS_TRUST_PATH in mainfile.php') ;
3
+require '../../../mainfile.php';
4
+if (!defined('XOOPS_TRUST_PATH')) {
5
+    die('set XOOPS_TRUST_PATH in mainfile.php');
6 6
 }
7 7
 
8
-$mydirname = basename(dirname(__DIR__)) ;
9
-$mydirpath = dirname(__DIR__) ;
8
+$mydirname = basename(dirname(__DIR__));
9
+$mydirpath = dirname(__DIR__);
10 10
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
11
-$mytrustdirname = 'altsys' ;
11
+$mytrustdirname = 'altsys';
12 12
 
13
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/index.php' ;
13
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/index.php';
Please login to merge, or discard this patch.
html/modules/altsys/xoops_version.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! defined('XOOPS_TRUST_PATH')) {
4
-    die('set XOOPS_TRUST_PATH into mainfile.php') ;
3
+if (!defined('XOOPS_TRUST_PATH')) {
4
+    die('set XOOPS_TRUST_PATH into mainfile.php');
5 5
 }
6 6
 
7
-$mydirname = basename(__DIR__) ;
8
-$mydirpath = __DIR__ ;
7
+$mydirname = basename(__DIR__);
8
+$mydirpath = __DIR__;
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10
-$mytrustdirname = 'altsys' ;
10
+$mytrustdirname = 'altsys';
11 11
 
12
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/xoops_version.php' ;
12
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/xoops_version.php';
Please login to merge, or discard this patch.
html/modules/altsys/blocks/blocks.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! defined('XOOPS_TRUST_PATH')) {
4
-    die('set XOOPS_TRUST_PATH into mainfile.php') ;
3
+if (!defined('XOOPS_TRUST_PATH')) {
4
+    die('set XOOPS_TRUST_PATH into mainfile.php');
5 5
 }
6 6
 
7
-$mydirname = basename(dirname(__DIR__)) ;
8
-$mydirpath = dirname(__DIR__) ;
7
+$mydirname = basename(dirname(__DIR__));
8
+$mydirpath = dirname(__DIR__);
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10
-$mytrustdirname = 'altsys' ;
10
+$mytrustdirname = 'altsys';
11 11
 
12
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/blocks.php' ;
12
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/blocks.php';
Please login to merge, or discard this patch.
html/modules/altsys/include/onupdate.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! defined('XOOPS_TRUST_PATH')) {
4
-    die('set XOOPS_TRUST_PATH into mainfile.php') ;
3
+if (!defined('XOOPS_TRUST_PATH')) {
4
+    die('set XOOPS_TRUST_PATH into mainfile.php');
5 5
 }
6 6
 
7
-$mydirname = basename(dirname(__DIR__)) ;
8
-$mydirpath = dirname(__DIR__) ;
7
+$mydirname = basename(dirname(__DIR__));
8
+$mydirpath = dirname(__DIR__);
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10
-$mytrustdirname = 'altsys' ;
10
+$mytrustdirname = 'altsys';
11 11
 
12
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/onupdate.php' ;
12
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/onupdate.php';
Please login to merge, or discard this patch.
html/modules/altsys/include/oninstall.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! defined('XOOPS_TRUST_PATH')) {
4
-    die('set XOOPS_TRUST_PATH into mainfile.php') ;
3
+if (!defined('XOOPS_TRUST_PATH')) {
4
+    die('set XOOPS_TRUST_PATH into mainfile.php');
5 5
 }
6 6
 
7
-$mydirname = basename(dirname(__DIR__)) ;
8
-$mydirpath = dirname(__DIR__) ;
7
+$mydirname = basename(dirname(__DIR__));
8
+$mydirpath = dirname(__DIR__);
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10
-$mytrustdirname = 'altsys' ;
10
+$mytrustdirname = 'altsys';
11 11
 
12
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/oninstall.php' ;
12
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/oninstall.php';
Please login to merge, or discard this patch.
html/modules/altsys/include/onuninstall.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! defined('XOOPS_TRUST_PATH')) {
4
-    die('set XOOPS_TRUST_PATH into mainfile.php') ;
3
+if (!defined('XOOPS_TRUST_PATH')) {
4
+    die('set XOOPS_TRUST_PATH into mainfile.php');
5 5
 }
6 6
 
7
-$mydirname = basename(dirname(__DIR__)) ;
8
-$mydirpath = dirname(__DIR__) ;
7
+$mydirname = basename(dirname(__DIR__));
8
+$mydirpath = dirname(__DIR__);
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10
-$mytrustdirname = 'altsys' ;
10
+$mytrustdirname = 'altsys';
11 11
 
12
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/onuninstall.php' ;
12
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/onuninstall.php';
Please login to merge, or discard this patch.
html/modules/altsys/include/Legacy_AltsysAdminRenderSystem.class.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! defined('XOOPS_TRUST_PATH')) {
4
-    die('set XOOPS_TRUST_PATH into mainfile.php') ;
3
+if (!defined('XOOPS_TRUST_PATH')) {
4
+    die('set XOOPS_TRUST_PATH into mainfile.php');
5 5
 }
6 6
 
7
-$mydirname = basename(dirname(__DIR__)) ;
8
-$mydirpath = dirname(__DIR__) ;
7
+$mydirname = basename(dirname(__DIR__));
8
+$mydirpath = dirname(__DIR__);
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10
-$mytrustdirname = 'altsys' ;
10
+$mytrustdirname = 'altsys';
11 11
 
12
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/include/Legacy_AltsysAdminRenderSystem.class.php' ;
12
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/include/Legacy_AltsysAdminRenderSystem.class.php';
Please login to merge, or discard this patch.
html/modules/altsys/preload/AltsysPreload.class.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! defined('XOOPS_TRUST_PATH')) {
4
-    die('set XOOPS_TRUST_PATH into mainfile.php') ;
3
+if (!defined('XOOPS_TRUST_PATH')) {
4
+    die('set XOOPS_TRUST_PATH into mainfile.php');
5 5
 }
6 6
 
7
-$mydirname = basename(dirname(__DIR__)) ;
8
-$mydirpath = dirname(__DIR__) ;
7
+$mydirname = basename(dirname(__DIR__));
8
+$mydirpath = dirname(__DIR__);
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10
-$mytrustdirname = 'altsys' ;
10
+$mytrustdirname = 'altsys';
11 11
 
12
-require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/preload.php' ;
12
+require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/preload.php';
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/preload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 if (!defined('XOOPS_ROOT_PATH')) {
3 3
     exit();
4 4
 }
5
-$root =& XCube_Root::getSingleton();
5
+$root = & XCube_Root::getSingleton();
6 6
 //admin page
7 7
 if ($root->mController->_mStrategy) {
8 8
     if (strtolower(get_class($root->mController->_mStrategy)) == strtolower('Legacy_AdminControllerStrategy')) {
9
-        include_once __DIR__.'/include/altsys_functions.php' ;
9
+        include_once __DIR__.'/include/altsys_functions.php';
10 10
         // language file (modinfo.php)
11
-        altsys_include_language_file('modinfo') ;
11
+        altsys_include_language_file('modinfo');
12 12
     }
13 13
 }
14 14
 // load altsys newly gticket class for other modules
Please login to merge, or discard this patch.