Minahito
minah****@users*****
2006年 4月 25日 (火) 12:56:00 JST
Index: xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html:1.1.2.1 Mon Apr 24 16:30:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html Tue Apr 25 12:56:00 2006 @@ -14,12 +14,18 @@ <td class="<{cycle values="odd,even"}>"><{$object->getVar('bid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CID}></th> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('cid')}></td> + <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CLIENT_NAME}></th> + <td class="<{cycle values="odd,even"}>"><{$object->mClient->getVar('name')}></td> </tr> <tr> <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPTOTAL}></th> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('imptotal')}></td> + <td class="<{cycle values="odd,even"}>"> + <{if $object->get('imptotal') > 0}> + <{$object->getVar('imptotal')}> + <{else}> + <{$smarty.const._AD_LEGACYRENDER_LANG_UN_LIMITED}> + <{/if}> + </td> </tr> <tr> <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPMADE}></th> @@ -39,7 +45,7 @@ </tr> <tr> <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_DATE}></th> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('date')}></td> + <td class="<{cycle values="odd,even"}>"><{$object->get('date')|xoops_formattimestamp}></td> </tr> <tr> <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}></th> Index: xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html:1.1.2.3 --- xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html:1.1.2.2 Mon Apr 24 19:40:39 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html Tue Apr 25 12:56:00 2006 @@ -28,9 +28,7 @@ <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_CLICKS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_CLICKS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_IMAGEURL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_IMAGEURL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER}></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_DATE}><br /> <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_DATE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_DATE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> @@ -43,7 +41,13 @@ <tr class="<{cycle values='odd,even'}>"> <td><{$obj->getVar('bid')}></td> <td><{$obj->mClient->getVar('name')}></td> - <td><{$obj->getVar('imptotal')}></td> + <td> + <{if $obj->get('imptotal') > 0}> + <{$obj->getVar('imptotal')}> + <{else}> + <{$smarty.const._AD_LEGACYRENDER_LANG_UN_LIMITED}> + <{/if}> + </td> <td><{$obj->getVar('impmade')}></td> <td><{$obj->getVar('clicks')}></td> <td> Index: xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html:1.1.2.1 Mon Apr 24 16:30:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html Tue Apr 25 12:56:00 2006 @@ -23,7 +23,7 @@ <{/if}> <form action="index.php?action=BannerEdit" method="post"> <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=bid value=$actionForm->getVar('bid')}> + <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> <table class="outer" cellspacing="1"> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CID}></th> @@ -42,49 +42,31 @@ <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMPTOTAL}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=imptotal value=$actionForm->getVar('imptotal')}> - </td> - </tr> - <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMPMADE}></th> - <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=impmade value=$actionForm->getVar('impmade')}> - </td> - </tr> - <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}></th> - <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=clicks value=$actionForm->getVar('clicks')}> + <{xoops_input type=text name=imptotal value=$actionForm->get('imptotal')}> </td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=imageurl value=$actionForm->getVar('imageurl') size=15 maxlength=255}> + <{xoops_input type=text name=imageurl value=$actionForm->get('imageurl') size=64 maxlength=255}> </td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKURL}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=clickurl value=$actionForm->getVar('clickurl') size=15 maxlength=255}> - </td> - </tr> - <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_DATE}></th> - <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=date value=$actionForm->getVar('date')}> + <{xoops_input type=text name=clickurl value=$actionForm->get('clickurl') size=64 maxlength=255}> </td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=checkbox name=htmlbanner value=1 default=$actionForm->getVar('htmlbanner')}> + <{xoops_input type=checkbox name=htmlbanner value=1 default=$actionForm->get('htmlbanner')}> </td> </tr> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLCODE}></th> <td class="<{cycle values="odd,even"}>"> - <{xoops_dhtmltarea type=text name=htmlcode value=$actionForm->getVar('htmlcode')}> + <{xoops_textarea name=htmlcode cols=50 rows=5 value=$actionForm->get('htmlcode')}> </td> </tr> <tr class="foot">