Minahito
minah****@users*****
2006年 1月 19日 (木) 21:08:29 JST
Index: xoops2jp/html/modules/user/admin/templates/avatar_delete.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/avatar_delete.html:1.1.2.1 --- /dev/null Thu Jan 19 21:08:29 2006 +++ xoops2jp/html/modules/user/admin/templates/avatar_delete.html Thu Jan 19 21:08:29 2006 @@ -0,0 +1,44 @@ +<p><{$smarty.const._AD_USER_MESSAGE_CONFIRM_DELETE}></p> +<table class="outer" cellspacing="1"> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_ID}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_id')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_FILE}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_file')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_NAME}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_name')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_MIMETYPE}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_mimetype')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_CREATED}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_created')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_DISPLAY}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_display')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_WEIGHT}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_weight')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_AVATAR_TYPE}></th> + <td class="<{cycle values="odd,even"}>"><{$object->getVar('avatar_type')}></td> + </tr> + <tr> + <td class="foot" colspan="2" style="text-align:center;"><br /> + <form action="./index.php?action=AvatarDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=avatar_id value=$actionForm->get('avatar_id')}> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> + </form> + </td> + </tr> +</table> Index: xoops2jp/html/modules/user/admin/templates/avatar_edit.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/avatar_edit.html:1.1.2.1 --- /dev/null Thu Jan 19 21:08:29 2006 +++ xoops2jp/html/modules/user/admin/templates/avatar_edit.html Thu Jan 19 21:08:29 2006 @@ -0,0 +1,42 @@ +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> +<form action="?action=AvatarEdit" method="post" enctype="multipart/form-data"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=avatar_id value=$actionForm->getVar('avatar_id')}> + <table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._AD_USER_LANG_AVATAR_NAME}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=avatar_name value=$actionForm->getVar('avatar_name') size=15 maxlength=100}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_AVATAR_FILE}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=file name=avatar_file}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_AVATAR_DISPLAY}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=avatar_display value=1 default=$actionForm->getVar('avatar_display')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_AVATAR_WEIGHT}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=avatar_weight value=$actionForm->getVar('avatar_weight')}> + </td> + </tr> + <tr class="foot"> + <td colspan="2" style="text-align:center;"> + <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> + </td> + </tr> + </table> +</form> Index: xoops2jp/html/modules/user/admin/templates/avatar_list.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/avatar_list.html:1.1.2.1 --- /dev/null Thu Jan 19 21:08:29 2006 +++ xoops2jp/html/modules/user/admin/templates/avatar_list.html Thu Jan 19 21:08:29 2006 @@ -0,0 +1,50 @@ +<div style="text-align:right;">[ <a href="index.php?action=AVATAREdit"><{$smarty.const._AD_USER_LANG_CREATE_NEW}></strong></a> ]</div> +<br/> +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._AD_USER_LANG_AVATAR_ID}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_AVATAR_FILE}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_FILE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_FILE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_AVATAR_NAME}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_AVATAR_MIMETYPE}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_MIMETYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_MIMETYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_AVATAR_CREATED}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_CREATED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_CREATED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_AVATAR_DISPLAY}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_DISPLAY}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_DISPLAY}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_AVATAR_WEIGHT}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_WEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_WEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_AVATAR_TYPE}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.AVATAR_SORT_KEY_AVATAR_TYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.AVATAR_SORT_KEY_AVATAR_TYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_CONTROL}></th> + </tr> + <{foreach item=obj from=$objects}> + <tr class="<{cycle values='odd,even'}>"> + <td><{$obj->getVar('avatar_id')}></td> + <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getVar('avatar_file')}>" alt="<{$obj->getVar('avatar_name')}>" /></td> + <td><{$obj->getVar('avatar_name')}></td> + <td><{$obj->getVar('avatar_mimetype')}></td> + <td><{$obj->getVar('avatar_created')}></td> + <td><{$obj->getVar('avatar_display')}></td> + <td><{$obj->getVar('avatar_weight')}></td> + <td><{$obj->getVar('avatar_type')}></td> + <td> + <a href="index.php?action=AvatarEdit&avatar_id=<{$obj->getVar('avatar_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> + <a href="index.php?action=AvatarDelete&avatar_id=<{$obj->getVar('avatar_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + </td> + </tr> + </tr> + <{/foreach}> +</table> +<br /> +<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div>