<?php
  // Module configuration.

  $modules = array("hours"=>array("*admin","add","edit","delete","*hoursurvey","view_all"),
                   "-",
                   "customer"=>array("*admin", "add", "edit", "delete"),
                   "contact"=>array("add","edit","delete"),
                   "project"=>array("*admin", "add", "edit", "delete", "stats","planning"),
                   "phase"=>array("add", "edit", "delete"),
                   "userprefs"=>array("edit"),
                   "projectstats",
                   "projectplanning",
                   "-",
                   "activity"=>array("*admin", "add", "edit", "delete", "*stats" ),
                   "-",
                   "employee"=>array("*admin", "add", "edit", "delete", "*stats", "view_all"),
                   "-",
                   "profile"=>array("*admin", "add", "edit", "delete"),
                   "-",
                   "tpl_phase"=>array("*admin", "add", "edit", "delete"),
                   "tpl_project"=>array("*admin", "add", "edit", "delete"),
                   "-",
                   "manual",
                   "license",
                   "homepage"
                   );
                   
  
  $targeturl = "dispatch.php3?atknodetype=project&atkaction=stats&selectedprojectid=[id]";
  $projectstats_url = "dispatch.php3?atknodetype=project&atkaction=select&atktarget=".rawurlencode($targeturl);
  $targeturl = "dispatch.php3?atknodetype=project&atkaction=planning&selectedprojectid=[id]";
  $projectplanning_url = "dispatch.php3?atknodetype=project&atkaction=select&atktarget=".rawurlencode($targeturl);
  $projectstats_accessright = Array("project","stats");
  $projectplanning_accessright = Array("project","stats");
  
  $targeturl = "dispatch.php3?atknodetype=project&atkaction=billsetup&selectedprojectid=[id]";
  $billing_url = "dispatch.php3?atknodetype=project&atkaction=select&atktarget=".rawurlencode($targeturl);
  
  $targeturl = "dispatch.php3?atknodetype=employee&atkaction=stats&selecteduserid=[userid]";
                   
  $manual_url = "manual.php3";
  $license_url = "license.php3";
  $homepage_url = "http://www.achievo.com";

?>
