*/
class mod_roomReservationBookingPage extends mod_roomReservationPage {
- /** (mod_roomReservationConfig) Reference to the configuration object */
+ /** (mod_roomReservationConfig) Reference to the configuration object */
protected $oCfg;
/**
* (mod_roomReservationRoomsManager) Reference to the rooms manager object
if(count($aor) > 0) {
echo _c("room-reservation:Room:") . sprintf(" <select onchange=".
"'document.forms[\"room\"].submit()' width='250' ".
- "name='mod_roomReservationBookingTable[room]'>\n", $this->getStart());
+ "name='mod_roomReservationBookingTable[room]'>\n", $this->getStart());
foreach($aor as $or) {
// note to myself: no qu() here, seems this is being done automagically
echo sprintf("<option value='%s'%s>%s</option>\n", $or->getName(),
$GLOBALS["stdbtn"], _("Change"));
} else {
printf("<p>%s</p>\n", _c("room-reservation:No rooms have been ".
- "configured yet."));
+ "configured yet."));
return;
}
// Print line with next 5 or so weeks
$strSep = " | ";
$strLink = sprintf("<a href='%s?mod_roomReservationBookingTable[date]=%%d".
- "&mod_roomReservationBookingTable[room]=%%s'>%%s</a>",
+ "&mod_roomReservationBookingTable[room]=%%s'>%%s</a>",
$_SERVER["PHP_SELF"]);
echo "<p>".sprintf($strLink, time(), qu($this->getRoom()),
_c("room-reservation:Current Week")) . $strSep;