Tom Hayakawa
tom_g3x****@users*****
2006年 1月 30日 (月) 13:35:01 JST
Index: xoops2jp/html/modules/base/admin/templates/comment_list.html diff -u xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.1 Thu Jan 26 01:17:54 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_list.html Mon Jan 30 13:35:01 2006 @@ -1,6 +1,13 @@ -<div style="text-align:right;">[ <a href="index.php?action=CommentEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></strong></a> ]</div> -<br/> -<table class="outer" cellspacing="1"> +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a> + »» <a href="./index.php?action=CommentList"><{$smarty.const._MI_BASE_MENU_COMMENTMANAGE}></a> +</div> + +<h3><{$smarty.const._MI_BASE_MENU_COMMENTMANAGE}></h3> + +<div class="toptab">[ <a href="index.php?action=CommentEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a> ]</div> + +<table class="outer"> <tr> <th><{$smarty.const._AD_BASE_LANG_COM_ID}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> @@ -65,7 +72,7 @@ <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <tr class="<{cycle values='odd,even'}>"> + <tr class="<{cycle values='odd,even'}>" style="text-align:center"> <td><{$obj->getVar('com_id')}></td> <td><{$obj->getVar('com_pid')}></td> <td><{$obj->getVar('com_rootid')}></td> @@ -94,5 +101,5 @@ </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/base/admin/templates/comment_edit.html diff -u xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/comment_edit.html:1.1.2.1 Thu Jan 26 01:17:54 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_edit.html Mon Jan 30 13:35:01 2006 @@ -1,3 +1,21 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a> + »» <a href="./index.php?action=CommentList"><{$smarty.const._MI_BASE_MENU_COMMENTMANAGE}></a> + <{if $actionForm->getVar('com_id')}> + »» <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> + <{else}> + »» <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> + <{/if}> +</div> + +<h3> +<{if $actionForm->getVar('com_id')}> + <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> +<{else}> + <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> +<{/if}> +</h3> + <{if $actionForm->hasError()}> <ul> <{foreach item=message from=$actionForm->getErrorMessages()}> @@ -5,126 +23,136 @@ <{/foreach}> </ul> <{/if}> + <form action="" method="post"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=com_id value=$actionForm->getVar('com_id')}> - <table class="outer" cellspacing="1"> + <table class="outer"> + <tr> + <th colspan="2"> + <{if $actionForm->getVar('com_id')}> + <{$smarty.const._AD_BASE_LANG_COMMENT_EDIT}> + <{else}> + <{$smarty.const._AD_BASE_LANG_COMMENT_NEW}> + <{/if}> + </th> + </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_PID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_PID}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_pid value=$actionForm->getVar('com_pid')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_ROOTID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ROOTID}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_rootid value=$actionForm->getVar('com_rootid')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_MODID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODID}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_modid value=$actionForm->getVar('com_modid')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_ITEMID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ITEMID}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_itemid value=$actionForm->getVar('com_itemid')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_ICON}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ICON}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_icon value=$actionForm->getVar('com_icon') size=15 maxlength=25}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_CREATED}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_CREATED}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_created value=$actionForm->getVar('com_created')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_modified value=$actionForm->getVar('com_modified')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_UID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_UID}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_uid value=$actionForm->getVar('com_uid')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_IP}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_IP}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_ip value=$actionForm->getVar('com_ip') size=15 maxlength=15}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_TITLE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TITLE}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_title value=$actionForm->getVar('com_title') size=15 maxlength=255}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_TEXT}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TEXT}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_dhtmltarea type=text name=com_text value=$actionForm->getVar('com_text')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_SIG}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_SIG}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=com_sig value=1 default=$actionForm->getVar('com_sig')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_STATUS}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_STATUS}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=com_status value=1 default=$actionForm->getVar('com_status')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=com_exparams value=$actionForm->getVar('com_exparams') size=15 maxlength=255}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_DOHTML}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOHTML}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=dohtml value=1 default=$actionForm->getVar('dohtml')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_DOSMILEY}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOSMILEY}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=dosmiley value=1 default=$actionForm->getVar('dosmiley')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_DOXCODE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOXCODE}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=doxcode value=1 default=$actionForm->getVar('doxcode')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_DOIMAGE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOIMAGE}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=doimage value=1 default=$actionForm->getVar('doimage')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_DOBR}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOBR}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=dobr value=1 default=$actionForm->getVar('dobr')}> </td> </tr> - <tr class="foot"> - <td colspan="2" style="text-align:center;"> + <tr> + <td colspan="2" class="foot"> <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> </td> </tr> Index: xoops2jp/html/modules/base/admin/templates/comment_delete.html diff -u xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.1 Thu Jan 26 01:17:54 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_delete.html Mon Jan 30 13:35:01 2006 @@ -1,92 +1,103 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a> + »» <a href="./index.php?action=CommentList"><{$smarty.const._MI_BASE_MENU_COMMENTMANAGE}></a> + »» <{$smarty.const._AD_BASE_LANG_COMMENT_DELETE}> +</div> + +<h3><{$smarty.const._AD_BASE_LANG_COMMENT_DELETE}></h3> + <p><{$smarty.const._AD_BASE_MESSAGE_CONFIRM_DELETE}></p> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=CommentDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=com_id value=$actionForm->get('com_id')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_ID}></th> + <th colspan="2"><{$smarty.const._AD_BASE_LANG_COMMENT_DELETE}></th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_id')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_PID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_PID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_pid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_ROOTID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ROOTID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_rootid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_MODID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_modid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_ITEMID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ITEMID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_itemid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_ICON}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ICON}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_icon')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_CREATED}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_CREATED}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_created')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_modified')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_UID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_UID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_uid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_IP}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_IP}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_ip')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_TITLE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TITLE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_title')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_TEXT}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TEXT}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_text')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_SIG}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_SIG}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_sig')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_STATUS}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_STATUS}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_status')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_exparams')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_DOHTML}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOHTML}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('dohtml')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_DOSMILEY}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOSMILEY}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('dosmiley')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_DOXCODE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOXCODE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('doxcode')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_DOIMAGE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOIMAGE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('doimage')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_DOBR}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_DOBR}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('dobr')}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=CommentDelete" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=com_id value=$actionForm->get('com_id')}> - <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> - </form> + <td colspan="2" class="foot"> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> </td> </tr> -</table> + </table> +</form>