Minahito
minah****@users*****
2006年 4月 27日 (木) 19:24:27 JST
Index: xoops2jp/html/modules/user/admin/templates/mailjob_edit.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/mailjob_edit.html:1.1.2.4 --- /dev/null Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_edit.html Thu Apr 27 19:24:27 2006 @@ -0,0 +1,72 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a> + »» <a href="./index.php?action=MailjobList"><{$smarty.const._AD_USER_LANG_MAILJOB_LIST}></a> + <{if $actionForm->get('mailjob_id')}> + »» <{$smarty.const._AD_USER_LANG_MAILJOB_EDIT}> + <{else}> + »» <{$smarty.const._AD_USER_LANG_MAILJOB_NEW}> + <{/if}> +</div> + + <{if $actionForm->get('mailjob_id')}> + <h3><{$smarty.const._AD_USER_LANG_MAILJOB_EDIT}></h3> + <{else}> + <h3><{$smarty.const._AD_USER_LANG_MAILJOB_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=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"> + <tr> + <th><{$smarty.const._AD_USER_LANG_TITLE}></th> + <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="<{cycle values="odd,even"}>"> + <{xoops_dhtmltarea type=text name=body value=$actionForm->get('body') rows=10}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_FROM_NAME}></th> + <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="<{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="<{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="<{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;"> + <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> Index: xoops2jp/html/modules/user/admin/templates/mailjob_delete.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/mailjob_delete.html:1.1.2.1 --- /dev/null Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_delete.html Thu Apr 27 19:24:27 2006 @@ -0,0 +1,54 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a> + »» <a href="./index.php?action=MailjobList"><{$smarty.const._AD_USER_LANG_MAILJOB_LIST}></a> + »» <{$smarty.const._AD_USER_LANG_MAILJOB_DELETE}> +</div> + + <h3><{$smarty.const._AD_USER_LANG_MAILJOB_DELETE}></h3> + +<p><{$smarty.const._AD_USER_MESSAGE_CONFIRM_DELETE}></p> + +<table class="outer" cellspacing="1"> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_MAILJOB_ID}></th> + <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="<{cycle values="odd,even"}>"><{$object->getVar('title')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_BODY}></th> + <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="<{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="<{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="<{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="<{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="<{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> + </tr> +</table> Index: xoops2jp/html/modules/user/admin/templates/mailjob_list.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/mailjob_list.html:1.1.2.3 --- /dev/null Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_list.html Thu Apr 27 19:24:27 2006 @@ -0,0 +1,53 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a> + »» <a href="./index.php?action=MailjobList"><{$smarty.const._AD_USER_LANG_MAILJOB_LIST}></a> +</div> + +<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/> + +<table class="outer" cellspacing="1"> + <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> + <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> + <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> + <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> + <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> + <th><{$smarty.const._AD_USER_LANG_LEFT_TARGET_USER}></th> + <th><{$smarty.const._AD_USER_LANG_CONTROL}></th> + </tr> + <{foreach item=obj from=$objects}> + <tr class="<{cycle values='odd,even'}>"> + <td><{$obj->getVar('mailjob_id')}></td> + <td><a href="./index.php?action=MailjobSend&mailjob_id=<{$obj->getVar('mailjob_id')}>"><{$obj->getVar('title')}></a></td> + <td><{$obj->getVar('is_pm')}></td> + <td><{$obj->getVar('is_mail')}></td> + <td><{$obj->getVar('create_unixtime')|date_format:"%Y/%m/%d %H:%M"}></td> + <td> + <{if $obj->mUserCount > 0}> + <span style='color:red;'><{$obj->mUserCount|escape}></span> + <{else}> + <{$smarty.const._AD_USER_LANG_COMPLETED}> + <{/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> + </td> + </tr> + <{/foreach}> +</table> +<br /> +<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div> Index: xoops2jp/html/modules/user/admin/templates/mailjob_send.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/mailjob_send.html:1.1.2.1 --- /dev/null Thu Apr 27 19:24:27 2006 +++ xoops2jp/html/modules/user/admin/templates/mailjob_send.html Thu Apr 27 19:24:27 2006 @@ -0,0 +1,57 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a> + »» <a href="./index.php?action=MailjobList"><{$smarty.const._AD_USER_LANG_MAILJOB_LIST}></a> + »» <{$smarty.const._AD_USER_LANG_MAILJOB_SEND}> +</div> + +<h3><{$smarty.const._AD_USER_LANG_MAILJOB_SEND}></h3> + +<div class="tips"> + <{$smarty.const._AD_USER_TIPS_MAILJOB_SEND}> +</div> + +<table class="outer" cellspacing="1"> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_MAILJOB_ID}></th> + <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="<{cycle values="odd,even"}>"><{$object->getVar('title')}></td> + </tr> + <tr> + <th style="width:30%;"><{$smarty.const._AD_USER_LANG_BODY}></th> + <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="<{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="<{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="<{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="<{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="<{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> + </tr> +</table> +