Completed
Branch dev (623cfe)
by Greg
04:05
created
admin/users/index.php 1 patch
Braces   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,13 @@
 block discarded – undo
178 178
             <td>
179 179
                 <a <?php if ($row->active != '1') { ?>style="text-decoration: line-through;"
180 180
                    <?php } ?>href="edit.php?uid=<?php echo $row->id; ?>"><?php echo $row->first_name; ?>
181
-                    &nbsp;<?php echo $row->last_name; ?></a><?php if ($row->admin == '1') echo "&nbsp;&nbsp;<strong>A</strong>"; ?><?php if ($row->read_only == '1') echo "&nbsp;&nbsp;<strong>R</strong>"; ?>
181
+                    &nbsp;<?php echo $row->last_name; ?></a><?php if ($row->admin == '1') {
182
+    echo "&nbsp;&nbsp;<strong>A</strong>";
183
+}
184
+?><?php if ($row->read_only == '1') {
185
+    echo "&nbsp;&nbsp;<strong>R</strong>";
186
+}
187
+?>
182 188
             </td>
183 189
             <td>
184 190
                 <a href="edit.php?uid=<?php echo $row->id; ?>"><?php echo $row->username; ?></a>
Please login to merge, or discard this patch.
admin/info/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 <strong>Operating System:</strong> <?php echo php_uname(); ?><BR>
51 51
 <strong>Web Server:</strong> <?php echo $_SERVER['SERVER_SOFTWARE']; ?><BR>
52 52
 <strong>PHP Version:</strong> <?php echo phpversion(); ?><BR>
53
-<strong>PHP Error Log Location:</strong> <?php echo ini_get('error_log');; ?><BR>
53
+<strong>PHP Error Log Location:</strong> <?php echo ini_get('error_log'); ; ?><BR>
54 54
 <strong>MySQL Version:</strong> <?php echo $pdo->query('select version()')->fetchColumn(); ?><BR>
55 55
 
56 56
 <?php require_once DIR_INC . '/layout/footer.inc.php'; ?>
Please login to merge, or discard this patch.
install/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1077,7 +1077,7 @@
 block discarded – undo
1077 1077
         FROM settings")->fetch();
1078 1078
 
1079 1079
     $_SESSION['s_system_full_url'] = $result->full_url;
1080
-    $_SESSION['s_system_db_version'] = (string)$result->db_version;
1080
+    $_SESSION['s_system_db_version'] = (string) $result->db_version;
1081 1081
     $_SESSION['s_system_email_address'] = $result->email_address;
1082 1082
     $_SESSION['s_system_default_category_domains'] = $result->default_category_domains;
1083 1083
     $_SESSION['s_system_default_category_ssl'] = $result->default_category_ssl;
Please login to merge, or discard this patch.
classes/DomainMOD/Format.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         $clean_domain_list = $this->stripSpacing($raw_domain_list);
42 42
         $domain_list = explode("\r\n", $clean_domain_list);
43 43
         $new_domain_list = array();
44
-        foreach($domain_list as $value) {
44
+        foreach ($domain_list as $value) {
45 45
             $new_domain_list[] = urlencode($this->stripSpacing($value));
46 46
         }
47 47
         return array_unique($new_domain_list);
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public function formatForMysql($domain_list)
51 51
     {
52 52
         $new_domain_list = array();
53
-        foreach($domain_list as $value) {
53
+        foreach ($domain_list as $value) {
54 54
             $new_domain_list[] = $value;
55 55
         }
56 56
         $list_formatted = implode("\r\n", $new_domain_list);
Please login to merge, or discard this patch.