diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php index 8473efc9a6..d620b653a0 100644 --- a/phpBB/admin/index.php +++ b/phpBB/admin/index.php @@ -40,7 +40,7 @@ init_userprefs($userdata); // if( !$userdata['session_logged_in'] ) { - header("Location: ../login.$phpEx?forward_page=/admin/"); + header("Location: ../login.$phpEx?forward_page=admin/"); } else if( $userdata['user_level'] != ADMIN ) { @@ -66,7 +66,7 @@ if( $HTTP_GET_VARS['pane'] == 'left' ) include('page_header_admin.'.$phpEx); $template->set_filenames(array( - "body" => "admin/navigate.tpl") + "body" => "admin/index_navigate.tpl") ); $template->assign_vars(array( @@ -104,6 +104,7 @@ if( $HTTP_GET_VARS['pane'] == 'left' ) $template->pparse("body"); unset($setmodules); + exit; } elseif( $HTTP_GET_VARS['pane'] == 'right' ) { @@ -111,7 +112,7 @@ elseif( $HTTP_GET_VARS['pane'] == 'right' ) include('page_header_admin.'.$phpEx); $template->set_filenames(array( - "body" => "admin/admin_index_body.tpl") + "body" => "admin/index_body.tpl") ); $template->assign_vars(array( diff --git a/phpBB/templates/PSO/admin/index_navigate.tpl b/phpBB/templates/PSO/admin/index_navigate.tpl new file mode 100644 index 0000000000..56e9a4a527 --- /dev/null +++ b/phpBB/templates/PSO/admin/index_navigate.tpl @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + +
{L_ADMIN_INDEX}
{catrow.CATNAME}
{catrow.actionrow.ACTIONNAME}
+ + + \ No newline at end of file