X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/ebf4ec170cdb598af92bac7af20c208010c4e9fd..043f6b0f28bdc4c4347249eb5c6bedd4cbeef12f:/inc/mod_roomReservationConfigPage.inc diff --git a/inc/mod_roomReservationConfigPage.inc b/inc/mod_roomReservationConfigPage.inc index 4477ff2..9a465d0 100644 --- a/inc/mod_roomReservationConfigPage.inc +++ b/inc/mod_roomReservationConfigPage.inc @@ -1,31 +1,31 @@ ". - "\n"; + "\n"; GroupBox(_c("room-reservation:Available rooms"), "host"); - printf("

%s

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

%s

", sprintf(_c("room-reservation:The following rooms are ". + "available for booking (you can add and delete rooms on the computer administration page):"))); $this->orwlb->show(); - echo "
\n"; _GroupBox(); GroupBox(_("Privileges"), "keys"); @@ -107,9 +106,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,23 +132,21 @@ 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.")); - echo "
"; + "periods where bookings can be undertaken. A booking period can ". + "e. g. correspond to a lesson.")); $this->otlb->show(); - echo "
\n"; _GroupBox(); 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 +154,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 +?>