Minahito
minah****@users*****
2006年 11月 10日 (金) 14:34:05 JST
Index: xoops2jp/html/modules/legacy/admin/templates/comment_list.html diff -u xoops2jp/html/modules/legacy/admin/templates/comment_list.html:1.1.2.3 xoops2jp/html/modules/legacy/admin/templates/comment_list.html:1.1.2.4 --- xoops2jp/html/modules/legacy/admin/templates/comment_list.html:1.1.2.3 Sun Oct 15 01:54:59 2006 +++ xoops2jp/html/modules/legacy/admin/templates/comment_list.html Fri Nov 10 14:34:05 2006 @@ -79,13 +79,11 @@ <td class="legacy_list_date"><{$obj->getShow('com_created')|xoops_formattimestamp:l}></td> <td class="legacy_list_date"><{$obj->getShow('com_modified')|xoops_formattimestamp:l}></td> <td class="legacy_list_name"> - <a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getShow('com_uid')}>"> <{if $obj->mUser}> - <{$obj->mUser->getShow('uname')}> + <a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getShow('com_uid')}>"><{$obj->mUser->getShow('uname')}></a> <{else}> <{$smarty.const._GUESTS}> <{/if}> - </a> </td> <td class="legacy_list_order"><{$obj->getShow('com_ip')}></td> <td class="legacy_list_select"><{$obj->mStatus->getShow('name')}></td> Index: xoops2jp/html/modules/legacy/admin/templates/comment_delete.html diff -u xoops2jp/html/modules/legacy/admin/templates/comment_delete.html:1.1.2.4 xoops2jp/html/modules/legacy/admin/templates/comment_delete.html:1.1.2.5 --- xoops2jp/html/modules/legacy/admin/templates/comment_delete.html:1.1.2.4 Mon Oct 16 00:29:46 2006 +++ xoops2jp/html/modules/legacy/admin/templates/comment_delete.html Fri Nov 10 14:34:05 2006 @@ -59,7 +59,13 @@ </tr> <tr> <td class="head"><{$smarty.const._AD_LEGACY_LANG_COM_UID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->mUser->getShow('uname')}></td> + <td class="<{cycle values="odd,even"}>"> + <{if $object->mUser != null}> + <{$object->mUser->getShow('uname')}> + <{else}> + Guest + <{/if}> + </td> </tr> <tr> <td class="head"><{$smarty.const._MD_LEGACY_LANG_COM_IP}></td> Index: xoops2jp/html/modules/legacy/admin/templates/comment_view.html diff -u xoops2jp/html/modules/legacy/admin/templates/comment_view.html:1.1.2.5 xoops2jp/html/modules/legacy/admin/templates/comment_view.html:1.1.2.6 --- xoops2jp/html/modules/legacy/admin/templates/comment_view.html:1.1.2.5 Tue Nov 7 22:00:57 2006 +++ xoops2jp/html/modules/legacy/admin/templates/comment_view.html Fri Nov 10 14:34:05 2006 @@ -55,7 +55,13 @@ </tr> <tr> <td class="head"><{$smarty.const._AD_LEGACY_LANG_COM_UID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->mUser->getShow('uname')}></td> + <td class="<{cycle values="odd,even"}>"> + <{if $object->mUser != null}> + <{$object->mUser->getShow('uname')}> + <{else}> + Guest + <{/if}> + </td> </tr> <tr> <td class="head"><{$smarty.const._MD_LEGACY_LANG_COM_IP}></td>