diff --git a/wp-content/themes/default/functions.php b/wp-content/themes/default/functions.php index 34d447ff92..4712b95b93 100644 --- a/wp-content/themes/default/functions.php +++ b/wp-content/themes/default/functions.php @@ -98,7 +98,7 @@ function kubrick_add_theme_page() { if ( preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njuppercolor'], $uc) && preg_match('/[0-9A-F]{6}|[0-9A-F]{3}/i', $_REQUEST['njlowercolor'], $lc) ) { $uc = ( strlen($uc[0]) == 3 ) ? $uc[0]{0}.$uc[0]{0}.$uc[0]{1}.$uc[0]{1}.$uc[0]{2}.$uc[0]{2} : $uc[0]; $lc = ( strlen($lc[0]) == 3 ) ? $lc[0]{0}.$lc[0]{0}.$lc[0]{1}.$lc[0]{1}.$lc[0]{2}.$lc[0]{2} : $lc[0]; - update_option('kubrick_header_image', "header-img.php?upper=$uc&lower=$lc"); + update_option('kubrick_header_image', "header-img.php?upper=$uc&lower=$lc"); } if ( isset($_REQUEST['toggledisplay']) ) { @@ -157,7 +157,7 @@ function kubrick_theme_page_head() { kUpdate(ColorPicker_targetInput.id); } function PopupWindow_populate(contents) { - contents += '

'; + contents += '

'; this.contents = contents; this.populated = false; } @@ -354,11 +354,11 @@ function kubrick_theme_page_head() { } function kubrick_theme_page() { - if ( $_REQUEST['saved'] ) echo '

Options saved.

'; + if ( $_REQUEST['saved'] ) echo '

'.__('Options saved.').'

'; ?>
-

Header Image and Color

+