Minahito
minah****@users*****
2006年 3月 30日 (木) 23:55:36 JST
Index: xoops2jp/html/modules/base/admin/templates/comment_edit.html diff -u xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.7 xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.8 --- xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.7 Wed Mar 29 23:49:21 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_edit.html Thu Mar 30 23:55:36 2006 @@ -59,8 +59,15 @@ <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_STATUS}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=radio name=com_status value=1 default=$actionForm->get('com_status')}><{$smarty.const._YES}> - <{xoops_input type=radio name=com_status value=0 default=$actionForm->get('com_status')}><{$smarty.const._NO}> + <select name="com_status"> + <{foreach item=status from=$statusArr}> + <{if $status->get('id') == $actionForm->get('com_status')}> + <option value="<{$status->getVar('id')}>" selected><{$status->getVar('name')}></option> + <{else}> + <option value="<{$status->getVar('id')}>"><{$status->getVar('name')}></option> + <{/if}> + <{/foreach}> + </select> </td> </tr> <tr>