Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #12: Implement optional hourly interval
For several purposes hourly intervals are not suitable, so we make the interval configurable. For now, we only accept integral intervals, because fractions would require a modification of the storage format, and that feature has not yet been requested.
- Loading branch information
Showing
5 changed files
with
65 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?php | ||
|
||
$plugin_cf['ocal']['hour_first']="7"; | ||
$plugin_cf['ocal']['hour_last']="19"; | ||
|
||
?> | ||
<?php | ||
|
||
$plugin_cf['ocal']['hour_first']="7"; | ||
$plugin_cf['ocal']['hour_interval']="1"; | ||
$plugin_cf['ocal']['hour_last']="19"; | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
<?php | ||
|
||
$plugin_tx['ocal']['date_months']="Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember"; | ||
$plugin_tx['ocal']['date_days']="Mo,Di,Mi,Do,Fr,Sa,So"; | ||
$plugin_tx['ocal']['label_calendar_view']="Kalenderansicht"; | ||
$plugin_tx['ocal']['label_list_view']="Listenansicht"; | ||
$plugin_tx['ocal']['label_prev_interval']="Voriger Zeitraum"; | ||
$plugin_tx['ocal']['label_prev_year']="Voriges Jahr"; | ||
$plugin_tx['ocal']['label_prev_month']="Voriger Monat"; | ||
$plugin_tx['ocal']['label_today']="Heute"; | ||
$plugin_tx['ocal']['label_next_month']="Nächster Monat"; | ||
$plugin_tx['ocal']['label_next_year']="Nächstes Jahr"; | ||
$plugin_tx['ocal']['label_next_interval']="Nächster Zeitraum"; | ||
$plugin_tx['ocal']['label_save']="Speichern"; | ||
$plugin_tx['ocal']['label_state_0']=""; | ||
$plugin_tx['ocal']['label_state_1']="verfügbar"; | ||
$plugin_tx['ocal']['label_state_2']="reserviert"; | ||
$plugin_tx['ocal']['label_state_3']="gebucht"; | ||
$plugin_tx['ocal']['message_saved']="Erfolgreich gespeichert."; | ||
$plugin_tx['ocal']['message_unsaved_changes']="Es gibt ungesicherte Änderungen, die beim Verlassen der Seite verloren gehen!"; | ||
$plugin_tx['ocal']['error_occupancy_name']="Ein Belegungs-Name darf nur die Buchstaben a-z, die Ziffern 0-9 and Minus-Zeichen enthalten!"; | ||
$plugin_tx['ocal']['alt_logo']="Kalender"; | ||
|
||
$plugin_tx['ocal']['cf_hour_first']="Die erste Stunde, die in den stündlichen Belegungskalendern angezeigt werden soll."; | ||
$plugin_tx['ocal']['cf_hour_last']="Die letzte Stunde, die in den stündlichen Belegungskalendern angezeigt werden soll."; | ||
|
||
?> | ||
<?php | ||
|
||
$plugin_tx['ocal']['date_months']="Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember"; | ||
$plugin_tx['ocal']['date_days']="Mo,Di,Mi,Do,Fr,Sa,So"; | ||
$plugin_tx['ocal']['label_calendar_view']="Kalenderansicht"; | ||
$plugin_tx['ocal']['label_list_view']="Listenansicht"; | ||
$plugin_tx['ocal']['label_prev_interval']="Voriger Zeitraum"; | ||
$plugin_tx['ocal']['label_prev_year']="Voriges Jahr"; | ||
$plugin_tx['ocal']['label_prev_month']="Voriger Monat"; | ||
$plugin_tx['ocal']['label_today']="Heute"; | ||
$plugin_tx['ocal']['label_next_month']="Nächster Monat"; | ||
$plugin_tx['ocal']['label_next_year']="Nächstes Jahr"; | ||
$plugin_tx['ocal']['label_next_interval']="Nächster Zeitraum"; | ||
$plugin_tx['ocal']['label_save']="Speichern"; | ||
$plugin_tx['ocal']['label_state_0']=""; | ||
$plugin_tx['ocal']['label_state_1']="verfügbar"; | ||
$plugin_tx['ocal']['label_state_2']="reserviert"; | ||
$plugin_tx['ocal']['label_state_3']="gebucht"; | ||
$plugin_tx['ocal']['message_saved']="Erfolgreich gespeichert."; | ||
$plugin_tx['ocal']['message_unsaved_changes']="Es gibt ungesicherte Änderungen, die beim Verlassen der Seite verloren gehen!"; | ||
$plugin_tx['ocal']['error_occupancy_name']="Ein Belegungs-Name darf nur die Buchstaben a-z, die Ziffern 0-9 and Minus-Zeichen enthalten!"; | ||
$plugin_tx['ocal']['alt_logo']="Kalender"; | ||
|
||
$plugin_tx['ocal']['cf_hour_first']="Die erste Stunde, die in den stündlichen Belegungskalendern angezeigt werden soll."; | ||
$plugin_tx['ocal']['cf_hour_interval']="Das ganzzahlige stündliche Intervall. Soll beispielsweise nur jede zweite Stunde angezeigt werden, geben Sie \"2\" ein."; | ||
$plugin_tx['ocal']['cf_hour_last']="Die letzte Stunde, die in den stündlichen Belegungskalendern angezeigt werden soll."; | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
<?php | ||
|
||
$plugin_tx['ocal']['date_months']="January,February,March,April,May,June,July,August,September,October,November,December"; | ||
$plugin_tx['ocal']['date_days']="M,T,W,T,F,S,S"; | ||
$plugin_tx['ocal']['label_calendar_view']="Calendar view"; | ||
$plugin_tx['ocal']['label_list_view']="List view"; | ||
$plugin_tx['ocal']['label_prev_interval']="Previous interval"; | ||
$plugin_tx['ocal']['label_prev_year']="Previous Year"; | ||
$plugin_tx['ocal']['label_prev_month']="Previous Month"; | ||
$plugin_tx['ocal']['label_today']="Today"; | ||
$plugin_tx['ocal']['label_next_month']="Next Month"; | ||
$plugin_tx['ocal']['label_next_year']="Next Year"; | ||
$plugin_tx['ocal']['label_next_interval']="Next interval"; | ||
$plugin_tx['ocal']['label_save']="Save"; | ||
$plugin_tx['ocal']['label_state_0']=""; | ||
$plugin_tx['ocal']['label_state_1']="available"; | ||
$plugin_tx['ocal']['label_state_2']="reserved"; | ||
$plugin_tx['ocal']['label_state_3']="booked"; | ||
$plugin_tx['ocal']['message_saved']="Successfully saved."; | ||
$plugin_tx['ocal']['message_unsaved_changes']="There are unsaved changes that will be lost when leaving the page!"; | ||
$plugin_tx['ocal']['error_occupancy_name']="An occupancy name may only contain the letters a-z, the digits 0-9 and minus signs!"; | ||
$plugin_tx['ocal']['alt_logo']="Calendar"; | ||
|
||
$plugin_tx['ocal']['cf_hour_first']="The first hour that shall be displayed in the hourly occupancy calendars."; | ||
$plugin_tx['ocal']['cf_hour_last']="The last hour that shall be displayed in the hourly occupancy calendars."; | ||
|
||
?> | ||
<?php | ||
|
||
$plugin_tx['ocal']['date_months']="January,February,March,April,May,June,July,August,September,October,November,December"; | ||
$plugin_tx['ocal']['date_days']="M,T,W,T,F,S,S"; | ||
$plugin_tx['ocal']['label_calendar_view']="Calendar view"; | ||
$plugin_tx['ocal']['label_list_view']="List view"; | ||
$plugin_tx['ocal']['label_prev_interval']="Previous interval"; | ||
$plugin_tx['ocal']['label_prev_year']="Previous Year"; | ||
$plugin_tx['ocal']['label_prev_month']="Previous Month"; | ||
$plugin_tx['ocal']['label_today']="Today"; | ||
$plugin_tx['ocal']['label_next_month']="Next Month"; | ||
$plugin_tx['ocal']['label_next_year']="Next Year"; | ||
$plugin_tx['ocal']['label_next_interval']="Next interval"; | ||
$plugin_tx['ocal']['label_save']="Save"; | ||
$plugin_tx['ocal']['label_state_0']=""; | ||
$plugin_tx['ocal']['label_state_1']="available"; | ||
$plugin_tx['ocal']['label_state_2']="reserved"; | ||
$plugin_tx['ocal']['label_state_3']="booked"; | ||
$plugin_tx['ocal']['message_saved']="Successfully saved."; | ||
$plugin_tx['ocal']['message_unsaved_changes']="There are unsaved changes that will be lost when leaving the page!"; | ||
$plugin_tx['ocal']['error_occupancy_name']="An occupancy name may only contain the letters a-z, the digits 0-9 and minus signs!"; | ||
$plugin_tx['ocal']['alt_logo']="Calendar"; | ||
|
||
$plugin_tx['ocal']['cf_hour_first']="The first hour that shall be displayed in the hourly occupancy calendars."; | ||
$plugin_tx['ocal']['cf_hour_interval']="The integral hourly interval. For instance, if only every second hour should be shown, enter \"2\"."; | ||
$plugin_tx['ocal']['cf_hour_last']="The last hour that shall be displayed in the hourly occupancy calendars."; | ||
|
||
?> |