Beispiel #1
0
_e('Appearance', 'asgaros-forum');
?>
</h3>
        <?php 
$themes = AsgarosForumThemeManager::get_themes();
if (count($themes) > 1) {
    ?>
        <p>
            <label for="theme"><?php 
    _e('Theme', 'asgaros-forum');
    ?>
:</label>
            <select name="theme">
                <?php 
    foreach ($themes as $k => $v) {
        echo '<option value="' . $k . '" ' . selected($k, AsgarosForumThemeManager::get_current_theme(), false) . '>' . $v['name'] . '</option>';
    }
    ?>
            </select>
        </p>
        <?php 
}
?>
        <p class="custom-color-selector" <?php 
if (!AsgarosForumThemeManager::is_default_theme()) {
    echo 'style="display: none;"';
}
?>
>
            <label for="custom_color"><?php 
_e('Forum color:', 'asgaros-forum');