Tom Hayakawa
tom_g3x****@users*****
2006年 5月 12日 (金) 00:26:03 JST
Index: xoops2jp/html/modules/user/admin/templates/mailjob_list.html diff -u xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.3 xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.4 --- xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.3 Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_list.html Fri May 12 00:26:03 2006 @@ -5,26 +5,25 @@ <h3><{$smarty.const._AD_USER_LANG_MAILJOB_LIST}></h3> -<div style="text-align:right;">[ <a href="index.php?action=UserSearch"><{$smarty.const._AD_USER_LANG_CREATE_NEW}></a> ]</div> -<br/> +<div cpass="toptab">[ <a href="index.php?action=UserSearch"><{$smarty.const._AD_USER_LANG_CREATE_NEW}></a> ]</div> -<table class="outer" cellspacing="1"> +<table class="outer"> <tr> <th><{$smarty.const._AD_USER_LANG_MAILJOB_ID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_MAILJOB_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_MAILJOB_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_MAILJOB_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_MAILJOB_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_USER_LANG_TITLE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_USER_LANG_IS_PM}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_IS_PM}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_IS_PM}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_IS_PM}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_IS_PM}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_USER_LANG_IS_MAIL}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_IS_MAIL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_IS_MAIL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_IS_MAIL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_IS_MAIL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_USER_LANG_CREATE_UNIXTIME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_CREATE_UNIXTIME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_CREATE_UNIXTIME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.MAILJOB_SORT_KEY_CREATE_UNIXTIME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.MAILJOB_SORT_KEY_CREATE_UNIXTIME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_USER_LANG_LEFT_TARGET_USER}></th> <th><{$smarty.const._AD_USER_LANG_CONTROL}></th> </tr> @@ -43,11 +42,11 @@ <{/if}> </td> <td> - <a href="./index.php?action=MailjobEdit&mailjob_id=<{$obj->getVar('mailjob_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="./index.php?action=MailjobDelete&mailjob_id=<{$obj->getVar('mailjob_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=MailjobEdit&mailjob_id=<{$obj->getVar('mailjob_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="./index.php?action=MailjobDelete&mailjob_id=<{$obj->getVar('mailjob_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> </table> -<br /> -<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div> + +<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div> Index: xoops2jp/html/modules/user/admin/templates/mailjob_send.html diff -u xoops2jp/html/modules/user/admin/templates/mailjob_send.html:1.1.2.1 xoops2jp/html/modules/user/admin/templates/mailjob_send.html:1.1.2.2 --- xoops2jp/html/modules/user/admin/templates/mailjob_send.html:1.1.2.1 Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_send.html Fri May 12 00:26:03 2006 @@ -10,48 +10,51 @@ <{$smarty.const._AD_USER_TIPS_MAILJOB_SEND}> </div> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=MailjobSend" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=mailjob_id value=$actionForm->get('mailjob_id')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_MAILJOB_ID}></th> + <th colspan="2"><{$smarty.const._AD_USER_LANG_MAILJOB_SEND}></th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_MAILJOB_ID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('mailjob_id')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_TITLE}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_TITLE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('title')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_BODY}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_BODY}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('body')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_FROM_NAME}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_FROM_NAME}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('from_name')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_FROM_EMAIL}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_FROM_EMAIL}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('from_email')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_IS_PM}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_IS_PM}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('is_pm')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_IS_MAIL}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_IS_MAIL}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('is_mail')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_CREATE_UNIXTIME}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_CREATE_UNIXTIME}></td> <td class="<{cycle values="odd,even"}>"><{$object->get('create_unixtime')|xoops_formattimestamp:l}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=MailjobSend" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=mailjob_id value=$actionForm->get('mailjob_id')}> - <input type="submit" value="<{$smarty.const._SEND}>" class="formButton" /> - <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> - </form> + <td class="foot" colspan="2"> + <input type="submit" value="<{$smarty.const._SEND}>" class="formButton" /> + <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> </tr> -</table> + </table> +</form> Index: xoops2jp/html/modules/user/admin/templates/mailjob_edit.html diff -u xoops2jp/html/modules/user/admin/templates/mailjob_edit.html:1.1.2.4 xoops2jp/html/modules/user/admin/templates/mailjob_edit.html:1.1.2.5 --- xoops2jp/html/modules/user/admin/templates/mailjob_edit.html:1.1.2.4 Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_edit.html Fri May 12 00:26:03 2006 @@ -21,49 +21,60 @@ <{/foreach}> </ul> <{/if}> + <form action="index.php?action=MailjobEdit" method="post"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=mailjob_id value=$actionForm->get('mailjob_id')}> <{$pageNavi->renderHidden()}> - <table class="outer" cellspacing="1"> + <table class="outer"> <tr> - <th><{$smarty.const._AD_USER_LANG_TITLE}></th> + <th colspan="2"> + <{if $actionForm->get('mailjob_id')}> + <{$smarty.const._AD_USER_LANG_MAILJOB_EDIT}> + <{else}> + <{$smarty.const._AD_USER_LANG_MAILJOB_NEW}> + <{/if}> + </th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_TITLE}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=title value=$actionForm->get('title') size=32 maxlength=255}> </td> </tr> <tr> - <th><{$smarty.const._AD_USER_LANG_BODY}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_BODY}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_dhtmltarea type=text name=body value=$actionForm->get('body') rows=10}> +<{* <{xoops_textarea type=text name=body value=$actionForm->get('body') cols=50 rows=10}> *}> </td> </tr> <tr> - <th><{$smarty.const._AD_USER_LANG_FROM_NAME}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_FROM_NAME}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=from_name value=$actionForm->get('from_name') size=32 maxlength=255}> </td> </tr> <tr> - <th><{$smarty.const._AD_USER_LANG_FROM_EMAIL}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_FROM_EMAIL}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=from_email value=$actionForm->get('from_email') size=32 maxlength=255}> </td> </tr> <tr> - <th><{$smarty.const._AD_USER_LANG_IS_PM}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_IS_PM}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=is_pm value=1 default=$actionForm->get('is_pm')}> </td> </tr> <tr> - <th><{$smarty.const._AD_USER_LANG_IS_MAIL}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_IS_MAIL}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=is_mail value=1 default=$actionForm->get('is_mail')}> </td> </tr> <tr class="foot"> - <td colspan="2" style="text-align:center;"> + <td colspan="2"> <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> Index: xoops2jp/html/modules/user/admin/templates/mailjob_delete.html diff -u xoops2jp/html/modules/user/admin/templates/mailjob_delete.html:1.1.2.1 xoops2jp/html/modules/user/admin/templates/mailjob_delete.html:1.1.2.2 --- xoops2jp/html/modules/user/admin/templates/mailjob_delete.html:1.1.2.1 Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_delete.html Fri May 12 00:26:03 2006 @@ -4,51 +4,54 @@ »» <{$smarty.const._AD_USER_LANG_MAILJOB_DELETE}> </div> - <h3><{$smarty.const._AD_USER_LANG_MAILJOB_DELETE}></h3> +<h3><{$smarty.const._AD_USER_LANG_MAILJOB_DELETE}></h3> <p><{$smarty.const._AD_USER_MESSAGE_CONFIRM_DELETE}></p> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=MailjobDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=mailjob_id value=$actionForm->get('mailjob_id')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_MAILJOB_ID}></th> + <th colspan="2"><{$smarty.const._AD_USER_LANG_MAILJOB_DELETE}></th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_MAILJOB_ID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('mailjob_id')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_TITLE}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_TITLE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('title')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_BODY}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_BODY}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('body')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_FROM_NAME}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_FROM_NAME}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('from_name')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_FROM_EMAIL}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_FROM_EMAIL}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('from_email')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_IS_PM}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_IS_PM}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('is_pm')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_IS_MAIL}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_IS_MAIL}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('is_mail')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_USER_LANG_CREATE_UNIXTIME}></th> + <td class="head"><{$smarty.const._AD_USER_LANG_CREATE_UNIXTIME}></td> <td class="<{cycle values="odd,even"}>"><{$object->get('create_unixtime')|xoops_formattimestamp:l}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=MailjobDelete" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=mailjob_id value=$actionForm->get('mailjob_id')}> - <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> - <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> - </form> + <td class="foot" colspan="2"> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> + <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> </tr> -</table> + </table> +</form>