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

Diff of /inc/menuStanja.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ravilov, Thu Aug 30 16:35:36 2001 UTC revision 1.2 by ravilov, Tue Sep 4 09:48:51 2001 UTC
# Line 1  Line 1 
1  <?php  <?php
2          $mn = array(          $menu = array(
3                  array("name" => "zensko", "caption" => "Žensko zdravlje"),                  array("name" => "zensko", "caption" => "Žensko zdravlje"),
4                  array("name" => "musko", "caption" => "Muško zdravlje"),                  array("name" => "musko", "caption" => "Muško zdravlje"),
5                  array("name" => "majkadijete", "caption" => "Majka i dijete"),                  array("name" => "majkadijete", "caption" => "Majka i dijete"),
6                  array("name" => "treca", "caption" => "Treća dob"),                  array("name" => "treca", "caption" => "Treća dob"),
7                  array("name" => "teen", "caption" => "Teen")                  array("name" => "teen", "caption" => "Teen")
8          );          );
         if (!$section_menu) $section_menu = $mn[0]["name"];  
         $section_menu_name = "";  
         while (list($k, $v) = each($mn)) {  
                 if ($v["name"] == $section_menu)  
                         $section_menu_name = $v["caption"];  
         }  
         $tpl->assign("MENU", $mn);  
         $fname = eregi_replace("(".$tpl->tpl_file_ext.")$", "-$section_menu\\1", $fname);  
9  ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26