expanded tabs
[iserv-mod-room-reservation.git] / inc / mod_roomReservationBookingTable.inc
index fd85ef1..af31dda 100644 (file)
@@ -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 <b>every week</b>, not just this single week!"));
         $strAfter .= sprintf("<p name='form' id='form' style='".
-               "text-align:center'><form action='%s?".
-               "mod_roomReservationBookingTable[action]=submitdelete#form' ".
+          "text-align:center'><form action='%s?".
+          "mod_roomReservationBookingTable[action]=submitdelete#form' ".
           "method='post'>%s%s<br /><%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("<label for='interval'>%s</label> %s<br />".
-       "<label for='account'>%s</label> <%s name='".
-       "mod_roomReservationBookingTable[account]' id='account' value='%s' ".
+        "<label for='account'>%s</label> <%s name='".
+        "mod_roomReservationBookingTable[account]' id='account' value='%s' ".
         "size='15' /><br />", _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("<td name='form' id='form' style='text-align:left'>%s".
-       "<form action='%s?mod_roomReservationBookingTable[action]=".
-       "submit#form' method='post'><label for='tslast'>%s</label> %s".
-       "<br /><label for='reason'>%s</label> <%s id='reason' size='15' ".
-       "value='%s' name='mod_roomReservationBookingTable[reason]' /><br />%s".
-       "<%s name='mod_roomReservationBookingTable[submitbooking]' value='%s' />".
-       "<input type='hidden' name='mod_roomReservationBookingTable[date]' ".
-       "value='%s' /><input type='hidden' name='".
-       "mod_roomReservationBookingTable[room]' value='%s' /><input ".
-       "type='hidden' name='mod_roomReservationBookingTable[tsfirst]' ".
-       "value='%s' /></form></td>\n", (count($asErrors) > 0) ? $strErrors : "",
+      "<form action='%s?mod_roomReservationBookingTable[action]=".
+      "submit#form' method='post'><label for='tslast'>%s</label> %s".
+      "<br /><label for='reason'>%s</label> <%s id='reason' size='15' ".
+      "value='%s' name='mod_roomReservationBookingTable[reason]' /><br />%s".
+      "<%s name='mod_roomReservationBookingTable[submitbooking]' value='%s' />".
+      "<input type='hidden' name='mod_roomReservationBookingTable[date]' ".
+      "value='%s' /><input type='hidden' name='".
+      "mod_roomReservationBookingTable[room]' value='%s' /><input ".
+      "type='hidden' name='mod_roomReservationBookingTable[tsfirst]' ".
+      "value='%s' /></form></td>\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:"),
This page took 0.027837 seconds and 4 git commands to generate.