[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13254]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13254] |
Date: |
Thu, 21 May 2015 22:04:31 +0000 |
Revision: 13254
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13254
Author: nelson224
Date: 2015-05-21 22:04:30 +0000 (Thu, 21 May 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uitts.inc.php
Modified: branches/dev-syncromind/property/inc/class.uitts.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uitts.inc.php 2015-05-21
20:21:53 UTC (rev 13253)
+++ branches/dev-syncromind/property/inc/class.uitts.inc.php 2015-05-21
22:04:30 UTC (rev 13254)
@@ -1275,6 +1275,10 @@
$my_groups[$group_id] = $group->firstname;
}
+
+ $tabs = array();
+ $tabs['add'] = array('label' => lang('Add'), 'link'
=> '#add');
+ $active_tab = 'add';
$data = array
(
@@ -1329,6 +1333,8 @@
'cat_select'
=> $this->cats->formatted_xslt_list(array('select_name' =>
'values[cat_id]','selected' => $this->cat_id,'use_acl' =>
$this->_category_acl,'required' => true)),
'pref_send_mail'
=>
(isset($GLOBALS['phpgw_info']['user']['preferences']['property']['tts_user_mailnotification'])?$GLOBALS['phpgw_info']['user']['preferences']['property']['tts_user_mailnotification']:''),
'fileupload'
=>
(isset($this->bo->config->config_data['fmttsfileupload'])?$this->bo->config->config_data['fmttsfileupload']:''),
+ 'tabs'
=> phpgwapi_jquery::tabview_generate($tabs, $active_tab)
+
);
//_debug_array($data);
@@ -2410,6 +2416,12 @@
phpgwapi_jquery::formvalidator_generate(array('location', 'date', 'security',
'file'));
+ $tabs = array();
+ $tabs['general'] = array('label' =>
lang('General'), 'link' => '#general');
+ $tabs['notify'] = array('label' =>
lang('Notify'), 'link' => '#notify');
+ $tabs['history'] = array('label' =>
lang('History'), 'link' => '#history');
+ $active_tab = 'general';
+
$data = array
(
'datatable_def'
=> $datatable_def,
@@ -2523,6 +2535,7 @@
'branch_list'
=>
isset($GLOBALS['phpgw_info']['user']['preferences']['property']['tts_branch_list'])
&&
$GLOBALS['phpgw_info']['user']['preferences']['property']['tts_branch_list']==1
? array('options' => execMethod('property.boproject.select_branch_list',
$values['branch_id'])) :'',
'preview_html'
=> "javascript:preview_html($id)",
'preview_pdf'
=> "javascript:preview_pdf($id)",
+ 'tabs'
=> phpgwapi_jquery::tabview_generate($tabs, $active_tab)
);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13254],
Nelson Guerra <=