Minahito
minah****@users*****
2006年 8月 1日 (火) 19:45:21 JST
Index: xoops2jp/html/modules/base/admin/templates/module_list.html diff -u xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.10 xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.11 --- xoops2jp/html/modules/base/admin/templates/module_list.html:1.1.2.10 Wed Jun 14 21:45:24 2006 +++ xoops2jp/html/modules/base/admin/templates/module_list.html Tue Aug 1 19:45:21 2006 @@ -45,25 +45,25 @@ </tr> <{foreach item=module from=$moduleObjects}> <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> - <td><{$module->getVar('mid')}></td> - <td><img src="<{$xoops_url}>/modules/<{$module->getVar('dirname')}>/<{$module->modinfo.image}>" alt="<{$module->getVar('name','e')}>" /><br /> - <input type="text" size="22" name="name[<{$module->getVar('mid')}>]" value="<{$module->getVar('name','e')}>"></td> + <td><{$module->getShow('mid')}></td> + <td><img src="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$module->modinfo.image}>" alt="<{$module->getShow('name')}>" /><br /> + <input type="text" size="22" name="name[<{$module->getShow('mid')}>]" value="<{$module->getShow('name')}>"></td> <td><{$module->getRenderedVersion()}></td> - <td><{$module->getVar('last_update')|xoops_formattimestamp:l}></td> + <td><{$module->get('last_update')|xoops_formattimestamp:l}></td> <td> - <{if $module->getVar('hasmain')}> - <input type="text" size="4" maxlength="4" name="weight[<{$module->getVar('mid')}>]" value="<{$module->getVar('weight','e')}>" /> + <{if $module->get('hasmain')}> + <input type="text" size="4" maxlength="4" name="weight[<{$module->getShow('mid')}>]" value="<{$module->getShow('weight','e')}>" /> <{else}> - <input type="hidden" name="weight[<{$module->getVar('mid')}>]" value="<{$module->getVar('weight','e')}>" /> + <input type="hidden" name="weight[<{$module->getShow('mid')}>]" value="<{$module->getShow('weight','e')}>" /> <{/if}> </td> - <td><input type="checkbox" name="isactive[<{$module->getVar('mid')}>]" value="1" <{if $module->getVar('isactive')}>checked<{/if}> /></td> + <td><input type="checkbox" name="isactive[<{$module->getShow('mid')}>]" value="1" <{if $module->get('isactive')}>checked<{/if}> /></td> <td> - <a href="index.php?action=ModuleUpdate&dirname=<{$module->getVar('dirname')}>"><img src="<{"icons/update.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" title="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" /></a> - <{if $module->getVar('isactive') == 0 }> - <a href="index.php?action=ModuleUninstall&dirname=<{$module->getVar('dirname')}>"><img src="<{"icons/uninstall.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_UNINSTALL}>" title="<{$smarty.const._MD_A_BASE_LANG_UNINSTALL}>" /></a> + <a href="index.php?action=ModuleUpdate&dirname=<{$module->getShow('dirname')}>"><img src="<{"icons/update.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" title="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" /></a> + <{if $module->get('isactive') == 0 }> + <a href="index.php?action=ModuleUninstall&dirname=<{$module->getShow('dirname')}>"><img src="<{"icons/uninstall.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_UNINSTALL}>" title="<{$smarty.const._MD_A_BASE_LANG_UNINSTALL}>" /></a> <{/if}> - <a href="index.php?action=ModuleInfo&dirname=<{$module->getVar('dirname')}>"><img src="<{"icons/info.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_INFORMATION}>" title="<{$smarty.const._MD_A_BASE_LANG_INFORMATION}>" /></a> + <a href="index.php?action=ModuleInfo&dirname=<{$module->getShow('dirname')}>"><img src="<{"icons/info.gif"|theme}>" alt="<{$smarty.const._MD_A_BASE_LANG_INFORMATION}>" title="<{$smarty.const._MD_A_BASE_LANG_INFORMATION}>" /></a> </td> </tr> <{/foreach}> Index: xoops2jp/html/modules/base/admin/templates/smiles_list.html diff -u xoops2jp/html/modules/base/admin/templates/smiles_list.html:1.1.2.5 xoops2jp/html/modules/base/admin/templates/smiles_list.html:1.1.2.6 --- xoops2jp/html/modules/base/admin/templates/smiles_list.html:1.1.2.5 Mon Jun 12 02:03:51 2006 +++ xoops2jp/html/modules/base/admin/templates/smiles_list.html Tue Aug 1 19:45:21 2006 @@ -29,25 +29,25 @@ <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <{if $obj->getVar('display') == 1 }> + <{if $obj->get('display') == 1 }> <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> <{else}> <tr class="<{cycle values='odd,even'}>" style="text-align:center; color:#999999;"> <{/if}> - <td><{$obj->getVar('id')}></td> - <td><{$obj->getVar('code')}></td> - <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getVar('smile_url')}>" /></td> - <td><{$obj->getVar('emotion')}></td> + <td><{$obj->getShow('id')}></td> + <td><{$obj->getShow('code')}></td> + <td><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getShow('smile_url')}>" /></td> + <td><{$obj->getShow('emotion')}></td> <td> - <{if $obj->getVar('display') == 1 }> + <{if $obj->get('display') == 1 }> <{$smarty.const._YES}> <{else}> <{$smarty.const._NO}> <{/if}> </td> <td> - <a href="./index.php?action=SmilesEdit&id=<{$obj->get('id')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> - <a href="./index.php?action=SmilesDelete&id=<{$obj->get('id')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=SmilesEdit&id=<{$obj->getShow('id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="./index.php?action=SmilesDelete&id=<{$obj->getShow('id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> </td> </tr> </tr>