1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

Nav templating re-enabled

git-svn-id: file:///svn/phpbb/trunk@669 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-07-14 21:43:57 +00:00
parent c2b63ace39
commit f06bb9c1a9

View File

@ -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;
}