Minahito
minah****@users*****
2005年 12月 25日 (日) 19:57:16 JST
Index: xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html diff -u xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html:1.1.2.3 xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html:1.1.2.4 --- xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html:1.1.2.3 Fri Nov 25 00:48:50 2005 +++ xoops2jp/html/modules/user/admin/templates/user_admin_rankedit_input.html Sun Dec 25 19:57:16 2005 @@ -1,61 +1,57 @@ +<h3>» <{$smarty.const._MD_A_USER_LANG_RANK_LIST}></h3> + +<{if $actionForm->getVar('rank_id') }> + <h4><{$smarty.const._MD_A_USER_LANG_RANK_EDIT}></h4> +<{else}> + <h4><{$smarty.const._MD_A_USER_LANG_RANK_NEW}></h4> +<{/if}> + <{if $actionForm->hasError()}> - <ul> - <{foreach item=message from=$actionForm->getErrorMessages()}> - <li><{$message|escape}></li> - <{/foreach}> - </ul> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> <{/if}> <form action="?action=RankEdit" method="post" enctype="multipart/form-data"> - <{xoops_input type=hidden name=rank_id value=$actionForm->getVar('rank_id')}> - <table> - <tr> - <td class="head"> - <{$smarty.const._MD_A_USER_LANG_RANK_TITLE}> - </td> - <td class="even"> - <{xoops_input type=text name=rank_title value=$actionForm->getVar('rank_title')}> - </td> - </tr> - <tr> - <td class="head"> - <{$smarty.const._MD_A_USER_LANG_RANK_MIN}> - </td> - <td class="even"> - <{xoops_input type=text name=rank_min value=$actionForm->getVar('rank_min')}> - </td> - </tr> - <tr> - <td class="head"> - <{$smarty.const._MD_A_USER_LANG_RANK_MAX}> - </td> - <td class="even"> - <{xoops_input type=text name=rank_max value=$actionForm->getVar('rank_max')}> - </td> - </tr> - <tr> - <td class="head"> - <{$smarty.const._MD_A_USER_LANG_RANK_SPECIAL}> - </td> - <td class="even"> - <input type="radio" name="rank_special" value="5" <{if $actionForm->getVar('rank_special')==5}>checked<{/if}> /><{$smarty.const._MD_A_USER_LANG_YES}> - <input type="radio" name="rank_special" value="0" <{if $actionForm->getVar('rank_special')==0}>checked<{/if}> /><{$smarty.const._MD_A_USER_LANG_NO}> - </td> - </tr> - <tr> - <td class="head"> - <{$smarty.const._MD_A_USER_LANG_RANK_IMAGE}> - </td> - <td class="even"> - <input type="file" name="rank_image" /> - </td> - </tr> - <tr> - <td class="head"> - <{$smarty.const._MD_A_USER_LANG_CONTROL}> - </td> - <td class="even"> - <input type="submit" value="<{$smarty.const._MD_A_USER_LANG_SUBMIT}>" /> - </td> - </tr> - </table> -</form> \ No newline at end of file + <{xoops_input type=hidden name=rank_id value=$actionForm->getVar('rank_id')}> + <table class="outer" cellspacing="1"> + <tr> + <td class="head"><{$smarty.const._MD_A_USER_LANG_RANK_TITLE}></td> + <td class="even"> + <{xoops_input type=text name=rank_title value=$actionForm->getVar('rank_title')}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_USER_LANG_RANK_MIN}></td> + <td class="even"> + <{xoops_input type=text name=rank_min value=$actionForm->getVar('rank_min')}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_USER_LANG_RANK_MAX}></td> + <td class="even"> + <{xoops_input type=text name=rank_max value=$actionForm->getVar('rank_max')}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_USER_LANG_RANK_SPECIAL}></td> + <td class="even"> + <input type="radio" name="rank_special" value="5" <{if $actionForm->getVar('rank_special')==5}>checked<{/if}> /><{$smarty.const._MD_A_USER_LANG_YES}> + <input type="radio" name="rank_special" value="0" <{if $actionForm->getVar('rank_special')==0}>checked<{/if}> /><{$smarty.const._MD_A_USER_LANG_NO}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_USER_LANG_RANK_IMAGE}></td> + <td class="even"> + <input type="file" name="rank_image" /> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._MD_A_USER_LANG_CONTROL}></td> + <td class="even"> + <input type="submit" value="<{$smarty.const._MD_A_USER_LANG_SUBMIT}>" /> + </td> + </tr> + </table> +</form> Index: xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html diff -u xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html:1.1.2.1 xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html:1.1.2.2 --- xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html:1.1.2.1 Mon Nov 21 20:00:49 2005 +++ xoops2jp/html/modules/user/admin/templates/user_admin_rankdelete_input.html Sun Dec 25 19:57:16 2005 @@ -1,60 +1,38 @@ -<h2><{$smarty.const._MD_A_USER_LANG_DELETE_RANK}></h2> +<h3>» <{$smarty.const._MD_A_USER_LANG_RANK_LIST}></h3> -<p> - <{$smarty.const._MD_A_USER_MESSAGE_CONFIRM_DELETE_RANK}> -</p> +<h4><{$smarty.const._MD_A_USER_LANG_DELETE_RANK}></h4> -<table> - <tr> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_ID}> - </th> - <td> - <{$rank->getVar('rank_id')}> - </td> - </tr> - <tr> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_TITLE}> - </th> - <td> - <{$rank->getVar('rank_title')}> - </td> - </tr> - <tr> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_MIN}> - </th> - <td> - <{$rank->getVar('rank_min')}> - </td> - </tr> - <tr> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_MAX}> - </th> - <td> - <{$rank->getVar('rank_max')}> - </td> - </tr> - <tr> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_IMAGE}> - </th> - <td> - <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>"/> - </td> - </tr> - <tr> - <th> - <{$smarty.const._MD_A_USER_LANG_CONTROL}> - </th> - <form action="?action=RankDelete&rank_id=<{$rank->getVar('rank_id')}>" method="post" ID="Form1"> - <td> - <!--- ticket holder ---> - <input type="submit" value="YES" /> - <input type="button" value="NO" onclick="javascript:history.back()" /> - </td> - </form> - </tr> +<p><{$smarty.const._MD_A_USER_MESSAGE_CONFIRM_DELETE_RANK}></p> + +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_A_USER_LANG_RANK_ID}></th> + <td class="odd"><{$rank->getVar('rank_id')}></td> + </tr> + <tr> + <th><{$smarty.const._MD_A_USER_LANG_RANK_TITLE}></th> + <td class="even"><{$rank->getVar('rank_title')}></td> + </tr> + <tr> + <th><{$smarty.const._MD_A_USER_LANG_RANK_MIN}></th> + <td class="odd"><{$rank->getVar('rank_min')}></td> + </tr> + <tr> + <th><{$smarty.const._MD_A_USER_LANG_RANK_MAX}></th> + <td class="even"><{$rank->getVar('rank_max')}></td> + </tr> + <tr> + <th><{$smarty.const._MD_A_USER_LANG_RANK_IMAGE}></th> + <td class="odd"><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>"/></td> + </tr> + <tr> + <th><{$smarty.const._MD_A_USER_LANG_CONTROL}></th> + <form action="?action=RankDelete&rank_id=<{$rank->getVar('rank_id')}>" method="post" ID="Form1"> + <td class="foot"> + <!--- ticket holder ---> + <input type="submit" value="<{$smarty.const._MD_A_USER_LANG_YES}>" /> + <input type="button" value="<{$smarty.const._MD_A_USER_LANG_NO}>" onclick="javascript:history.back()" /> + </td> + </form> + </tr> </table> Index: xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html diff -u xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html:1.1.2.3 --- xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html:1.1.2.2 Fri Nov 25 00:49:00 2005 +++ xoops2jp/html/modules/user/admin/templates/user_admin_ranklist_index.html Sun Dec 25 19:57:16 2005 @@ -1,59 +1,43 @@ -<h4> » <{$smarty.const._MD_A_USER_LANG_RANK_LIST}></h4> +<h3>» <{$smarty.const._MD_A_USER_LANG_RANK_LIST}></h3> -<table> - <tr> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_ID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_ID}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_ID}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a> - </th> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_TITLE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_TITLE}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_TITLE}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a> - </th> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_MIN}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_MIN}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_MIN}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a> - </th> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_MAX}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_MAX}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_MAX}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a> - </th> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_SPECIAL}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_SPECIAL}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_SPECIAL}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a> - </th> - <th> - <{$smarty.const._MD_A_USER_LANG_RANK_IMAGE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_IMAGE}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_IMAGE}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a> - </th> - <th> - <{$smarty.const._MD_A_USER_LANG_CONTROL}> - </th> - </tr> - <{foreach item=rank from=$ranks}> - <tr class="<{cycle values='odd,even'}>"> - <td><{$rank->getVar('rank_id')}></td> - <td><{$rank->getVar('rank_title')}></td> - <td><{$rank->getVar('rank_min')}></td> - <td><{$rank->getVar('rank_max')}></td> - <td><{$rank->getVar('rank_special')}></td> - <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>" /></td> - <td> - <a href="?action=RankEdit&rank_id=<{$rank->getVar('rank_id')}>"><{$smarty.const._MD_A_USER_LANG_EDIT}></a> | - <a href="?action=RankDelete&rank_id=<{$rank->getVar('rank_id')}>"><{$smarty.const._MD_A_USER_LANG_DELETE}></a> - </td> - </tr> - <{/foreach}> -</table> +<div style="text-align:right">[ <a href="index.php?action=RankEdit"><b><{$smarty.const._MD_A_USER_LANG_RANK_NEW}></b></a> ]</div> <br /> +<table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._MD_A_USER_LANG_RANK_ID}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_ID}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_ID}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a></th> + <th><{$smarty.const._MD_A_USER_LANG_RANK_TITLE}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_TITLE}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_TITLE}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a></th> + <th><{$smarty.const._MD_A_USER_LANG_RANK_MIN}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_MIN}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_MIN}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a></th> + <th><{$smarty.const._MD_A_USER_LANG_RANK_MAX}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_MAX}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_MAX}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a></th> + <th><{$smarty.const._MD_A_USER_LANG_RANK_SPECIAL}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_SPECIAL}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_SPECIAL}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a></th> + <th><{$smarty.const._MD_A_USER_LANG_RANK_IMAGE}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.RANK_SORT_KEY_IMAGE}>"><img src="<{$xoops_url}>/modules/base/admin/images/up.gif" alt="ASC"></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.RANK_SORT_KEY_IMAGE}>"><img src="<{$xoops_url}>/modules/base/admin/images/down.gif" alt="DESC"></a></th> + <th><{$smarty.const._MD_A_USER_LANG_CONTROL}></th> + </tr> + <{foreach item=rank from=$ranks}> + <tr class="<{cycle values='odd,even'}>"> + <td style="text-align:center;"><{$rank->getVar('rank_id')}></td> + <td><{$rank->getVar('rank_title')}></td> + <td style="text-align:right;"><{$rank->getVar('rank_min')}></td> + <td style="text-align:right;"><{$rank->getVar('rank_max')}></td> + <td style="text-align:right;"><{$rank->getVar('rank_special')}></td> + <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>" /></td> + <td style="text-align:center;"><a href="?action=RankEdit&rank_id=<{$rank->getVar('rank_id')}>"><{$smarty.const._MD_A_USER_LANG_EDIT}></a> | + <a href="?action=RankDelete&rank_id=<{$rank->getVar('rank_id')}>"><{$smarty.const._MD_A_USER_LANG_DELETE}></a></td> + </tr> + <{/foreach}> +</table> -<div align="center"> - <{xoops_pagenavi pagenavi=$pageNavi}> -</div> \ No newline at end of file +<br /> +<div align="center"><{xoops_pagenavi pagenavi=$pageNavi}></div>