Location: PHPKode > projects > OpenBizMap > openbizmap/mydata/script/userexit/exit_onshowmenu.txt
<?php
//USEREXIT file
//Code placed here modifies standard odb functionality

//~ if(USERGROUP=='ADMIN')
//~ {
  //~ $menu_array['New Task']='odb_script=new&amp;odb_group=task&amp;odb_search=---&amp;odb_Booking_Month='.date('Ym').'&amp;odb_Task_Status=New&amp;odb_Create_Date='.date('d.m.Y').'&amp;odb_Registered_By='.USERNAME.'&amp;odb_Registration_Date='.date('Ymd').'&amp;odb_Registration_Time='.date('H:i:s').'';

  //~ $menu_array['Deadline Calendar']='odb_script=cal&odb_search=sysGroupBy%3Dtask+-sysGroupBy%3Dlogs&odb_date=-7&odb_title=Calendar&n2=Deadline+Date&n3=%5BResponsible+Person%5D+%5BClient%5D+%5BNotes%5D&n4=&n5=Task+Status%3DNew&n6=&n7=Task+Status%3DDone';
  //~ $menu_array['Accessability Calendar']='odb_script=rcal&odb_search=person+-user+%5Bdeadline+date%3D2006%5D&odb_date=&n1=Responsible+Person&n2=%5BDeadline+Date%5D&n3=%5BClient%5D+%5BResponsible+Person%5D+%5BNotes%5D&n5=Task+Status%3DNew&n6=&n7=Task+Status%3DDone&n4=&n8=Person+Code&n9=Person+Name&n10=Description';

  //~ $menu_array['Reports']['Task Report']='odb_search=%5BResponsible+Person%5D&odb_script=report&odb_popup=0&k2=Responsible+Person&k3=Booking+Month&k4=Booking+Status&a1=&f1=&s1=&a2=&f2=&s2=&a3=&f3=&s3=&n1=Booking+Hours&e1=&v1=sum&n2=&e2=&v2=&n3=&e3=&v3=&n4=&e4=&v4=&n5=TOTAL';
  //~ $menu_array['Reports']['Changes Report']='odb_title=Changes Report&amp;odb_search=sysModBy sysModDate%3D'.date('Ymd').'+-logs+-accesslog&odb_script=report&odb_popup=&k2=sysGroupBy&n1=TOTAL&n2=&n3=&n4=&n5=&n6=&n7=&n8=&n9=&k3=sysModBy&e1=&e2=&e3=&e4=&e5=&e6=&e7=&e8=&e9=&k4=&v1=&v2=&v3=&v4=&v5=&v6=&v7=&v8=&v9=';
//~ }


?>
Return current item: OpenBizMap