fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13297] uiorganization conversion


From: Alejandro
Subject: [Fmsystem-commits] [13297] uiorganization conversion
Date: Wed, 27 May 2015 22:44:25 +0000

Revision: 13297
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13297
Author:   nudrick
Date:     2015-05-27 22:44:24 +0000 (Wed, 27 May 2015)
Log Message:
-----------
uiorganization conversion

Modified Paths:
--------------
    branches/dev-syncromind/booking/inc/class.uiorganization.inc.php

Modified: branches/dev-syncromind/booking/inc/class.uiorganization.inc.php
===================================================================
--- branches/dev-syncromind/booking/inc/class.uiorganization.inc.php    
2015-05-27 22:43:55 UTC (rev 13296)
+++ branches/dev-syncromind/booking/inc/class.uiorganization.inc.php    
2015-05-27 22:44:24 UTC (rev 13297)
@@ -256,6 +256,10 @@
                public function show()
                {
                        $organization = 
$this->bo->read_single(phpgw::get_var('id', 'GET'));
+                       
+                       $tabs = array();
+                       $tabs['generic']        = array('label' => 
lang('Organization'), 'link' => '#organization');
+                       $active_tab = 'generic';
 
                        if ( trim($organization['homepage']) != '' && 
!preg_match("/^http|https:\/\//", trim($organization['homepage'])) )
                        {
@@ -263,6 +267,7 @@
                        }
                        $organization['organizations_link'] = 
self::link(array('menuaction' => $this->module.'.uiorganization.index'));
                        $organization['edit_link'] = 
self::link(array('menuaction' => $this->module.'.uiorganization.edit', 'id' => 
$organization['id']));
+                       $organization['tabs'] = 
phpgwapi_jquery::tabview_generate($tabs, $active_tab);
                        $this->install_customer_identifier_ui($organization);
                        self::render_template_xsl('organization', 
array('organization' => $organization));
                }




reply via email to

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