Minahito
minah****@users*****
2006年 11月 17日 (金) 19:41:24 JST
Index: xoops2jp/html/modules/legacy/blocks/legacy_themes.php diff -u xoops2jp/html/modules/legacy/blocks/legacy_themes.php:1.1.2.2 xoops2jp/html/modules/legacy/blocks/legacy_themes.php:1.1.2.3 --- xoops2jp/html/modules/legacy/blocks/legacy_themes.php:1.1.2.2 Sun Oct 15 01:27:10 2006 +++ xoops2jp/html/modules/legacy/blocks/legacy_themes.php Fri Nov 17 19:41:24 2006 @@ -7,6 +7,14 @@ return null; } + $block = array(); + if (xoops_getenv('REQUEST_METHOD') == 'POST') { + $block['isEnableChanger'] = 0; + return $block; + } + + $block['isEnableChanger'] = 1; + $theme_options = array(); foreach ($xoopsConfig['theme_set_allowed'] as $theme) { $theme_option['name'] = $theme; @@ -18,7 +26,6 @@ $theme_options[] = $theme_option; } - $block = array(); $block['count'] = count($xoopsConfig['theme_set_allowed']); $block['mode'] = $options[0]; $block['width'] = $options[1];