fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14606] clean up from yui


From: Sigurd Nes
Subject: [Fmsystem-commits] [14606] clean up from yui
Date: Wed, 16 Dec 2015 14:51:13 +0000

Revision: 14606
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14606
Author:   sigurdne
Date:     2015-12-16 14:51:11 +0000 (Wed, 16 Dec 2015)
Log Message:
-----------
clean up from yui

Modified Paths:
--------------
    branches/dev-syncromind/addressbook/templates/base/form.tpl
    branches/dev-syncromind/addressbook/templates/base/principal_tabs.tpl
    branches/dev-syncromind/booking/inc/class.uiorganization.inc.php
    branches/dev-syncromind/phpgwapi/templates/idots/head.inc.php
    branches/dev-syncromind/registration/inc/class.uipending.inc.php

Modified: branches/dev-syncromind/addressbook/templates/base/form.tpl
===================================================================
--- branches/dev-syncromind/addressbook/templates/base/form.tpl 2015-12-16 
13:44:28 UTC (rev 14605)
+++ branches/dev-syncromind/addressbook/templates/base/form.tpl 2015-12-16 
14:51:11 UTC (rev 14606)
@@ -1,41 +1,33 @@
 <!-- BEGIN TABHOLDER -->
-<table width="95%" border="0" align="center" cellspacing="2" cellpadding="2">
-       <tbody>
-               <tr>
-                       {principal_tabs_inc}
-               </tr>
-               <form action="{action}" method="post" name="body_form" 
cellspacing="0" cellpadding="0">
-                       <input type="hidden" name="bname" />
-                       <input type="hidden" name="_submit" />
-                       <script language="JavaScript" type="text/javascript">
-                       <!--
-                               function changetab(selectedtype)
-                               {
-                                       document.body_form.bname.value = 
selectedtype;
-                                       document.body_form.submit();
-                               }
-                               function submit_form(selectedtype)
-                               {
-                                       process_list('{onsubjs1}', 
'{onsubjs2}');
-                                       document.body_form._submit.value = 
selectedtype;
-                                       document.body_form.submit();
-                               }
-                       -->
-                       </script>
+<script language="JavaScript" type="text/javascript">
+       function changetab(selectedtype)
+       {
+               document.body_form.bname.value = selectedtype;
+               document.body_form.submit();
+       }
+       function submit_form(selectedtype)
+       {
+               process_list('{onsubjs1}', '{onsubjs2}');
+               document.body_form._submit.value = selectedtype;
+               document.body_form.submit();
+       }
+</script>
 
-                       <tr>
-                               {tab}
-                       </tr>
-                       <tr>
-                               <input type="hidden" name="{old_tab_name}" 
value="{old_tab}">
-                               <input type="hidden" name="referer" 
value="{referer}">
-                               <input type="hidden" name="ab_id" 
value="{ab_id}">
-                               <input type="hidden" name="owner" 
value="{owner}">
-                               <input type="hidden" name="record_name" 
value="{record_name}">
-                               {current_tab_body}
-                       </tr>
-                       {control_buttons}
-               </form>
-       </tbody>
-</table>
+<form action="{action}" method="post" name="body_form" cellspacing="0" 
cellpadding="0">
+       <div id="tab-content">
+               {principal_tabs_inc}
+               <input type="hidden" name="bname" />
+               <input type="hidden" name="_submit" />
+       </div>
+       <div id="tab-content2">
+               {tab}
+               <input type="hidden" name="{old_tab_name}" value="{old_tab}">
+               <input type="hidden" name="referer" value="{referer}">
+               <input type="hidden" name="ab_id" value="{ab_id}">
+               <input type="hidden" name="owner" value="{owner}">
+               <input type="hidden" name="record_name" value="{record_name}">
+               {current_tab_body}
+               {control_buttons}
+       </div>
+</form>
 <!-- END TABHOLDER -->

