/[health_html]/inc/menu.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /inc/menu.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri Sep 7 15:07:17 2001 UTC (22 years, 7 months ago) by ravilov
Branch: MAIN
Modularized some pages. Some pages are now printable. Added a JavaScript date-checking module. Minor bugfixes.

1 <?php
2 if (!$section_menu) $section_menu = $menu[0]["name"];
3 $section_menu_name = "";
4 while (list($k, $v) = each($menu)) {
5 $menu[$k]["caption2"] = urlencode($menu[$k]["caption"]);
6 if ($v["name"] == $section_menu) $section_menu_name = $v["caption"];
7 }
8 $tpl->assign("MENU", $menu);
9 if ($section_menu)
10 $fname = eregi_replace("(".$tpl->tpl_file_ext.")$", "-$section_menu\\1", $fname);
11 ?>

  ViewVC Help
Powered by ViewVC 1.1.26