Beispiel #1
0
        <p>
            <label for="allowed_filetypes"><?php 
_e('Allowed filetypes:', 'asgaros-forum');
?>
</label>
            <input type="text" name="allowed_filetypes" id="allowed_filetypes" value="<?php 
echo stripslashes($asgarosforum->options['allowed_filetypes']);
?>
" size="3">
        </p>
        <h3><?php 
_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>