engelsystem_email_to_user($user, '[engelsystem] ' . _("Your account has been deleted"), _("Your angelsystem account has been deleted. If you have any questions regarding your account deletion, please contact heaven."));
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),
@ -11,7 +12,8 @@ function UserAngelType_update_view($user_angeltype, $user, $angeltype, $supporte
]);
}
function UserAngelTypes_delete_all_view($angeltype) {
function UserAngelTypes_delete_all_view($angeltype)
{
return page_with_title(_("Deny all users"), [
msg(),
info(sprintf(_("Do you really want to deny all users for %s?"), $angeltype['name']), true),
@ -22,7 +24,8 @@ function UserAngelTypes_delete_all_view($angeltype) {
]);
}
function UserAngelTypes_confirm_all_view($angeltype) {
function UserAngelTypes_confirm_all_view($angeltype)
{
return page_with_title(_("Confirm all users"), [
msg(),
info(sprintf(_("Do you really want to confirm all users for %s?"), $angeltype['name']), true),
@ -33,7 +36,8 @@ function UserAngelTypes_confirm_all_view($angeltype) {
]);
}
function UserAngelType_confirm_view($user_angeltype, $user, $angeltype) {
function UserAngelType_confirm_view($user_angeltype, $user, $angeltype)
{
return page_with_title(_("Confirm angeltype for user"), [
msg(),
info(sprintf(_("Do you really want to confirm %s for %s?"), User_Nick_render($user), $angeltype['name']), true),
@ -44,7 +48,8 @@ function UserAngelType_confirm_view($user_angeltype, $user, $angeltype) {
]);
}
function UserAngelType_delete_view($user_angeltype, $user, $angeltype) {
function UserAngelType_delete_view($user_angeltype, $user, $angeltype)
{
return page_with_title(_("Remove angeltype"), [
msg(),
info(sprintf(_("Do you really want to delete %s from %s?"), User_Nick_render($user), $angeltype['name']), true),
@ -55,7 +60,8 @@ function UserAngelType_delete_view($user_angeltype, $user, $angeltype) {
]);
}
function UserAngelType_add_view($angeltype, $users_source, $user_id) {
function UserAngelType_add_view($angeltype, $users_source, $user_id)