printf("<tr><td class='tbbtm' colspan='%d'>", $GLOBALS["treeview_cols"]);
CheckCombo();
printf("<%s name='mod_roomReservationRoomWhitelistListBox[action]".
- "[delete]' value='%s' />", $GLOBALS["stdbtn"], _("Delete"));
+ "[delete]' value='%s' />", $GLOBALS["stdbtn"], _("Delete"));
echo "</td></tr>\n";
}
TreeViewSubtitle(_("Add"));
$this->showList($aoRooms);
TreeViewLine(sprintf("<p><%s name='mod_roomReservationRoomWhitelistList".
- "Box[action][add]' value='%s' /> <%s name='mod_roomReservationRoom".
- "WhitelistListBox[action][add]' value='%s' /></p>", $GLOBALS["stdbtn"],
+ "Box[action][add]' value='%s' /> <%s name='mod_roomReservationRoom".
+ "WhitelistListBox[action][add]' value='%s' /></p>", $GLOBALS["stdbtn"],
_("OK"), $GLOBALS["stdbtn"], _("Cancel")));
}
_c("room-reservation:rooms")));
$this->showList($aoRooms, false);
TreeViewLine(sprintf("<p><%s name='mod_roomReservationRoomWhitelistList".
- "Box[action][delete]' value='%s' /> <%s name='mod_roomReservationRoom".
- "WhitelistListBox[action][delete]' value='%s' /></p>",
+ "Box[action][delete]' value='%s' /> <%s name='mod_roomReservationRoom".
+ "WhitelistListBox[action][delete]' value='%s' /></p>",
$GLOBALS["stdbtn"], _("OK"), $GLOBALS["stdbtn"], _("Cancel")));
}
$nOid = pg_fetch_result(db_query("SELECT oid FROM ".
"rooms WHERE name = $1", $o->getName()), 0, "oid");
$sBox = $bCheckboxes ? sprintf("<%s id='box%d' name='mod_room".
- "ReservationRoomWhitelistListBox[l][%d]' value='1'%s /><label ".
- "for='box%d'>%s%s</label>", $GLOBALS["smlchk"], $nOid, $nOid,
+ "ReservationRoomWhitelistListBox[l][%d]' value='1'%s /><label ".
+ "for='box%d'>%s%s</label>", $GLOBALS["smlchk"], $nOid, $nOid,
@$this->anPostSelection[$nOid] ? " checked='checked'" : "", $nOid,
icon("host"), $o->getName()) :
sprintf("<input type='hidden' name='mod_roomReservationRoom".
- "WhitelistListBox[l][%d]' value='1' />%s%s", $nOid, icon("host"),
+ "WhitelistListBox[l][%d]' value='1' />%s%s", $nOid, icon("host"),
$o->getName());
TreeViewLine($sBox);
}