X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/e72f55ac765a05586d565c67f79dce57d9c1ad76..f3daeca192a6c51e403a00c46065d937e1c7e29c:/inc/mod_roomReservationTimesliceListBox.inc diff --git a/inc/mod_roomReservationTimesliceListBox.inc b/inc/mod_roomReservationTimesliceListBox.inc index b4c9cde..91f5bae 100644 --- a/inc/mod_roomReservationTimesliceListBox.inc +++ b/inc/mod_roomReservationTimesliceListBox.inc @@ -114,12 +114,12 @@ class mod_roomReservationTimesliceListBox extends mod_roomReservationControl { // Note: we want to handle the timestamps in GMT format, hence the "+0000" if(strtotime($this->getNewBegin()." +0000") === false) { $this->asMessages[] = _c("room-reservation:The beginning time is ". - "invalid."); + "invalid."); $bErrors = true; } if(strtotime($this->getNewEnd()." +0000") === false) { $this->asMessages[] = _c("room-reservation:The ending time is ". - "invalid."); + "invalid."); $bErrors = true; } @@ -222,7 +222,7 @@ class mod_roomReservationTimesliceListBox extends mod_roomReservationControl { } TreeViewLine(array(sprintf("<%s name='mod_roomReservationTimesliceListBox". - "[begin]' value='%s' size='8'/>", $GLOBALS["stdedt"], + "[begin]' value='%s' size='8'/>", $GLOBALS["stdedt"], $this->getNewBegin()), sprintf("<%s name='". "mod_roomReservationTimesliceListBox[end]' value='%s' size='8'/> <%s ". "name='mod_roomReservationTimesliceListBox[submit]' value='%s' />", @@ -234,12 +234,12 @@ class mod_roomReservationTimesliceListBox extends mod_roomReservationControl { $aoTs = $this->oCfg->getTimeslices(); if(count($aoTs) > 0) { echo "