Location: PHPKode > projects > Work Tracker > work-tracker-0.1/modules/issues/hooks/menus.php
<?php
/* $Id: menus.php,v 1.2 2006/01/27 22:47:07 rschilling Exp $ */
/**
 * @package Issue-Tracker
 * @subpackage Issues
 */

if (eregi(basename(__FILE__),$_SERVER['PHP_SELF'])) {
  print "Direct module access forbidden.";
  exit;
}

if ($_SESSION['group_count'] > 0) {
  $leftnav_menu["Work Items"] = array(
    "url"		=> "?module=issues",
    "sub"		=> array(
      "New Work Item"	=> "?module=issues&action=new",
      "My Opened"			=> "?module=issues&action=my_open",
      "My Assigned"		=> "?module=issues&action=my_assigned",
      "Search"				=> "?module=issues&action=search"
    )
  );
}
?>
Return current item: Work Tracker