[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13199] class.uiagreement.inc
From: |
Saul |
Subject: |
[Fmsystem-commits] [13199] class.uiagreement.inc |
Date: |
Wed, 13 May 2015 22:50:49 +0000 |
Revision: 13199
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13199
Author: psaul
Date: 2015-05-13 22:50:48 +0000 (Wed, 13 May 2015)
Log Message:
-----------
class.uiagreement.inc
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-13 22:50:18 UTC (rev 13198)
+++ branches/dev-syncromind/property/inc/class.uiagreement.inc.php
2015-05-13 22:50:48 UTC (rev 13199)
@@ -2017,7 +2017,11 @@
$values = phpgw::get_var('values');
$values_attribute = phpgw::get_var('values_attribute');
-
+
+ $tabs = array();
+ $tabs['general'] = array('label' =>
lang('general'), 'link' => '#general');
+ $active_tab = 'general';
+
if (is_array($values))
{
@@ -2235,7 +2239,9 @@
'lang_delete_last_statustext' =>
lang('delete the last index'),
'delete_action'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uiagreement.edit_item', 'delete_last'=>1, 'agreement_id'=>
$agreement_id, 'id'=> $id)),
'textareacols'
=>
isset($GLOBALS['phpgw_info']['user']['preferences']['property']['textareacols'])
&& $GLOBALS['phpgw_info']['user']['preferences']['property']['textareacols'] ?
$GLOBALS['phpgw_info']['user']['preferences']['property']['textareacols'] : 40,
- 'textarearows'
=>
isset($GLOBALS['phpgw_info']['user']['preferences']['property']['textarearows'])
&& $GLOBALS['phpgw_info']['user']['preferences']['property']['textarearows'] ?
$GLOBALS['phpgw_info']['user']['preferences']['property']['textarearows'] : 6
+ 'textarearows'
=>
isset($GLOBALS['phpgw_info']['user']['preferences']['property']['textarearows'])
&& $GLOBALS['phpgw_info']['user']['preferences']['property']['textarearows'] ?
$GLOBALS['phpgw_info']['user']['preferences']['property']['textarearows'] : 6,
+ 'tabs'
=> phpgwapi_jquery::tabview_generate($tabs, $active_tab),
+ 'validator'
=> phpgwapi_jquery::formvalidator_generate(array('location',
'date', 'security', 'file'))
);
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('agreement') . ': ' . ($values['id']?lang('edit item') . ' ' .
$agreement['name']:lang('add item') . ' ' . $agreement['name']);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13199] class.uiagreement.inc,
Saul <=