[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.menu.php, 1.1.1.2
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.menu.php, 1.1.1.2 |
Date: |
Sun, 13 Jun 2004 14:16:54 +0200 |
Update of /property
Modified Files:
Branch:
class.menu.php
date: 2004/06/13 12:16:54; author: sigurdne; state: Exp; lines: +35 -41
Log Message:
no message
=====================================================================
Index: property/class.menu.php
diff -u property/class.menu.php:1.1.1.1 property/class.menu.php:1.1.1.2
--- property/class.menu.php:1.1.1.1 Wed Jun 2 20:06:53 2004
+++ property/class.menu.php Sun Jun 13 12:16:54 2004
@@ -62,10 +62,18 @@
'Workorder Categories'
=>$currentapp.'.uicategory.index&type=wo',
'Ticket Categories'
=>$currentapp.'.uicategory.index&type=ticket',
'Tenant Categories'
=>$currentapp.'.uicategory.index&type=tenant',
- 'Tenant Attributes'
=>$currentapp.'.uitenant.list_attribute',
- 'Tenant'
=>$currentapp.'.uitenant.index',
- 'Owner'
=>$currentapp.'.uiowner.index',
+ 'Tenant Attributes'
=>$currentapp.'.uiactor.list_attribute&role=tenant',
+ 'Tenant'
=>$currentapp.'.uiactor.index&role=tenant',
+ 'Owner'
=>$currentapp.'.uiactor.index&role=owner',
'Owner Categories'
=>$currentapp.'.uicategory.index&type=owner',
+ 'Owner Attributes'
=>$currentapp.'.uiactor.list_attribute&role=owner',
+ 'Vendor'
=>$currentapp.'.uiactor.index&role=vendor',
+ 'Vendor Categories'
=>$currentapp.'.uicategory.index&type=vendor',
+ 'Vendor Global Categories'
=> 'admin.uicategories.index&appname=fm_vendor&global_cats=True',
+ 'Vendor Attributes'
=>$currentapp.'.uiactor.list_attribute&role=vendor',
+ 'service agreement categories'
=>$currentapp.'.uicategory.index&type=s_agreement',
+ 'service agreement Attributes'
=>$currentapp.'.uis_agreement.list_attribute',
+ 'service agreement item
Attributes' =>$currentapp.'.uis_agreement.list_attribute&role=detail',
'Drawing Categories'
=>$currentapp.'.uicategory.index&type=drawing',
'Document Categories'
=>$currentapp.'.uicategory.index&type=document',
'Meter Categories'
=>$currentapp.'.uicategory.index&type=meter',
@@ -89,42 +97,8 @@
'Export'
=>$currentapp.'.uiXport.export'
);
}
-/* $GLOBALS['phpgw']->add_appmenu('Property
Admin','Config',$currentapp.'.uiadmin.config');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Street',$currentapp.'.uicategory.index&type=street');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','District',$currentapp.'.uicategory.index&type=district');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Part of town',$currentapp.'.uip_of_town.index');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Admin entity',$currentapp.'.uiadmin_entity.index');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Admin Location',$currentapp.'.uiadmin_location.index');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Update the not active category for
locations',$currentapp.'.uilocation.update_cat');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Workorder Categories' ,$currentapp.'.uicategory.index&type=wo');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Ticket Categories',$currentapp.'.uicategory.index&type=ticket');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Tenant Categories',$currentapp.'.uicategory.index&type=tenant');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Tenant',$currentapp.'.uitenant.index');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Owner',$currentapp.'.uiowner.index');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Owner Categories',$currentapp.'.uicategory.index&type=owner');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Drawing Categories',$currentapp.'.uicategory.index&type=drawing');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Document Categories',$currentapp.'.uicategory.index&type=document');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Meter Categories',$currentapp.'.uicategory.index&type=meter');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Building Part',$currentapp.'.uistandard_2.index&type=building_part');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Tender chapter',$currentapp.'.uicategory.index&type=tender_chapter');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','ID Controle',$currentapp.'.uiadmin.edit_id');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Permissions',$currentapp.'.uiadmin.list_acl2');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Grant Access',$currentapp.'.uiadmin.aclprefs&acl_app='.$currentapp);
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','User contact info',$currentapp.'.uiadmin.contact_info');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Request status',$currentapp.'.uistandard_2.index&type=request_status');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Workorders
status',$currentapp.'.uistandard_2.index&type=workorder_status');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Agreement
status',$currentapp.'.uistandard_2.index&type=agreement_status');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Document
Status',$currentapp.'.uistandard_2.index&type=document_status');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Drawing Status',$currentapp.'.uistandard_2.index&type=drawing_status');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Unit',$currentapp.'.uistandard_2.index&type=unit');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Key location',$currentapp.'.uistandard_3.index&type=key_location');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Branch',$currentapp.'.uistandard_3.index&type=branch');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Accounting',$currentapp.'.uib_account.index');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Accounting extra',$currentapp.'.uicategory.index&type=dim_d');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Import',$currentapp.'.uiXport.import');
- $GLOBALS['phpgw']->add_appmenu('Property
Admin','Export',$currentapp.'.uiXport.export');
-*/ $menu['module'][$i]['link'] =
$this->bocommon->link('/index.php','sid=cookie&op='.$currentapp.'.uiadmin.index');
+ $menu['module'][$i]['link'] =
$this->bocommon->link('/index.php','sid=cookie&op='.$currentapp.'.uiadmin.index');
$menu['module'][$i]['name'] =
lang('Admin');
$menu['module'][$i]['statustext'] =
lang('Admin Property');
@@ -219,10 +193,20 @@
{
$menu['module'][$i]['this']=True;
}
- $menu['module'][$i]['link']
=
$this->bocommon->link('/index.php','sid=cookie&op='.$currentapp.'.uitenant.index');
+ $menu['module'][$i]['link']
=
$this->bocommon->link('/index.php','sid=cookie&op='.$currentapp.'.uiactor.index&role=tenant');
$menu['module'][$i]['name']
= lang('Tenant');
$menu['module'][$i]['statustext'] =
lang('Tenant');
- $GLOBALS['phpgw']->add_appmenu('Property
menu',$menu['module'][$i]['name'],$currentapp .'.uitenant.index');
+ $GLOBALS['phpgw']->add_appmenu('Property
menu',$menu['module'][$i]['name'],$currentapp .'.uiactor.index&role=tenant');
+
+ $i++;
+ if($sub=='vendor')
+ {
+ $menu['module'][$i]['this']=True;
+ }
+ $menu['module'][$i]['link']
=
$this->bocommon->link('/index.php','sid=cookie&op='.$currentapp.'.uiactor.index&role=vendor');
+ $menu['module'][$i]['name']
= lang('Vendor');
+ $menu['module'][$i]['statustext'] =
lang('Vendor');
+ $GLOBALS['phpgw']->add_appmenu('Property
menu',$menu['module'][$i]['name'],$currentapp .'.uiactor.index&role=vendor');
//html_print_r($menu);
@@ -392,6 +376,16 @@
$sub_menu[$i]['statustext']
= lang('Workorder');
$GLOBALS['phpgw']->add_appmenu('Property menu
sub',$sub_menu[$i]['name'],$currentapp .'.uiworkorder.index');
$i++;
+ if($page=='s_agreement')
+ {
+
$menu['sub_menu'][$i]['this']=True;
+ }
+ $sub_menu[$i]['link']
=
$this->bocommon->link('/index.php','sid=cookie&op='.$currentapp.'.uis_agreement.index');
+ $sub_menu[$i]['name']
= lang('Service');
+ $sub_menu[$i]['statustext']
= lang('service agreement');
+
$GLOBALS['phpgw']->add_appmenu('Property menu
sub',$sub_menu[$i]['name'],$currentapp .'.uis_agreement.index');
+ $i++;
+
if($page=='request')
{
$sub_menu[$i]['this']=True;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.menu.php, 1.1.1.2,
nomail <=