Minahito
minah****@users*****
2006年 2月 21日 (火) 20:50:28 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.3 xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.4 --- xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.3 Fri Feb 3 01:08:30 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_list.html Tue Feb 21 20:50:28 2006 @@ -1,48 +1,46 @@ <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> + »» <a href="./index.php?action=CommentList"><{$smarty.const._MI_BASE_MENU_COMMENT_MANAGE}></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> +<h3><{$smarty.const._MI_BASE_MENU_COMMENT_MANAGE}></h3> <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> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_COM_MODID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_MODID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_MODID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_MODID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_MODID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_COM_TITLE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_TITLE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_TITLE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_COM_CREATED}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_CREATED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_CREATED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_CREATED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_CREATED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_MODIFIED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_MODIFIED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_MODIFIED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_MODIFIED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_COM_UID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_UID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_UID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_UID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_UID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_COM_IP}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_IP}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_IP}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_IP}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_IP}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_COM_STATUS}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_STATUS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.XOOPSCOMMENTS_SORT_KEY_COM_STATUS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.COMMENT_SORT_KEY_COM_STATUS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.COMMENT_SORT_KEY_COM_STATUS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>" style="text-align:center"> <td><{$obj->getVar('com_id')}></td> - <td><{$obj->getVar('com_modid')}></td> + <td><{$obj->mModule->getVar('name')}></td> <td><{$obj->getVar('com_title')}></td> <td><{$obj->getVar('com_created')|xoops_formattimestamp:l}></td> <td><{$obj->getVar('com_modified')|xoops_formattimestamp:l}></td> - <td><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getVar('com_uid')}>"><{$obj->getVar('com_uid')}></a></td> + <td><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getVar('com_uid')}>"><{if $obj->mUser}><{$obj->mUser->getVar('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td> <td><{$obj->getVar('com_ip')}></td> <td> <{if $obj->getVar('com_status') == 1 }>