X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/ebf4ec170cdb598af92bac7af20c208010c4e9fd..1e66ca805e28c5fbbb693dcaaed4ca27eb8a0bae:/inc/mod_roomReservationBookingTable.inc diff --git a/inc/mod_roomReservationBookingTable.inc b/inc/mod_roomReservationBookingTable.inc index fd85ef1..af31dda 100644 --- a/inc/mod_roomReservationBookingTable.inc +++ b/inc/mod_roomReservationBookingTable.inc @@ -95,9 +95,9 @@ class mod_roomReservationBookingsTable /* extends mclWidget */ { */ protected $cAction; /** - * (timestamp) The date of the requested booking or the date to show in the - * booking table - */ + * (timestamp) The date of the requested booking or the date to show in the + * booking table + */ protected $tsDate; /** * (string) The name of the room of the requested booking or the room to be @@ -320,7 +320,7 @@ class mod_roomReservationBookingsTable /* extends mclWidget */ { $this->strRoom = $str; } else { throw new Exception(_c("room-reservation:This room is not available ". - "for booking.")); + "for booking.")); } } @@ -600,7 +600,7 @@ CSS; * @param $ts (timestamp) current date * @param $ob (mod_roomReservationBooking) the booking * @param $cFlags (constant) Flags, - * See @ref bookingtable_printbooking_flags for more information. + * See @ref bookingtable_printbooking_flags for more information. * @param $asMsgs (array of strings) Additional messages to be printed * inside the cell, one array element per message * @return (int) the span of the booking @@ -634,8 +634,8 @@ CSS; "booking is a recurring booking. If you delete it, the period will ". "be deallocated for every week, not just this single week!")); $strAfter .= sprintf("

%s%s
<%s name='mod_roomReservationBookingTable". "[submitdelete]' value='%s' /> <%s name='". "mod_roomReservationBookingTable[submitdelete]' value='%s' />". @@ -704,27 +704,27 @@ CSS; $sWeeklyForm = ""; if($this->oCfg->userIsAdmin()) { $sWeeklyForm = sprintf(" %s
". - " <%s name='". - "mod_roomReservationBookingTable[account]' id='account' value='%s' ". + " <%s name='". + "mod_roomReservationBookingTable[account]' id='account' value='%s' ". "size='15' />
", _c("room-reservation:Repetition:"), select("mod_roomReservationBookingTable[interval]", $this->nPostInterval, array(0 => _c("Select:None"), 1 => _c("room-reservation:every week")), array("add" => "id='interval'")), _c("room-reservation:Account, if not yourself:"), $GLOBALS["stdedt"], - $this->strPostAccount); + $this->strPostAccount); } echo sprintf("%s". - " %s". - "
<%s id='reason' size='15' ". - "value='%s' name='mod_roomReservationBookingTable[reason]' />
%s". - "<%s name='mod_roomReservationBookingTable[submitbooking]' value='%s' />". - "
\n", (count($asErrors) > 0) ? $strErrors : "", + "
%s". + "
<%s id='reason' size='15' ". + "value='%s' name='mod_roomReservationBookingTable[reason]' />
%s". + "<%s name='mod_roomReservationBookingTable[submitbooking]' value='%s' />". + "
\n", (count($asErrors) > 0) ? $strErrors : "", $_SERVER["PHP_SELF"], _c("room-reservation:until:"), select("mod_roomReservationBookingTable[tslast]", $this->getTsLast(), $this->oCfg->getTimesliceEndings(true)), _c("room-reservation:Reason:"),