Tom Hayakawa
tom_g3x****@users*****
2007年 3月 22日 (木) 21:10:15 JST
Index: xoops2jp/html/class/tree.php diff -u xoops2jp/html/class/tree.php:1.2 xoops2jp/html/class/tree.php:1.2.26.1 --- xoops2jp/html/class/tree.php:1.2 Fri Mar 18 21:51:55 2005 +++ xoops2jp/html/class/tree.php Thu Mar 22 21:10:15 2007 @@ -1,5 +1,5 @@ <?php -// $Id: tree.php,v 1.2 2005/03/18 12:51:55 onokazu Exp $ +// $Id: tree.php,v 1.2.26.1 2007/03/22 12:10:15 tom_g3x Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -214,7 +214,7 @@ **/ function &makeSelBox($name, $fieldName, $prefix='-', $selected='', $addEmptyOption = false, $key=0) { - $ret = '<select name='.$name.'>'; + $ret = '<select name="'.$name.'" id="'.$name.'">'; if (false != $addEmptyOption) { $ret .= '<option value="0"></option>'; }