Revision: 2106
http://mrbs.svn.sourceforge.net/mrbs/?rev=2106&view=rev
Author: cimorrison
Date: 2011-10-18 00:24:43 +0000 (Tue, 18 Oct 2011)
Log Message:
-----------
Restored resizable bookings in the day view
Modified Paths:
--------------
mrbs/branches/draggable_bookings/web/Themes/default/header.inc
Modified: mrbs/branches/draggable_bookings/web/Themes/default/header.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/Themes/default/header.inc
2011-10-18 00:11:59 UTC (rev 2105)
+++ mrbs/branches/draggable_bookings/web/Themes/default/header.inc
2011-10-18 00:24:43 UTC (rev 2106)
@@ -1791,30 +1791,29 @@
}
} <?php // divResizeStop ?>
+
+ var handles = 'all';
<?php
if ($page == 'week')
{
// If we're in the week view then if non-admins aren't allowed to
// make repeat bookings then we want to restrict the handles we
// offer them so that they can't get that far.
- if ($is_admin || !$auth['only_admin_can_book_repeat'])
+ if (!$is_admin && $auth['only_admin_can_book_repeat'])
{
- ?>
- var handles = 'all';
- <?php
+ if ($times_along_top)
+ {
+ ?>
+ handles = 'e, w';
+ <?php
+ }
+ else
+ {
+ ?>
+ handles = 'n, s';
+ <?php
+ }
}
- elseif ($times_along_top)
- {
- ?>
- var handles = 'e, w';
- <?php
- }
- else
- {
- ?>
- var handles = 'n, s';
- <?php
- }
}
?>
var divBooking = $(this).children('div');
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits