fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13259] agreement


From: Saul
Subject: [Fmsystem-commits] [13259] agreement
Date: Fri, 22 May 2015 00:05:36 +0000

Revision: 13259
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13259
Author:   psaul
Date:     2015-05-22 00:05:35 +0000 (Fri, 22 May 2015)
Log Message:
-----------
agreement

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

Modified: branches/dev-syncromind/property/inc/class.uiagreement.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uiagreement.inc.php      
2015-05-22 00:05:17 UTC (rev 13258)
+++ branches/dev-syncromind/property/inc/class.uiagreement.inc.php      
2015-05-22 00:05:35 UTC (rev 13259)
@@ -903,7 +903,10 @@
 //                     
$GLOBALS['phpgw']->xslttpl->add_file(array('agreement'));
 
                        $agreement = 
$this->bo->read_single(array('agreement_id'=>$agreement_id));
-
+            $tabs = array();
+                       $tabs['general']        = array('label' => 
lang('general'), 'link' => '#general');
+                       $active_tab = 'general';
+            
                        if($this->acl_add && (is_array($values)))
                        {
                                if ($values['save'] || $values['apply'])
@@ -986,6 +989,8 @@
                                        'lang_apply_statustext'         => 
lang('Apply the values'),
                                        'lang_cancel_statustext'        => 
lang('Leave the agreement untouched and return back to the list'),
                                        'lang_save_statustext'          => 
lang('Save the agreement and return back to the list'),
+                    'tabs'                                             => 
phpgwapi_jquery::tabview_generate($tabs, $active_tab),
+                                       'validator'                             
        => phpgwapi_jquery::formvalidator_generate(array('location', 'date', 
'security', 'file')) 
                                );
 
                




reply via email to

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