Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUGFIX: strong Tag formatierung beim hinweistext im startdatum feld korrigiert #136

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lang/de_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ maintenance_announcement_start_date_label = Startdatum
maintenance_announcement_start_date_notice = Datum, <strong>ab wann die Ankündigung gezeigt werden soll</strong>. Nicht, ab wann die Website in den Wartungsmodus wechseln soll. Aktuelle Serverzeit: <code>{0}</code>.

maintenance_announcement_end_date_label = Enddatum
maintenance_announcement_end_date_notice = Datum, bis wann die Ankündigung gezeigt werden soll. Aktuelle Serverzeit: <code>{0}</code>.
maintenance_announcement_end_date_notice = Datum, <strong>bis wann die Ankündigung gezeigt werden soll</strong>. Aktuelle Serverzeit: <code>{0}</code>.

maintenance_allowed_access_title = Ausnahmen

Expand Down
2 changes: 1 addition & 1 deletion lang/en_gb.lang
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ maintenance_announcement_start_date_label = Start Date
maintenance_announcement_start_date_notice = Date from <strong>when the announcement should be shown</strong>. Not from when the website will switch to maintenance mode. Current server time: <code>{0}</code>.

maintenance_announcement_end_date_label = End Date
maintenance_announcement_end_date_notice = Date until when the announcement should be shown. Current server time: <code>{0}</code>.
maintenance_announcement_end_date_notice = Date <strong>until when the announcement should be shown</strong>. Current server time: <code>{0}</code>.

maintenance_allowed_access_title = Exceptions

Expand Down
4 changes: 2 additions & 2 deletions pages/frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@
// Start- und Endzeitpunkt der Wartungsankündigung
$field = $form->addTextField('announcement_start_date');
$field->setLabel($addon->i18n('maintenance_announcement_start_date_label'));
$field->setNotice($addon->i18n('maintenance_announcement_start_date_notice', date('Y-m-d H:i:s')));
$field->setNotice(rex_i18n::rawMsg('maintenance_announcement_start_date_notice', date('Y-m-d H:i:s')));
$field->setAttribute('type', 'datetime-local');

$field = $form->addTextField('announcement_end_date');
$field->setLabel($addon->i18n('maintenance_announcement_end_date_label'));
$field->setNotice($addon->i18n('maintenance_announcement_end_date_notice', date('Y-m-d H:i:s')));
$field->setNotice(rex_i18n::rawMsg('maintenance_announcement_end_date_notice', date('Y-m-d H:i:s')));
$field->setAttribute('type', 'datetime-local');
}

Expand Down