[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.xul_io.inc.php,1.14,1.15
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.xul_io.inc.php,1.14,1.15 |
Date: |
Thu, 03 Oct 2002 12:48:19 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv25491
Modified Files:
class.xul_io.inc.php
Log Message:
added options for listbox too and allow comma-separated extra-attributs
Index: class.xul_io.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.xul_io.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** class.xul_io.inc.php 3 Oct 2002 11:10:52 -0000 1.14
--- class.xul_io.inc.php 3 Oct 2002 16:48:17 -0000 1.15
***************
*** 62,66 ****
'select-multi' => array( //
multiselection, if size > 0
'.name' => 'listbox',
! 'size' => 'rows'
),
'template' => array(
--- 62,66 ----
'select-multi' => array( //
multiselection, if size > 0
'.name' => 'listbox',
! 'size' => 'rows,options'
),
'template' => array(
***************
*** 95,99 ****
if (count($attrs))
{
! $vals = count($attrs) > 1 ?
explode(',',$val) : array($val);
while (list($n,$attr) = each($attrs))
{
--- 95,99 ----
if (count($attrs))
{
! $vals = count($attrs) > 1 ?
split(',',$val,count($attrs)) : array($val);
while (list($n,$attr) = each($attrs))
{
***************
*** 220,224 ****
}
break;
- case 'menulist':
case 'listbox':
if ($cell['type'] != 'select')
// one of the sub-types
--- 220,223 ----
***************
*** 475,479 ****
break;
case 'listbox':
! $attr['size'] =
$attr['rows'];
unset($attr['rows']);
break;
--- 474,478 ----
break;
case 'listbox':
! $attr['size'] =
ereg_replace(',*$','',$attr['rows'].','.$attr['size']);
unset($attr['rows']);
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.xul_io.inc.php,1.14,1.15,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.24,1.25 class.soetemplate.inc.php,1.18,1.19
- Next by Date:
[Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.9,1.10 class.uietemplate.inc.php,1.34,1.35
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.editor.inc.php,1.24,1.25 class.soetemplate.inc.php,1.18,1.19
- Next by thread:
[Phpgroupware-cvs] CVS: etemplate/inc class.html.inc.php,1.9,1.10 class.uietemplate.inc.php,1.34,1.35
- Index(es):