* @version 0.1 - Oct 21 2006 */ global $wpdb, $wp_rewrite; $opts = get_settings('scrib'); //$opts = array(); if (isset($_POST['submit'])) { // Process option updates foreach($_POST as $name => $value) { $opts[$name] = $value; } unset($opts['submit']); $opts['browse_url'] = get_permalink($opts['browse_id']) . '/'; $opts['browse_name'] = trim(substr(get_page_uri($opts['browse_id']), strrpos(get_page_uri($opts['browse_id']), '/')), '/'); $opts['site_url'] = get_settings('siteurl') . '/'; print_r($opts); update_option('scrib', $opts); echo '

'.__('Options updated.', 'Scriblio').'

'; } ?>

data_facets(TRUE)); ?>

'; if (function_exists('scrib_cal_update')) scrib_cal_update(); if (function_exists('scrib_rsscachekill')) scrib_rsscachekill(); //$this->buildsearchtables(); ?>