Revision: 1432
http://mrbs.svn.sourceforge.net/mrbs/?rev=1432&view=rev
Author: cimorrison
Date: 2010-09-01 13:36:10 +0000 (Wed, 01 Sep 2010)
Log Message:
-----------
Changed the comments associated with the $private_default config variable to
reflect the way the code actually works and, presumably, the way it was
intended to work. (Previously if you set $private_enabled to FALSE and
$private_default to TRUE then the comments indicated that all new bookings
would be marked as private. But this isn't the way the code works, and if you
wanted to achieve that you could do it by setting $private_mandatory to TRUE).
Modified Paths:
--------------
mrbs/trunk/web/systemdefaults.inc.php
Modified: mrbs/trunk/web/systemdefaults.inc.php
===================================================================
--- mrbs/trunk/web/systemdefaults.inc.php 2010-09-01 10:06:58 UTC (rev
1431)
+++ mrbs/trunk/web/systemdefaults.inc.php 2010-09-01 13:36:10 UTC (rev
1432)
@@ -418,14 +418,15 @@
// Display checkbox in entry page to make
// the booking private.
-$private_default = FALSE; // DEFAULT VALUE FOR NEW AREAS
- // Set default value for "Private" flag on new/edited entries.
- // Used even if checkbox is not displayed.
-
$private_mandatory = FALSE; // DEFAULT VALUE FOR NEW AREAS
// If TRUE all new/edited entries will
// use the value from $private_default when saved.
// If checkbox is displayed it will be disabled.
+
+$private_default = FALSE; // DEFAULT VALUE FOR NEW AREAS
+ // Set default value for "Private" flag on new/edited entries.
+ // Used if the $private_enabled checkbox is displayed
+ // or if $private_mandatory is set.
$private_override = "none"; // DEFAULT VALUE FOR NEW AREAS
// Override default privacy behavior.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits