From a16d51a4a56e62d32b0a7405b3185c7b93ab301c Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 17 May 2001 15:14:11 +0000 Subject: Added jumpbox output for all profile pages git-svn-id: file:///svn/phpbb/trunk@312 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/profile.php | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) (limited to 'phpBB/profile.php') diff --git a/phpBB/profile.php b/phpBB/profile.php index 599aeaff8a..76daf354b6 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -213,8 +213,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) include('includes/page_header.'.$phpEx); $template->set_filenames(array( - "body" => "profile_view_body.tpl") + "body" => "profile_view_body.tpl", + "jumpbox" => "jumpbox.tpl") ); + $jumpbox = make_jumpbox(); + $template->assign_vars(array( + "JUMPBOX_LIST" => $jumpbox, + "SELECT_NAME" => POST_FORUM_URL) + ); + $template->assign_var_from_handle("JUMPBOX", "jumpbox"); // // End header // @@ -449,7 +456,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) } $template->set_filenames(array( - "body" => "profile_add_body.tpl")); + "body" => "profile_add_body.tpl", + "jumpbox" => "jumpbox.tpl") + ); + $jumpbox = make_jumpbox(); + $template->assign_vars(array( + "JUMPBOX_LIST" => $jumpbox, + "SELECT_NAME" => POST_FORUM_URL) + ); + $template->assign_var_from_handle("JUMPBOX", "jumpbox"); $template->assign_vars(array( "COPPA" => 0, "MODE" => $mode, @@ -579,8 +594,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) // conditions/coppa // $template->set_filenames(array( - "body" => "agreement.tpl") + "body" => "agreement.tpl", + "jumpbox" => "jumpbox.tpl") ); + $jumpbox = make_jumpbox(); + $template->assign_vars(array( + "JUMPBOX_LIST" => $jumpbox, + "SELECT_NAME" => POST_FORUM_URL) + ); + $template->assign_var_from_handle("JUMPBOX", "jumpbox"); $template->assign_vars(array( "COPPA" => $coppa, @@ -729,9 +751,15 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) // new user reg details // $template->set_filenames(array( - "body" => "profile_add_body.tpl") + "body" => "profile_add_body.tpl", + "jumpbox" => "jumpbox.tpl") ); - + $jumpbox = make_jumpbox(); + $template->assign_vars(array( + "JUMPBOX_LIST" => $jumpbox, + "SELECT_NAME" => POST_FORUM_URL) + ); + $template->assign_var_from_handle("JUMPBOX", "jumpbox"); $template->assign_vars(array( "MODE" => $mode, "USERNAME" => $username, -- cgit v1.2.1