expanded tabs
[iserv-mod-room-reservation.git] / inc / mod_roomReservationTimesliceListBox.inc
index b4c9cde..91f5bae 100644 (file)
@@ -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 "<form action='?mod_roomReservationTimesliceListBox[action]=delete' ".
-       "method='post'>";
+        "method='post'>";
       $i = 0;
       foreach($aoTs as $oTs) {
         $sBox = sprintf("<input type='hidden' ".
-               "name='mod_roomReservationTimesliceListBox[l][%d]' value='0' />".
-               "<%s name='mod_roomReservationTimesliceListBox[l][%d]' value='1' />",
+          "name='mod_roomReservationTimesliceListBox[l][%d]' value='0' />".
+          "<%s name='mod_roomReservationTimesliceListBox[l][%d]' value='1' />",
           $i, $GLOBALS["smlchk"], $i);
         // Note: we have only GMT timestamps in the timeslice objects
         TreeViewLine(array($sBox . gmstrftime(_("%#I:%M %p"), $oTs->getBegin()),
@@ -250,7 +250,7 @@ class mod_roomReservationTimesliceListBox  extends mod_roomReservationControl {
       printf("<tr><td class='tbbtm' colspan='%d'>", $GLOBALS["treeview_cols"]);
       CheckCombo();
       printf("<%s name='mod_roomReservationTimesliceListBox[submit]' ".
-       "value='%s' />", $GLOBALS["stdbtn"], _("Delete"));
+        "value='%s' />", $GLOBALS["stdbtn"], _("Delete"));
       echo "</td></tr>\n";
     } else {
       TreeViewEmpty();
@@ -261,4 +261,4 @@ class mod_roomReservationTimesliceListBox  extends mod_roomReservationControl {
   }
   /** @} */
 }
-?>
\ No newline at end of file
+?>
This page took 0.024201 seconds and 4 git commands to generate.