Minahito
minah****@users*****
2006年 7月 10日 (月) 20:05:08 JST
Index: xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.17 xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.18 --- xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html:1.1.2.17 Wed Jun 14 01:12:52 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplset_list.html Mon Jul 10 20:05:08 2006 @@ -56,25 +56,25 @@ <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <{if $activeTemplateSet == $obj->getVar('tplset_name')}> + <{if $activeTemplateSet == $obj->get('tplset_name')}> <tr class="head" style="background-color:pink;"> <{else}> <tr class="<{cycle values='odd,even'}>"> <{/if}> - <td style="text-align:center;"><{$obj->getVar('tplset_id')}></td> - <td><b><{$obj->getVar('tplset_name')}></b><br /><br /> - <{$obj->getVar('tplset_desc')}></td> + <td style="text-align:center;"><{$obj->getShow('tplset_id')}></td> + <td><b><{$obj->getShow('tplset_name')}></b><br /><br /> + <{$obj->getShow('tplset_desc')}></td> <td><{$obj->get('tplset_credits')|escape|nl2br}></td> - <td style="text-align:center;"><{$obj->getVar('tplset_created')|xoops_formattimestamp:l}></td> + <td style="text-align:center;"><{$obj->get('tplset_created')|xoops_formattimestamp:l}></td> <td> <ul> <{foreach item=moduletpl from=$obj->mModuleTemplates}> - <li><a href="./index.php?action=TplfileList&tpl_tplset=<{$obj->get('tplset_name')|escape}>&tpl_module=<{$moduletpl->get('dirname')|escape}>"><{$moduletpl->getVar('name')}></a> (<{$moduletpl->getVar('count')}>)</li> + <li><a href="./index.php?action=TplfileList&tpl_tplset=<{$obj->get('tplset_name')|escape}>&tpl_module=<{$moduletpl->get('dirname')|escape}>"><{$moduletpl->getShow('name')}></a> (<{$moduletpl->getShow('count')}>)</li> <{/foreach}> </ul> </td> <td style="text-align:center;"> - <{if $activeTemplateSet == $obj->getVar('tplset_name')}> + <{if $activeTemplateSet == $obj->get('tplset_name')}> <img src="<{"icons/active.gif"|theme}>" alt="*active*" title="*active*" /><br /><br /> <{else}> <form action="./index.php?action=TplsetList" method="POST"> @@ -87,9 +87,9 @@ <a href="index.php?action=TplsetDownload&tplset_id=<{$obj->get('tplset_id')}>"><img src="<{"icons/download.gif"|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DOWNLOAD}>" title="<{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DOWNLOAD}>" /></a> <a href="index.php?action=TplsetClone&tplset_id=<{$obj->get('tplset_id')}>"><img src="<{"icons/clone.gif"|theme}>" alt="<{$smarty.const._CLONE}>" title="<{$smarty.const._CLONE}>" /></a> <br /> - <{if $obj->getVar('tplset_name') != "default"}> + <{if $obj->get('tplset_name') != "default"}> <a href="index.php?action=TplsetEdit&tplset_id=<{$obj->get('tplset_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> - <{if $activeTemplateSet != $obj->getVar('tplset_name')}> + <{if $activeTemplateSet != $obj->get('tplset_name')}> <a href="index.php?action=TplsetDelete&tplset_id=<{$obj->get('tplset_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> <{/if}> <{/if}> @@ -115,23 +115,23 @@ <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$recentObjects}> - <{if $obj->getVar('tpl_type') == "block"}> + <{if $obj->get('tpl_type') == "block"}> <tr class="<{cycle values='odd,even'}>" style="color:#0000ff;"> <{else}> <tr class="<{cycle values='odd,even'}>"> <{/if}> - <td><{$obj->getVar('tpl_id')}></td> - <td><{$obj->getVar('tpl_module')}></td> - <td><{$obj->getVar('tpl_tplset')}></td> + <td><{$obj->getShow('tpl_id')}></td> + <td><{$obj->getShow('tpl_module')}></td> + <td><{$obj->getShow('tpl_tplset')}></td> <td> - <b><{$obj->getVar('tpl_file')}></b><br /> - <{$obj->getVar('tpl_desc')}> + <b><{$obj->getShow('tpl_file')}></b><br /> + <{$obj->getShow('tpl_desc')}> </td> - <td><{$obj->getVar('tpl_lastmodified')|xoops_formattimestamp:l}></td> - <td><{$obj->getVar('tpl_lastimported')|xoops_formattimestamp:l}></td> - <td><{$obj->getVar('tpl_type')}></td> + <td><{$obj->get('tpl_lastmodified')|xoops_formattimestamp:l}></td> + <td><{$obj->get('tpl_lastimported')|xoops_formattimestamp:l}></td> + <td><{$obj->getShow('tpl_type')}></td> <td style="text-align:center;"> - <{if $obj->getVar('tpl_tplset') == "default"}> + <{if $obj->get('tpl_tplset') == "default"}> <a href="index.php?action=TplfileView&tpl_id=<{$obj->get('tpl_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._AD_LEGACYRENDER_LANG_VIEW}>" title="<{$smarty.const._AD_LEGACYRENDER_LANG_VIEW}>" /></a> <{else}> <a href="index.php?action=TplfileEdit&tpl_id=<{$obj->get('tpl_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> @@ -145,3 +145,5 @@ </td> </tr> </table> + +<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>