Completed
Push — master ( 6dab8b...b949bb )
by Michael
02:15 queued 11s
created
xoops_trust_path/libs/altsys/xoops_version.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include_once __DIR__ . '/include/altsys_functions.php';
3
+include_once __DIR__.'/include/altsys_functions.php';
4 4
 
5 5
 // language file (modinfo.php)
6 6
 altsys_include_language_file('modinfo');
@@ -109,5 +109,5 @@  discard block
 block discarded – undo
109 109
 
110 110
 // keep block's options
111 111
 if (!defined('XOOPS_CUBE_LEGACY') && mb_substr(XOOPS_VERSION, 6, 3) < 2.1 && !empty($_POST['fct']) && !empty($_POST['op']) && 'modulesadmin' == $_POST['fct'] && 'update_ok' == $_POST['op'] && $_POST['dirname'] == $modversion['dirname']) {
112
-    include __DIR__ . '/include/x20_keepblockoptions.inc.php';
112
+    include __DIR__.'/include/x20_keepblockoptions.inc.php';
113 113
 }
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/index.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!defined('XOOPS_MODULE_PATH')) {
4
-    define('XOOPS_MODULE_PATH', XOOPS_ROOT_PATH . '/modules');
4
+    define('XOOPS_MODULE_PATH', XOOPS_ROOT_PATH.'/modules');
5 5
 }
6 6
 if (!defined('XOOPS_MODULE_URL')) {
7
-    define('XOOPS_MODULE_URL', XOOPS_URL . '/modules');
7
+    define('XOOPS_MODULE_URL', XOOPS_URL.'/modules');
8 8
 }
9 9
 
10
-require_once __DIR__ . '/class/AltsysBreadcrumbs.class.php';
11
-require_once __DIR__ . '/include/altsys_functions.php';
10
+require_once __DIR__.'/class/AltsysBreadcrumbs.class.php';
11
+require_once __DIR__.'/include/altsys_functions.php';
12 12
 
13 13
 if (empty($xoopsModule)) {
14 14
     $moduleperm_handler = xoops_getHandler('module');
@@ -16,15 +16,15 @@  discard block
 block discarded – undo
16 16
     $xoopsModule = $moduleperm_handler->getByDirname('altsys');
17 17
 }
18 18
 
19
-require XOOPS_ROOT_PATH . '/include/cp_functions.php';
19
+require XOOPS_ROOT_PATH.'/include/cp_functions.php';
20 20
 
21 21
 // breadcrumbs
22 22
 $breadcrumbsObj = AltsysBreadcrumbs::getInstance();
23
-$breadcrumbsObj->appendPath(XOOPS_URL . '/modules/altsys/admin/index.php', $GLOBALS['xoopsModule']->getVar('name'));
23
+$breadcrumbsObj->appendPath(XOOPS_URL.'/modules/altsys/admin/index.php', $GLOBALS['xoopsModule']->getVar('name'));
24 24
 
25 25
 // get page
26 26
 $page = preg_replace('/[^a-zA-Z0-9_-]/', '', @$_GET['page']);
27
-require __DIR__ . '/controllers.php';
27
+require __DIR__.'/controllers.php';
28 28
 if (!in_array($page, $controllers, true)) {
29 29
     $_GET['page'] = $page = 'myblocksadmin';
30 30
 
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
 
46 46
 // branch to each pages
47 47
 $mytrustdirpath = __DIR__;
48
-if (file_exists(XOOPS_TRUST_PATH . '/libs/altsys/' . $page . '.php')) {
49
-    include XOOPS_TRUST_PATH . '/libs/altsys/' . $page . '.php';
48
+if (file_exists(XOOPS_TRUST_PATH.'/libs/altsys/'.$page.'.php')) {
49
+    include XOOPS_TRUST_PATH.'/libs/altsys/'.$page.'.php';
50 50
 } else {
51 51
     die('wrong request');
52 52
 }
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/smarty_plugins/resource.db.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,12 +123,12 @@
 block discarded – undo
123 123
 
124 124
     // First, check for an overloaded version within the theme folder
125 125
 
126
-    $filepath = XOOPS_THEME_PATH . "/$theme/modules/$module/$blockpath$tpl_name";
126
+    $filepath = XOOPS_THEME_PATH."/$theme/modules/$module/$blockpath$tpl_name";
127 127
 
128 128
     if (!file_exists($filepath)) {
129 129
         // If no custom version exists, get the tpl from its default location
130 130
 
131
-        $filepath = XOOPS_ROOT_PATH . "/modules/$module/templates/$blockpath$tpl_name";
131
+        $filepath = XOOPS_ROOT_PATH."/modules/$module/templates/$blockpath$tpl_name";
132 132
 
133 133
         if (!file_exists($filepath)) {
134 134
             return $cache[$tpl_name] = $tplobj;
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/preload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 //admin page
7 7
 if ($root->mController->_mStrategy) {
8 8
     if (mb_strtolower(get_class($root->mController->_mStrategy)) == mb_strtolower('Legacy_AdminControllerStrategy')) {
9
-        include_once __DIR__ . '/include/altsys_functions.php';
9
+        include_once __DIR__.'/include/altsys_functions.php';
10 10
 
11 11
         // language file (modinfo.php)
12 12
 
@@ -14,4 +14,4 @@  discard block
 block discarded – undo
14 14
     }
15 15
 }
16 16
 // load altsys newly gticket class for other modules
17
-require_once XOOPS_TRUST_PATH . '/libs/altsys/include/gtickets.php';
17
+require_once XOOPS_TRUST_PATH.'/libs/altsys/include/gtickets.php';
Please login to merge, or discard this patch.
html/modules/altsys/include/onuninstall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10 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/oninstall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10 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/onupdate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10 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/Legacy_AltsysAdminRenderSystem.class.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10 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/blocks/blocks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,4 +9,4 @@
 block discarded – undo
9 9
 // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname
10 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.