fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13062] uiasync.php


From: Saul
Subject: [Fmsystem-commits] [13062] uiasync.php
Date: Wed, 22 Apr 2015 22:18:20 +0000

Revision: 13062
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13062
Author:   psaul
Date:     2015-04-22 22:18:19 +0000 (Wed, 22 Apr 2015)
Log Message:
-----------
uiasync.php

Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uiasync.inc.php

Modified: branches/dev-syncromind/property/inc/class.uiasync.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uiasync.inc.php  2015-04-22 
17:40:31 UTC (rev 13061)
+++ branches/dev-syncromind/property/inc/class.uiasync.inc.php  2015-04-22 
22:18:19 UTC (rev 13062)
@@ -381,9 +381,13 @@
                {
                        $id     = phpgw::get_var('id', 'int');
                        $values                 = phpgw::get_var('values');
+            
+            $tabs = array();
+                       $tabs['general']        = array('label' => 
lang('general'), 'link' => '#general');
+                       $active_tab = 'general';
+            
+//                     $GLOBALS['phpgw']->xslttpl->add_file(array('async'));
 
-                       $GLOBALS['phpgw']->xslttpl->add_file(array('async'));
-
                        /*if ($values['save'])
                        {
                                if($id)
@@ -469,12 +473,20 @@
                                        'value_data'                            
=> $method_data,
                                        'lang_data'                             
        => lang('Data'),
                                        'lang_data_statustext'          => 
lang('Input data for the nethod'),
+                    'tabs'                                             => 
phpgwapi_jquery::tabview_generate($tabs, $active_tab),
+                                       'validator'                             
        => phpgwapi_jquery::formvalidator_generate(array('location', 'date', 
'security', 'file')) 
                                );
 
                        $appname        = lang('async method');
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang('property') . ' - ' . $appname . ': ' . $function_msg;
-                       
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('edit' => $data));
+            
+            phpgwapi_jquery::load_widget('core');
+                       phpgwapi_jquery::load_widget('numberformat');
+                       
+                       
self::render_template_xsl(array('async','datatable_inline'), array('edit' => 
$data));
+            
+//                     
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('edit' => $data));
                }
 
                function delete()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]