[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15970] api: custom template root
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15970] api: custom template root |
Date: |
Wed, 9 Nov 2016 13:51:18 +0000 (UTC) |
Revision: 15970
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15970
Author: sigurdne
Date: 2016-11-09 13:51:18 +0000 (Wed, 09 Nov 2016)
Log Message:
-----------
api: custom template root
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 2016-11-09 02:21:57 UTC
(rev 15969)
+++ trunk/phpgwapi/inc/class.uicommon_jquery.inc.php 2016-11-09 13:51:18 UTC
(rev 15970)
@@ -378,10 +378,18 @@
$this->add_template_file('helpers');
}
- public function render_template_xsl( $files, $data )
+ public function render_template_xsl( $files, $data,
$xsl_rootdir = '' )
{
$GLOBALS['phpgw_info']['flags']['xslt_app'] = true;
+ if($xsl_rootdir)
+ {
+ if(!in_array($xsl_rootdir,
$this->tmpl_search_path))
+ {
+ array_push($this->tmpl_search_path,
$xsl_rootdir);
+ }
+ }
+
if ($this->flash_msgs)
{
$data['msgbox_data'] =
$GLOBALS['phpgw']->common->msgbox($this->flash_msgs);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15970] api: custom template root,
sigurdne <=