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' ) elseif( $HTTP_GET_VARS['pane'] == 'left' )
{ {
print "<BASE TARGET=\"main\">";
$dir = opendir("."); $dir = opendir(".");
$setmodules = 1; $setmodules = 1;
@ -67,25 +66,13 @@ elseif( $HTTP_GET_VARS['pane'] == 'left' )
{ {
if(preg_match("/^admin_.*/", $file)) if(preg_match("/^admin_.*/", $file))
{ {
//print "$file<br>\n";
include($file); include($file);
} }
} }
while( list($cat, $action_array) = each($module) ) $template_header = "admin/page_header.tpl";
{ include('page_header_admin.'.$phpEx);
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->set_filenames(array( $template->set_filenames(array(
"body" => "admin/navigate.tpl") "body" => "admin/navigate.tpl")
); );
@ -106,7 +93,6 @@ elseif( $HTTP_GET_VARS['pane'] == 'left' )
//var_dump($module); //var_dump($module);
$template->pparse("body"); $template->pparse("body");
*/
$setmodules = 0; $setmodules = 0;
} }