Changeset:
        4729e19b384e
        
https://sourceforge.net/p/mrbs/hg-code/ci/4729e19b384e40256bf97a1e11b6fd597b69b9d2
Author:
        Campbell Morrison <[email protected]>
Date:
        Sat Feb 27 13:36:28 2016 +0000
Log message:

Allowed the area sort_key to be edited (but it still isn't used for sorting)

diffstat:

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

diffs (27 lines):

diff -r f8ea36102d48 -r 4729e19b384e web/edit_area_room.php
--- a/web/edit_area_room.php    Sat Feb 27 13:26:00 2016 +0000
+++ b/web/edit_area_room.php    Sat Feb 27 13:36:28 2016 +0000
@@ -761,6 +761,7 @@
       $sql = "UPDATE $tbl_area SET ";
       $assign_array = array();
       $assign_array[] = "area_name='" . sql_escape($area_name) . "'";
+      $assign_array[] = "sort_key='" . sql_escape($sort_key) . "'";
       $assign_array[] = "disabled=" . $area_disabled;
       $assign_array[] = "timezone='" . sql_escape($area_timezone) . "'";
       $assign_array[] = "area_admin_email='" . sql_escape($area_admin_email) . 
"'";
@@ -1126,6 +1127,15 @@
                   'value' => $area_data['area_name']);
   generate_input($params);
   echo "</div>\n";
+  
+  // Sort key
+  echo "<div>\n";
+  $params = array('label'       => get_vocab("sort_key") . ":",
+                  'label_title' => get_vocab("sort_key_note"),
+                  'name'        => 'sort_key',
+                  'value'       => $area_data['sort_key']);
+  generate_input($params);
+  echo "</div>\n";
         
   // Status - Enabled or Disabled
   echo "<div id=\"status\">\n";

------------------------------------------------------------------------------
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