[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17216] more on api-mode
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17216] more on api-mode |
Date: |
Wed, 1 Nov 2017 10:31:40 -0400 (EDT) |
Revision: 17216
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17216
Author: sigurdne
Date: 2017-11-01 10:31:39 -0400 (Wed, 01 Nov 2017)
Log Message:
-----------
more on api-mode
Modified Paths:
--------------
trunk/phpgwapi/inc/class.uicommon_jquery.inc.php
Modified: trunk/phpgwapi/inc/class.uicommon_jquery.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.uicommon_jquery.inc.php 2017-10-31 15:13:32 UTC
(rev 17215)
+++ trunk/phpgwapi/inc/class.uicommon_jquery.inc.php 2017-11-01 14:31:39 UTC
(rev 17216)
@@ -396,7 +396,7 @@
$this->add_template_file('helpers');
}
- public function render_template_xsl( $files, $data,
$xsl_rootdir = '' )
+ public function render_template_xsl( $files, $data,
$xsl_rootdir = '' , $base = 'data')
{
$GLOBALS['phpgw_info']['flags']['xslt_app'] = true;
@@ -431,7 +431,7 @@
$output = phpgw::get_var('output', 'string', 'REQUEST',
'html');
$GLOBALS['phpgw']->xslttpl->set_output($output);
$this->add_template_file($files);
- $GLOBALS['phpgw']->xslttpl->set_var('phpgw',
array('data' => $data));
+ $GLOBALS['phpgw']->xslttpl->set_var('phpgw',
array($base => $data));
}
// Add link key to a result array
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17216] more on api-mode,
sigurdne <=