diff -rc mandigo-1.36.1/README.txt mandigo-1.36.2/README.txt *** mandigo-1.36.1/README.txt 2008-08-01 21:10:41.000000000 -0400 --- mandigo-1.36.2/README.txt 2008-08-06 19:46:12.000000000 -0400 *************** *** 333,338 **** --- 333,343 ---- === CHANGELOG ========================================================================== + 1.36.2 + * fixed the submit button on the HTML Inserts page + * prevent the options page CSS rules from interfering with the rest of the dashboard + * more stylesheet fixes + 1.36.1 * fixed a bug that would prevent the stylesheet from being loaded in some (rare) cases diff -rc mandigo-1.36.1/backend/css/options.css mandigo-1.36.2/backend/css/options.css *** mandigo-1.36.1/backend/css/options.css 2008-08-01 21:10:40.000000000 -0400 --- mandigo-1.36.2/backend/css/options.css 2008-08-06 19:46:11.000000000 -0400 *************** *** 1,20 **** ! legend { font-size: 125%; font-weight: bold; } ! fieldset { padding: 20px 0; margin: 20px 0; border-bottom: 1px solid #CCC; } ! label { margin-top: 10px; display: block; font-weight: bold; } ! .submit { border: none; } ! #versioncheck, #preview { margin-top: 20px; } --- 1,20 ---- ! body.mandigo-options legend { font-size: 125%; font-weight: bold; } ! body.mandigo-options fieldset { padding: 20px 0; margin: 20px 0; border-bottom: 1px solid #CCC; } ! body.mandigo-options label { margin-top: 10px; display: block; font-weight: bold; } ! body.mandigo-options .submit { border: none; } ! body.mandigo-options #versioncheck, #preview { margin-top: 20px; } diff -rc mandigo-1.36.1/backend/html_inserts.php mandigo-1.36.2/backend/html_inserts.php *** mandigo-1.36.1/backend/html_inserts.php 2008-08-01 21:10:40.000000000 -0400 --- mandigo-1.36.2/backend/html_inserts.php 2008-08-06 19:46:11.000000000 -0400 *************** *** 29,39 **** echo '
-

Mandigo Options

-
HTML Inserts --- 29,39 ---- echo '
+

Mandigo Options

+
HTML Inserts *************** *** 64,69 ****

!
'; } ?> --- 64,73 ----

!
! ! '; } ?> diff -rc mandigo-1.36.1/backend/theme_options.php mandigo-1.36.2/backend/theme_options.php *** mandigo-1.36.1/backend/theme_options.php 2008-08-01 21:10:40.000000000 -0400 --- mandigo-1.36.2/backend/theme_options.php 2008-08-06 19:46:11.000000000 -0400 *************** *** 631,637 ****

Preview (updated when options are saved)

!
'; } // end of mandigo_options_page() ?> --- 631,641 ----

Preview (updated when options are saved)

!
! ! '; } // end of mandigo_options_page() ?> diff -rc mandigo-1.36.1/style.css mandigo-1.36.2/style.css *** mandigo-1.36.1/style.css 2008-08-01 21:10:40.000000000 -0400 --- mandigo-1.36.2/style.css 2008-08-06 19:46:11.000000000 -0400 *************** *** 2,8 **** Theme Name: Mandigo Theme URI: http://www.onehertz.com/portfolio/wordpress/mandigo/ Description: Mandigo is an elegant widget-ready one/two/three-column Wordpress theme, available in two widths, SEVEN color schemes and 38 languages! ! Version: 1.36.1 Author: t0mmmmmmm Author URI: http://www.onehertz.com/portfolio/wordpress/ Tags: fixed width, widgets, custom header, options page, SEO friendly, header rotation, valid XHTML, valid CSS, one column, two columns, three columns, easy customization, custom colors, color schemes, blue, red, green, orange, pink, purple, teal, internationalized, arabic, bahasa indonesia, basque, bulgarian, catalan, chinese, croatian, czech, danish, dutch, finnish, french, german, greek, hebrew, hungarian, icelandic, italian, japanese, lithuanian, malay, maltese, norwegian, polish, portuguese, romanian, russian, serbian, slovak, slovenian, spanish, swedish, turkish, ukrainian --- 2,8 ---- Theme Name: Mandigo Theme URI: http://www.onehertz.com/portfolio/wordpress/mandigo/ Description: Mandigo is an elegant widget-ready one/two/three-column Wordpress theme, available in two widths, SEVEN color schemes and 38 languages! ! Version: 1.36.2 Author: t0mmmmmmm Author URI: http://www.onehertz.com/portfolio/wordpress/ Tags: fixed width, widgets, custom header, options page, SEO friendly, header rotation, valid XHTML, valid CSS, one column, two columns, three columns, easy customization, custom colors, color schemes, blue, red, green, orange, pink, purple, teal, internationalized, arabic, bahasa indonesia, basque, bulgarian, catalan, chinese, croatian, czech, danish, dutch, finnish, french, german, greek, hebrew, hungarian, icelandic, italian, japanese, lithuanian, malay, maltese, norwegian, polish, portuguese, romanian, russian, serbian, slovak, slovenian, spanish, swedish, turkish, ukrainian diff -rc mandigo-1.36.1/style.css.php mandigo-1.36.2/style.css.php *** mandigo-1.36.1/style.css.php 2008-08-01 21:10:40.000000000 -0400 --- mandigo-1.36.2/style.css.php 2008-08-06 19:46:11.000000000 -0400 *************** *** 16,32 **** error_reporting(0); $fb = 0; $d = 0; // search depth; ! while (!file_exists(str_repeat('../', $d) . 'wp-config.php')) { if (++$d > 99) exit; } $wpconfig = str_repeat('../', $d) . 'wp-config.php'; // if this is a wpmu setup or we have been instructed to use the fallback method if ($_GET['fb'] || file_exists(str_repeat('../', $d) . 'wpmu-settings.php')) $fb++; elseif (file_exists($wpconfig)) // evaluate constant definitions from wp-config.php so we can connect directly to the database and save some time ! eval(preg_replace('/((require|include)(_once)?|define[^\n]+ABSPATH)[^\n]+|<\?php|\?>/', '', file_get_contents($wpconfig))); if (defined('DB_USER')) { $dbh = @mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); @mysql_select_db(DB_NAME, $dbh); --- 16,41 ---- error_reporting(0); $fb = 0; + // find the wp configuration file $d = 0; // search depth; ! while (!file_exists(str_repeat('../', $d) . 'wp-config.php')) if (++$d > 99) exit; $wpconfig = str_repeat('../', $d) . 'wp-config.php'; + + // if this is a wpmu setup or we have been instructed to use the fallback method if ($_GET['fb'] || file_exists(str_repeat('../', $d) . 'wpmu-settings.php')) $fb++; elseif (file_exists($wpconfig)) // evaluate constant definitions from wp-config.php so we can connect directly to the database and save some time ! foreach (explode("\n", file_get_contents($wpconfig)) as $line) { ! if (preg_match('/define.+?DB_|table_prefix/', $line)) ! eval($line); ! } ! ! + // if we seem to have the credentials to the database if (defined('DB_USER')) { $dbh = @mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); @mysql_select_db(DB_NAME, $dbh); *************** *** 59,65 **** header("Location: $redirect"); exit; } ! require($wpconfig); $mandigo_options = get_option('mandigo_options'); $stylesheet_directory = get_bloginfo('stylesheet_directory'); status_header(200); --- 68,74 ---- header("Location: $redirect"); exit; } ! require_once($wpconfig); $mandigo_options = get_option('mandigo_options'); $stylesheet_directory = get_bloginfo('stylesheet_directory'); status_header(200);