Completed
Push — master ( 5061b6...54eaec )
by Michael
12:20 queued 12:16
created
extras/altsys_functions.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -25,14 +25,14 @@  discard block
 block discarded – undo
25 25
     global $xoopsModule, $xoopsConfig, $mydirname, $mydirpath, $mytrustdirname, $mytrustdirpath, $mymenu_fake_uri;
26 26
 
27 27
     $mymenu_find_paths = array(
28
-        $mydirpath . '/admin/mymenu.php', $mydirpath . '/mymenu.php', $mytrustdirpath . '/admin/mymenu.php',
29
-        $mytrustdirpath . '/mymenu.php',
28
+        $mydirpath.'/admin/mymenu.php', $mydirpath.'/mymenu.php', $mytrustdirpath.'/admin/mymenu.php',
29
+        $mytrustdirpath.'/mymenu.php',
30 30
     );
31 31
 
32 32
     foreach ($mymenu_find_paths as $mymenu_find_path) {
33 33
         if (file_exists($mymenu_find_path)) {
34 34
             include $mymenu_find_path;
35
-            include_once dirname(__FILE__) . '/adminmenu_functions.php';
35
+            include_once dirname(__FILE__).'/adminmenu_functions.php';
36 36
             altsys_adminmenu_insert_mymenu($xoopsModule);
37 37
             altsys_adminmenu_hack_ft();
38 38
             break;
@@ -45,17 +45,17 @@  discard block
 block discarded – undo
45 45
 {
46 46
     $mylang = Xoops::getInstance()->getConfig('language');
47 47
 
48
-    if (file_exists(XOOPS_ROOT_PATH . '/modules/altsys/language/' . $mylang . '/' . $type . '.php')) {
49
-        include_once XOOPS_ROOT_PATH . '/modules/altsys/language/' . $mylang . '/' . $type . '.php';
48
+    if (file_exists(XOOPS_ROOT_PATH.'/modules/altsys/language/'.$mylang.'/'.$type.'.php')) {
49
+        include_once XOOPS_ROOT_PATH.'/modules/altsys/language/'.$mylang.'/'.$type.'.php';
50 50
     } else {
51
-        if (file_exists(XOOPS_TRUST_PATH . '/libs/altsys/language/' . $mylang . '/' . $type . '.php')) {
52
-            include_once XOOPS_TRUST_PATH . '/libs/altsys/language/' . $mylang . '/' . $type . '.php';
51
+        if (file_exists(XOOPS_TRUST_PATH.'/libs/altsys/language/'.$mylang.'/'.$type.'.php')) {
52
+            include_once XOOPS_TRUST_PATH.'/libs/altsys/language/'.$mylang.'/'.$type.'.php';
53 53
         } else {
54
-            if (file_exists(XOOPS_ROOT_PATH . '/modules/altsys/language/english/' . $type . '.php')) {
55
-                include_once XOOPS_ROOT_PATH . '/modules/altsys/language/english/' . $type . '.php';
54
+            if (file_exists(XOOPS_ROOT_PATH.'/modules/altsys/language/english/'.$type.'.php')) {
55
+                include_once XOOPS_ROOT_PATH.'/modules/altsys/language/english/'.$type.'.php';
56 56
             } else {
57
-                if (file_exists(XOOPS_TRUST_PATH . '/libs/altsys/language/english/' . $type . '.php')) {
58
-                    include_once XOOPS_TRUST_PATH . '/libs/altsys/language/english/' . $type . '.php';
57
+                if (file_exists(XOOPS_TRUST_PATH.'/libs/altsys/language/english/'.$type.'.php')) {
58
+                    include_once XOOPS_TRUST_PATH.'/libs/altsys/language/english/'.$type.'.php';
59 59
                 }
60 60
             }
61 61
         }
@@ -103,9 +103,9 @@  discard block
 block discarded – undo
103 103
         case ALTSYS_CORE_TYPE_X20S :
104 104
         case ALTSYS_CORE_TYPE_ORE :
105 105
         case ALTSYS_CORE_TYPE_X22 :
106
-            return XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $mid;
106
+            return XOOPS_URL.'/modules/system/admin.php?fct=preferences&op=showmod&mod='.$mid;
107 107
         case ALTSYS_CORE_TYPE_XC21L :
108
-            return XOOPS_URL . '/modules/legacy/admin/index.php?action=PreferenceEdit&confmod_id=' . $mid;
108
+            return XOOPS_URL.'/modules/legacy/admin/index.php?action=PreferenceEdit&confmod_id='.$mid;
109 109
     }
110 110
 }
111 111
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         if (substr($file, -4) != '.php') {
133 133
             continue;
134 134
         }
135
-        @unlink(XOOPS_COMPILE_PATH . '/' . $file);
135
+        @unlink(XOOPS_COMPILE_PATH.'/'.$file);
136 136
     }
137 137
     closedir($dh);
138 138
 }
Please login to merge, or discard this patch.
extras/mainfile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
  * Typical writable permission would be 665 (user read/write, group read/write, other read)
15 15
  * If problems persist, escalate permission to 777 (world read/write/execute) as a last resort.
16 16
  */
17
-if (! defined('XOOPS_INSTALL')) {
17
+if (!defined('XOOPS_INSTALL')) {
18 18
     header('Location: install/index.php');
19 19
 }
Please login to merge, or discard this patch.
upgrade/upd-2.0.16-to-2.0.17/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     {
31 31
         $xoops = Xoops::getInstance();
32 32
         $db = $xoops->db();
33
-        $value = getDbValue($db, 'config', 'conf_id', "`conf_name` = 'ldap_use_TLS' AND `conf_catid` = " . XOOPS_CONF_AUTH);
33
+        $value = getDbValue($db, 'config', 'conf_id', "`conf_name` = 'ldap_use_TLS' AND `conf_catid` = ".XOOPS_CONF_AUTH);
34 34
         return (bool)($value);
35 35
     }
36 36
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         );
56 56
         foreach ($data as $name => $values) {
57 57
             if (!getDbValue($db, 'config', 'conf_id', "`conf_modid`=0 AND `conf_catid`=7 AND `conf_name`='$name'")) {
58
-                $this->query("INSERT INTO `$table` (conf_modid,conf_catid,conf_name,conf_title,conf_value,conf_desc,conf_formtype,conf_valuetype,conf_order) " . "VALUES ( 0,7,'$name',$values)");
58
+                $this->query("INSERT INTO `$table` (conf_modid,conf_catid,conf_name,conf_title,conf_value,conf_desc,conf_formtype,conf_valuetype,conf_order) "."VALUES ( 0,7,'$name',$values)");
59 59
             }
60 60
         }
61 61
         return true;
Please login to merge, or discard this patch.
htdocs/themes/default/locale/en_US/_main.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -20,22 +20,22 @@
 block discarded – undo
20 20
  * @version         $Id$
21 21
  */
22 22
 
23
-define("_THEME_LOGIN","Login");
24
-define("_THEME_REGISTER","Register");
23
+define("_THEME_LOGIN", "Login");
24
+define("_THEME_REGISTER", "Register");
25 25
 
26
-define("_THEME_HOME","Home");
26
+define("_THEME_HOME", "Home");
27 27
 
28
-define("_THEME_WELCOME","Welcome");
28
+define("_THEME_WELCOME", "Welcome");
29 29
 
30 30
 
31
-define("_THEME_QUICK","Quick links");
32
-define("_THEME_ADMIN","Administration");
33
-define("_THEME_MYACCOUNT","View account");
34
-define("_THEME_EDITPROFILE","Edit account");
35
-define("_THEME_NOTIFICATION","Notifications");
36
-define("_THEME_PM","Inbox");
37
-define("_THEME_LOGOUT","Logout");
31
+define("_THEME_QUICK", "Quick links");
32
+define("_THEME_ADMIN", "Administration");
33
+define("_THEME_MYACCOUNT", "View account");
34
+define("_THEME_EDITPROFILE", "Edit account");
35
+define("_THEME_NOTIFICATION", "Notifications");
36
+define("_THEME_PM", "Inbox");
37
+define("_THEME_LOGOUT", "Logout");
38 38
 
39
-define("_THEME_BACKTOP","Back to top");
39
+define("_THEME_BACKTOP", "Back to top");
40 40
 
41
-define("_THEME_LANGUAGE","Choose your language");
41
+define("_THEME_LANGUAGE", "Choose your language");
Please login to merge, or discard this patch.
htdocs/modules/gravatars/admin/about.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @author          Mage Grégory (AKA Mage)
19 19
  * @version         $Id$
20 20
  */
21
-include __DIR__ . '/header.php';
21
+include __DIR__.'/header.php';
22 22
 $xoops = Xoops::getInstance();
23 23
 $xoops->header();
24 24
 $aboutAdmin = new \Xoops\Module\Admin();
Please login to merge, or discard this patch.
htdocs/modules/gravatars/admin/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,4 +19,4 @@
 block discarded – undo
19 19
  * @author          Mage Grégory (AKA Mage)
20 20
  * @version         $Id$
21 21
  */
22
-require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php';
22
+require_once dirname(dirname(dirname(__DIR__))).'/include/cp_header.php';
Please login to merge, or discard this patch.
htdocs/modules/pdf/admin/about.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @author          Mage Grégory (AKA Mage)
19 19
  * @version         $Id$
20 20
  */
21
-include __DIR__ . '/header.php';
21
+include __DIR__.'/header.php';
22 22
 $xoops = Xoops::getInstance();
23 23
 $xoops->header();
24 24
 $aboutAdmin = new \Xoops\Module\Admin();
Please login to merge, or discard this patch.
htdocs/modules/pdf/admin/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,4 +19,4 @@
 block discarded – undo
19 19
  * @author          Mage Grégory (AKA Mage)
20 20
  * @version         $Id$
21 21
  */
22
-require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php';
22
+require_once dirname(dirname(dirname(__DIR__))).'/include/cp_header.php';
Please login to merge, or discard this patch.
htdocs/modules/xlanguage/admin/about.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
  * @version         $Id$
18 18
  */
19 19
 
20
-include __DIR__ . '/header.php';
20
+include __DIR__.'/header.php';
21 21
 
22 22
 $xoops = Xoops::getInstance();
23 23
 $xoops->header();
Please login to merge, or discard this patch.