Changeset 102 for db/menu.php
- Timestamp:
- Sep 30, 2007, 10:22:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
db/menu.php
r92 r102 57 57 if( $inside_submenu == 1 ){ $Generated_Menu .= " </ul></li>\n"; } 58 58 elseif( !empty($Generated_Menu) ){ $Generated_Menu .= "</li>\n"; } unset($inside_submenu); 59 60 59 $Generated_Menu .= " <li><a href=\"".$Menu[$klice[$i]][1]."\">".$Menu[$klice[$i]][2]."</a>"; 61 62 60 $submenu = 1; 63 61 } 64 62 elseif($Menu[$klice[$i]][0] == 2){ 65 63 if( $submenu == 1 ){ $Generated_Menu .= "<ul>\n"; }; unset($submenu); 66 67 64 $Generated_Menu .= " <li><a href=\"".$Menu[$klice[$i]][1]."\">".$Menu[$klice[$i]][2]."</a><li>\n"; 68 69 65 $inside_submenu = 1; 70 66 } 71 67 elseif($Menu[$klice[$i]][0] == 3){ 72 68 if( $submenu == 1 ){ $Generated_Menu .= "<ul>"; }; unset($submenu); 73 74 69 $Generated_Menu .= " <li>".$Menu[$klice[$i]][1]."</li>\n"; 75 76 70 $inside_submenu = 1; 77 71 } … … 79 73 $Generated_Menu .= " <li><a href=\"#\">Chyba !!</a>"; } 80 74 else{ $Generated_Menu .= " </ul></li>\n"; }; 75 }; 81 76 82 };83 84 77 return $Generated_Menu; 85 78 }; 86 79 87 /*88 <li><a href=""></a><ul>89 <li><a href=""></a></li>90 <li><a href=""></a></li>91 </ul></li>92 */93 94 80 ?>
Note:
See TracChangeset
for help on using the changeset viewer.