Minahito
minah****@users*****
2006年 4月 6日 (木) 12:37:57 JST
Index: xoops2jp/html/modules/base/admin/templates/block_edit.html diff -u xoops2jp/html/modules/base/admin/templates/block_edit.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/block_edit.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/block_edit.html:1.1.2.1 Wed Apr 5 19:58:23 2006 +++ xoops2jp/html/modules/base/admin/templates/block_edit.html Thu Apr 6 12:37:57 2006 @@ -25,9 +25,7 @@ <th><{$smarty.const._AD_BASE_LANG_SIDE}></th> <td class="<{cycle values="odd,even"}>"> <select name="side"> - <{foreach item=side from=$columnSideArr}> - <option value="<{$side->getVar('id')}>"><{$side->getVar('name')}></option> - <{/foreach}> + <{xoops_optionsArray from=$columnSideArr label=name value=id default=$actionForm->get('side')}> </select> </td> </tr> @@ -47,9 +45,7 @@ <th><{$smarty.const._AD_BASE_LANG_TARGET_MODULES}></th> <td class="<{cycle values="odd,even"}>"> <select size='5' name='bmodule[]' multiple='multiple'> - <{foreach item=module from=$moduleArr}> - <option value="<{$module->getVar('mid')}>"><{$module->getVar('name')}></option> - <{/foreach}> + <{xoops_optionsArray from=$moduleArr label=name value=mid}> </select> </td> </tr> @@ -57,9 +53,7 @@ <th><{$smarty.const._AD_BASE_LANG_TARGET_GROUPS}></th> <td class="<{cycle values="odd,even"}>"> <select size='5' name='groupid[]' multiple='multiple'> - <{foreach item=group from=$groupArr}> - <option value="<{$group->getVar('groupid')}>"><{$group->getVar('name')}></option> - <{/foreach}> + <{xoops_optionsArray from=$groupArr value=groupid label=name}> </select> </td> </tr>