Minahito
minah****@users*****
2006年 10月 2日 (月) 19:47:45 JST
Index: xoops2jp/html/modules/base/admin/templates/image_edit.html diff -u xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.14 xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.15 --- xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.14 Sat Sep 2 22:54:32 2006 +++ xoops2jp/html/modules/base/admin/templates/image_edit.html Mon Oct 2 19:47:45 2006 @@ -25,7 +25,7 @@ </div> <{/if}> -<form action="index.php?action=ImageEdit" method="post" enctype="multipart/form-data"> +<form action="#" method="post" enctype="multipart/form-data"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=image_id value=$actionForm->get('image_id')}> <table class="outer"> @@ -73,18 +73,14 @@ <{xoops_input type=text name=image_weight value=$actionForm->get('image_weight') size=5}> </td> </tr> - <{if $object->isNew()}> - <tr> - <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></td> - <td class="<{cycle values="odd,even"}>"> - <select name="imgcat_id"> - <{xoops_optionsArray from=$categoryArr value=imgcat_id label=imgcat_name default=$actionForm->get('imgcat_id')}> - </select> - </td> - </tr> - <{else}> - <{xoops_input type=hidden name=imgcat_id value=$actionForm->get('imgcat_id')}> - <{/if}> + <tr> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></td> + <td class="<{cycle values="odd,even"}>"> + <select name="imgcat_id"> + <{xoops_optionsArray from=$categoryArr value=imgcat_id label=imgcat_name default=$actionForm->get('imgcat_id')}> + </select> + </td> + </tr> <tr> <td colspan="2" class="foot"> <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" />