Changeset:
        f8ea36102d48
        
https://sourceforge.net/p/mrbs/hg-code/ci/f8ea36102d48a3948b3a35b03d59fceed801a37f
Author:
        Campbell Morrison <[email protected]>
Date:
        Sat Feb 27 13:26:00 2016 +0000
Log message:

Changed order of fields in form for better clarity

diffstat:

 web/edit_area_room.php |  28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diffs (45 lines):

diff -r 63f7695c2c89 -r f8ea36102d48 web/edit_area_room.php
--- a/web/edit_area_room.php    Sat Feb 27 13:20:42 2016 +0000
+++ b/web/edit_area_room.php    Sat Feb 27 13:26:00 2016 +0000
@@ -930,6 +930,20 @@
       echo "<input type=\"hidden\" name=\"old_room_name\" value=\"" . 
htmlspecialchars($room_data["room_name"]) . "\">\n";
       echo "</div>\n";
       
+      // Sort key
+      if ($is_admin)
+      {
+        echo "<div>\n";
+        $params = array('label'         => get_vocab("sort_key") . ":",
+                        'label_title'   => get_vocab("sort_key_note"),
+                        'name'          => 'sort_key',
+                        'value'         => $room_data['sort_key'],
+                        'disabled'      => $disabled,
+                        'create_hidden' => FALSE);
+        generate_input($params);
+        echo "</div>\n";
+      }
+      
       // Status (Enabled or Disabled)
       if ($is_admin)
       {
@@ -948,20 +962,6 @@
         echo "</div>\n";
       }
 
-      // Sort key
-      if ($is_admin)
-      {
-        echo "<div>\n";
-        $params = array('label'         => get_vocab("sort_key") . ":",
-                        'label_title'   => get_vocab("sort_key_note"),
-                        'name'          => 'sort_key',
-                        'value'         => $room_data['sort_key'],
-                        'disabled'      => $disabled,
-                        'create_hidden' => FALSE);
-        generate_input($params);
-        echo "</div>\n";
-      }
-
       // Description
       echo "<div>\n";
       $params = array('label'         => get_vocab("description") . ":",

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to