diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-05 15:35:14 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-30 22:50:22 +0100 |
commit | 90e1a949623ead173c0952f802d7b5c5487251b1 (patch) | |
tree | 544d29dde573cb135b514d0a84c2d95e9207392c /includes/pages/guest_login.php | |
parent | 0aa5f079258afd5276917c1aff565ec1c6411821 (diff) |
Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails
Closes #426
Diffstat (limited to 'includes/pages/guest_login.php')
-rw-r--r-- | includes/pages/guest_login.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 797aaea7..95e63bbc 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -309,7 +309,10 @@ function guest_register() form_email('mail', __('E-Mail') . ' ' . entry_required(), $mail), form_checkbox( 'email_shiftinfo', - __('The engelsystem is allowed to send me an email (e.g. when my shifts change)'), + __( + 'The %s is allowed to send me an email (e.g. when my shifts change)', + [config('app_name')] + ), $email_shiftinfo ), form_checkbox( |