Completed
Push — develop ( d568f8...c061fc )
by Agel_Nash
06:25
created
manager/actions/mutate_settings/tab5_security_settings.inc.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -183,9 +183,9 @@
 block discarded – undo
183 183
     <td colspan="2"><div class="split"></div></td>
184 184
   </tr>
185 185
   <?php
186
-      // Check for GD before allowing captcha to be enabled
187
-      $gdAvailable = extension_loaded('gd');
188
-  ?>
186
+        // Check for GD before allowing captcha to be enabled
187
+        $gdAvailable = extension_loaded('gd');
188
+    ?>
189 189
 <?php
190 190
 $gdAvailable = extension_loaded('gd');
191 191
 if (!$gdAvailable) {
Please login to merge, or discard this patch.
manager/actions/mutate_settings/tab1_site_settings.inc.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-  $site_unavailable_message_view = isset($site_unavailable_message) ? $site_unavailable_message : $_lang['siteunavailable_message_default'];
2
+    $site_unavailable_message_view = isset($site_unavailable_message) ? $site_unavailable_message : $_lang['siteunavailable_message_default'];
3 3
 ?>
4 4
 <style>
5 5
 table.sysSettings > tbody td, table.sysSettings > tbody th {border-bottom:1px dotted #ccc;padding:10px;}
@@ -141,8 +141,8 @@  discard block
 block discarded – undo
141 141
         <?php
142 142
             // Check if PHX is enabled
143 143
             $count = $modx->db->getRecordCount(
144
-              $modx->db->select('id', '[+prefix+]site_plugins',
145
-              "plugincode LIKE '%phx.parser.class.inc.php%OnParseDocument();%' AND disabled != 1")
144
+                $modx->db->select('id', '[+prefix+]site_plugins',
145
+                "plugincode LIKE '%phx.parser.class.inc.php%OnParseDocument();%' AND disabled != 1")
146 146
             );
147 147
             if ($count) {
148 148
                 $disabledFilters = 1;
@@ -266,13 +266,13 @@  discard block
 block discarded – undo
266 266
       <th><?php echo $_lang['serveroffset_title'] ?><br><small>[(server_offset_time)]</small></th>
267 267
       <td> <select name="server_offset_time" size="1" class="inputBox">
268 268
           <?php
269
-      for ($i=-24; $i<25; $i++) {
270
-          $seconds = $i*60*60;
271
-          $selectedtext = $seconds==$server_offset_time ? "selected='selected'" : "" ; ?>
269
+        for ($i=-24; $i<25; $i++) {
270
+            $seconds = $i*60*60;
271
+            $selectedtext = $seconds==$server_offset_time ? "selected='selected'" : "" ; ?>
272 272
           <option value="<?php echo $seconds; ?>" <?php echo $selectedtext; ?>><?php echo $i; ?></option>
273 273
           <?php
274
-      }
275
-      ?>
274
+        }
275
+        ?>
276 276
         </select>
277 277
         <div class="comment"><?php printf($_lang['serveroffset_message'], strftime('%H:%M:%S', time()), strftime('%H:%M:%S', time()+$server_offset_time)); ?></div>
278 278
         </td>
Please login to merge, or discard this patch.
manager/includes/accesscontrol.inc.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,16 +102,16 @@
 block discarded – undo
102 102
     $modx->setPlaceholder('login_form_position_class', 'loginbox-' . $modx->config['login_form_position']);
103 103
     
104 104
     switch ($modx->config['manager_theme_mode']) {
105
-      case '1':
105
+        case '1':
106 106
         $modx->setPlaceholder('manager_theme_style', 'lightness');
107 107
         break;
108
-      case '2':
108
+        case '2':
109 109
         $modx->setPlaceholder('manager_theme_style', 'light');
110 110
         break;
111
-      case '3':
111
+        case '3':
112 112
         $modx->setPlaceholder('manager_theme_style', 'dark');
113 113
         break;
114
-      case '4':
114
+        case '4':
115 115
         $modx->setPlaceholder('manager_theme_style', 'darkness');
116 116
         break;
117 117
     }
Please login to merge, or discard this patch.