Minahito
minah****@users*****
2006年 8月 1日 (火) 19:44:52 JST
Index: xoops2jp/html/modules/base/admin/templates/imagecategory_list.html diff -u xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.7 xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.8 --- xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.7 Mon Jun 12 02:03:51 2006 +++ xoops2jp/html/modules/base/admin/templates/imagecategory_list.html Tue Aug 1 19:44:52 2006 @@ -44,20 +44,20 @@ </tr> <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> - <td><{$obj->getVar('imgcat_id')}></td> - <td><{$obj->getVar('imgcat_name')}></td> - <td><{$obj->getVar('imgcat_maxsize')|number_format}></td> - <td><{$obj->getVar('imgcat_maxwidth')|number_format}></td> - <td><{$obj->getVar('imgcat_maxheight')|number_format}></td> - <td><{$obj->getVar('imgcat_display')}></td> - <td><{$obj->getVar('imgcat_weight')}></td> - <td><{$obj->getVar('imgcat_type')}></td> - <td><{$obj->getVar('imgcat_storetype')}></td> + <td><{$obj->getShow('imgcat_id')}></td> + <td><{$obj->getShow('imgcat_name')}></td> + <td><{$obj->get('imgcat_maxsize')|number_format}></td> + <td><{$obj->get('imgcat_maxwidth')|number_format}></td> + <td><{$obj->get('imgcat_maxheight')|number_format}></td> + <td><{$obj->getShow('imgcat_display')}></td> + <td><{$obj->getShow('imgcat_weight')}></td> + <td><{$obj->getShow('imgcat_type')}></td> + <td><{$obj->getShow('imgcat_storetype')}></td> <td><{$obj->getImageCount()|escape}></td> <td> - <a href="./index.php?action=ImageList&imgcat_id=<{$obj->getVar('imgcat_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._AD_BASE_LANG_LIST}>" title="<{$smarty.const._AD_BASE_LANG_LIST}>" /></a> - <a href="./index.php?action=ImagecategoryEdit&imgcat_id=<{$obj->getVar('imgcat_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> - <a href="./index.php?action=ImagecategoryDelete&imgcat_id=<{$obj->getVar('imgcat_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=ImageList&imgcat_id=<{$obj->getShow('imgcat_id')}>"><img src="<{"icons/view.gif"|theme}>" alt="<{$smarty.const._AD_BASE_LANG_LIST}>" title="<{$smarty.const._AD_BASE_LANG_LIST}>" /></a> + <a href="./index.php?action=ImagecategoryEdit&imgcat_id=<{$obj->getShow('imgcat_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="./index.php?action=ImagecategoryDelete&imgcat_id=<{$obj->getShow('imgcat_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> Index: xoops2jp/html/modules/base/admin/templates/image_list.html diff -u xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.7 xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.8 --- xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.7 Mon Jun 12 02:03:51 2006 +++ xoops2jp/html/modules/base/admin/templates/image_list.html Tue Aug 1 19:44:52 2006 @@ -4,10 +4,10 @@ »» <{$smarty.const._AD_BASE_LANG_IMAGE_LIST}> </div> -<h3><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}> (<{$category->getVar('imgcat_name')}>)</h3> +<h3><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}> (<{$category->getShow('imgcat_name')}>)</h3> <ul class="toptab"> - <li><a href="index.php?action=ImageEdit&imgcat_id=<{$category->getVar('imgcat_id')}>"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a></li> + <li><a href="index.php?action=ImageEdit&imgcat_id=<{$category->getShow('imgcat_id')}>"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a></li> </ul> <table class="outer"> @@ -40,25 +40,25 @@ </tr> <{foreach item=obj from=$objects}> <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> - <td><{$obj->getVar('image_id')}></td> + <td><{$obj->getShow('image_id')}></td> <td> <{if $obj->mImageCategory != null}> <{if $obj->mImageCategory->get('imgcat_storetype') == 'file'}> - <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getVar('image_name')}>" /> + <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$obj->getShow('image_name')}>" /> <{else}> - <img src="<{$smarty.const.XOOPS_URL}>/image.php?id=<{$obj->getVar('image_id')}>" /> + <img src="<{$smarty.const.XOOPS_URL}>/image.php?id=<{$obj->getShow('image_id')}>" /> <{/if}> <{/if}> </td> - <td><{$obj->getVar('image_nicename')}></td> - <td><{$obj->getVar('image_mimetype')}></td> - <td><{$obj->getVar('image_created')|xoops_formattimestamp:l}></td> - <td><{if $obj->getVar('image_display') == 1}><{$smarty.const._YES}><{else}><{$smarty.const._YES}><{/if}></td> - <td><{$obj->getVar('image_weight')}></td> - <td><{$obj->getVar('imgcat_id')}></td> + <td><{$obj->getShow('image_nicename')}></td> + <td><{$obj->getShow('image_mimetype')}></td> + <td><{$obj->getShow('image_created')|xoops_formattimestamp:l}></td> + <td><{if $obj->get('image_display') == 1}><{$smarty.const._YES}><{else}><{$smarty.const._YES}><{/if}></td> + <td><{$obj->getShow('image_weight')}></td> + <td><{$obj->getShow('imgcat_id')}></td> <td> - <a href="./index.php?action=ImageEdit&image_id=<{$obj->get('image_id')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> - <a href="./index.php?action=ImageDelete&image_id=<{$obj->get('image_id')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=ImageEdit&image_id=<{$obj->getShow('image_id')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="./index.php?action=ImageDelete&image_id=<{$obj->getShow('image_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}>