diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php
index 2930065d80..8293c47271 100644
--- a/phpBB/admin/index.php
+++ b/phpBB/admin/index.php
@@ -59,7 +59,6 @@ if( $HTTP_GET_VARS['pane'] == 'top' )
}
elseif( $HTTP_GET_VARS['pane'] == 'left' )
{
- print "";
$dir = opendir(".");
$setmodules = 1;
@@ -67,25 +66,13 @@ elseif( $HTTP_GET_VARS['pane'] == 'left' )
{
if(preg_match("/^admin_.*/", $file))
{
- //print "$file
\n";
include($file);
}
}
- while( list($cat, $action_array) = each($module) )
- {
- print "
$cat
\n";
- print "\n";
-
- while( list($action, $file) = each($action_array) )
- {
- print "- $action
\n";
- }
-
- print "
\n";
- }
+ $template_header = "admin/page_header.tpl";
+ include('page_header_admin.'.$phpEx);
- /*
$template->set_filenames(array(
"body" => "admin/navigate.tpl")
);
@@ -106,7 +93,6 @@ elseif( $HTTP_GET_VARS['pane'] == 'left' )
//var_dump($module);
$template->pparse("body");
- */
$setmodules = 0;
}