Minahito
minah****@users*****
2006年 7月 31日 (月) 19:28:54 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.11 xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.12 --- xoops2jp/html/modules/base/admin/templates/comment_list.html:1.1.2.11 Sat Apr 15 14:23:42 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_list.html Mon Jul 31 19:28:54 2006 @@ -11,10 +11,10 @@ <option value="0"><{$smarty.const._MD_A_BASE_LANG_ALL_MODULE}></option> <{foreach item=module from=$moduleArr}> <{if $pageNavi->mExtra.com_modid == $module->get('mid')}> - <option value="<{$module->getVar('mid')}>" selected><{$module->getVar('name')}></option> + <option value="<{$module->getShow('mid')}>" selected><{$module->getShow('name')}></option> <{else}> <{$pageNavi->mExtra.com_modid}> - <option value="<{$module->getVar('mid')}>"><{$module->getVar('name')}></option> + <option value="<{$module->getShow('mid')}>"><{$module->getShow('name')}></option> <{/if}> <{/foreach}> </select> @@ -23,9 +23,9 @@ <option value="0"><{$smarty.const._AD_BASE_LANG_ALL_STATUS}></option> <{foreach item=status from=$statusArr}> <{if $pageNavi->mExtra.com_status == $status->get('id')}> - <option value="<{$status->getVar('id')}>" selected><{$status->getVar('name')}></option> + <option value="<{$status->getShow('id')}>" selected><{$status->getShow('name')}></option> <{else}> - <option value="<{$status->getVar('id')}>"><{$status->getVar('name')}></option> + <option value="<{$status->getShow('id')}>"><{$status->getShow('name')}></option> <{/if}> <{/foreach}> </select> @@ -63,14 +63,18 @@ </tr> <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>" style="text-align:center"> - <td><{$obj->getVar('com_id')}></td> - <td><{$obj->mModule->getVar('name')}></td> - <td><a href="./index.php?action=CommentView&com_id=<{$obj->getVar('com_id')}>"><{$obj->getVar('com_title')}></a></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')}>"><{if $obj->mUser}><{$obj->mUser->getVar('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td> - <td><{$obj->getVar('com_ip')}></td> - <td><{$obj->mStatus->getVar('name')}></td> + <td><{$obj->getShow('com_id')}></td> + <td> + <{if $obj->mModule}> + <{$obj->mModule->getShow('name')}> + <{/if}> + </td> + <td><a href="./index.php?action=CommentView&com_id=<{$obj->getShow('com_id')}>"><{$obj->getShow('com_title')}></a></td> + <td><{$obj->getShow('com_created')|xoops_formattimestamp:l}></td> + <td><{$obj->getShow('com_modified')|xoops_formattimestamp:l}></td> + <td><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getShow('com_uid')}>"><{if $obj->mUser}><{$obj->mUser->getShow('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td> + <td><{$obj->getShow('com_ip')}></td> + <td><{$obj->mStatus->getShow('name')}></td> <td> <a href="./index.php?action=CommentEdit&com_id=<{$obj->get('com_id')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> <a href="./index.php?action=CommentDelete&com_id=<{$obj->get('com_id')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> Index: xoops2jp/html/modules/base/admin/templates/comment_delete.html diff -u xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.9 xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.10 --- xoops2jp/html/modules/base/admin/templates/comment_delete.html:1.1.2.9 Wed Jun 14 00:41:26 2006 +++ xoops2jp/html/modules/base/admin/templates/comment_delete.html Mon Jul 31 19:28:54 2006 @@ -17,79 +17,83 @@ </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_id')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_id')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_PID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_pid')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_pid')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ROOTID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_rootid')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_rootid')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->mModule->getVar('name')}></td> + <td class="<{cycle values="odd,even"}>"> + <{if $obj->mModule}> + <{$obj->mModule->getShow('name')}> + <{/if}> + </td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ITEMID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_itemid')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_itemid')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ICON}></td> - <td class="<{cycle values="odd,even"}>"><img src="<{$smarty.const.XOOPS_URL}>/images/subject/<{$object->getVar('com_icon')}>" /></td> + <td class="<{cycle values="odd,even"}>"><img src="<{$smarty.const.XOOPS_URL}>/images/subject/<{$object->getShow('com_icon')}>" /></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_CREATED}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_created')|xoops_formattimestamp:l}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_created')|xoops_formattimestamp:l}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_modified')|xoops_formattimestamp:l}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_modified')|xoops_formattimestamp:l}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_UID}></td> - <td class="<{cycle values="odd,even"}>"><{$object->mUser->getVar('uname')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->mUser->getShow('uname')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_IP}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_ip')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_ip')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TITLE}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_title')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_title')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TEXT}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_text')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_text')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_SIG}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=radio name=com_sig value=1 default=$object->getVar('com_sig') disabled=true}><{$smarty.const._YES}> - <{xoops_input type=radio name=com_sig value=0 default=$object->getVar('com_sig') disabled=true}><{$smarty.const._NO}> + <{xoops_input type=radio name=com_sig value=1 default=$object->getShow('com_sig') disabled=true}><{$smarty.const._YES}> + <{xoops_input type=radio name=com_sig value=0 default=$object->getShow('com_sig') disabled=true}><{$smarty.const._NO}> </td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_STATUS}></td> - <td class="<{cycle values="odd,even"}>"><{$object->mStatus->getVar('name')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->mStatus->getShow('name')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}></td> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_exparams')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_exparams')}></td> </tr> <tr> <td class="head"><{$smarty.const._AD_BASE_LANG_CONTROL}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=checkbox name=dohtml value=1 default=$object->getVar('dohtml') disabled=true}> + <{xoops_input type=checkbox name=dohtml value=1 default=$object->getShow('dohtml') disabled=true}> <{$smarty.const._AD_BASE_LANG_DOHTML}><br /> - <{xoops_input type=checkbox name=dosmiley value=1 default=$object->getVar('dosmiley') disabled=true}> + <{xoops_input type=checkbox name=dosmiley value=1 default=$object->getShow('dosmiley') disabled=true}> <{$smarty.const._AD_BASE_LANG_DOSMILEY}><br /> - <{xoops_input type=checkbox name=doxcode value=1 default=$object->getVar('doxcode') disabled=true}> + <{xoops_input type=checkbox name=doxcode value=1 default=$object->getShow('doxcode') disabled=true}> <{$smarty.const._AD_BASE_LANG_DOXCODE}><br /> - <{xoops_input type=checkbox name=doimage value=1 default=$object->getVar('doimage') disabled=true}> + <{xoops_input type=checkbox name=doimage value=1 default=$object->getShow('doimage') disabled=true}> <{$smarty.const._AD_BASE_LANG_DOIMAGE}><br /> - <{xoops_input type=checkbox name=dobr value=1 default=$object->getVar('dobr') disabled=true}> + <{xoops_input type=checkbox name=dobr value=1 default=$object->getShow('dobr') disabled=true}> <{$smarty.const._AD_BASE_LANG_DOBR}> </td> </tr> @@ -117,15 +121,19 @@ </tr> <{foreach item=obj from=$children}> <tr class="<{cycle values='odd,even'}>" style="text-align:center"> - <td><{$obj->getVar('com_id')}></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')}>"><{if $obj->mUser}><{$obj->mUser->getVar('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td> - <td><{$obj->getVar('com_ip')}></td> + <td><{$obj->getShow('com_id')}></td> + <td> + <{if $obj->mModule}> + <{$obj->mModule->getShow('name')}> + <{/if}> + </td> + <td><{$obj->getShow('com_title')}></td> + <td><{$obj->getShow('com_created')|xoops_formattimestamp:l}></td> + <td><{$obj->getShow('com_modified')|xoops_formattimestamp:l}></td> + <td><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getShow('com_uid')}>"><{if $obj->mUser}><{$obj->mUser->getShow('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td> + <td><{$obj->getShow('com_ip')}></td> <td> - <{if $obj->getVar('com_status') == 1 }> + <{if $obj->get('com_status') == 1 }> <img src="<{"icons/active.gif"|theme}>" /> <{/if}> </td>