summaryrefslogtreecommitdiff
path: root/includes/view/UserAngelTypes_view.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-11-11 14:59:25 +0100
committermsquare <msquare@notrademark.de>2016-11-11 14:59:25 +0100
commit82b9436c508fd9739555240991abda1b2fd63bd4 (patch)
treec8d5e5aeba23b93b5392bd39dbe8cefd6f324d14 /includes/view/UserAngelTypes_view.php
parent468a10774cee39d4f649e4e85906f228c8ed79a1 (diff)
rename coordinator to supporter
Diffstat (limited to 'includes/view/UserAngelTypes_view.php')
-rw-r--r--includes/view/UserAngelTypes_view.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/view/UserAngelTypes_view.php b/includes/view/UserAngelTypes_view.php
index 802ec5aa..da4a2352 100644
--- a/includes/view/UserAngelTypes_view.php
+++ b/includes/view/UserAngelTypes_view.php
@@ -1,12 +1,12 @@
<?php
-function UserAngelType_update_view($user_angeltype, $user, $angeltype, $coordinator) {
- return page_with_title($coordinator ? _("Add coordinator rights") : _("Remove coordinator rights"), [
+function UserAngelType_update_view($user_angeltype, $user, $angeltype, $supporter) {
+ return page_with_title($supporter ? _("Add supporter rights") : _("Remove supporter rights"), [
msg(),
- info(sprintf($coordinator ? _("Do you really want to add coordinator rights for %s to %s?") : _("Do you really want to remove coordinator rights for %s from %s?"), $angeltype['name'], User_Nick_render($user)), true),
+ info(sprintf($supporter ? _("Do you really want to add supporter rights for %s to %s?") : _("Do you really want to remove supporter rights for %s from %s?"), $angeltype['name'], User_Nick_render($user)), true),
buttons([
button(page_link_to('angeltypes') . '&action=view&angeltype_id=' . $angeltype['id'], _("cancel"), 'cancel'),
- button(page_link_to('user_angeltypes') . '&action=update&user_angeltype_id=' . $user_angeltype['id'] . '&coordinator=' . ($coordinator ? '1' : '0') . '&confirmed', _("yes"), 'ok')
+ button(page_link_to('user_angeltypes') . '&action=update&user_angeltype_id=' . $user_angeltype['id'] . '&supporter=' . ($supporter ? '1' : '0') . '&confirmed', _("yes"), 'ok')
])
]);
}