/** * View for password recovery step 2: New password */ function User_password_set_view() { return page_with_title(user_password_recovery_title(), array(msg(), _("Please enter a new password."), form(array(form_password('password', _("Password")), form_password('password2', _("Confirm password")), form_submit('submit', _("Save")))))); }
user_ical(); } elseif ($p == "atom") { require_once realpath(__DIR__ . '/../includes/pages/user_atom.php'); user_atom(); } elseif ($p == "shifts_json_export") { require_once realpath(__DIR__ . '/../includes/controller/shifts_controller.php'); shifts_json_export_controller(); } elseif ($p == "shifts_json_export_all") { require_once realpath(__DIR__ . '/../includes/controller/shifts_controller.php'); shifts_json_export_all_controller(); } elseif ($p == "stats") { require_once realpath(__DIR__ . '/../includes/pages/guest_stats.php'); guest_stats(); } elseif ($p == "user_password_recovery") { require_once realpath(__DIR__ . '/../includes/controller/users_controller.php'); $title = user_password_recovery_title(); $content = user_password_recovery_controller(); } elseif ($p == "angeltypes") { list($title, $content) = angeltypes_controller(); } elseif ($p == "shifts") { list($title, $content) = shifts_controller(); } elseif ($p == "users") { list($title, $content) = users_controller(); } elseif ($p == "user_angeltypes") { list($title, $content) = user_angeltypes_controller(); } elseif ($p == "user_driver_licenses") { list($title, $content) = user_driver_licenses_controller(); } elseif ($p == "shifttypes") { list($title, $content) = shifttypes_controller(); } elseif ($p == "news") { $title = news_title();