Revision: 1594
http://mrbs.svn.sourceforge.net/mrbs/?rev=1594&view=rev
Author: cimorrison
Date: 2010-11-11 09:29:34 +0000 (Thu, 11 Nov 2010)
Log Message:
-----------
Changed the name of the config variable for preventing multiple room selection
from $auth['only_admin_can_select_multiple'] to
$auth['only_admin_can_select_multiroom']. (Slightly more meaningful and also
consistent with $auth['only_admin_can_book_multiday'])
Modified Paths:
--------------
mrbs/trunk/web/edit_entry.php
mrbs/trunk/web/systemdefaults.inc.php
Modified: mrbs/trunk/web/edit_entry.php
===================================================================
--- mrbs/trunk/web/edit_entry.php 2010-11-10 17:13:40 UTC (rev 1593)
+++ mrbs/trunk/web/edit_entry.php 2010-11-11 09:29:34 UTC (rev 1594)
@@ -127,7 +127,7 @@
// Similarly for multi-day
$multiday_allowed = $is_admin || empty($auth['only_admin_can_book_multiday']);
// Similarly for multiple room selection
-$multiselect_allowed = $is_admin ||
empty($auth['only_admin_can_select_multiple']);
+$multiroom_allowed = $is_admin ||
empty($auth['only_admin_can_select_multiroom']);
// This page will either add or modify a booking
@@ -915,7 +915,7 @@
<div class="group">
<?php
echo "<select id=\"rooms\" name=\"rooms[]\"" .
- (($multiselect_allowed) ? " multiple=\"multiple\"" : "") .
+ (($multiroom_allowed) ? " multiple=\"multiple\"" : "") .
" size=\"5\">\n";
foreach ($rooms as $r)
{
@@ -928,7 +928,7 @@
}
}
echo "</select>\n";
- if ($multiselect_allowed)
+ if ($multiroom_allowed)
{
echo "<span>" . get_vocab("ctrl_click") . "</span>\n";
}
Modified: mrbs/trunk/web/systemdefaults.inc.php
===================================================================
--- mrbs/trunk/web/systemdefaults.inc.php 2010-11-10 17:13:40 UTC (rev
1593)
+++ mrbs/trunk/web/systemdefaults.inc.php 2010-11-11 09:29:34 UTC (rev
1594)
@@ -694,12 +694,12 @@
// set this variable to TRUE
$auth['only_admin_can_book_repeat'] = FALSE;
// If you want only administrators to be able to make bookings spanning
-// more than one day, set this variable to TRUE
+// more than one day, set this variable to TRUE.
$auth['only_admin_can_book_multiday'] = FALSE;
// If you want only administrators to be able to select multiple rooms
// on the booking form then set this to TRUE. (It doesn't stop ordinary users
// making separate bookings for the same time slot, but it does slow them
down).
-$auth['only_admin_can_select_multiple'] = FALSE;
+$auth['only_admin_can_select_multiroom'] = FALSE;
// If you don't want ordinary users to be able to see the other users'
// details then set this to TRUE. (Only relevant when using 'db'
authentication]
$auth['only_admin_can_see_other_users'] = FALSE;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits