Minahito
minah****@users*****
2006年 1月 19日 (木) 02:13:26 JST
Index: xoops2jp/html/modules/user/templates/user_avatar_upload.html diff -u /dev/null xoops2jp/html/modules/user/templates/user_avatar_upload.html:1.1.2.1 --- /dev/null Thu Jan 19 02:13:26 2006 +++ xoops2jp/html/modules/user/templates/user_avatar_upload.html Thu Jan 19 02:13:26 2006 @@ -0,0 +1,25 @@ +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> +<form action="?action=AvatarUpload" method="post" enctype="multipart/form-data"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=uid value=$actionForm->getVar('uid')}> + <table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_USER_LANG_AVATAR}></th> + <td class="odd"> + <input type="file" name="uploadavatar" /> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_USER_LANG_CONTROL}></th> + <td class="foot"> + <input type="submit" value="<{$smarty.const._SUBMIT}>" class="formButton" /> + </td> + </tr> + </table> +</form>