Completed
Branch master (5c4e1a)
by Michael
46s
created
xoops_trust_path/libs/altsys/class/altsysUtils.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         }
90 90
 
91 91
         if ($phpVersion > 7.4) {
92
-             return htmlspecialchars((string) $str, $flags, $encoding, $double_encode);
92
+                return htmlspecialchars((string) $str, $flags, $encoding, $double_encode);
93 93
         }
94 94
 
95 95
         $ret = htmlspecialchars((string) $str, $flags, $encoding);
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/get_tplsvarsinfo.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 // this page can be called only from altsys
14 14
 if ('altsys' != $xoopsModule->getVar('dirname')) {
15
-   exit('this page can be called only from altsys');
15
+    exit('this page can be called only from altsys');
16 16
 }
17 17
 
18 18
 // language file
@@ -162,11 +162,11 @@  discard block
 block discarded – undo
162 162
         $tplsvarsinfo_total = array_merge($tplsvarsinfo_total, $tplsvarsinfo);
163 163
     }
164 164
 } else {
165
-   exit('XOOPS_COMPILE_PATH cannot be opened');
165
+    exit('XOOPS_COMPILE_PATH cannot be opened');
166 166
 }
167 167
 
168 168
 if (empty($tplsvarsinfo_total)) {
169
-   exit(_TPLSADMIN_ERR_NOTPLSVARSINFO);
169
+    exit(_TPLSADMIN_ERR_NOTPLSVARSINFO);
170 170
 }
171 171
 
172 172
 //
Please login to merge, or discard this patch.
xoops_trust_path/libs/altsys/put_templates.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 if ('.zip' == mb_strtolower(mb_substr($orig_filename4check, -4))) {
42 42
     // zip
43 43
 
44
-	// zip
44
+    // zip
45 45
     require_once __DIR__ . '/include/Archive_Zip.php';
46 46
 
47 47
     $reader = new Archive_Zip($_FILES['tplset_archive']['tmp_name']);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 } elseif ('.tgz' == mb_substr($orig_filename4check, -4) || '.tar.gz' == mb_substr($orig_filename4check, -7)) {
57 57
     // tar.gz
58 58
 
59
-	// tar.gz
59
+    // tar.gz
60 60
     require_once XOOPS_ROOT_PATH . '/class/class.tar.php';
61 61
 
62 62
     $tar = new tar();
@@ -98,11 +98,11 @@  discard block
 block discarded – undo
98 98
         continue;
99 99
     }
100 100
 
101
-	$pos = mb_strrpos( (string) $file['filename'], '/' );
101
+    $pos = mb_strrpos( (string) $file['filename'], '/' );
102 102
 
103
-	$tpl_file = false === $pos ? $file['filename'] : mb_substr( (string) $file['filename'], $pos + 1 );
103
+    $tpl_file = false === $pos ? $file['filename'] : mb_substr( (string) $file['filename'], $pos + 1 );
104 104
 
105
-	if ( tplsadmin_import_data( $tplset, $tpl_file, rtrim( (string) $file['content'] ), $file['mtime'] ) ) {
105
+    if ( tplsadmin_import_data( $tplset, $tpl_file, rtrim( (string) $file['content'] ), $file['mtime'] ) ) {
106 106
         $imported++;
107 107
     }
108 108
 }
Please login to merge, or discard this patch.