X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/7d874525c50d509f90a4949563fe11a36cdd0357..b6aea2aac80b2a51442fe06355b1c2d8bd6a2c86:/inc/mod_roomReservationBookingTable.inc?ds=sidebyside 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:"),