Re: [MRBS-general] Small Patches
Brought to you by:
jberanek
From: Campbell M. <cam...@gm...> - 2011-12-28 22:01:23
|
I've added in the edit_entry.php patch in Rev 2214 and Rev 2215. There were a few other bits of JavaScript that needed to be changed as well, and I made a few other changes - mostly anticipating a future change to make max_duration a per-area setting. I'll have a look at the mincals patch in the next couple of days. Thanks, Campbell From: Daniel Yule [mailto:dy...@un...] Sent: 16 December 2011 22:55 To: mrb...@li... Subject: [MRBS-general] Small Patches Hello, I've made a couple of patches with small functionality changes. edit_entry.php.patch makes it so that the "all day" check box only appears if the maximum booking duration allows that length of booking. It should work with periods either disabled or enabled minical.patch has updates for day.php, week.php and month.php that flip the mini calendars to displaying at the bottom if $display_calendars_bottom is set to true auth_ldap.inc.patch includes a change that disables referrals so that it is compatible with newer versions of ActiveDirectory. systemdefaults.inc.php.patch has the two options added for minical and auth_ldap. I've included them separately because they aren't necessary for the operation of the other patches, btu they should probably be included anyways. More patches are forthcoming. In particular, in the next week I am hoping to have the limitation on bookings per person per day implemented. There are some compelling reasons why that and a few other things should be an area by area option, but I don't really want to make changes to the database schema. However, there are other options already included that should probably be area by area as well (maxmimum booking times for one) so maybe it's time for a database schema update? I plan to implement things globally, but I am willing to change that if need be. Daniel Yule Web Developer II - Library 250-960-6644 Room 5-417 Geoffrey R. Weller Library University of Northern British Columbia |