--- index.php 2001/11/07 09:59:40 1.14 +++ index.php 2001/11/07 14:24:02 1.15 @@ -16,12 +16,16 @@ include("find_html_file.inc"); include("fix_msshit.inc"); +if ($menu_item) { + $title.=" : $menu_item"; + $smarty->assign("mtext",$menu_item); +} else { + $smarty->assign("mtext",$title); +} + if (isset($h) && file_exists(find_html_file("h/$section",$h))) { $main=join('',file(find_html_file("h/$section",$h))); $main=fix_msshit($main); - if ($menu_item) { - $title.=" : $menu_item"; - } } elseif (isset($p) && file_exists("sections/$p.inc")) { include("sections/$p.inc"); } elseif (file_exists("template/$main_file.tpl")) {