X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/e72f55ac765a05586d565c67f79dce57d9c1ad76..7b1dd0377f3cd239eae4f1f42486360459182369:/inc/mod_roomReservationConfigPage.inc diff --git a/inc/mod_roomReservationConfigPage.inc b/inc/mod_roomReservationConfigPage.inc index 706b9f0..25081ab 100644 --- a/inc/mod_roomReservationConfigPage.inc +++ b/inc/mod_roomReservationConfigPage.inc @@ -85,11 +85,12 @@ class mod_roomReservationConfigPage extends mod_roomReservationPage { // first column echo "". - "
\n"; + "\n"; GroupBox(_c("room-reservation:Available rooms"), "host"); - printf("

%s

", _c("room-reservation:The following rooms are ". - "available for booking:")); + printf("

%s

", sprintf(_c("room-reservation:The following rooms are ". + "available for booking (you can add and delete rooms on the computer administration page):"))); echo "
"; $this->orwlb->show(); echo "
\n"; @@ -107,9 +108,9 @@ class mod_roomReservationConfigPage extends mod_roomReservationPage { "action. Please use the %sgroup administration%s to assign and revoke ". "privileges."), "", ""), _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 "

\n"; echo sprintf("\n", icon("keys"), _("View the booking table").":", $asViewGroups == array() ? @@ -133,8 +134,8 @@ class mod_roomReservationConfigPage extends mod_roomReservationPage { GroupBox(_c("room-reservation:Periods"), "mod_room-reservation_timeslice"); printf("

%s

", _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 "
"; $this->otlb->show(); echo "
\n"; @@ -142,14 +143,14 @@ class mod_roomReservationConfigPage extends mod_roomReservationPage { GroupBox(_c("room-reservation:Further options"), "manage"); printf("
". - "
%s%s%s
\n", $_SERVER["PHP_SELF"]); + "
\n", $_SERVER["PHP_SELF"]); printf("\n"; printf("", $GLOBALS["stdbtn"], _("OK")); + "[submit]' value='%s' />", $GLOBALS["stdbtn"], _("OK")); echo "
<%s name='mod_roomReservationConfigPage". - "[showweekend]' id='mod_roomReservationConfigPageShowWeekend' ". - "value='1' %s />
". - "%s

", + "[showweekend]' value='0' /><%s name='mod_roomReservationConfigPage". + "[showweekend]' id='mod_roomReservationConfigPageShowWeekend' ". + "value='1' %s />

". + "%s

", $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 ". @@ -157,23 +158,23 @@ class mod_roomReservationConfigPage extends mod_roomReservationPage { echo "
<%s name='mod_roomReservationConfigPage". - "[showlessons]' id='mod_roomReservationConfigPageShowLessons' ". - "value='1'%s />
". - "%s

", + "[showlessons]' value='0' /><%s name='mod_roomReservationConfigPage". + "[showlessons]' id='mod_roomReservationConfigPageShowLessons' ". + "value='1'%s />

". + "%s

", $GLOBALS["smlchk"], $this->bPostShowLessons ? "checked='checked' " : "", _c("room-reservation:Show „lesson” texts"), _c("room-reservation:Check this box to show texts like ". - "„nth lesson&rdquo in the booking page. If this box is ". - "unchecked, none of these texts are shown.")); + "„nth lesson&rdquo in the booking page. If this box is ". + "unchecked, none of these texts are shown.")); printf("
<%s name='mod_roomReservationConfigPage". - "[submit]' value='%s' />
\n"; _GroupBox(); echo "

\n"; } } -?> \ No newline at end of file +?>