From fc90174dd8d7ff4417af478b3ee60646443488f9 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Wed, 14 Sep 2011 22:19:10 +0200 Subject: joined login+start --- includes/pages/guest_login.php | 6 +++++- includes/pages/guest_start.php | 11 ++--------- 2 files changed, 7 insertions(+), 10 deletions(-) (limited to 'includes/pages') diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 30dbaf55..51afd9c5 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -237,7 +237,11 @@ function guest_login_form() { 'link' => page_link_to("login"), 'nick' => Get_Text("index_lang_nick"), 'pass' => Get_Text("index_lang_pass"), - 'send' => Get_Text("index_lang_send") + 'send' => Get_Text("index_lang_send"), + 'text1' => Get_Text("index_text1"), + 'text2' => Get_Text("index_text2"), + 'text3' => Get_Text("index_text3"), + 'text4' => Get_Text("index_text4") )); } ?> diff --git a/includes/pages/guest_start.php b/includes/pages/guest_start.php index 286511f2..efad0a24 100644 --- a/includes/pages/guest_start.php +++ b/includes/pages/guest_start.php @@ -1,13 +1,6 @@ " . Get_Text("index_text1") . "

\n"; - $html .= "

" . Get_Text("index_text2") . "

\n"; - $html .= "

" . Get_Text("index_text3") . "

\n"; - - $html .= guest_login_form(); - - $html .= "
" . Get_Text("index_text4") . "
"; - return $html; + header("Location: ?p=login"); + die(); } ?> \ No newline at end of file -- cgit v1.2.3-70-g09d2