fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13066] uiresponsible.php.xsl


From: Saul
Subject: [Fmsystem-commits] [13066] uiresponsible.php.xsl
Date: Wed, 22 Apr 2015 22:19:40 +0000

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

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

Modified: branches/dev-syncromind/property/inc/class.uiresponsible.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uiresponsible.inc.php    
2015-04-22 22:19:17 UTC (rev 13065)
+++ branches/dev-syncromind/property/inc/class.uiresponsible.inc.php    
2015-04-22 22:19:40 UTC (rev 13066)
@@ -881,7 +881,11 @@
                        $id                     = phpgw::get_var('id', 'int');
                        $location       = phpgw::get_var('location', 'string');
                        $values         = phpgw::get_var('values');
-
+            
+            $tabs = array();
+                       $tabs['general']        = array('label' => 
lang('general'), 'link' => '#general');
+                       $active_tab = 'general';
+            
                        if (isset($values['cancel']) && $values['cancel'])
                        {
                                
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=> 
'property.uiresponsible.index', 'appname' => $this->appname));
@@ -1003,6 +1007,8 @@
                                                'select_name' => 
'values[cat_id]',
                                                'selected' => 
isset($values['cat_id'])?$values['cat_id']:''
                                        )),
+                    'tabs'                          => 
phpgwapi_jquery::tabview_generate($tabs, $active_tab),
+                                       'validator'                     => 
phpgwapi_jquery::formvalidator_generate(array('location', 'date', 'security', 
'file'))
                                );
 
                        //---datatable settings--------------------




reply via email to

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