/[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.5 by ravilov, Sat Sep 29 00:57:58 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", "nolink" => ($section_menu != "zensko" || $show) ? false : true),
4                  array("name" => "musko", "caption" => "Muško zdravlje"),                  array("name" => "musko", "caption" => "Muško zdravlje", "nolink" => ($section_menu != "musko" || $show) ? false : true),
5                  array("name" => "majkadijete", "caption" => "Majka i dijete"),                  array("name" => "mid", "caption" => "Majka i dijete", "nolink" => ($section_menu != "mid" || $show) ? false : true),
6                  array("name" => "treca", "caption" => "Treća dob"),                  array("name" => "treca", "caption" => "Treća dob", "nolink" => ($section_menu != "treca" || $show) ? false : true),
7                  array("name" => "teen", "caption" => "Teen")                  array("name" => "mladi", "caption" => "Mladi", "nolink" => ($section_menu != "mladi" || $show) ? false : true),
8                    array("name" => "ovisnosti", "caption" => "Ovisnosti", "nolink" => ($section_menu != "ovisnosti" || $show) ? false : true)
9          );          );
10          if (!$section_menu) $section_menu = $mn[0]["name"];          $keep_template = true;
         $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);  
11  ?>  ?>

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

  ViewVC Help
Powered by ViewVC 1.1.26