Modified: branches/dev-syncromind/addressbook/templates/base/principal_tabs.tpl
===================================================================
--- branches/dev-syncromind/addressbook/templates/base/principal_tabs.tpl       
2015-12-16 13:44:28 UTC (rev 14605)
+++ branches/dev-syncromind/addressbook/templates/base/principal_tabs.tpl       
2015-12-16 14:51:11 UTC (rev 14606)
@@ -1,9 +1,7 @@
 <!-- BEGIN principal_tab -->
-<div class="yui-navset">
-       <ul id="contacts_tabs" class="yui-nav">
+       <ul>
                {principal_buttons}
        </ul>
-</div>
 <!-- END principal_tab -->
 
 <!-- BEGIN principal_button -->

Modified: branches/dev-syncromind/booking/inc/class.uiorganization.inc.php
===================================================================
--- branches/dev-syncromind/booking/inc/class.uiorganization.inc.php    
2015-12-16 13:44:28 UTC (rev 14605)
+++ branches/dev-syncromind/booking/inc/class.uiorganization.inc.php    
2015-12-16 14:51:11 UTC (rev 14606)
@@ -140,23 +140,6 @@
 
                public function query()
                {
-
-//                        $search = phpgw::get_var('search');
-//                        $order = phpgw::get_var('order');
-//                        $columns = phpgw::get_var('columns');
-//
-//                        $params = array(
-//                            'start' => phpgw::get_var('start', 'int', 
'REQUEST', 0),
-//                            'results' => phpgw::get_var('length', 'int', 
'REQUEST', null),
-//                            'query' => $search['value'],
-//                            'order' => $columns[$order[0]['column']]['data'],
-//                            'sort'   => 
$columns[$order[0]['column']]['data'],
-//                            'dir'    => $order[0]['dir'],
-//                            'filters' => $filters
-//                        );
-//                    
-//                     $organizations = $this->bo->so->read($params);
-
                        $organizations = $this->bo->read();
                        array_walk($organizations["results"], array($this, 
"_add_links"), $this->module . ".uiorganization.show");
 

Modified: branches/dev-syncromind/phpgwapi/templates/idots/head.inc.php
===================================================================
--- branches/dev-syncromind/phpgwapi/templates/idots/head.inc.php       
2015-12-16 13:44:28 UTC (rev 14605)
+++ branches/dev-syncromind/phpgwapi/templates/idots/head.inc.php       
2015-12-16 14:51:11 UTC (rev 14606)
@@ -29,17 +29,6 @@
 
 
        $stylesheets = array();
-       if( !isset($GLOBALS['phpgw_info']['flags']['noframework']) )
-       {
-
-               $stylesheets = array
-               (
-                       
'/phpgwapi/js/yahoo/reset-fonts-grids/reset-fonts-grids.css',
-                       '/phpgwapi/js/yahoo/menu/assets/skins/sam/menu.css',
-                       
'/phpgwapi/js/yahoo/tabview/assets/skins/sam/tabview.css',
-               );
-       }
-
        $stylesheets[] = "/phpgwapi/templates/pure/css/global.css";
        $stylesheets[] = "/phpgwapi/templates/pure/css/pure-min.css";
        $stylesheets[] = "/phpgwapi/templates/pure/css/pure-extension.css";

Modified: branches/dev-syncromind/registration/inc/class.uipending.inc.php
===================================================================
--- branches/dev-syncromind/registration/inc/class.uipending.inc.php    
2015-12-16 13:44:28 UTC (rev 14605)
+++ branches/dev-syncromind/registration/inc/class.uipending.inc.php    
2015-12-16 14:51:11 UTC (rev 14606)
@@ -162,7 +162,6 @@
                                                        'key' => 
'location_code',
                                                        'label' => 
lang('location'),
                                                        'sortable'      => 
false,
-       //                                              'editor' => 'new 
YAHOO.widget.CheckboxCellEditor({checkboxOptions:[{label:"ja", 
value:true},{label:"nei", value:false}],disableBtns:true})'
                                                ),
                                                array(
                                                                'key' => 
'checked',




reply via email to

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