diff -rc mandigo-1.36.1/README.txt mandigo-1.36/README.txt *** mandigo-1.36.1/README.txt 2008-08-01 21:10:41.000000000 -0400 --- mandigo-1.36/README.txt 2008-07-20 16:44:36.000000000 -0400 *************** *** 333,341 **** === CHANGELOG ========================================================================== - 1.36.1 - * fixed a bug that would prevent the stylesheet from being loaded in some (rare) cases - 1.36 + added a new widget container (sidebox) which spans the two sidebars when they are aligned on the right side --- 333,338 ---- diff -rc mandigo-1.36.1/style.css mandigo-1.36/style.css *** mandigo-1.36.1/style.css 2008-08-01 21:10:40.000000000 -0400 --- mandigo-1.36/style.css 2008-07-20 16:44:36.000000000 -0400 *************** *** 1,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 --- 1,8 ---- /* Theme Name: Mandigo ! Theme URI: http://www.onehertz.com/portfolio/wordpress/ 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 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/style.css.php *** mandigo-1.36.1/style.css.php 2008-08-01 21:10:40.000000000 -0400 --- mandigo-1.36/style.css.php 2008-07-20 16:44:36.000000000 -0400 *************** *** 16,30 **** 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')) { --- 16,28 ---- error_reporting(0); $fb = 0; ! $d = 0; while (!file_exists(str_repeat('../', $d) . 'wp-config.php')) { if (++$d > 99) exit; } $wpconfig = str_repeat('../', $d) . 'wp-config.php'; ! if (file_exists(str_repeat('../', $d) . 'wpmu-settings.php')) $fb++; elseif (file_exists($wpconfig)) eval(preg_replace('/((require|include)(_once)?|define[^\n]+ABSPATH)[^\n]+|<\?php|\?>/', '', file_get_contents($wpconfig))); if (defined('DB_USER')) { *************** *** 41,49 **** $mandigo_options = unserialize($mandigo_options); ! // if the options array seems to be empty/incomplete, fallback ! if (!$mandigo_options['scheme']) ! $fb++; $stylesheet_directory = $siteurl .'/wp-content/themes/'. $stylesheet; } else $fb++; --- 39,45 ---- $mandigo_options = unserialize($mandigo_options); ! if (!$mandigo_options['scheme']) $fb++; $stylesheet_directory = $siteurl .'/wp-content/themes/'. $stylesheet; } else $fb++; *************** *** 52,64 **** // fallback, fewer lines but way longer to process if ($fb) { - // if we're here without 'fb' in the query string, then redirect to this same page and start over - // this prevents constant redeclaration errors - if (!$_GET['fb']) { - $redirect = preg_replace('/(\?.*|$)/', '', $_SERVER['REQUEST_URI']) . '?fb=1'; - header("Location: $redirect"); - exit; - } require($wpconfig); $mandigo_options = get_option('mandigo_options'); $stylesheet_directory = get_bloginfo('stylesheet_directory'); --- 48,53 ----