[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.menu.inc.php, 1.4
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.menu.inc.php, 1.4 |
Date: |
Wed, 28 Jul 2004 22:24:16 +0200 |
Update of /property/inc
Modified Files:
Branch:
class.menu.inc.php
date: 2004/07/28 20:24:16; author: sigurdne; state: Exp; lines: +12 -1
Log Message:
no message
=====================================================================
Index: property/inc/class.menu.inc.php
diff -u property/inc/class.menu.inc.php:1.3 property/inc/class.menu.inc.php:1.4
--- property/inc/class.menu.inc.php:1.3 Sun Jun 6 20:18:39 2004
+++ property/inc/class.menu.inc.php Wed Jul 28 20:24:16 2004
@@ -235,6 +235,17 @@
$menu['sub_menu'][$i]['name']
= lang('Export invoice');
$menu['sub_menu'][$i]['statustext'] = lang('Export invoice');
}
+ if ($this->acl2->check('.invoice',2))
+ {
+ $i++;
+ if($page=='add_inv')
+ {
+
$menu['sub_menu'][$i]['this']=True;
+ }
+ $menu['sub_menu'][$i]['link']
=
$GLOBALS['phpgw']->link('/index.php','menuaction='.$currentapp.'.uiinvoice.add');
+ $menu['sub_menu'][$i]['name']
= lang('Add');
+
$menu['sub_menu'][$i]['statustext'] = lang('Add invoice');
+ }
}
if ($sub == 'pricebook' &&
$this->acl2->check('.pricebook',16))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.menu.inc.php, 1.4,
nomail <=