diff options
| author | dougk_ff7 <dougk_ff7@users.sourceforge.net> | 2001-11-21 03:10:10 +0000 |
|---|---|---|
| committer | dougk_ff7 <dougk_ff7@users.sourceforge.net> | 2001-11-21 03:10:10 +0000 |
| commit | 3c6e635bec42f408701397579cba004eaca0c960 (patch) | |
| tree | 550541cfdcbe70a568844e6729bdeed32d4f96d1 /phpBB/admin/admin_ranks.php | |
| parent | fd9158ac750c4020251176a732972fe64002ddda (diff) | |
| download | forums-3c6e635bec42f408701397579cba004eaca0c960.tar forums-3c6e635bec42f408701397579cba004eaca0c960.tar.gz forums-3c6e635bec42f408701397579cba004eaca0c960.tar.bz2 forums-3c6e635bec42f408701397579cba004eaca0c960.tar.xz forums-3c6e635bec42f408701397579cba004eaca0c960.zip | |
Now showing: A ton of bug fixes and a complete overhaul of my admin code...
git-svn-id: file:///svn/phpbb/trunk@1402 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_ranks.php')
| -rw-r--r-- | phpBB/admin/admin_ranks.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/phpBB/admin/admin_ranks.php b/phpBB/admin/admin_ranks.php index 497cbd98f3..9b3c824798 100644 --- a/phpBB/admin/admin_ranks.php +++ b/phpBB/admin/admin_ranks.php @@ -31,6 +31,7 @@ if($setmodules == 1) // Let's set the root dir for phpBB // $phpbb_root_dir = "./../"; +$no_page_header = TRUE; require('pagestart.inc'); @@ -65,6 +66,7 @@ if( $mode != "" ) // // They want to add a new rank, show the form. // + include('page_header_admin.' . $phpEx); $rank_id = ( isset($HTTP_GET_VARS['id']) ) ? intval($HTTP_GET_VARS['id']) : 0; @@ -193,7 +195,7 @@ if( $mode != "" ) $template->assign_vars(array( "META" => '<meta http-equiv="refresh" content="3;url=' . append_sid("admin_ranks.$phpEx") . '">') ); - $message .= "<br /><br />" . $lang['Click'] . " <a href=\"" . append_sid("admin_ranks.$phpEx") . "\">" . $lang['Here'] . "</a> " . $lang['return_rank_admin']; + $message .= "<br />" . sprintf($lang['return_rank_admin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); } @@ -225,7 +227,8 @@ if( $mode != "" ) $template->assign_vars(array( "META" => '<meta http-equiv="refresh" content="3;url=' . append_sid("admin_ranks.$phpEx") . '">') ); - $message = $lang['Rank_removed'] . "<br /><br />" . $lang['Click'] . " <a href=\"" . append_sid("admin_ranks.$phpEx") . "\">" . $lang['Here'] . "</a> " . $lang['return_rank_admin']; + $message = $lang['Rank_removed']; + $message .= "<br />" . sprintf($lang['return_rank_admin'], "<a href=\"" . append_sid("admin_ranks.$phpEx") . "\">", "</a>"); message_die(GENERAL_MESSAGE, $message); } @@ -242,7 +245,8 @@ if( $mode != "" ) // // They didn't feel like giving us any information. Oh, too bad, we'll just display the // list then... - + include('page_header_admin.' . $phpEx); + $template->set_filenames(array( "body" => "admin/ranks_list_body.tpl") ); @@ -309,7 +313,8 @@ else // // Show the default page // - + include('page_header_admin.' . $phpEx); + $template->set_filenames(array( "body" => "admin/ranks_list_body.tpl") ); |
