Revision: 2042
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2042&view=rev
Author:   cimorrison
Date:     2011-09-30 15:51:53 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
Fixed bug whereby the room disabled/enabled buttons were not disabled for 
ordinary users (though as there was no Save button they weren't able to change 
the status)

Modified Paths:
--------------
    mrbs/trunk/web/edit_area_room.php

Modified: mrbs/trunk/web/edit_area_room.php
===================================================================
--- mrbs/trunk/web/edit_area_room.php   2011-09-30 15:40:55 UTC (rev 2041)
+++ mrbs/trunk/web/edit_area_room.php   2011-09-30 15:51:53 UTC (rev 2042)
@@ -543,11 +543,11 @@
       echo "<div class=\"group\">\n";
       echo "<label>\n";
       $checked = ($row['disabled']) ? "" : " checked=\"checked\"";
-      echo "<input class=\"radio\" type=\"radio\" name=\"room_disabled\" 
value=\"0\"$checked>\n";
+      echo "<input class=\"radio\" type=\"radio\" name=\"room_disabled\" 
value=\"0\"${checked}${disabled}>\n";
       echo get_vocab("enabled") . "</label>\n";
       echo "<label>\n";
       $checked = ($row['disabled']) ? " checked=\"checked\"" : "";
-      echo "<input class=\"radio\" type=\"radio\" name=\"room_disabled\" 
value=\"1\"$checked>\n";
+      echo "<input class=\"radio\" type=\"radio\" name=\"room_disabled\" 
value=\"1\"${checked}${disabled}>\n";
       echo get_vocab("disabled") . "</label>\n";
       echo "</div>\n";
       echo "</div>\n";

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to