diff -r 53cff4b4a802 -r bde1974c263b web/wp-content/plugins/wptouch/include/submit.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/wptouch/include/submit.php Wed Feb 03 15:37:20 2010 +0000 @@ -0,0 +1,235 @@ + $v) { + if ($k == 'enable_main_title') { + $a['main_title'] = $v; + } else { + if (preg_match('#enable_(.*)#', $k, $matches)) { + $id = $matches[1]; + if (!isset($a[$id])) + $a[$id] = $_POST['icon_' . $id]; + } + } + } + + $a['header-title'] = $_POST['header-title']; + if (!isset($a['header-title']) || (isset($a['header-title']) && strlen($a['header-title']) == 0)) { + $a['header-title'] = get_bloginfo('title'); + } + + $a['header-background-color'] = $_POST['header-background-color']; + $a['header-border-color'] = $_POST['header-border-color']; + $a['header-text-color'] = $_POST['header-text-color']; + $a['link-color'] = $_POST['link-color']; +//Prowl + $a['prowl-api'] = $_POST['prowl-api']; + + $values = serialize($a); + update_option('bnc_iphone_pages', $values); + } +// The Master Kill Switch + elseif ( isset( $_POST['reset'] ) ) { + update_option( 'bnc_iphone_pages', '' ); + } + +global $wptouch_settings; +$wptouch_settings = bnc_wptouch_get_settings(); +?> \ No newline at end of file