diff options
author | msquare <msquare@notrademark.de> | 2016-09-28 07:28:51 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-09-28 07:28:51 +0200 |
commit | 6384eca1cefd9cc3aa1b38cbc037751c5f2fd5d8 (patch) | |
tree | b921b7173abaf34c871a05886ddd04c6a07d47b8 /includes/view/User_view.php | |
parent | a083c198bb7ce8e4be871c1377e070c9ca69123b (diff) |
display user welcome message
Diffstat (limited to 'includes/view/User_view.php')
-rw-r--r-- | includes/view/User_view.php | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php index bec9879c..4f61006e 100644 --- a/includes/view/User_view.php +++ b/includes/view/User_view.php @@ -25,8 +25,32 @@ $tshirt_sizes = array( 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 + return page_with_title(_("Registration successful"), [ + msg(), + div('row', [ + div('col-md-4', [ + $event_welcome_message + ]), + div('col-md-4', [ + '<h2>' . _("Login") . '</h2>', + form([ + form_text('nick', _("Nick"), ""), + form_password('password', _("Password")), + form_submit('submit', _("Login")), + buttons([ + button(page_link_to('user_password_recovery'), _("I forgot my password")) + ]), + info(_("Please note: You have to activate cookies!"), true) + ], page_link_to('login')) + ]), + div('col-md-4', [ + '<h2>' . _("What can I do?") . '</h2>', + '<p>' . _("Please read about the jobs you can do to help us.") . '</p>', + buttons([ + button(page_link_to('angeltypes') . '&action=about', _("Teams/Job description") . ' »') + ]) + ]) + ]) ]); } |