Revision: 1619
http://mrbs.svn.sourceforge.net/mrbs/?rev=1619&view=rev
Author: cimorrison
Date: 2010-11-18 21:35:21 +0000 (Thu, 18 Nov 2010)
Log Message:
-----------
Added config setting $default_type
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-18 19:12:18 UTC (rev 1618)
+++ mrbs/trunk/web/edit_entry.php 2010-11-18 21:35:21 UTC (rev 1619)
@@ -322,7 +322,7 @@
$name = "";
$create_by = $user;
$description = "";
- $type = "I";
+ $type = $default_type;
$room_id = $room;
$rep_id = 0;
$rep_type = REP_NONE;
Modified: mrbs/trunk/web/systemdefaults.inc.php
===================================================================
--- mrbs/trunk/web/systemdefaults.inc.php 2010-11-18 19:12:18 UTC (rev
1618)
+++ mrbs/trunk/web/systemdefaults.inc.php 2010-11-18 21:35:21 UTC (rev
1619)
@@ -916,4 +916,7 @@
$typel["I"] = "I";
// $typel["J"] = "J";
+// Default type for new bookings
+$default_type = "I";
+
?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits