Minahito
minah****@users*****
2006年 5月 12日 (金) 19:14:33 JST
Index: xoops2jp/html/modules/base/admin/templates/image_edit.html diff -u /dev/null xoops2jp/html/modules/base/admin/templates/image_edit.html:1.1.2.1 --- /dev/null Fri May 12 19:14:33 2006 +++ xoops2jp/html/modules/base/admin/templates/image_edit.html Fri May 12 19:14:33 2006 @@ -0,0 +1,77 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a> + »» <a href="./index.php?action=ImageList"><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}></a> + <{if $actionForm->get('image_id')}> + »» <{$smarty.const._AD_BASE_LANG_IMAGE_EDIT}> + <{else}> + »» <{$smarty.const._AD_BASE_LANG_IMAGE_NEW}> + <{/if}> +</div> + + <{if $actionForm->get('image_id')}> + <h3><{$smarty.const._AD_BASE_LANG_IMAGE_EDIT}></h3> + <{else}> + <h3><{$smarty.const._AD_BASE_LANG_IMAGE_NEW}></h3> + <{/if}> + +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> +<form action="index.php?action=ImageEdit" method="post"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=image_id value=$actionForm->get('image_id')}> + <table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=image_name value=$actionForm->get('image_name') size=15 maxlength=30}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_IMAGE_NICENAME}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=image_nicename value=$actionForm->get('image_nicename') size=15 maxlength=255}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_IMAGE_MIMETYPE}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=image_mimetype value=$actionForm->get('image_mimetype') size=15 maxlength=30}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_IMAGE_CREATED}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=image_created value=$actionForm->get('image_created')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_IMAGE_DISPLAY}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=image_display value=1 default=$actionForm->get('image_display')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_IMAGE_WEIGHT}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=image_weight value=$actionForm->get('image_weight')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=imgcat_id value=$actionForm->get('imgcat_id')}> + </td> + </tr> + <tr class="foot"> + <td colspan="2" style="text-align:center;"> + <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> + <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> + </td> + </tr> + </table> +</form>