Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 573)
+++ trunk/CHANGELOG	(revision 574)
@@ -13,6 +13,7 @@
 ------------------------------------- 2.7.0 -------------------------------------
 
 20-Jan-2008 Thomas Hornik
+!	updated admin/pages/sections.php to changed jscalendar-api from changeset 571
 #	fixed E_NOTICE-warning in news-module (about SECTION_ID in comment.php)
 19-Jan-2008 Christian Sommer
 !	Reduced the success time out and set WYSIWSY background to white
Index: trunk/wb/admin/pages/sections.php
===================================================================
--- trunk/wb/admin/pages/sections.php	(revision 573)
+++ trunk/wb/admin/pages/sections.php	(revision 574)
@@ -138,13 +138,14 @@
 ?>
 
 <?php // include jscalendar-setup
+	$jscal_use_time = true; // whether to use a clock, too
 	require_once(WB_PATH."/include/jscalendar/wb-setup.php");
-	// override some vars:
+	// override some vars: (normally, there is no need to change this)
 	//$jscal_lang = "en"; //- calendar-language (default: wb-backend-language)
-	//$jscal_today = ""; // - date, the calendar offers if the text-field is empty (default: today)
+	//$jscal_today = ""; // - date the calendar offers if the text-field is empty (default: today)
 	//$jscal_firstday = "0"; // - first-day-of-week (0-sunday, 1-monday, ...) (default: 0(EN) or 1(everything else))
-	//$jscal_format = "Y-m-d H:i"; // - initial-format used for the text-field (default: from wb-backend-date-format)
-	//$jscal_ifformat = "%Y-%m-%d %H:%M"; // - format for jscalendar (default: wb-backend-date-format)
+	//$jscal_format = "Y-m-d"; // - initial-format used for the text-field (default: from wb-backend-date-format)
+	//$jscal_ifformat = "%Y-%m-%d"; // - format for jscalendar (default: from wb-backend-date-format)
 ?>
 <table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" height="50" style="margin-bottom: 10px;">
 <tr style="background-color: #F0F0F0;">
@@ -252,8 +253,10 @@
 							ifFormat    : "<?php echo $jscal_ifformat ?>",
 							button      : "trigger_start<?php echo $section['section_id']; ?>",
 							firstDay    : <?php echo $jscal_firstday ?>,
-							showsTime   : "true",
-							timeFormat  : "24",
+							<?php if(isset($jscal_use_time) && $jscal_use_time==TRUE) { ?>
+								showsTime   : "true",
+								timeFormat  : "24",
+							<?php } ?>
 							date        : "<?php echo $jscal_today ?>",
 							range       : [1970, 2037],
 							step        : 1
@@ -267,8 +270,10 @@
 							ifFormat    : "<?php echo $jscal_ifformat ?>",
 							button      : "trigger_stop<?php echo $section['section_id']; ?>",
 							firstDay    : <?php echo $jscal_firstday ?>,
-							showsTime   : "true",
-							timeFormat  : "24",
+							<?php if(isset($jscal_use_time) && $jscal_use_time==TRUE) { ?>
+								showsTime   : "true",
+								timeFormat  : "24",
+							<?php } ?>
 							date        : "<?php echo $jscal_today ?>",
 							range       : [1970, 2037],
 							step        : 1
