[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10071] logistic: context menu
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10071] logistic: context menu |
Date: |
Mon, 01 Oct 2012 12:05:48 +0000 |
Revision: 10071
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10071
Author: sigurdne
Date: 2012-10-01 12:05:48 +0000 (Mon, 01 Oct 2012)
Log Message:
-----------
logistic: context menu
Modified Paths:
--------------
trunk/logistic/inc/class.uiactivity.inc.php
Modified: trunk/logistic/inc/class.uiactivity.inc.php
===================================================================
--- trunk/logistic/inc/class.uiactivity.inc.php 2012-10-01 11:15:49 UTC (rev
10070)
+++ trunk/logistic/inc/class.uiactivity.inc.php 2012-10-01 12:05:48 UTC (rev
10071)
@@ -136,6 +136,32 @@
),
);
+
+ $parameters = array
+ (
+ 'parameter' => array
+ (
+ array
+ (
+ 'name' =>
'parent_id',
+ 'source' => 'id'
+ ),
+ )
+ );
+
+ $data['datatable']['actions'][] = array
+ (
+ 'my_name' =>
'new',
+ 'text' =>
lang('add sub activity'),
+ 'action' =>
$GLOBALS['phpgw']->link('/index.php',array
+ (
+ 'menuaction' =>
'logistic.uiactivity.edit'
+ )),
+ 'parameters' =>
json_encode($parameters)
+ );
+
+
+
self::render_template_xsl(array('datatable_common'),
$data);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10071] logistic: context menu,
Sigurd Nes <=