[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17217] more on api-mode
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17217] more on api-mode |
Date: |
Wed, 1 Nov 2017 10:31:51 -0400 (EDT) |
Revision: 17217
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17217
Author: sigurdne
Date: 2017-11-01 10:31:51 -0400 (Wed, 01 Nov 2017)
Log Message:
-----------
more on api-mode
Modified Paths:
--------------
trunk/property/inc/class.uitts.inc.php
Modified: trunk/property/inc/class.uitts.inc.php
===================================================================
--- trunk/property/inc/class.uitts.inc.php 2017-11-01 14:31:39 UTC (rev
17216)
+++ trunk/property/inc/class.uitts.inc.php 2017-11-01 14:31:51 UTC (rev
17217)
@@ -1708,10 +1708,7 @@
phpgwapi_jquery::formvalidator_generate(array('date',
'security','file'));
$this->_insert_custom_js();
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('property') . ' - ' . $appname . ': ' . $function_msg;
- self::add_jquery_translation($data);
- $GLOBALS['phpgw']->xslttpl->add_file(array('tts',
'files', 'attributes_form'));
- $GLOBALS['phpgw']->xslttpl->set_var('phpgw',
array('add' => $data));
- // $GLOBALS['phpgw']->xslttpl->pp();
+ self::render_template_xsl( array('tts', 'files',
'attributes_form'), $data, $xsl_rootdir = '' , 'add');
}
function update_data()
@@ -1823,9 +1820,6 @@
$receipt = array();
}
- $GLOBALS['phpgw']->xslttpl->add_file(array('tts',
'files', 'attributes_form',
- 'datatable_inline'));
-
$historylog = CreateObject('property.historylog',
'tts');
$order_read = $this->acl->check('.ticket.order',
PHPGW_ACL_READ, 'property');
@@ -3115,8 +3109,8 @@
$appname = lang('helpdesk');
$function_msg = lang('view ticket detail');
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('property') . ' - ' . $appname . ': ' . $function_msg;
- self::add_jquery_translation($data);
- $GLOBALS['phpgw']->xslttpl->set_var('phpgw',
array('view' => $data));
+ self::render_template_xsl( array('tts', 'files',
'attributes_form',
+ 'datatable_inline'), $data, $xsl_rootdir = '' ,
'view');
}
function view_file()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17217] more on api-mode,
sigurdne <=