Tom Hayakawa
tom_g3x****@users*****
2006年 5月 12日 (金) 00:46:05 JST
Index: xoops2jp/html/modules/base/admin/templates/imagecategory_edit.html diff -u xoops2jp/html/modules/base/admin/templates/imagecategory_edit.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/imagecategory_edit.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/imagecategory_edit.html:1.1.2.1 Tue May 9 19:21:00 2006 +++ xoops2jp/html/modules/base/admin/templates/imagecategory_edit.html Fri May 12 00:46:05 2006 @@ -14,9 +14,6 @@ <h3><{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_NEW}></h3> <div class="tips"><{$smarty.const._AD_BASE_TIPS_IMGCAT_STORETYPE}></div> <{/if}> - - - <{if $actionForm->hasError()}> <ul> @@ -25,18 +22,27 @@ <{/foreach}> </ul> <{/if}> + <form action="index.php?action=ImagecategoryEdit" method="post"> <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=imgcat_id value=$actionForm->get('imgcat_id')}> - <table class="outer" cellspacing="1"> + <table class="outer"> + <tr> + <th colspan="2"> + <{if $actionForm->get('imgcat_id')}> + <{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_EDIT}> + <{else}> + <{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_NEW}> + <{/if}> + </th> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_NAME}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_NAME}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=text name=imgcat_name value=$actionForm->get('imgcat_name') size=15 maxlength=100}> + <{xoops_input type=text name=imgcat_name value=$actionForm->get('imgcat_name') size=40 maxlength=100}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_READ_GROUPS}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_READ_GROUPS}></td> <td class="<{cycle values="odd,even"}>"> <select size='5' name='readgroups[]' multiple='multiple'> <{xoops_optionsArray from=$groupArr value=groupid label=name default=$actionForm->get('readgroups')}> @@ -44,7 +50,7 @@ </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_UPLOAD_GROUPS}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_UPLOAD_GROUPS}></td> <td class="<{cycle values="odd,even"}>"> <select size='5' name='uploadgroups[]' multiple='multiple'> <{xoops_optionsArray from=$groupArr value=groupid label=name default=$actionForm->get('uploadgroups')}> @@ -52,38 +58,38 @@ </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXSIZE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXSIZE}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=imgcat_maxsize value=$actionForm->get('imgcat_maxsize')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXWIDTH}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXWIDTH}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=imgcat_maxwidth value=$actionForm->get('imgcat_maxwidth')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXHEIGHT}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXHEIGHT}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=imgcat_maxheight value=$actionForm->get('imgcat_maxheight')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_DISPLAY}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_DISPLAY}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=checkbox name=imgcat_display value=1 default=$actionForm->get('imgcat_display')}> </td> </tr> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_WEIGHT}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_WEIGHT}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=text name=imgcat_weight value=$actionForm->get('imgcat_weight')}> </td> </tr> <{if $actionForm->get('imgcat_id') == 0}> <tr> - <th><{$smarty.const._AD_BASE_LANG_IMGCAT_STORETYPE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_STORETYPE}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input type=radio name=imgcat_storetype value="file" default=$actionForm->get('imgcat_storetype')}>FILE<br /> <{xoops_input type=radio name=imgcat_storetype value="db" default=$actionForm->get('imgcat_storetype')}>DB @@ -91,7 +97,7 @@ </tr> <{/if}> <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/base/admin/templates/image_list.html diff -u xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/image_list.html:1.1.2.1 Wed May 10 19:24:49 2006 +++ xoops2jp/html/modules/base/admin/templates/image_list.html Fri May 12 00:46:05 2006 @@ -5,35 +5,34 @@ <h3><{$smarty.const._AD_BASE_LANG_IMAGE_LIST}></h3> -<div style="text-align:right;">[ <a href="index.php?action=ImageEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a> ]</div> -<br/> +<div class-"toptab">[ <a href="index.php?action=ImageEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a> ]</div> -<table class="outer" cellspacing="1"> +<table class="outer"> <tr> <th><{$smarty.const._AD_BASE_LANG_IMAGE_ID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMAGE_NICENAME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NICENAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NICENAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NICENAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_NICENAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMAGE_MIMETYPE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_MIMETYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_MIMETYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_MIMETYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_MIMETYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMAGE_CREATED}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_CREATED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_CREATED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_CREATED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_CREATED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMAGE_DISPLAY}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_DISPLAY}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_DISPLAY}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_DISPLAY}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_DISPLAY}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMAGE_WEIGHT}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_WEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_WEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMAGE_WEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMAGE_WEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGE_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGE_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> </tr> <{foreach item=obj from=$objects}> @@ -47,11 +46,11 @@ <td><{$obj->getVar('image_weight')}></td> <td><{$obj->getVar('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}>" /></a> - <a href="./index.php?action=ImageDelete&image_id=<{$obj->get('image_id')|escape}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <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> </td> </tr> <{/foreach}> </table> -<br /> -<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div> + +<div class="pagenav"><{xoops_pagenavi pagenavi=$pageNavi}></div> Index: xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html diff -u xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html:1.1.2.1 Tue May 9 19:21:00 2006 +++ xoops2jp/html/modules/base/admin/templates/imagecategory_delete.html Fri May 12 00:46:05 2006 @@ -4,55 +4,59 @@ »» <{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_DELETE}> </div> - <h3><{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_DELETE}></h3> +<h3><{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_DELETE}></h3> <p><{$smarty.const._AD_BASE_MESSAGE_CONFIRM_DELETE}></p> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=ImagecategoryDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=imgcat_id value=$actionForm->get('imgcat_id')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></th> + <th colspan="2"><{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_DELETE}></th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_id')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_NAME}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_NAME}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_name')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXSIZE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXSIZE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxsize')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXWIDTH}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXWIDTH}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxwidth')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXHEIGHT}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXHEIGHT}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_maxheight')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_DISPLAY}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_DISPLAY}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_display')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_WEIGHT}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_WEIGHT}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_weight')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_TYPE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_TYPE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_type')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_STORETYPE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_STORETYPE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_storetype')}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=ImagecategoryDelete" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=imgcat_id value=$actionForm->get('imgcat_id')}> - <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> + \ No newline at end of file Index: xoops2jp/html/modules/base/admin/templates/image_delete.html diff -u xoops2jp/html/modules/base/admin/templates/image_delete.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/image_delete.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/image_delete.html:1.1.2.1 Wed May 10 19:25:52 2006 +++ xoops2jp/html/modules/base/admin/templates/image_delete.html Fri May 12 00:46:05 2006 @@ -4,51 +4,51 @@ »» <{$smarty.const._AD_BASE_LANG_IMAGE_DELETE}> </div> - <h3><{$smarty.const._AD_BASE_LANG_IMAGE_DELETE}></h3> +<h3><{$smarty.const._AD_BASE_LANG_IMAGE_DELETE}></h3> <p><{$smarty.const._AD_BASE_MESSAGE_CONFIRM_DELETE}></p> -<table class="outer" cellspacing="1"> +<form action="./index.php?action=ImageDelete" method="POST"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=image_id value=$actionForm->get('image_id')}> + <table class="outer"> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMAGE_ID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_ID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('image_id')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_NAME}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('image_name')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMAGE_NICENAME}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_NICENAME}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('image_nicename')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMAGE_MIMETYPE}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_MIMETYPE}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('image_mimetype')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMAGE_CREATED}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_CREATED}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('image_created')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMAGE_DISPLAY}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_DISPLAY}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('image_display')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMAGE_WEIGHT}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMAGE_WEIGHT}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('image_weight')}></td> </tr> <tr> - <th style="width:30%;"><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></th> + <td class="head"><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}></td> <td class="<{cycle values="odd,even"}>"><{$object->getVar('imgcat_id')}></td> </tr> <tr> - <td class="foot" colspan="2" style="text-align:center;"><br /> - <form action="./index.php?action=ImageDelete" method="POST"> - <{xoops_token form=$actionForm}> - <{xoops_input type=hidden name=image_id value=$actionForm->get('image_id')}> - <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/base/admin/templates/imagecategory_list.html diff -u xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.2 xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.3 --- xoops2jp/html/modules/base/admin/templates/imagecategory_list.html:1.1.2.2 Wed May 10 19:24:38 2006 +++ xoops2jp/html/modules/base/admin/templates/imagecategory_list.html Fri May 12 00:46:05 2006 @@ -5,38 +5,38 @@ <h3><{$smarty.const._AD_BASE_LANG_IMAGECATEGORY_LIST}></h3> -<div style="text-align:right;">[ <a href="index.php?action=ImagecategoryEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a> ]</div> -<br/> +<div class="toptab">[ <a href="index.php?action=ImagecategoryEdit"><{$smarty.const._AD_BASE_LANG_CREATE_NEW}></a> ]</div> -<table class="outer" cellspacing="1"> + +<table class="outer"> <tr> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_ID}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_ID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_NAME}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXSIZE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXSIZE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXSIZE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXSIZE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXSIZE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXWIDTH}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXWIDTH}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXWIDTH}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXWIDTH}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXWIDTH}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_MAXHEIGHT}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXHEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXHEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXHEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_MAXHEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_DISPLAY}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_DISPLAY}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_DISPLAY}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_DISPLAY}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_DISPLAY}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_WEIGHT}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_WEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_WEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_WEIGHT}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_WEIGHT}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_TYPE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_TYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_TYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_TYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_TYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMGCAT_STORETYPE}><br /> - <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_STORETYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> - <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_STORETYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_STORETYPE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.IMAGECATEGORY_SORT_KEY_IMGCAT_STORETYPE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a></th> <th><{$smarty.const._AD_BASE_LANG_IMAGE_COUNT}></th> <th><{$smarty.const._AD_BASE_LANG_CONTROL}></th> </tr> @@ -54,11 +54,11 @@ <td><{$obj->getImageCount()|escape}></td> <td> <a href="./index.php?action=ImageList&imgcat_id=<{$obj->getVar('imgcat_id')}>"><{$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}>" /></a> - <a href="./index.php?action=ImagecategoryDelete&imgcat_id=<{$obj->getVar('imgcat_id')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></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> </td> </tr> <{/foreach}> </table> -<br /> -<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div> + +<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>