Commit a4593bc6 authored by shammash's avatar shammash Committed by lechuck
Browse files

updated wptouch to 1.9.34

parent 0585f861
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -47,9 +47,9 @@
foreach ( $icons[ $key ] as $icon ) {
echo '<ul class="wptouch-iconblock">';
if ( $key == 'custom' ) {
echo '<a title="Click to Delete" href="' . $_SERVER['REQUEST_URI'] . '&amp;delete_icon=' . urlencode($icon['wpurl']) . '">';
}
echo '<li><img src="' . $icon['wpurl'] . '" title="' . $icon['name'] . '" /><br /><span>' . $icon['friendly'] . '</span>';
echo '<a title="Click to Delete" href="' . $_SERVER['REQUEST_URI'] . '&amp;delete_icon=' . urlencode($icon['wpurl']) . '&amp;nonce=' . wp_create_nonce( 'wptouch_delete_nonce' ) . '">';
}
echo '<li><img src="' . $icon['wpurl'] . '" title="' . $icon['name'] . '" /><br /><span>' . $icon['friendly'] . '</span>';
echo '</li>';
if ( $key == 'custom' ) {
echo '</a>';
......@@ -94,4 +94,4 @@
}
function bnc_get_master_icon_list() {
}
\ No newline at end of file
}
File mode changed from 100644 to 100755
......@@ -21,6 +21,12 @@ if ( isset( $_POST['submit'] ) ) {
} else {
$a['enable-post-excerpts'] = 0;
}
if ( isset( $_POST['enable-twenty-eleven-footer'] ) ) {
$a['enable-twenty-eleven-footer'] = 1;
} else {
$a['enable-twenty-eleven-footer'] = 0;
}
if ( isset( $_POST['enable-page-coms'] ) ) {
$a['enable-page-coms'] = 1;
......@@ -28,6 +34,12 @@ if ( isset( $_POST['submit'] ) ) {
$a['enable-page-coms'] = 0;
}
if ( isset( $_POST['enable-zoom'] ) ) {
$a['enable-zoom'] = 1;
} else {
$a['enable-zoom'] = 0;
}
if ( isset( $_POST['enable-cats-button'] ) ) {
$a['enable-cats-button'] = 1;
} else {
......@@ -189,7 +201,11 @@ if ( isset( $_POST['submit'] ) ) {
if ( isset($_POST['excluded-cat-ids']) ) {
$a['excluded-cat-ids'] = $_POST['excluded-cat-ids'];
}
if ( isset($_POST['excluded-tag-ids']) ) {
$a['excluded-tag-ids'] = $_POST['excluded-tag-ids'];
}
if ( isset($_POST['adsense-id']) ) {
$a['adsense-id'] = trim( $_POST['adsense-id'] );
}
......@@ -263,7 +279,7 @@ if ( isset( $_POST['submit'] ) ) {
$values = serialize($a);
update_option('bnc_iphone_pages', $values);
} elseif ( isset( $_POST['reset'] ) ) {
update_option( 'bnc_iphone_pages', '' );
update_option( 'bnc_iphone_pages', false );
}
do_action( 'wptouch_load_locale' );
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment