Minahito
minah****@users*****
2005年 12月 19日 (月) 23:03:16 JST
Index: xoops2jp/html/modules/base/admin/templates/legacy_admin_modulelist_confirm.html diff -u xoops2jp/html/modules/base/admin/templates/legacy_admin_modulelist_confirm.html:1.1.2.1 xoops2jp/html/modules/base/admin/templates/legacy_admin_modulelist_confirm.html:1.1.2.2 --- xoops2jp/html/modules/base/admin/templates/legacy_admin_modulelist_confirm.html:1.1.2.1 Thu Dec 1 14:20:17 2005 +++ xoops2jp/html/modules/base/admin/templates/legacy_admin_modulelist_confirm.html Mon Dec 19 23:03:15 2005 @@ -1,39 +1,56 @@ +<h3>» <{$smarty.const._MI_BASE_MENU_MODULELIST}> » <{$smarty.const._MI_BASE_MENU_MODUPDATE_CONF}></h3> + <form method="post"> <input type="hidden" name="dummy_ticket" value="now_test" /> -<table> -<{foreach item=mid from=$mids}> - <input type="hidden" name="name[<{$mid}>]" value="<{$actionForm->getVar('name',$mid)|escape}>" /> - <input type="hidden" name="weight[<{$mid}>]" value="<{$actionForm->getVar('weight',$mid)|escape}>" /> - <input type="hidden" name="isactive[<{$mid}>]" value="<{$actionForm->getVar('isactive',$mid)|escape}>" /> +<table classs="outer" cellspacing="1"> <tr> + <th><{$smarty.const._MD_A_BASE_LANG_MID}></th> + <th><{$smarty.const._MD_A_BASE_LANG_NAME}></th> + <th><{$smarty.const._MD_A_BASE_LANG_WEIGHT}></th> + <th><{$smarty.const._MD_A_BASE_LANG_ISACTIVE}></th> + </tr> + +<{foreach item=mid from=$mids}> + <tr class="<{cycle values='odd,even'}>" style="text-align:center;"> <td><{$mid}></td> <td> - <{if $actionForm->getVar('name',$mid)==$moduleObjects[$mid]->getProperty('name')}> + <{if $actionForm->getVar('name',$mid) == $moduleObjects[$mid]->getProperty('name')}> <{$actionForm->getVar('name',$mid)|escape}> <{else}> - <font color="red"><{$actionForm->getVar('name',$mid)|escape}></font> (<{$moduleObjects[$mid]->getVar('name')}>) + (<{$moduleObjects[$mid]->getVar('name',e)}>) » <b style="color:#ff0000;"><{$actionForm->getVar('name',$mid)|escape}></b> <{/if}> </td> <td> - <{if $actionForm->getVar('weight',$mid)==$moduleObjects[$mid]->getProperty('weight')}> + <{if $actionForm->getVar('weight',$mid) == $moduleObjects[$mid]->getProperty('weight')}> <{$actionForm->getVar('weight',$mid)|escape}> <{else}> - <font color="red"><{$actionForm->getVar('weight',$mid)|escape}></font> (<{$moduleObjects[$mid]->getVar('weight')}>) + (<{$moduleObjects[$mid]->getVar('weight')}>) » <b style="color:#ff0000;"><{$actionForm->getVar('weight',$mid)|escape}></b> <{/if}> </td> <td> <{if $actionForm->getVar('isactive',$mid)==$moduleObjects[$mid]->getProperty('isactive')}> - <{$actionForm->getVar('isactive',$mid)|escape}> + <{$smarty.const._MI_BASE_MENU_NO_CHANGE}> + <{* <{$actionForm->getVar('isactive',$mid)|escape}> *}> <{else}> - <font color="red"><{$actionForm->getVar('isactive',$mid)|escape}></font> (<{$moduleObjects[$mid]->getVar('isactive')}>) + (<{if $moduleObjects[$mid]->getVar('isactive') == 1 }><{$smarty.const._MD_A_BASE_LANG_ISACTIVE}> + <{elseif $moduleObjects[$mid]->getVar('isactive') == 0 }><{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}> + <{/if}>) + » + <b style="color:#ff0000;"> + <{if $actionForm->getVar('isactive',$mid) == 1}><{$smarty.const._MD_A_BASE_LANG_ISACTIVE}> + <{elseif $actionForm->getVar('isactive',$mid) == 0 }><{$smarty.const._MD_A_BASE_LANG_DEACTIVATE}><{/if}></b> <{/if}> </td> - <td></td> </tr> + <input type="hidden" name="name[<{$mid}>]" value="<{$actionForm->getVar('name',$mid)|escape}>" /> + <input type="hidden" name="weight[<{$mid}>]" value="<{$actionForm->getVar('weight',$mid)|escape}>" /> + <input type="hidden" name="isactive[<{$mid}>]" value="<{$actionForm->getVar('isactive',$mid)|escape}>" /> <{/foreach}> + <tr class="foot"> + <td colspan="4" style="text-align:center;"><br /> + <input type="submit" value="<{$smarty.const._MD_A_BASE_LANG_UPDATE}>" /> + </td> + </tr> </table> -<input type="submit" value="*SUBMIT*" /> - - </form>