// first column
echo "<table border='0' cellspacing='10' cellpadding='0'><tr>".
- "<td style='width:50%;'>\n";
+ "<td style='width:50%;'>\n";
GroupBox(_c("room-reservation:Available rooms"), "host");
- printf("<p>%s</p>", _c("room-reservation:The following rooms are ".
- "available for booking:"));
+ printf("<p>%s</p>", sprintf(_c("room-reservation:The following rooms are ".
+ "available for booking (you can add and delete rooms on the <a href='".
+ "/idesk/inet/admin/'>computer administration page</a>):")));
echo "<div style='margin:8px;'>";
$this->orwlb->show();
echo "</div>\n";
"action. Please use the %sgroup administration%s to assign and revoke ".
"privileges."), "<a href='/idesk/admin/act/groups.php'>", "</a>"),
_c("room-reservation:Please note that every group with the booking ".
- "privilege can also implicitly view the booking table and every group with ".
- "the administration privilege can also implicitly book and view the ".
- "booking table."));
+ "privilege can also implicitly view the booking table and every group with ".
+ "the administration privilege can also implicitly book and view the ".
+ "booking table."));
echo "<p><table style='width:100%'><tr>\n";
echo sprintf("<td>%s%s</td><td>%s</td>\n", icon("keys"),
_("View the booking table").":", $asViewGroups == array() ?
GroupBox(_c("room-reservation:Periods"), "mod_room-reservation_timeslice");
printf("<p>%s</p>", _c("room-reservation:Here you can fill in the ".
- "periods where bookings can be undertaken. A booking period can ".
- "e. g. correspond to a lesson."));
+ "periods where bookings can be undertaken. A booking period can ".
+ "e. g. correspond to a lesson."));
echo "<div style='margin:8px;'>";
$this->otlb->show();
echo "</div>\n";
GroupBox(_c("room-reservation:Further options"), "manage");
printf("<div style='margin:8px;'><form action='%s' method='post'>".
- "<table><tr>\n", $_SERVER["PHP_SELF"]);
+ "<table><tr>\n", $_SERVER["PHP_SELF"]);
printf("<td><input type='hidden' name='mod_roomReservationConfigPage".
- "[showweekend]' value='0' /><%s name='mod_roomReservationConfigPage".
- "[showweekend]' id='mod_roomReservationConfigPageShowWeekend' ".
- "value='1' %s /></td><td><label for='".
- "mod_roomReservationConfigPageShowWeekend'><b>%s</b></label><br />".
- "<span class='mod_roomReservationConfigPageExplanation'>%s</span></p>",
+ "[showweekend]' value='0' /><%s name='mod_roomReservationConfigPage".
+ "[showweekend]' id='mod_roomReservationConfigPageShowWeekend' ".
+ "value='1' %s /></td><td><label for='".
+ "mod_roomReservationConfigPageShowWeekend'><b>%s</b></label><br />".
+ "<span class='mod_roomReservationConfigPageExplanation'>%s</span></p>",
$GLOBALS["smlchk"], $this->bPostShowWeekend ? "checked='checked' " : "",
_c("room-reservation:Show weekend"), _c("room-reservation:If ".
"selected, the weekdays saturday and sunday are also shown in the ".
echo "</tr><tr>\n";
printf("<td><input type='hidden' name='mod_roomReservationConfigPage".
- "[showlessons]' value='0' /><%s name='mod_roomReservationConfigPage".
- "[showlessons]' id='mod_roomReservationConfigPageShowLessons' ".
- "value='1'%s /></td><td><label for='".
- "mod_roomReservationConfigPageShowLessons'><b>%s</b></label><br />".
- "<span class='mod_roomReservationConfigPageExplanation'>%s</span></p>",
+ "[showlessons]' value='0' /><%s name='mod_roomReservationConfigPage".
+ "[showlessons]' id='mod_roomReservationConfigPageShowLessons' ".
+ "value='1'%s /></td><td><label for='".
+ "mod_roomReservationConfigPageShowLessons'><b>%s</b></label><br />".
+ "<span class='mod_roomReservationConfigPageExplanation'>%s</span></p>",
$GLOBALS["smlchk"], $this->bPostShowLessons ? "checked='checked' " : "",
_c("room-reservation:Show „lesson” texts"),
_c("room-reservation:Check this box to show texts like ".
- "„<i>n</i>th lesson&rdquo in the booking page. If this box is ".
- "unchecked, none of these texts are shown."));
+ "„<i>n</i>th lesson&rdquo in the booking page. If this box is ".
+ "unchecked, none of these texts are shown."));
printf("</tr><tr><td colspan='2'><%s name='mod_roomReservationConfigPage".
- "[submit]' value='%s' /></td>", $GLOBALS["stdbtn"], _("OK"));
+ "[submit]' value='%s' /></td>", $GLOBALS["stdbtn"], _("OK"));
echo "</tr></table></form></div>\n";
_GroupBox();
echo "</td></tr></table>\n";
}
}
-?>
\ No newline at end of file
+?>