fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13021] gab form validation


From: Alejandro
Subject: [Fmsystem-commits] [13021] gab form validation
Date: Thu, 16 Apr 2015 07:21:17 +0000

Revision: 13021
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13021
Author:   nudrick
Date:     2015-04-16 07:21:16 +0000 (Thu, 16 Apr 2015)
Log Message:
-----------
gab form validation

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

Modified: branches/dev-syncromind/property/inc/class.uigab.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uigab.inc.php    2015-04-15 
23:26:09 UTC (rev 13020)
+++ branches/dev-syncromind/property/inc/class.uigab.inc.php    2015-04-16 
07:21:16 UTC (rev 13021)
@@ -779,13 +779,13 @@
                        {
                                $function_msg = lang('Edit gab');
                                $action='edit';
-                               $lookup_type ='view';
+                               $lookup_type ='view2';
                        }
                        else
                        {
                                $function_msg = lang('Add gab');
                                $action='add';
-                               $lookup_type ='form';
+                               $lookup_type ='form2';
                        }
 
                        if ($values['cat_id'])
@@ -806,7 +806,8 @@
                                'type_id'               => $type_id,
                                'no_link'               => false, // disable 
lookup links for location type less than type_id
                                'tenant'                => false,
-                               'lookup_type'   => $lookup_type
+                               'lookup_type'   => $lookup_type,
+                               'required_level' => 3
                        ));
 
                        $link_data = array
@@ -862,7 +863,7 @@
 
                                        'action'                                
                => $action,
                                        'lookup_type'                           
        => $lookup_type,
-                                       'location_data'                         
        => $location_data,
+                                       'location_data2'                        
        => $location_data,
                                        'form_action'                           
        => $GLOBALS['phpgw']->link('/index.php',$link_data),
                                        'done_action'                           
        => $GLOBALS['phpgw']->link('/index.php',$done_data),
                                        'lang_save'                             
                => lang('save'),




reply via email to

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