Location: PHPKode > projects > Work Tracker > work-tracker-0.1/modules/admin/hooks/menus.php
<?php
/* $Id: menus.php 2 2004-08-05 21:42:03Z eroberts $ */
/** 
 * @package Issue-Tracker
 * @subpackage Administration
 */

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

if (!empty($_SESSION['ADMIN_UID']) and is_admin($_SESSION['ADMIN_UID'])) {
  $leftnav_menu["Administration"] = array(
  	"sub"		=> array(
	  	"Switch Back"	=> "?module=admin&action=switch_users&return=true"
  	)
  );
}
?>
Return current item: Work Tracker