/[health_html]/inc/menuKnjiznica.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

Annotation of /inc/menuKnjiznica.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Aug 30 16:35:36 2001 UTC (22 years, 8 months ago) by ravilov
Branch: MAIN
Started major site rearrangement. Minor bugfixes.

1 ravilov 1.1 <?php
2     $mn = array(
3     array("name" => "lijekovi", "caption" => "Lijekovi"),
4     array("name" => "vademecum", "caption" => "Vademecum"),
5     array("name" => "leksikon", "caption" => "Medicinski leksikon"),
6     array("name" => "adresar", "caption" => "Adresar")
7     );
8     if (!$section_menu) $section_menu = $mn[0]["name"];
9     $section_menu_name = "";
10     while (list($k, $v) = each($mn)) {
11     if ($v["name"] == $section_menu)
12     $section_menu_name = $v["caption"];
13     }
14     $tpl->assign("MENU", $mn);
15     $fname = eregi_replace("(".$tpl->tpl_file_ext.")$", "-$section_menu\\1", $fname);
16     ?>

  ViewVC Help
Powered by ViewVC 1.1.26