From 25248c089d703b75254f378d76d8d17696821d46 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 25 Mar 2020 15:19:28 +0000 Subject: [PATCH] inherit signup page from default on lite theme --- themes/lite/user.theme.php | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/themes/lite/user.theme.php b/themes/lite/user.theme.php index bc7aa609..898a9891 100644 --- a/themes/lite/user.theme.php +++ b/themes/lite/user.theme.php @@ -53,35 +53,8 @@ class CustomUserPageTheme extends UserPageTheme public function display_signup_page(Page $page) { - global $config; - $tac = $config->get_string("login_tac", ""); - - $tfe = new TextFormattingEvent($tac); - send_event($tfe); - $tac = $tfe->formatted; - - if (empty($tac)) { - $html = ""; - } else { - $html = "

$tac

"; - } - - $html .= " -
- - - - - - -
Name
Password
Repeat Password
Email (Optional)
-
- "; - - $page->set_title("Create Account"); - $page->set_heading("Create Account"); $page->disable_left(); - $page->add_block(new Block("Signup", $html)); + parent::display_signup_page($page); } public function display_ip_list(Page $page, array $uploads, array $comments, array $events)