* @link http://wind-theme.googlecode.com/ * @link http://txanny.cat * @license http://www.fsf.org/licensing/licenses/gpl.html GNU General Public License v3 * @package Themes * @subpackage Wind */ // File cannot be called directly if (isset($_SERVER['SCRIPT_FILENAME']) && 'settings.php' == basename($_SERVER['SCRIPT_FILENAME'])) { die ('Please do not load this page directly. Thanks!'); } if ( isset($_REQUEST['updated']) && 'true' == $_REQUEST['updated'] ) { echo '

'.__('Options Updated.', 'chameleon').'

'; } include_once ( dirname(__FILE__) .'/framework/filesystem.php' ); include_once ( dirname(__FILE__) .'/framework/formating.php' ); $cham_settings = get_option('chameleon_settings'); $cham_styles = akv_dir_content(dirname(__FILE__) . '/styles', 'extensions=css&tree=0&with_ext=0'); if ( 'POST' == $_SERVER['REQUEST_METHOD'] ) { check_admin_referer('chameleon-theme-settings'); if ( isset($_POST['action']) && 'update' == $_POST['action'] ) { $cham_settings = stripslashes_deep($_POST['cham_settings']); update_option('chameleon_settings', $cham_settings); akv_admin_notify(__('Settings Updated.', 'chameleon')); } else { // Missing action wp_die('Bad form received.', 'chameleon'); } } ?>

/>    />
/>    />
/>    />
/>    />
/>    />