Minahito
minah****@users*****
2006年 11月 17日 (金) 19:42:14 JST
Index: xoops2jp/html/modules/legacy/templates/blocks/legacy_block_themes.html diff -u xoops2jp/html/modules/legacy/templates/blocks/legacy_block_themes.html:1.1.2.2 xoops2jp/html/modules/legacy/templates/blocks/legacy_block_themes.html:1.1.2.3 --- xoops2jp/html/modules/legacy/templates/blocks/legacy_block_themes.html:1.1.2.2 Sun Oct 15 01:45:15 2006 +++ xoops2jp/html/modules/legacy/templates/blocks/legacy_block_themes.html Fri Nov 17 19:42:13 2006 @@ -1,18 +1,22 @@ -<div style="text-align: center;"> -<form action="index.php" method="post"> -<{if $block.mode==1}> - <img vspace="2" id="xoops_theme_img" src="<{$xoops_imageurl}>screenshot.png" alt="screenshot" title="screenshot" width="<{$block.width}>" /><br /> - <select id="xoops_theme_select" name="xoops_theme_select" onchange="showImgSelected('xoops_theme_img','xoops_theme_select','themes','/screenshot.png', '<{$xoops_url}>');"> +<{if $block.isEnableChanger == false}> + <{$smarty.const._MB_LEGACY_MESSAGE_CAN_NOT_THEME_CHANGE}> <{else}> - <select id="xoops_theme_select" name="xoops_theme_select" onchange="submit();" size="3"> + <div style="text-align: center;"> + <form action="#" method="post"> + <{if $block.mode==1}> + <img vspace="2" id="xoops_theme_img" src="<{$xoops_imageurl}>screenshot.png" alt="screenshot" title="screenshot" width="<{$block.width}>" /><br /> + <select id="xoops_theme_select" name="xoops_theme_select" onchange="showImgSelected('xoops_theme_img','xoops_theme_select','themes','/screenshot.png', '<{$xoops_url}>');"> + <{else}> + <select id="xoops_theme_select" name="xoops_theme_select" onchange="submit();" size="3"> + <{/if}> + <{foreach item=theme_option from=$block.theme_options}> + <option value="<{$theme_option.name}>" <{$theme_option.selected}> ><{$theme_option.name}></option> + <{/foreach}> + </select> + <{if $block.mode==1}> + <input type="submit" value="<{$smarty.const._GO}>" /> + <{/if}> + <br />(<{"<b>"|cat:$block.count|cat:"</b>"|string_format:$smarty.const._MB_LEGACY_LANG_NUMTHEME}>)<br /> + </form> + </div> <{/if}> -<{foreach item=theme_option from=$block.theme_options}> - <option value="<{$theme_option.name}>" <{$theme_option.selected}> ><{$theme_option.name}></option> -<{/foreach}> - </select> -<{if $block.mode==1}> - <input type="submit" value="<{$smarty.const._GO}>" /> -<{/if}> -<br />(<{"<b>"|cat:$block.count|cat:"</b>"|string_format:$smarty.const._MB_LEGACY_LANG_NUMTHEME}>)<br /> -</form> -</div>