Minahito
minah****@users*****
2006年 8月 2日 (水) 18:47:25 JST
Index: xoops2jp/html/modules/base/templates/blocks/legacy_block_themes.html diff -u /dev/null xoops2jp/html/modules/base/templates/blocks/legacy_block_themes.html:1.1.2.1 --- /dev/null Wed Aug 2 18:47:25 2006 +++ xoops2jp/html/modules/base/templates/blocks/legacy_block_themes.html Wed Aug 2 18:47:25 2006 @@ -0,0 +1,18 @@ +<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}>');"> +<{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_BASE_LANG_NUMTHEME}>)<br /> +</form> +</div>