Tom Hayakawa
tom_g3x****@users*****
2006年 5月 11日 (木) 23:56:10 JST
Index: xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html diff -u 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.4 --- xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html:1.1.2.3 Tue Apr 25 12:56:00 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/banner_list.html Thu May 11 23:56:09 2006 @@ -1,44 +1,47 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> - »» <a href="./index.php?action=BannerList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> </div> -<h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}></h3> +<h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}> +<{if $currentClient}> + ( <{$currentClient->getVar('name')}> ) +<{/if}> +</h3> -<div style="text-align:right;"> +<div class="toptab"> [ <a href="index.php?action=BannerclientList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_LIST}></a> ] + [ <a href="index.php?action=BannerfinishList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}></a> ] [ <a href="index.php?action=BannerEdit"><{$smarty.const._AD_LEGACYRENDER_LANG_CREATE_NEW}></a> ] </div> -<br/> -<table class="outer" cellspacing="1"> +<table class="outer"> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_BID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_BID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_BID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_BID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_BID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLIENT_NAME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_CID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_CID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_CID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_CID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMPTOTAL}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_IMPTOTAL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_IMPTOTAL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_IMPTOTAL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_IMPTOTAL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMPMADE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_IMPMADE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_IMPMADE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_IMPMADE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_IMPMADE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <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_BANNER}></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_CLICKS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$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}>" title="<{$smarty.const._DESCENDING}>" /></a></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> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_DATE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$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}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_HTMLBANNER}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_HTMLBANNER}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNER_SORT_KEY_HTMLBANNER}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNER_SORT_KEY_HTMLBANNER}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <tr class="<{cycle values='odd,even'}>"> + <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> <td><{$obj->getVar('bid')}></td> <td><{$obj->mClient->getVar('name')}></td> <td> @@ -50,21 +53,14 @@ </td> <td><{$obj->getVar('impmade')}></td> <td><{$obj->getVar('clicks')}></td> - <td> - <{if $obj->get('htmlbanner')}> - <{$obj->get('htmlcode')}> - <{else}> - <a href="<{$obj->getVar('clickurl')}>" target="_blank"><img src="<{$obj->getVar('imageurl')}>" alt="Banner" /></a> - <{/if}> - </td> <td><{$obj->get('date')|xoops_formattimestamp}></td> - <td><{$obj->getVar('htmlbanner')}></td> + <td><{if $obj->getVar('htmlbanner') == 1}><{$smarty.const._YES}><{else}><{$smarty.const._NO}><{/if}></td> <td> - <a href="./index.php?action=BannerEdit&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="./index.php?action=BannerDelete&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=BannerEdit&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="./index.php?action=BannerDelete&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> </table> -<br /> -<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div> + +<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div> Index: xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_delete.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_delete.html:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_delete.html:1.1.2.3 --- xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_delete.html:1.1.2.2 Tue Apr 25 14:17:39 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_delete.html Thu May 11 23:56:09 2006 @@ -1,46 +1,50 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> »» <a href="./index.php?action=BannerfinishList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}></a> »» <{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_DELETE}> </div> - <h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_DELETE}></h3> +<h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_DELETE}></h3> <p><{$smarty.const._AD_LEGACYRENDER_MESSAGE_CONFIRM_DELETE}></p> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=BannerfinishDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_BID}></th> + <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_DELETE}></th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_BID}></td> <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="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CID}></td> <td class="<{cycle values="odd,even"}>"><{$object->mClient->getVar('name')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPRESSIONS}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPRESSIONS}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('impressions')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('clicks')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_DATESTART}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_DATESTART}></td> <td class="<{cycle values="odd,even"}>"><{$object->get('datestart')|xoops_formattimestamp}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_DATEEND}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_DATEEND}></td> <td class="<{cycle values="odd,even"}>"><{$object->get('dateend')|xoops_formattimestamp}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=BannerfinishDelete" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> - <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> - <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> - </form> + <td class="foot" colspan="2"> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> + <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> </tr> -</table> + </table> +</form> Index: xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_delete.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_delete.html:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_delete.html:1.1.2.3 --- xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_delete.html:1.1.2.2 Tue Apr 25 14:17:27 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_delete.html Thu May 11 23:56:09 2006 @@ -1,46 +1,50 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> »» <a href="./index.php?action=BannerclientList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_LIST}></a> »» <{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_DELETE}> </div> - <h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_DELETE}></h3> +<h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_DELETE}></h3> <p><{$smarty.const._AD_LEGACYRENDER_MESSAGE_CONFIRM_DELETE}></p> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=BannerclientDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=cid value=$actionForm->get('cid')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CID}></th> + <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_DELETE}></th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('cid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_NAME}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_NAME}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('name')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CONTACT}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CONTACT}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('contact')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_EMAIL}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_EMAIL}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('email')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_LOGIN}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_LOGIN}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('login')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_EXTRAINFO}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_EXTRAINFO}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('extrainfo')}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=BannerclientDelete" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=cid value=$actionForm->get('cid')}> - <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> - <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> - </form> + <td class="foot" colspan="2"> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> + <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> </tr> -</table> + </table> +</form> Index: xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_list.html:1.1.2.3 xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_list.html:1.1.2.4 --- xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_list.html:1.1.2.3 Tue Apr 25 14:25:56 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/bannerfinish_list.html Thu May 11 23:56:09 2006 @@ -1,39 +1,44 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> »» <a href="./index.php?action=BannerfinishList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}></a> </div> -<h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}></h3> +<h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}> +<{if $currentClient}> + ( <{$currentClient->getVar('name')}> ) +<{/if}> +</h3> -<div style="text-align:right;"> +<div class="toptab"> [ <a href="index.php?action=BannerList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}></a> ] + [ <a href="index.php?action=BannerclientList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_LIST}></a> ] </div> -<br/> -<table class="outer" cellspacing="1"> +<table class="outer"> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_BID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_BID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_BID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_BID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_BID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLIENT_NAME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_CID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_CID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_CID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_CID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMPRESSIONS}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_IMPRESSIONS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_IMPRESSIONS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_IMPRESSIONS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_IMPRESSIONS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_CLICKS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_CLICKS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_CLICKS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_CLICKS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_DATESTART}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_DATESTART}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_DATESTART}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_DATESTART}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_DATESTART}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_DATEEND}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_DATEEND}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_DATEEND}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERFINISH_SORT_KEY_DATEEND}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERFINISH_SORT_KEY_DATEEND}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <tr class="<{cycle values='odd,even'}>"> + <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> <td><{$obj->getVar('bid')}></td> <td><{$obj->mClient->getVar('name')}></td> <td><{$obj->getVar('impressions')}></td> @@ -41,10 +46,10 @@ <td><{$obj->get('datestart')|xoops_formattimestamp}></td> <td><{$obj->get('dateend')|xoops_formattimestamp}></td> <td> - <a href="./index.php?action=BannerfinishDelete&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=BannerfinishDelete&bid=<{$obj->get('bid')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> </table> -<br /> -<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div> + +<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div> Index: xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html:1.1.2.3 xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html:1.1.2.4 --- xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html:1.1.2.3 Thu May 11 18:08:30 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/banner_edit.html Thu May 11 23:56:09 2006 @@ -1,6 +1,6 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> - »» <a href="./index.php?action=BannerList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> <{if $actionForm->get('bid')}> »» <{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_EDIT}> <{else}> @@ -21,50 +21,67 @@ <{/foreach}> </ul> <{/if}> + <form action="index.php?action=BannerEdit" method="post"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> - <table class="outer" cellspacing="1"> + <table class="outer"> + <tr> + <th colspan="2"> + <{if $actionForm->get('bid')}> + <{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_EDIT}> + <{else}> + <{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_NEW}> + <{/if}> + </th> + </tr> + <{if $actionForm->get('bid')}> + <tr> + <td class="head" colspan="2" style="text-align:center;"> + <{if $actionForm->get('htmlbanner')}> + <{$actionForm->get('htmlcode')}> + <{else}> + <a href="<{$actionForm->getVar('clickurl')}>" target="_blank"><img src="<{$actionForm->getVar('imageurl')}>" alt="Banner" /></a> + <{/if}> + </td> + </tr> + <{/if}> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_CID}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CID}></td> <td class="<{cycle values="odd,even"}>"> <select name="cid"> - <{xoops_optionsArray from=$bannerclientArr label=name value=cid default=$actionForm->get('cid')}> + <{xoops_optionsArray from=$bannerclientArr label=name value=cid default=$actionForm->get('cid')}> </select> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMPTOTAL}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPTOTAL}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=imptotal value=$actionForm->get('imptotal')}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=imageurl value=$actionForm->get('imageurl') size=64 maxlength=255}> + <{xoops_input type=text name=imageurl value=$actionForm->get('imageurl') size=70 maxlength=255}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKURL}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKURL}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=clickurl value=$actionForm->get('clickurl') size=64 maxlength=255}> + <{xoops_input type=text name=clickurl value=$actionForm->get('clickurl') size=70 maxlength=255}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLCODE}></td> <td class="<{cycle values="odd,even"}>"> + <{xoops_textarea name=htmlcode cols=50 rows=10 value=$actionForm->get('htmlcode')}><br /> <{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_textarea name=htmlcode cols=50 rows=5 value=$actionForm->get('htmlcode')}> + <{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}> </td> </tr> <tr class="foot"> - <td colspan="2" style="text-align:center;"> + <td colspan="2"> <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> Index: xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_list.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_list.html:1.1.2.2 xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_list.html:1.1.2.3 --- xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_list.html:1.1.2.2 Mon Apr 24 19:58:44 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_list.html Thu May 11 23:56:09 2006 @@ -1,41 +1,41 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> »» <a href="./index.php?action=BannerclientList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_LIST}></a> </div> <h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_LIST}></h3> -<div style="text-align:right;"> +<div class="toptab"> [ <a href="index.php?action=BannerList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}></a> ] [ <a href="index.php?action=BannerfinishList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}></a> ] [ <a href="index.php?action=BannerclientEdit"><{$smarty.const._AD_LEGACYRENDER_LANG_CREATE_NEW}></a> ] </div> -<br/> -<table class="outer" cellspacing="1"> +<table class="outer"> <tr> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_CID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_CID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_CID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_CID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_NAME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTACT}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_CONTACT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_CONTACT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_CONTACT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_CONTACT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_EMAIL}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_EMAIL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_EMAIL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_EMAIL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_EMAIL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_LOGIN}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_LOGIN}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_LOGIN}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_LOGIN}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_LOGIN}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_EXTRAINFO}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_EXTRAINFO}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_EXTRAINFO}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.BANNERCLIENT_SORT_KEY_EXTRAINFO}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.BANNERCLIENT_SORT_KEY_EXTRAINFO}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> - <tr class="<{cycle values='odd,even'}>"> + <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> <td><{$obj->getVar('cid')}></td> <td><{$obj->getVar('name')}></td> <td><{$obj->getVar('contact')}></td> @@ -44,13 +44,13 @@ <td><{$obj->getVar('extrainfo')}></td> <td> <{assign var=count value=count($obj->mBanners)}> - <a href="./index.php?action=BannerList&cid=<{$obj->getVar('cid')}>"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}>(<{$obj->mBannerCount|escape}>)</a> - <a href="./index.php?action=BannerfinishList&cid=<{$obj->getVar('cid')}>"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}>(<{$obj->mFinishBannerCount|escape}>)</a> - <a href="./index.php?action=BannerclientEdit&cid=<{$obj->getVar('cid')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> - <a href="./index.php?action=BannerclientDelete&cid=<{$obj->getVar('cid')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <a href="./index.php?action=BannerList&cid=<{$obj->getVar('cid')}>"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}>(<{$obj->mBannerCount|escape}>)</a><br /> + <a href="./index.php?action=BannerfinishList&cid=<{$obj->getVar('cid')}>"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERFINISH_LIST}>(<{$obj->mFinishBannerCount|escape}>)</a><br /> + <a href="./index.php?action=BannerclientEdit&cid=<{$obj->getVar('cid')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="./index.php?action=BannerclientDelete&cid=<{$obj->getVar('cid')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>" /></a> </td> </tr> <{/foreach}> </table> -<br /> -<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div> + +<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div> Index: xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_edit.html diff -u xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_edit.html:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_edit.html:1.1.2.2 --- xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_edit.html:1.1.2.1 Mon Apr 24 16:30:35 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/bannerclient_edit.html Thu May 11 23:56:09 2006 @@ -1,5 +1,6 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> »» <a href="./index.php?action=BannerclientList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_LIST}></a> <{if $actionForm->get('cid')}> »» <{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_EDIT}> @@ -24,45 +25,54 @@ <form action="index.php?action=BannerclientEdit" method="post"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=cid value=$actionForm->getVar('cid')}> - <table class="outer" cellspacing="1"> + <table class="outer"> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_NAME}></th> + <th colspan="2"> + <{if $actionForm->get('cid')}> + <{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_EDIT}> + <{else}> + <{$smarty.const._AD_LEGACYRENDER_LANG_BANNERCLIENT_NEW}> + <{/if}> + </th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_NAME}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=name value=$actionForm->getVar('name') size=15 maxlength=60}> + <{xoops_input type=text name=name value=$actionForm->getVar('name') size=50 maxlength=60}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_CONTACT}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CONTACT}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=contact value=$actionForm->getVar('contact') size=15 maxlength=60}> + <{xoops_input type=text name=contact value=$actionForm->getVar('contact') size=50 maxlength=60}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_EMAIL}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_EMAIL}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=email value=$actionForm->getVar('email') size=15 maxlength=60}> + <{xoops_input type=text name=email value=$actionForm->getVar('email') size=50 maxlength=60}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_LOGIN}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_LOGIN}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=login value=$actionForm->getVar('login') size=15 maxlength=10}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_PASSWD}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_PASSWD}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=passwd value=$actionForm->getVar('passwd') size=15 maxlength=10}> </td> </tr> <tr> - <th><{$smarty.const._AD_LEGACYRENDER_LANG_EXTRAINFO}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_EXTRAINFO}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_dhtmltarea type=text name=extrainfo value=$actionForm->getVar('extrainfo')}> </td> </tr> <tr class="foot"> - <td colspan="2" style="text-align:center;"> + <td colspan="2"> <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> Index: xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html diff -u 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.3 --- xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html:1.1.2.2 Tue Apr 25 12:56:00 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/banner_delete.html Thu May 11 23:56:09 2006 @@ -1,24 +1,39 @@ <div class="adminnavi"> <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> - »» <a href="./index.php?action=BannerList"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_LIST}></a> + »» <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a> »» <{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_DELETE}> </div> - <h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_DELETE}></h3> +<h3><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_DELETE}></h3> <p><{$smarty.const._AD_LEGACYRENDER_MESSAGE_CONFIRM_DELETE}></p> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=BannerDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_BID}></th> + <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_DELETE}></th> + </tr> + <tr> + <td class="head" colspan="2" style="text-align:center;"> + <{if $object->get('htmlbanner')}> + <{$object->get('htmlcode')}> + <{else}> + <a href="<{$object->getVar('clickurl')}>" target="_blank"><img src="<{$object->getVar('imageurl')}>" alt="Banner" /></a> + <{/if}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_BID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('bid')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CLIENT_NAME}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLIENT_NAME}></td> <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="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPTOTAL}></td> <td class="<{cycle values="odd,even"}>"> <{if $object->get('imptotal') > 0}> <{$object->getVar('imptotal')}> @@ -28,41 +43,37 @@ </td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPMADE}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPMADE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('impmade')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('clicks')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imageurl')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKURL}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKURL}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('clickurl')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_DATE}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_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> - <td class="<{cycle values="odd,even"}>"><{$object->getVar('htmlbanner')}></td> - </tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}></td> + <td class="<{cycle values="odd,even"}>"><{if $object->getVar('htmlbanner') ==1}><{$smarty.const._YES}><{else}><{$smarty.const._NO}><{/if}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLCODE}></th> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLCODE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('htmlcode')}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=BannerDelete" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> - <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> - <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> - </form> + <td class="foot" colspan="2"> + <input type="submit" value="<{$smarty.const._DELETE}>" class="formButton" /> + <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> </td> </tr> -</table> + </table> +</form>