[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.tab_widget.inc.php,1.11,1.12
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.tab_widget.inc.php,1.11,1.12 |
Date: |
Tue, 08 Oct 2002 20:32:06 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv21707
Modified Files:
class.tab_widget.inc.php
Log Message:
worked a bit on the design of the tabs
Index: class.tab_widget.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.tab_widget.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** class.tab_widget.inc.php 6 Oct 2002 00:17:15 -0000 1.11
--- class.tab_widget.inc.php 9 Oct 2002 00:32:04 -0000 1.12
***************
*** 90,97 ****
$tab_widget = new etemplate('etemplate.tab_widget');
$tab_widget->set_cell_attribute('@tabs','obj',$tabs);
! if ($tmpl->tpls_in_file > 1)
!
$tab_widget->set_cell_attribute('@body','obj',new
etemplate($selected_tab,$tmpl->as_array()));
! else
!
$tab_widget->set_cell_attribute('@body','name',$selected_tab);
$cell['type'] = 'template';
--- 90,100 ----
$tab_widget = new etemplate('etemplate.tab_widget');
$tab_widget->set_cell_attribute('@tabs','obj',$tabs);
!
! $stab = new etemplate($selected_tab,$tmpl->as_array());
! $options = array_pad(explode(',',$stab->size),3,'');
! $options[3] = ($options[3]!= '' ? $options[3].' ':'') .
'tab_body';
! $stab->size = implode(',',$options);
! $tab_widget->set_cell_attribute('@body','obj',$stab);
!
$tab_widget->set_cell_attribute('@body','name',$selected_tab);
$cell['type'] = 'template';
***************
*** 118,120 ****
return True;
}
! }
\ No newline at end of file
--- 121,123 ----
return True;
}
! }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.tab_widget.inc.php,1.11,1.12,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.boetemplate.inc.php,1.28,1.29 class.html.inc.php,1.11,1.12 class.uietemplate.inc.php,1.39,1.40
- Next by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.link_widget.inc.php,NONE,1.1
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.boetemplate.inc.php,1.28,1.29 class.html.inc.php,1.11,1.12 class.uietemplate.inc.php,1.39,1.40
- Next by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.link_widget.inc.php,NONE,1.1
- Index(es):