summaryrefslogtreecommitdiff
path: root/includes/view/User_view.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-10-05 15:35:14 +0200
committermsquare <msquare@notrademark.de>2018-10-30 22:50:22 +0100
commit90e1a949623ead173c0952f802d7b5c5487251b1 (patch)
tree544d29dde573cb135b514d0a84c2d95e9207392c /includes/view/User_view.php
parent0aa5f079258afd5276917c1aff565ec1c6411821 (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/view/User_view.php')
-rw-r--r--includes/view/User_view.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index ddf49885..fb541619 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -54,7 +54,10 @@ function User_settings_view(
form_text('mail', __('E-Mail') . ' ' . entry_required(), $user_source['email']),
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')]
+ ),
$user_source['email_shiftinfo']
),
form_checkbox(