Minahito
minah****@users*****
2006年 11月 9日 (木) 18:36:25 JST
Index: xoops2jp/html/modules/legacy/templates/legacy_xoopsform_select.html diff -u xoops2jp/html/modules/legacy/templates/legacy_xoopsform_select.html:1.1.2.1 xoops2jp/html/modules/legacy/templates/legacy_xoopsform_select.html:1.1.2.2 --- xoops2jp/html/modules/legacy/templates/legacy_xoopsform_select.html:1.1.2.1 Sat Oct 14 23:55:20 2006 +++ xoops2jp/html/modules/legacy/templates/legacy_xoopsform_select.html Thu Nov 9 18:36:25 2006 @@ -1,9 +1,9 @@ <{if $element->isMultiple() != false}> - <select size='<{$element->getSize()}>' name='<{$element->getName()}>[]' id='<{$element->getName()}>[]' multiple='multiple' <{$element->getExtra()}>> + <select size='<{$element->getSize()}>' name='<{$element->getName()}>[]' id='<{$element->getName()}>' multiple='multiple' <{$element->getExtra()}>> <{else}> <select size='<{$element->getSize()}>' name='<{$element->getName()}>' id='<{$element->getName()}>' <{$element->getExtra()}>> <{/if}> <{foreach from=$element->getOptions() key=value item=name}> - <option value='<{$value|escape}>' <{if count($element->getValue()) > 0 && in_array($value, $element->getValue())}> selected='selected'<{/if}>><{$name}></option> + <option id='<{$element->getName()}>_<{$value|escape}>' value='<{$value|escape}>' <{if count($element->getValue()) > 0 && in_array($value, $element->getValue())}> selected='selected'<{/if}>><{$name}></option> <{/foreach}> </select>