i18n::translate('Theme Select'), 'type'=>'gedcom', 'descr'=>i18n::translate('The Theme Select block displays the Theme selector even when the Change Theme feature is disabled.'), 'canconfig'=>false, 'config'=>array( 'cache'=>-1 ) ); function print_block_theme_select($style=0, $config="", $side, $index) { global $ALLOW_THEME_DROPDOWN, $ALLOW_USER_THEMES, $THEME_DIR, $themeformcount; $id="theme_select"; $title=i18n::translate('Change Theme').help_link('change_theme'); $theme_menu=MenuBar::getThemeMenu(); $content='

'.$theme_menu->getMenuAsDropdown().'
'; global $THEME_DIR; if ($style) { require $THEME_DIR.'templates/block_small_temp.php'; } else { require $THEME_DIR.'templates/block_main_temp.php'; } } ?>