summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/User_view.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index fca21e37..bec9879c 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -20,6 +20,17 @@ $tshirt_sizes = array(
);
/**
+ * Displays the welcome message to the user and shows a login form.
+ */
+function User_registration_success_view($event_welcome_message) {
+ $parsedown = new Parsedown();
+ $event_welcome_message = $parsedown->text($event_welcome_message);
+ return page_with_title(_("Welcome to the engelsystem!"), [
+ $event_welcome_message
+ ]);
+}
+
+/**
* Gui for deleting user with password field.
*/
function User_delete_view($user) {