Parent Directory | Revision Log
Made the menu on the left into images. More bugfixes.
1 | ravilov | 1.1 | <?php |
2 | $mn = array( | ||
3 | array("name" => "grupe", "caption" => "Grupe"), | ||
4 | array("name" => "bolesti", "caption" => "Bolesti") | ||
5 | ); | ||
6 | if (!$section_menu) $section_menu = $mn[0]["name"]; | ||
7 | $section_menu_name = ""; | ||
8 | while (list($k, $v) = each($mn)) { | ||
9 | if ($v["name"] == $section_menu) | ||
10 | $section_menu_name = $v["caption"]; | ||
11 | } | ||
12 | $tpl->assign("MENU", $mn); | ||
13 | $fname = eregi_replace("(".$tpl->tpl_file_ext.")$", "-$section_menu\\1", $fname); | ||
14 | ?> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |