aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/index.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-14 21:43:57 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-14 21:43:57 +0000
commitf06bb9c1a98c28adfcf62144b5eb3bc231c9b886 (patch)
treec0994201cf7a4d986f1f94c68241b5ce59aba625 /phpBB/admin/index.php
parentc2b63ace39ab5119d06a965f2c8c51756c71986d (diff)
downloadforums-f06bb9c1a98c28adfcf62144b5eb3bc231c9b886.tar
forums-f06bb9c1a98c28adfcf62144b5eb3bc231c9b886.tar.gz
forums-f06bb9c1a98c28adfcf62144b5eb3bc231c9b886.tar.bz2
forums-f06bb9c1a98c28adfcf62144b5eb3bc231c9b886.tar.xz
forums-f06bb9c1a98c28adfcf62144b5eb3bc231c9b886.zip
Nav templating re-enabled
git-svn-id: file:///svn/phpbb/trunk@669 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/index.php')
-rw-r--r--phpBB/admin/index.php18
1 files changed, 2 insertions, 16 deletions
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 "<BASE TARGET=\"main\">";
$dir = opendir(".");
$setmodules = 1;
@@ -67,25 +66,13 @@ elseif( $HTTP_GET_VARS['pane'] == 'left' )
{
if(preg_match("/^admin_.*/", $file))
{
- //print "$file<br>\n";
include($file);
}
}
- while( list($cat, $action_array) = each($module) )
- {
- print "<H3>$cat</H3>\n";
- print "<ul>\n";
-
- while( list($action, $file) = each($action_array) )
- {
- print "<li><a href=\"$file\">$action</a></li>\n";
- }
-
- print "</ul>\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;
}