Source for file Menus.php
Documentation is available at Menus.php
'SF Tickets' => array('url' => 'http://sourceforge.net/p/wodafok/tickets/', 'target' => 'target="_blank"'),
'SF Blog' => array('url' => 'http://sourceforge.net/p/wodafok/blog/', 'target' => 'target="_blank"'),
foreach ($menus as $label => $menu) {
if ($currentUrl == $menu['url'])
$id = 'id="menu_active"';
echo '<li ' . $id . '><a href="' . $menu['url'] . '" ' . $menu['target'] . '>' . $label . '</a></li>';
|