diff -c mandigo-1.25/README.txt mandigo-1.26/README.txt *** mandigo-1.25/README.txt 2007-08-13 17:37:58.000000000 -0400 --- mandigo-1.26/README.txt 2007-09-23 14:51:28.000000000 -0400 *************** *** 27,32 **** --- 27,33 ---- Customize the theme at will, but please do not modify the credits in the footer. + === INSTALLATION ======================================================================= To add Mandigo to your WordPress installation, follow these basic steps: *************** *** 41,46 **** --- 42,48 ---- 6. Select the Presentation subpanel and click on the Mandigo screenshot. + === SHOW YOUR SUPPORT ================================================================== If you enjoy this theme, please consider doing some (all) of the following things: *************** *** 59,65 **** Thank you for choosing Mandigo! ! === WIDGETS SUPPORT===================================================================== Mandigo supports up to four widgets bars: two on the sides, one at the top and one at the bottom. The sidebars can be displayed on either side of the reading area. The --- 61,68 ---- Thank you for choosing Mandigo! ! ! === WIDGETS SUPPORT ==================================================================== Mandigo supports up to four widgets bars: two on the sides, one at the top and one at the bottom. The sidebars can be displayed on either side of the reading area. The *************** *** 70,75 **** --- 73,79 ---- them here: http://automattic.com/code/widgets/ + === HEADER IMAGES ====================================================================== ** Replacing Default Header Images *************** *** 115,145 **** images/headers/ folder. Valid file types are JPG, GIF, PNG and BMP. === IMAGES IN POSTS ==================================================================== ! Text is set to wrap around images by default. However, if you want to override this ! behabiour, there's an option ("Do not wrap text around images") to disable it. If you want text to be wrapped around images but have problems with short paragraphs messing up your posts, try adding the "clear" class to your p tag, i.e.

. If you don't use

s, adding
between paragraphs will do the trick as well. ! If you want to have an image float to the right, simply add the "alignright" class to it ! If you want to center an image, use the "centered" class, but this will only work with ! non-floating images, i.e. the kind around which text does not wrap. If you want text to wrap around SOME images, let text wrapping enabled, and add class="nowrap" to the img tags around which you don't want text to wrap, i.e. . Adding this class to a block container will make all its child images inherit this behaviour (useful for galleries). Images in posts are surrounded by a border by default. While it is possible to disable them throughout the theme using the appropriate option, you can also override this behaviour on certain images by adding the "noborder" class to the img tag. === SEO OPTIONS ======================================================================== ** Custom schemes: --- 119,203 ---- images/headers/ folder. Valid file types are JPG, GIF, PNG and BMP. + === IMAGES IN POSTS ==================================================================== ! ** Alignment: ! Text is set to wrap around images by default, however if you want to override this ! behaviour, there is an option ("Do not wrap text around images") to disable it. If you want text to be wrapped around images but have problems with short paragraphs messing up your posts, try adding the "clear" class to your p tag, i.e. <p class="clear">. If you don't use <p>s, adding <br class="clear" /> between paragraphs will do the trick as well. ! If you want to have an image float to the right, simply give it the "alignright" class, ! i.e. <img src="..." alt="..." class="alignright" /> ! If you want to center an image, use the "centered" class instead, but this will only ! work with non-floating images, i.e. the kind around which text does not wrap. If you want text to wrap around SOME images, let text wrapping enabled, and add class="nowrap" to the img tags around which you don't want text to wrap, i.e. <img class="nowrap" />. Adding this class to a block container will make all its child images inherit this behaviour (useful for galleries). + ** Border: Images in posts are surrounded by a border by default. While it is possible to disable them throughout the theme using the appropriate option, you can also override this behaviour on certain images by adding the "noborder" class to the img tag. + + === COLOR SCHEMES ====================================================================== + + Mandigo comes with seven different schemes which files can be found in the schemes/ + directory: blue, green, orange, pink, purple, red & teal. + + The new schemes structure in version 1.26 allows for new schemes to be added. + + schemes + `-- name # scheme name (eg. blue, green, ...) + |-- images + | |-- cal_bg.jpg # gradient behind date stamps + | |-- comments.gif # comments icon + | |-- edit.gif # edit icon + | |-- head-1024.jpg # header image for 1024px + | |-- head.jpg # header image for 800px + | |-- rss_l.gif # large rss icon + | |-- rss_l_hover.gif # large rss icon for rollover + | |-- rss_s.gif # small rss icon + | |-- search.gif # search icon + | |-- search_hover.gif # search icon for rollover + | `-- star.gif # widget bullet + |-- preview.jpg # preview for the Theme Options page + `-- style.css # style, colors + + + If you want to create your own scheme, the easiets way is to make a copy of one of the + default schemes, give the directory the desired name, and then replace the files with + your own. + + All schemes detected by Mandigo (those for which style.css exists) will automatically + appear on the Theme Options page, so they will also be included in the pool for the + random scheme switching feature. This also allows for some schemes to be excluded from + the random switching (delete the folder in schemes/ or rename its style.css). + + ** Upgrading from a pre-1.26 version: + If you are upgrading from a previous version and you had made modifications to either + a scheme stylesheet (eg. blue.css) or you had overwritten some of the default images, + make sure you move these files to new appropriate directories. My advice would be to + create a new scheme, even if yours is only slightly different from the default one, as + this will make future upgrades even easier. + + Once your blog/site looks the same as it used to, we can safely delete these files/dirs: + - stylesheets: blue.css, green.css, orange.css, pink.css, purple.css, read.css, teal.css + - thumbnails: scheme-*.jpg + - images sub-directories: images/blue/, images/green/, images/orange/, images/pink/, + images/purple/, images/red/, images/teal/ + + + === SEO OPTIONS ======================================================================== ** Custom <title> schemes: *************** *** 161,167 **** ** Custom HTML tags Another important factor to popular search engines is the use of keywords in headings, ! particulary the H1 and H2 elements, so wrapping relevant content in them is a good idea. Since the title and description of your blog may or may not be relevant to your content, Mandigo let's you choose which heading level you want to use for these elements. You can --- 219,225 ---- ** Custom HTML tags Another important factor to popular search engines is the use of keywords in headings, ! particulary the h1 and h2 elements, so wrapping relevant content in them is a good idea. Since the title and description of your blog may or may not be relevant to your content, Mandigo let's you choose which heading level you want to use for these elements. You can *************** *** 172,177 **** --- 230,236 ---- of tag does not (should not, please report bugs) affect the styling at all. + === LOCALIZATION ======================================================================= For instructions on how to use WordPress in your language, please read the following: *************** *** 185,190 **** --- 244,250 ---- be loaded automatically, provided it exists. + === TRANSLATION CREDITS ================================================================ Arabic: Maxer *************** *** 224,229 **** --- 284,290 ---- please let me know by sending an email to tom@onehertz.com + === PHOTOGRAPHY CREDITS ================================================================ Blue Scheme: "Abstract Smoke" by Brian Lary: http://www.sxc.hu/profile/blary54 *************** *** 235,247 **** Teal Scheme: "Green Globe" by Jenny W.: http://www.sxc.hu/profile/emsago === CHANGELOG ========================================================================== 1.25 ! + added options to select the heading level (H1-H6, DIV) of some important elements like the blog name & desc, title of posts, ... * language: switched to formal German, now using 'Sie' instead of 'Du' * automatically resize <objects> so they don't stretch the reading area * .nowrap (previously .nofloat) can now be inherited from parent block elements 1.24 --- 296,324 ---- Teal Scheme: "Green Globe" by Jenny W.: http://www.sxc.hu/profile/emsago + === CHANGELOG ========================================================================== + 1.26 + + added support for WP 2.3 tags + * color schemes now use a plugin-like structure, which means you can easily create new + schemes or remove the ones you don't want to use with the random switcher. See + upgrading notes. + * dropped the switch to disable background patterns (select 'none' in menu instead) + * fixed an HTML Insert (the "right before the content" one) not showing up + * fixed the resizing of images and objects AGAIN + * fixed various HTML validation errors + * fixed shadow/stroke of blog description not using the correct font when a H1-H3 tag + was used + * fixed the fontsize for the Blogroll (which can't have a custom heading level btw) + * fixed the README page not showing up correctly + 1.25 ! + added options to select the heading level (h1-h6, div) of some important elements like the blog name & desc, title of posts, ... * language: switched to formal German, now using 'Sie' instead of 'Du' * automatically resize <objects> so they don't stretch the reading area + * fixed the resizing of images and objects for the 1-column layout * .nowrap (previously .nofloat) can now be inherited from parent block elements 1.24 diff -c mandigo-1.25/archive.php mandigo-1.26/archive.php *** mandigo-1.25/archive.php 2007-08-12 09:16:30.000000000 -0400 --- mandigo-1.26/archive.php 2007-09-23 14:17:18.000000000 -0400 *************** *** 1,4 **** --- 1,6 ---- <?php + global $dirs; + get_header(); if (!get_option('mandigo_nosidebars') && get_option('mandigo_sidebar1_left')) include (TEMPLATEPATH . '/sidebar.php'); if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { *************** *** 15,20 **** --- 17,25 ---- <?php if (is_category()) { ?> <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php printf(__('Archive for the %s Category','mandigo'),single_cat_title('',false)); ?></<?php echo $tag_pagetitle; ?>> + <?php } elseif( is_tag() ) { ?> + <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php printf(__('Posts Tagged «%s»','mandigo'),single_tag_title('',false)); ?></<?php echo $tag_pagetitle; ?>> + <?php } elseif (is_day()) { ?> <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php printf(__('Archive for %s','mandigo'),get_the_time(__('F jS, Y','mandigo'))); ?></<?php echo $tag_pagetitle; ?>> *************** *** 52,65 **** </div> </div> <<?php echo $tag_posttitle_multi; ?> id="post-<?php the_ID(); ?>" class="posttitle posttitle-archive"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></<?php echo $tag_posttitle_multi; ?>> ! <small><?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?><?php edit_post_link('<img src="' . get_bloginfo('stylesheet_directory') . '/images/'. get_option('mandigo_scheme') .'/edit.gif" alt="'. __('Edit this post','mandigo') .'" /> '. __('Edit','mandigo'), ' - ', ''); ?> </small> </div> <div class="entry"> <?php the_content() ?> </div> ! <p class="postmetadata"><img src="<?php echo bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/comments.gif" alt="Comments" /> <?php comments_popup_link(__('No Comments','mandigo'). ' »', __('1 Comment','mandigo'). ' »', __('% Comments','mandigo'). ' »'); ?></p> </div> --- 57,73 ---- </div> </div> <<?php echo $tag_posttitle_multi; ?> id="post-<?php the_ID(); ?>" class="posttitle posttitle-archive"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></<?php echo $tag_posttitle_multi; ?>> ! <small> ! <?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?><?php if (function_exists('the_tags') && !get_option('mandigo_tags_after')) the_tags(', '. __('tags','mandigo') .': '); ?><?php edit_post_link('<img src="'. $dirs['www']['scheme'] .'images/edit.gif" alt="'. __('Edit this post','mandigo') .'" /> '. __('Edit','mandigo'), ' - ', ''); ?> ! </small> </div> <div class="entry"> <?php the_content() ?> + <?php if (function_exists('the_tags') && get_option('mandigo_tags_after')) the_tags(); ?> </div> ! <p class="postmetadata"><img src="<?php echo $dirs['www']['scheme']; ?>images/comments.gif" alt="Comments" /> <?php comments_popup_link(__('No Comments','mandigo'). ' »', __('1 Comment','mandigo'). ' »', __('% Comments','mandigo'). ' »'); ?></p> </div> Only in mandigo-1.25: blue.css diff -c mandigo-1.25/footer.php mandigo-1.26/footer.php *** mandigo-1.25/footer.php 2007-08-12 09:57:42.000000000 -0400 --- mandigo-1.26/footer.php 2007-09-23 11:20:42.000000000 -0400 *************** *** 13,19 **** */ ! global $wpmu; ?> </tr> </table> --- 13,19 ---- */ ! global $dirs, $wpmu; ?> </tr> </table> *************** *** 28,35 **** <?php _e('Powered by <a href="http://wordpress.org/">WordPress</a>','mandigo'); ?>, <a href="http://www.onehertz.com/portfolio/wordpress/" target="_blank" title="WordPress themes">Mandigo theme</a> by tom. <?php endif; ?> ! <br /><a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Entries (RSS)','mandigo'); ?></a> ! <?php _e('and','mandigo'); ?> <a href="<?php bloginfo('comments_rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_s.gif" alt="" /> <?php _e('Comments (RSS)','mandigo'); ?></a>. <?php if (get_option('mandigo_footer_stats')): ?> <br /><?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. <?php endif; ?> --- 28,35 ---- <?php _e('Powered by <a href="http://wordpress.org/">WordPress</a>','mandigo'); ?>, <a href="http://www.onehertz.com/portfolio/wordpress/" target="_blank" title="WordPress themes">Mandigo theme</a> by tom. <?php endif; ?> ! <br /><a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php echo $dirs['www']['scheme']; ?>images/rss_s.gif" alt="" /> <?php _e('Entries (RSS)','mandigo'); ?></a> ! <?php _e('and','mandigo'); ?> <a href="<?php bloginfo('comments_rss2_url'); ?>"><img src="<?php echo $dirs['www']['scheme']; ?>images/rss_s.gif" alt="" /> <?php _e('Comments (RSS)','mandigo'); ?></a>. <?php if (get_option('mandigo_footer_stats')): ?> <br /><?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. <?php endif; ?> *************** *** 40,53 **** <?php wp_footer(); ?> <script type="text/javascript"> ! hover = function(state,target,img) { document.getElementById(target).src = '<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/' + img +(state ? '_hover' : '') + '.gif'; } var maxw = Math.round(.96*<?php echo (-32+490+(get_option('mandigo_1024') ? (get_option('mandigo_3columns') ? -6 : (get_option('mandigo_nosidebars') ? 454 : 224)) : 0)); ?>); imgloadevent = function(e) { imgloaded(e ? e.currentTarget : window.event.srcElement); } ! imgloaded = function(t) { if (t.clientWidth > maxw) t.style.width = maxw+'px'; } ! for (j=0;j<1;j++) { imgs = document.getElementsByTagName(j?"img":"object"); for (i=0;i<imgs.length;i++) { img = imgs[i]; --- 40,54 ---- <?php wp_footer(); ?> <script type="text/javascript"> ! <!-- // <![CDATA[ ! hover = function(state,target,img) { document.getElementById(target).src = '<?php echo $dirs['www']['scheme']; ?>images/' + img +(state ? '_hover' : '') + '.gif'; } var maxw = Math.round(.96*<?php echo (-32+490+(get_option('mandigo_1024') ? (get_option('mandigo_3columns') ? -6 : (get_option('mandigo_nosidebars') ? 454 : 224)) : 0)); ?>); imgloadevent = function(e) { imgloaded(e ? e.currentTarget : window.event.srcElement); } ! imgloaded = function(e) { if (e.clientWidth > maxw) e.style.width = maxw+'px'; } ! for (j=0;j<=1;j++) { imgs = document.getElementsByTagName(j?"img":"object"); for (i=0;i<imgs.length;i++) { img = imgs[i]; *************** *** 61,67 **** } } } ! </script> </body> </html> --- 62,68 ---- } } } ! // ]]> --> </script> </body> </html> diff -c mandigo-1.25/functions.php mandigo-1.26/functions.php *** mandigo-1.25/functions.php 2007-08-12 11:17:54.000000000 -0400 --- mandigo-1.26/functions.php 2007-09-23 14:41:34.000000000 -0400 *************** *** 1,10 **** <?php load_theme_textdomain('mandigo'); // Set default values ! if (!get_option('mandigo_scheme' )) update_option('mandigo_scheme' ,'blue' ); ! if (!get_option('mandigo_bgcolor' )) update_option('mandigo_bgcolor' ,'#44484F'); ! if (!get_option('mandigo_wp_repeat' )) update_option('mandigo_wp_repeat' ,'repeat' ); if (!get_option('mandigo_title_scheme_index' )) update_option('mandigo_title_scheme_index' ,'%blogname% - %tagline%'); if (!get_option('mandigo_title_scheme_single' )) update_option('mandigo_title_scheme_single' ,'%blogname% » %post%'); --- 1,30 ---- <?php load_theme_textdomain('mandigo'); + // directories + $dirs = array(); + $dirs['loc']['images'] = TEMPLATEPATH ."/images/"; + $dirs['loc']['schemes'] = TEMPLATEPATH ."/schemes/"; + $dirs['loc']['patterns'] = $dirs['loc']['images'] ."patterns/"; + $dirs['loc']['headers'] = $dirs['loc']['images'] ."headers/"; + + $dirs['www']['images'] = get_bloginfo('template_directory') ."/images/"; + $dirs['www']['schemes'] = get_bloginfo('template_directory') ."/schemes/"; + $dirs['www']['patterns'] = $dirs['www']['images'] ."patterns/"; + $dirs['www']['headers'] = $dirs['www']['images'] ."headers/"; + + // schemes + $schemes = array(); + foreach (glob($dirs['loc']['schemes'].'*/style.css') as $file) { + if (preg_match('/\/schemes\/([^\/]+)\/style.css/',$file,$match)) { + $schemes[] = $match[1]; + } + } + // Set default values ! if (!get_option('mandigo_scheme') || !array_search(get_option('mandigo_scheme'),$schemes)) update_option('mandigo_scheme',$schemes[0]); ! if (!get_option('mandigo_bgcolor' )) update_option('mandigo_bgcolor' ,'#44484F'); ! if (!get_option('mandigo_wp_repeat' )) update_option('mandigo_wp_repeat' ,'repeat' ); if (!get_option('mandigo_title_scheme_index' )) update_option('mandigo_title_scheme_index' ,'%blogname% - %tagline%'); if (!get_option('mandigo_title_scheme_single' )) update_option('mandigo_title_scheme_single' ,'%blogname% » %post%'); *************** *** 13,52 **** if (!get_option('mandigo_title_scheme_date' )) update_option('mandigo_title_scheme_date' ,'%blogname% » Archive for %date%'); if (!get_option('mandigo_title_scheme_search' )) update_option('mandigo_title_scheme_search' ,'%blogname% » Search Results for "%search%"'); ! if (!get_option('mandigo_tag_blogname' )) update_option('mandigo_tag_blogname' ,'H1'); ! if (!get_option('mandigo_tag_blogdesc' )) update_option('mandigo_tag_blogdesc' ,'H6'); ! if (!get_option('mandigo_tag_posttitle_multi' )) update_option('mandigo_tag_posttitle_multi' ,'H2'); ! if (!get_option('mandigo_tag_posttitle_single')) update_option('mandigo_tag_posttitle_single','H2'); ! if (!get_option('mandigo_tag_pagetitle' )) update_option('mandigo_tag_pagetitle' ,'H2'); ! if (!get_option('mandigo_tag_sidebar' )) update_option('mandigo_tag_sidebar' ,'H2'); ! ! if (!get_option('mandigo_posts_bgcolor' )) update_option('mandigo_posts_bgcolor' ,'#FAFAFA'); ! if (!get_option('mandigo_posts_bdcolor' )) update_option('mandigo_posts_bdcolor' ,'#EEEEEE'); ! if (!get_option('mandigo_sidebars_bgcolor')) update_option('mandigo_sidebars_bgcolor','#EEEEEE'); ! if (!get_option('mandigo_sidebars_bdcolor')) update_option('mandigo_sidebars_bdcolor','#DDDDDD'); // some global vars $ie = preg_match("/MSIE [4-6]/",$_SERVER['HTTP_USER_AGENT']); $ie7 = preg_match("/MSIE 7/", $_SERVER['HTTP_USER_AGENT']); $wpmu = function_exists('is_site_admin'); - $tag_sidebar = get_option('mandigo_tag_sidebar'); // Register sidebars if (function_exists('register_sidebar')) { ! register_sidebar(array('before_title' => '<'. $tag_sidebar .' class="widgettitle">','after_title' => "</$tag_sidebar>\n")); ! register_sidebar(array('before_title' => '<'. $tag_sidebar .' class="widgettitle">','after_title' => "</$tag_sidebar>\n")); ! register_sidebar(array('before_title' => '<'. $tag_sidebar .' class="widgettitle">','after_title' => "</$tag_sidebar>\n",'name'=>'Mandigo Top')); ! register_sidebar(array('before_title' => '<'. $tag_sidebar .' class="widgettitle">','after_title' => "</$tag_sidebar>\n",'name'=>'Mandigo Bottom')); } ! // SEARCH WIDGET function widget_mandigo_search() { global $tag_sidebar; ?> <li><<?php echo $tag_sidebar; ?> class="widgettitle"><?php _e('Search','mandigo'); ?></<?php echo $tag_sidebar; ?>> ! <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> <?php } --- 33,79 ---- if (!get_option('mandigo_title_scheme_date' )) update_option('mandigo_title_scheme_date' ,'%blogname% » Archive for %date%'); if (!get_option('mandigo_title_scheme_search' )) update_option('mandigo_title_scheme_search' ,'%blogname% » Search Results for "%search%"'); ! if (!get_option('mandigo_tag_blogname' )) update_option('mandigo_tag_blogname' ,'h1'); ! if (!get_option('mandigo_tag_blogdesc' )) update_option('mandigo_tag_blogdesc' ,'h6'); ! if (!get_option('mandigo_tag_posttitle_multi' )) update_option('mandigo_tag_posttitle_multi' ,'h2'); ! if (!get_option('mandigo_tag_posttitle_single' )) update_option('mandigo_tag_posttitle_single' ,'h2'); ! if (!get_option('mandigo_tag_pagetitle' )) update_option('mandigo_tag_pagetitle' ,'h2'); ! if (!get_option('mandigo_tag_sidebar' )) update_option('mandigo_tag_sidebar' ,'h2'); ! ! if (!get_option('mandigo_posts_bgcolor' )) update_option('mandigo_posts_bgcolor' ,'#FAFAFA'); ! if (!get_option('mandigo_posts_bdcolor' )) update_option('mandigo_posts_bdcolor' ,'#EEEEEE'); ! if (!get_option('mandigo_sidebars_bgcolor' )) update_option('mandigo_sidebars_bgcolor' ,'#EEEEEE'); ! if (!get_option('mandigo_sidebars_bdcolor' )) update_option('mandigo_sidebars_bdcolor' ,'#DDDDDD'); // some global vars $ie = preg_match("/MSIE [4-6]/",$_SERVER['HTTP_USER_AGENT']); $ie7 = preg_match("/MSIE 7/", $_SERVER['HTTP_USER_AGENT']); $wpmu = function_exists('is_site_admin'); + $dirs['loc']['scheme'] = $dirs['loc']['schemes'] . get_option('mandigo_scheme') ."/"; + $dirs['www']['scheme'] = $dirs['www']['schemes'] . get_option('mandigo_scheme') ."/"; // Register sidebars + $tag_sidebar = get_option('mandigo_tag_sidebar'); if (function_exists('register_sidebar')) { ! register_sidebar(array('before_title' => "<$tag_sidebar class=\"widgettitle\">", 'after_title' => "</$tag_sidebar>\n")); ! register_sidebar(array('before_title' => "<$tag_sidebar class=\"widgettitle\">", 'after_title' => "</$tag_sidebar>\n")); ! register_sidebar(array('before_title' => "<$tag_sidebar class=\"widgettitle\">", 'after_title' => "</$tag_sidebar>\n", 'name' => 'Mandigo Top')); ! register_sidebar(array('before_title' => "<$tag_sidebar class=\"widgettitle\">", 'after_title' => "</$tag_sidebar>\n", 'name' => 'Mandigo Bottom')); } ! ! ! ! /* ------------------------------------------------- ! SEARCH WIDGET ! -------------------------------------------------- */ function widget_mandigo_search() { global $tag_sidebar; ?> <li><<?php echo $tag_sidebar; ?> class="widgettitle"><?php _e('Search','mandigo'); ?></<?php echo $tag_sidebar; ?>> ! <?php include(TEMPLATEPATH . '/searchform.php'); ?> </li> <?php } *************** *** 55,61 **** ! // CALENDAR WIDGET function widget_mandigo_calendar() { global $tag_sidebar; ?> --- 82,91 ---- ! ! /* ------------------------------------------------- ! CALENDAR WIDGET ! -------------------------------------------------- */ function widget_mandigo_calendar() { global $tag_sidebar; ?> *************** *** 69,81 **** ! // META WIDGET function widget_mandigo_meta() { ! global $tag_sidebar, $wpmu; $options = get_option('widget_meta'); ?> <li><<?php echo $tag_sidebar; ?> class="widgettitle"><?php echo ($options['title'] ? $options['title'] : __('Meta','mandigo')); ?></<?php echo $tag_sidebar; ?>> ! <span id="rss"><a href="<?php bloginfo('rss2_url'); ?>" title="RSS feed for <?php bloginfo('name'); ?>"><img src="<?php echo bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/rss_l.gif" alt="Entries (RSS)" id="rssicon" onmouseover="hover(1,'rssicon','rss_l')" onmouseout="hover(0,'rssicon','rss_l')" /></a></span> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> --- 99,114 ---- ! ! /* ------------------------------------------------- ! META WIDGET ! -------------------------------------------------- */ function widget_mandigo_meta() { ! global $dirs, $tag_sidebar, $wpmu; $options = get_option('widget_meta'); ?> <li><<?php echo $tag_sidebar; ?> class="widgettitle"><?php echo ($options['title'] ? $options['title'] : __('Meta','mandigo')); ?></<?php echo $tag_sidebar; ?>> ! <span id="rss"><a href="<?php bloginfo('rss2_url'); ?>" title="RSS feed for <?php bloginfo('name'); ?>"><img src="<?php echo $dirs['www']['scheme']; ?>/images/rss_l.gif" alt="Entries (RSS)" id="rssicon" onmouseover="hover(1,'rssicon','rss_l')" onmouseout="hover(0,'rssicon','rss_l')" /></a></span> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> *************** *** 84,90 **** <?php else: ?> <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?php endif; ?> ! <li><a href="http://www.onehertz.com/portfolio/wordpress/" title="Other WordPress themes by the same author" target="_blank">Mandigo theme</a></li> <?php wp_meta(); ?> </ul> </li> --- 117,123 ---- <?php else: ?> <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?php endif; ?> ! <li><a href="http://www.onehertz.com/portfolio/wordpress/" title="More WordPress themes by the same author" target="_blank">Mandigo theme</a></li> <?php wp_meta(); ?> </ul> </li> *************** *** 96,118 **** function mandigo_author_link($author_id,$author_nicename) { // I'm not sure why, but the get_author_posts_url() function is undefined in some translated versions of WP ! if (function_exists('get_author_posts_url')) return '<a href="'. get_author_posts_url($author_id) .'" title="'. sprintf(__("Posts by %s"), attribute_escape($author_nicename)).' ">'. $author_nicename .'</a>'; return $author_nicename; } ! // ADMIN add_action('admin_menu', 'add_mandigo_options_page'); add_action('admin_menu', 'add_mandigo_inserts_page'); add_action('admin_menu', 'add_mandigo_readme_page'); ! function add_mandigo_options_page() { add_theme_page('Theme Options', '<img src="'. get_bloginfo('template_directory') .'/images/attention_catcher.png" alt="" /> Theme Options', 'edit_themes', basename(__FILE__), 'mandigo_options_page'); } ! function add_mandigo_inserts_page() { add_theme_page('HTML Inserts', '<img src="'. get_bloginfo('template_directory') .'/images/attention_catcher.png" alt="" /> HTML Inserts', 'edit_themes', 'Inserts', 'mandigo_inserts_page'); } ! function add_mandigo_readme_page() { add_theme_page('README', 'README', 'switch_themes', 'README', 'mandigo_readme_page'); } ! function mandigo_set_var($var,$value) { update_option('mandigo_'. $var, $value); } function mandigo_color($value,$default) { if (!preg_match("/^#/",$value)) $value = '#'. $value; if (!preg_match("/^#([0-9A-F]{3}){1,2}$/i",$value)) $value = $default; --- 129,181 ---- function mandigo_author_link($author_id,$author_nicename) { // I'm not sure why, but the get_author_posts_url() function is undefined in some translated versions of WP ! if (function_exists('get_author_posts_url')) { ! return '<a href="'. get_author_posts_url($author_id) .'" title="'. sprintf(__("Posts by %s"), attribute_escape($author_nicename)).' ">'. $author_nicename .'</a>'; ! } return $author_nicename; } ! /* ------------------------------------------------- ! THEME OPTIONS PAGES ! -------------------------------------------------- */ add_action('admin_menu', 'add_mandigo_options_page'); add_action('admin_menu', 'add_mandigo_inserts_page'); add_action('admin_menu', 'add_mandigo_readme_page'); ! function add_mandigo_options_page() { ! global $dirs; ! add_theme_page( ! 'Theme Options', ! '<img src="'. $dirs['www']['images'] .'/attention_catcher.png" alt="" /> Theme Options', ! 'edit_themes', ! basename(__FILE__), ! 'mandigo_options_page' ! ); ! } ! function add_mandigo_inserts_page() { ! global $dirs; ! add_theme_page( ! 'HTML Inserts', ! '<img src="'. $dirs['www']['images'] .'/attention_catcher.png" alt="" /> HTML Inserts', ! 'edit_themes', ! 'Inserts', ! 'mandigo_inserts_page' ! ); ! } ! function add_mandigo_readme_page() { ! add_theme_page( ! 'README', ! 'README', ! 'switch_themes', ! 'README', ! 'mandigo_readme_page' ! ); ! } ! function mandigo_set_var($var,$value) { update_option('mandigo_'. $var, $value); } function mandigo_color($value,$default) { if (!preg_match("/^#/",$value)) $value = '#'. $value; if (!preg_match("/^#([0-9A-F]{3}){1,2}$/i",$value)) $value = $default; *************** *** 125,130 **** --- 188,195 ---- } function mandigo_options_page() { + global $dirs, $schemes; + if ( $_GET['page'] == basename(__FILE__) ) { $ct = current_theme_info(); *************** *** 153,159 **** mandigo_set_var('sidebar1_left' ,$_POST['sidebar1'] ); mandigo_set_var('sidebar2_left' ,$_POST['sidebar2'] ); mandigo_set_var('headnav_left' ,$_POST['headnavleft'] ); - mandigo_set_var('wptog' ,$_POST['wptog'] ); mandigo_set_var('always_show_sidebars' ,$_POST['alwayssidebars'] ); mandigo_set_var('em_italics' ,$_POST['em'] ); mandigo_set_var('stroke' ,$_POST['stroke'] ); --- 218,223 ---- *************** *** 185,190 **** --- 249,255 ---- mandigo_set_var('tag_posttitle_single' ,$_POST['tag_posttitle_single'] ); mandigo_set_var('tag_pagetitle' ,$_POST['tag_pagetitle'] ); mandigo_set_var('tag_sidebar' ,$_POST['tag_sidebar'] ); + mandigo_set_var('tags_after' ,$_POST['tags_after'] ); } $exclude = split(",",get_option('mandigo_exclude_pages')); $scheme = get_option('mandigo_scheme' ); *************** *** 205,221 **** $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); $tag_sidebar = get_option('mandigo_tag_sidebar' ); ! $pages = & get_pages('sort_column=menu_order'); ! foreach ($pages as $page) { ! if (!$page->post_parent) { ! $pages_select .= '<input type="checkbox" name="exclude_'. $page->ID .'"'. (array_search($page->ID, $exclude) ? ' checked' : '') .' /> '. $page->post_title . '<br />'; } } ! $patternsdir = opendir(TEMPLATEPATH.'/images/patterns/'); ! while (false !== ($file = readdir($patternsdir))) { ! if (preg_match("/\.(?:jpe?g|png|gif|bmp)$/i",$file)) { ! $patterns .= '<option value="'. $file .'"'. ($file == $wp ? ' selected' : '') .'>'. $file .'</option>'; } } --- 270,293 ---- $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); $tag_sidebar = get_option('mandigo_tag_sidebar' ); ! $dirs['www']['scheme'] = $dirs['www']['scheme'] . "$scheme/"; ! ! foreach ($schemes as $i) { ! $select_schemes .= '<input type="radio" name="scheme" value="'. $i .'" '. ($scheme == $i ? 'checked="checked"' : '') .' /><img src="'. $dirs['www']['schemes'] . $i .'/preview.jpg" alt="'. $i .'" />  '; ! } ! ! $patternsdir = opendir($dirs['loc']['patterns']); ! $select_patterns = '<option value=""'. (!$wp ? ' selected' : '') .'>none</option>'; ! while (false !== ($i = readdir($patternsdir))) { ! if (preg_match("/\.(?:jpe?g|png|gif|bmp)$/i",$i)) { ! $select_patterns .= '<option value="'. $i .'"'. ($i == $wp ? ' selected' : '') .'>images/patterns/'. $i .'</option>'; } } ! $pages = &get_pages('sort_column=menu_order'); ! foreach ($pages as $i) { ! if (!$i->post_parent) { ! $select_pages .= '<input type="checkbox" name="exclude_'. $i->ID .'"'. (array_search($i->ID, $exclude) ? ' checked' : '') .' /> '. $i->post_title . '<br />'; } } *************** *** 230,253 **** <fieldset class="options"> <legend>Color Scheme</legend> ! <input type="radio" name="scheme" value="blue" '. ($scheme == 'blue' ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/scheme-blue.jpg" alt="blue" />   ! <input type="radio" name="scheme" value="red" '. ($scheme == 'red' ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/scheme-red.jpg" alt="red" />   ! <input type="radio" name="scheme" value="green" '. ($scheme == 'green' ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/scheme-green.jpg" alt="green" />   ! <input type="radio" name="scheme" value="pink" '. ($scheme == 'pink' ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/scheme-pink.jpg" alt="pink" />   ! <input type="radio" name="scheme" value="purple" ' .($scheme == 'purple' ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/scheme-purple.jpg" alt="purple" />   ! <input type="radio" name="scheme" value="orange" ' .($scheme == 'orange' ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/scheme-orange.jpg" alt="orange" />   ! <input type="radio" name="scheme" value="teal" ' .($scheme == 'teal' ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/scheme-teal.jpg" alt="teal" /><br /><br /> <input type="checkbox" name="random" value="1" ' .(get_option('mandigo_scheme_random') ? 'checked="checked"' : '') .' /> I like them all, change schemes randomly!<br /><br /> <label><b>Background</b></label><br /> - Background color: <input type="text" name="bgcolor" value="'. get_option('mandigo_bgcolor') .'" /> <a href="#" onclick="javascript:document.forms.mandigo_options_form.bgcolor.value=\'#44484F\';">restore default</a><br /><br /> - <input type="checkbox" name="wptog" '. (get_option('mandigo_wptog') && $wp ? 'checked="checked"' : '') .' /> Use the following image file as the background pattern:<br /> <table border=0> <tr> ! <td align="right">images/patterns/</td> <td> <select name="wp"> ! '.$patterns.' </select> </td> </tr> --- 302,325 ---- <fieldset class="options"> <legend>Color Scheme</legend> ! '.$select_schemes.' ! <br /><br /> ! <input type="checkbox" name="random" value="1" ' .(get_option('mandigo_scheme_random') ? 'checked="checked"' : '') .' /> I like them all, change schemes randomly!<br /><br /> <label><b>Background</b></label><br /> <table border=0> <tr> ! <td align="right">Background color:</td> ! <td> ! <input type="text" name="bgcolor" value="'. get_option('mandigo_bgcolor') .'" /> <a href="#" onclick="javascript:document.forms.mandigo_options_form.bgcolor.value=\'#44484F\';">restore default</a> ! </td> ! </tr> ! <tr> ! <td align="right">Background pattern:</td> <td> <select name="wp"> ! '.$select_patterns.' </select> </td> </tr> *************** *** 356,362 **** <input type="radio" name="headoverlay" value="1" '. ($headoverlay ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/option-headoverlay-on.jpg" alt="on" /><br /><br /> <label><b>Pages to Exclude from Header Navigation</b></label><br /> ! '. $pages_select .'<br /> </fieldset> <br/> --- 428,434 ---- <input type="radio" name="headoverlay" value="1" '. ($headoverlay ? 'checked="checked"' : '') .' /><img src="'. get_bloginfo('template_directory') .'/option-headoverlay-on.jpg" alt="on" /><br /><br /> <label><b>Pages to Exclude from Header Navigation</b></label><br /> ! '. $select_pages .'<br /> </fieldset> <br/> *************** *** 400,412 **** <td style="text-align: right;">Blog name:</td> <td> <select name="tag_blogname"> ! <option value="H1"'. ($tag_blogname == 'H1' ? ' selected' : '') .'>H1</option> ! <option value="H2"'. ($tag_blogname == 'H2' ? ' selected' : '') .'>H2</option> ! <option value="H3"'. ($tag_blogname == 'H3' ? ' selected' : '') .'>H3</option> ! <option value="H4"'. ($tag_blogname == 'H4' ? ' selected' : '') .'>H4</option> ! <option value="H5"'. ($tag_blogname == 'H5' ? ' selected' : '') .'>H5</option> ! <option value="H6"'. ($tag_blogname == 'H6' ? ' selected' : '') .'>H6</option> ! <option value="DIV"'. ($tag_blogname == 'DIV' ? ' selected' : '') .'>DIV</option> </select> </td> </tr> --- 472,484 ---- <td style="text-align: right;">Blog name:</td> <td> <select name="tag_blogname"> ! <option value="h1"'. ($tag_blogname == 'h1' ? ' selected' : '') .'>h1</option> ! <option value="h2"'. ($tag_blogname == 'h2' ? ' selected' : '') .'>h2</option> ! <option value="h3"'. ($tag_blogname == 'h3' ? ' selected' : '') .'>h3</option> ! <option value="h4"'. ($tag_blogname == 'h4' ? ' selected' : '') .'>h4</option> ! <option value="h5"'. ($tag_blogname == 'h5' ? ' selected' : '') .'>h5</option> ! <option value="h6"'. ($tag_blogname == 'h6' ? ' selected' : '') .'>h6</option> ! <option value="div"'. ($tag_blogname == 'div' ? ' selected' : '') .'>div</option> </select> </td> </tr> *************** *** 414,426 **** <td style="text-align: right;">Blog description (tagline):</td> <td> <select name="tag_blogdesc"> ! <option value="H1"'. ($tag_blogdesc == 'H1' ? ' selected' : '') .'>H1</option> ! <option value="H2"'. ($tag_blogdesc == 'H2' ? ' selected' : '') .'>H2</option> ! <option value="H3"'. ($tag_blogdesc == 'H3' ? ' selected' : '') .'>H3</option> ! <option value="H4"'. ($tag_blogdesc == 'H4' ? ' selected' : '') .'>H4</option> ! <option value="H5"'. ($tag_blogdesc == 'H5' ? ' selected' : '') .'>H5</option> ! <option value="H6"'. ($tag_blogdesc == 'H6' ? ' selected' : '') .'>H6</option> ! <option value="DIV"'. ($tag_blogdesc == 'DIV' ? ' selected' : '') .'>DIV</option> </select> </td> </tr> --- 486,498 ---- <td style="text-align: right;">Blog description (tagline):</td> <td> <select name="tag_blogdesc"> ! <option value="h1"'. ($tag_blogdesc == 'h1' ? ' selected' : '') .'>h1</option> ! <option value="h2"'. ($tag_blogdesc == 'h2' ? ' selected' : '') .'>h2</option> ! <option value="h3"'. ($tag_blogdesc == 'h3' ? ' selected' : '') .'>h3</option> ! <option value="h4"'. ($tag_blogdesc == 'h4' ? ' selected' : '') .'>h4</option> ! <option value="h5"'. ($tag_blogdesc == 'h5' ? ' selected' : '') .'>h5</option> ! <option value="h6"'. ($tag_blogdesc == 'h6' ? ' selected' : '') .'>h6</option> ! <option value="div"'. ($tag_blogdesc == 'div' ? ' selected' : '') .'>div</option> </select> </td> </tr> *************** *** 428,440 **** <td style="text-align: right;">Post title (when showing multiple posts):</td> <td> <select name="tag_posttitle_multi"> ! <option value="H1"'. ($tag_posttitle_multi == 'H1' ? ' selected' : '') .'>H1</option> ! <option value="H2"'. ($tag_posttitle_multi == 'H2' ? ' selected' : '') .'>H2</option> ! <option value="H3"'. ($tag_posttitle_multi == 'H3' ? ' selected' : '') .'>H3</option> ! <option value="H4"'. ($tag_posttitle_multi == 'H4' ? ' selected' : '') .'>H4</option> ! <option value="H5"'. ($tag_posttitle_multi == 'H5' ? ' selected' : '') .'>H5</option> ! <option value="H6"'. ($tag_posttitle_multi == 'H6' ? ' selected' : '') .'>H6</option> ! <option value="DIV"'. ($tag_posttitle_multi == 'DIV' ? ' selected' : '') .'>DIV</option> </select> </td> </tr> --- 500,512 ---- <td style="text-align: right;">Post title (when showing multiple posts):</td> <td> <select name="tag_posttitle_multi"> ! <option value="h1"'. ($tag_posttitle_multi == 'h1' ? ' selected' : '') .'>h1</option> ! <option value="h2"'. ($tag_posttitle_multi == 'h2' ? ' selected' : '') .'>h2</option> ! <option value="h3"'. ($tag_posttitle_multi == 'h3' ? ' selected' : '') .'>h3</option> ! <option value="h4"'. ($tag_posttitle_multi == 'h4' ? ' selected' : '') .'>h4</option> ! <option value="h5"'. ($tag_posttitle_multi == 'h5' ? ' selected' : '') .'>h5</option> ! <option value="h6"'. ($tag_posttitle_multi == 'h6' ? ' selected' : '') .'>h6</option> ! <option value="div"'. ($tag_posttitle_multi == 'div' ? ' selected' : '') .'>div</option> </select> </td> </tr> *************** *** 442,454 **** <td style="text-align: right;">Post title (single post view):</td> <td> <select name="tag_posttitle_single"> ! <option value="H1"'. ($tag_posttitle_single == 'H1' ? ' selected' : '') .'>H1</option> ! <option value="H2"'. ($tag_posttitle_single == 'H2' ? ' selected' : '') .'>H2</option> ! <option value="H3"'. ($tag_posttitle_single == 'H3' ? ' selected' : '') .'>H3</option> ! <option value="H4"'. ($tag_posttitle_single == 'H4' ? ' selected' : '') .'>H4</option> ! <option value="H5"'. ($tag_posttitle_single == 'H5' ? ' selected' : '') .'>H5</option> ! <option value="H6"'. ($tag_posttitle_single == 'H6' ? ' selected' : '') .'>H6</option> ! <option value="DIV"'. ($tag_posttitle_single == 'DIV' ? ' selected' : '') .'>DIV</option> </select> </td> </tr> --- 514,526 ---- <td style="text-align: right;">Post title (single post view):</td> <td> <select name="tag_posttitle_single"> ! <option value="h1"'. ($tag_posttitle_single == 'h1' ? ' selected' : '') .'>h1</option> ! <option value="h2"'. ($tag_posttitle_single == 'h2' ? ' selected' : '') .'>h2</option> ! <option value="h3"'. ($tag_posttitle_single == 'h3' ? ' selected' : '') .'>h3</option> ! <option value="h4"'. ($tag_posttitle_single == 'h4' ? ' selected' : '') .'>h4</option> ! <option value="h5"'. ($tag_posttitle_single == 'h5' ? ' selected' : '') .'>h5</option> ! <option value="h6"'. ($tag_posttitle_single == 'h6' ? ' selected' : '') .'>h6</option> ! <option value="div"'. ($tag_posttitle_single == 'div' ? ' selected' : '') .'>div</option> </select> </td> </tr> *************** *** 456,468 **** <td style="text-align: right;">Page title (\'Archives\', \'Search Results\'):</td> <td> <select name="tag_pagetitle"> ! <option value="H1"'. ($tag_pagetitle == 'H1' ? ' selected' : '') .'>H1</option> ! <option value="H2"'. ($tag_pagetitle == 'H2' ? ' selected' : '') .'>H2</option> ! <option value="H3"'. ($tag_pagetitle == 'H3' ? ' selected' : '') .'>H3</option> ! <option value="H4"'. ($tag_pagetitle == 'H4' ? ' selected' : '') .'>H4</option> ! <option value="H5"'. ($tag_pagetitle == 'H5' ? ' selected' : '') .'>H5</option> ! <option value="H6"'. ($tag_pagetitle == 'H6' ? ' selected' : '') .'>H6</option> ! <option value="DIV"'. ($tag_pagetitle == 'DIV' ? ' selected' : '') .'>DIV</option> </select> </td> </tr> --- 528,540 ---- <td style="text-align: right;">Page title (\'Archives\', \'Search Results\'):</td> <td> <select name="tag_pagetitle"> ! <option value="h1"'. ($tag_pagetitle == 'h1' ? ' selected' : '') .'>h1</option> ! <option value="h2"'. ($tag_pagetitle == 'h2' ? ' selected' : '') .'>h2</option> ! <option value="h3"'. ($tag_pagetitle == 'h3' ? ' selected' : '') .'>h3</option> ! <option value="h4"'. ($tag_pagetitle == 'h4' ? ' selected' : '') .'>h4</option> ! <option value="h5"'. ($tag_pagetitle == 'h5' ? ' selected' : '') .'>h5</option> ! <option value="h6"'. ($tag_pagetitle == 'h6' ? ' selected' : '') .'>h6</option> ! <option value="div"'. ($tag_pagetitle == 'div' ? ' selected' : '') .'>div</option> </select> </td> </tr> *************** *** 470,482 **** <td style="text-align: right;">Widget title:</td> <td> <select name="tag_sidebar"> ! <option value="H1"'. ($tag_sidebar == 'H1' ? ' selected' : '') .'>H1</option> ! <option value="H2"'. ($tag_sidebar == 'H2' ? ' selected' : '') .'>H2</option> ! <option value="H3"'. ($tag_sidebar == 'H3' ? ' selected' : '') .'>H3</option> ! <option value="H4"'. ($tag_sidebar == 'H4' ? ' selected' : '') .'>H4</option> ! <option value="H5"'. ($tag_sidebar == 'H5' ? ' selected' : '') .'>H5</option> ! <option value="H6"'. ($tag_sidebar == 'H6' ? ' selected' : '') .'>H6</option> ! <option value="DIV"'. ($tag_sidebar == 'DIV' ? ' selected' : '') .'>DIV</option> </select> </td> </tr> --- 542,554 ---- <td style="text-align: right;">Widget title:</td> <td> <select name="tag_sidebar"> ! <option value="h1"'. ($tag_sidebar == 'h1' ? ' selected' : '') .'>h1</option> ! <option value="h2"'. ($tag_sidebar == 'h2' ? ' selected' : '') .'>h2</option> ! <option value="h3"'. ($tag_sidebar == 'h3' ? ' selected' : '') .'>h3</option> ! <option value="h4"'. ($tag_sidebar == 'h4' ? ' selected' : '') .'>h4</option> ! <option value="h5"'. ($tag_sidebar == 'h5' ? ' selected' : '') .'>h5</option> ! <option value="h6"'. ($tag_sidebar == 'h6' ? ' selected' : '') .'>h6</option> ! <option value="div"'. ($tag_sidebar == 'div' ? ' selected' : '') .'>div</option> </select> </td> </tr> *************** *** 496,501 **** --- 568,578 ---- <label><b>Readability</b></label><br/> <input type="checkbox" name="boldlinks" '. (get_option('mandigo_bold_links') ? 'checked="checked"' : '') .' /> Display all links in bold for better readability<br /><br /> + <label><b>Posts</b></label><br/> + <input type="checkbox" name="tags_after" '. (get_option('tags_after') ? 'checked="checked"' : '') .' /> Display tags after the content instead of next to categories (WP2.3+)<br /> + <input type="checkbox" name="nojustify" '. (get_option('mandigo_nojustify') ? 'checked="checked"' : '') .' /> Align content to the left instead of using justify alignment<br /> + <input type="checkbox" name="em" '. (get_option('mandigo_em_italics') ? 'checked="checked"' : '') .' /> Display <em> tags as italics<br /><br /> + <label><b>Date Format</b></label><br/> <input type="radio" name="dates" value="0" '. ($dates ? '' : 'checked="checked"') .' />dd/mm/yyyy   <input type="radio" name="dates" value="1" '. ($dates ? 'checked="checked"' : '') .' />month/dd/yyyy<br /><br /> *************** *** 506,515 **** <input type="checkbox" name="xhtmlcomments" '. (get_option('mandigo_xhtml_comments') ? 'checked="checked"' : '') .' /> Display allowed XHTML tags above the comment field<br /><br /> <label><b>Really miscellaneous options</b></label><br/> - <input type="checkbox" name="nojustify" '. (get_option('mandigo_nojustify') ? 'checked="checked"' : '') .' /> Align post content to the left instead of using justify alignment<br /> <input type="checkbox" name="fullsearchresults" '. (get_option('mandigo_full_search_results') ? 'checked="checked"' : '') .' /> Display full search results, not just titles and metadata<br /> <input type="checkbox" name="footstats" '. (get_option('mandigo_footer_stats') ? 'checked="checked"' : '') .' /> Display rendering time and SQL statistics in the footer<br /> - <input type="checkbox" name="em" '. (get_option('mandigo_em_italics') ? 'checked="checked"' : '') .' /> Display <em> tags as italics </fieldset> <p class="submit"><input type="submit" name="Submit" value="'.__('Update Options »').'"/></p> --- 583,590 ---- *************** *** 577,583 **** function mandigo_readme_page() { echo '<div class="wrap">'; echo '<pre>'; ! include("README.txt"); echo '</pre>'; echo '</div>'; } --- 652,658 ---- function mandigo_readme_page() { echo '<div class="wrap">'; echo '<pre>'; ! echo preg_replace(array('/</','/>/'),array('<','>'),file_get_contents(TEMPLATEPATH.'/README.txt')); echo '</pre>'; echo '</div>'; } Only in mandigo-1.25: green.css diff -c mandigo-1.25/header.php mandigo-1.26/header.php *** mandigo-1.25/header.php 2007-08-12 08:41:52.000000000 -0400 --- mandigo-1.26/header.php 2007-09-23 13:47:44.000000000 -0400 *************** *** 35,65 **** <meta name="theme" content="Mandigo <?php $themes = get_themes(); echo $themes['Mandigo']['Version']; ?>" /> <?php if (get_option('mandigo_scheme_random')) { - $schemes = array("blue","red","green","pink","purple","orange","teal"); update_option("mandigo_scheme",$schemes[array_rand($schemes,1)]); } if (get_option('mandigo_bold_links')) { $lastminutecss .= " a { font-weight: bold; }\n"; }; ! if (file_exists(TEMPLATEPATH.'/images/headers/'. $post->ID .'.jpg')) { $noheaderimg = 1; ! $lastminutecss .= " #headerimg { background: url(". get_bloginfo('stylesheet_directory') ."/images/headers/". $post->ID .".jpg) bottom center no-repeat; }\n"; } elseif (get_option('mandigo_headers_random')) { ! $headersdir = opendir(TEMPLATEPATH.'/images/headers/'); while (false !== ($file = readdir($headersdir))) { if (preg_match("/\.(?:jpe?g|png|gif|bmp)$/i",$file)) $headers[] = $file; } if (sizeof($headers)) { $noheaderimg = 1; ! $lastminutecss .= " #headerimg { background: url(". str_replace(' ','%20',get_bloginfo('stylesheet_directory')) ."/images/headers/". $headers[array_rand($headers,1)] .") bottom center no-repeat; }\n"; } } ?> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>.php<?php echo ($noheaderimg ? '?noheaderimg' : '') ?>" type="text/css" media="screen" /> ! <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/<?php echo get_option('mandigo_scheme'); ?>.css" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php --- 35,68 ---- <meta name="theme" content="Mandigo <?php $themes = get_themes(); echo $themes['Mandigo']['Version']; ?>" /> <?php + global $schemes, $dirs; + if (get_option('mandigo_scheme_random')) { update_option("mandigo_scheme",$schemes[array_rand($schemes,1)]); + $dirs['loc']['scheme'] = $dirs['loc']['schemes'] . get_option('mandigo_scheme') ."/"; + $dirs['www']['scheme'] = $dirs['www']['schemes'] . get_option('mandigo_scheme') ."/"; } if (get_option('mandigo_bold_links')) { $lastminutecss .= " a { font-weight: bold; }\n"; }; ! if (file_exists($dirs['loc']['headers'] . $post->ID .".jpg")) { $noheaderimg = 1; ! $lastminutecss .= " #headerimg { background: url(". $dirs['www']['headers'] . $post->ID .".jpg) bottom center no-repeat; }\n"; } elseif (get_option('mandigo_headers_random')) { ! $headersdir = opendir($dirs['loc']['headers']); while (false !== ($file = readdir($headersdir))) { if (preg_match("/\.(?:jpe?g|png|gif|bmp)$/i",$file)) $headers[] = $file; } if (sizeof($headers)) { $noheaderimg = 1; ! $lastminutecss .= " #headerimg { background: url(". str_replace(' ','%20',$dirs['www']['headers'] . $headers[array_rand($headers,1)]) .") bottom center no-repeat; }\n"; } } ?> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>.php<?php echo ($noheaderimg ? '?noheaderimg' : '') ?>" type="text/css" media="screen" /> ! <link rel="stylesheet" href="<?php echo $dirs['www']['scheme']; ?>style.css" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php *************** *** 116,121 **** </div> </div> <div id="main"> ! <?php get_option('mandigo_inserts_top'); ?> <table> <tr> --- 119,124 ---- </div> </div> <div id="main"> ! <?php echo get_option('mandigo_inserts_top'); ?> <table> <tr> Common subdirectories: mandigo-1.25/images and mandigo-1.26/images diff -c mandigo-1.25/index.php mandigo-1.26/index.php *** mandigo-1.25/index.php 2007-08-12 08:41:42.000000000 -0400 --- mandigo-1.26/index.php 2007-09-23 14:18:30.000000000 -0400 *************** *** 1,4 **** ! <?php get_header(); if (!get_option('mandigo_nosidebars') && get_option('mandigo_sidebar1_left')) include (TEMPLATEPATH . '/sidebar.php'); if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { --- 1,6 ---- ! <?php ! global $dirs; ! get_header(); if (!get_option('mandigo_nosidebars') && get_option('mandigo_sidebar1_left')) include (TEMPLATEPATH . '/sidebar.php'); if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { *************** *** 29,42 **** </div> </div> <<?php echo $tag_posttitle_multi; ?> class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></<?php echo $tag_posttitle_multi; ?>> ! <small><?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?><?php edit_post_link(__('Edit','mandigo'), ' - <img src="' . get_bloginfo('stylesheet_directory') . '/images/'. get_option('mandigo_scheme') .'/edit.gif" alt="'. __('Edit this post','mandigo') .'" /> ', ''); ?> </small> </div> <div class="entry"> <?php the_content(__('Read the rest of this entry','mandigo') .' »'); ?> </div> ! <p class="postmetadata"><img src="<?php echo get_bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/comments.gif" alt="Comments" /> <?php comments_popup_link(__('No Comments','mandigo'). ' »', __('1 Comment','mandigo'). ' »', __('% Comments','mandigo'). ' »'); ?></p> </div> <?php endwhile; ?> --- 31,48 ---- </div> </div> <<?php echo $tag_posttitle_multi; ?> class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></<?php echo $tag_posttitle_multi; ?>> ! <small> ! <?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?><?php if (function_exists('the_tags') && !get_option('mandigo_tags_after')) the_tags(', '. __('tags','mandigo') .': '); ?><?php edit_post_link(__('Edit','mandigo'), ' - <img src="'. $dirs['www']['scheme'] .'images/edit.gif" alt="'. __('Edit this post','mandigo') .'" /> ', ''); ?> ! </small> ! </div> <div class="entry"> <?php the_content(__('Read the rest of this entry','mandigo') .' »'); ?> + <?php if (function_exists('the_tags') && get_option('mandigo_tags_after')) the_tags(', '. __('tags','mandigo') .': '); ?> </div> ! <p class="postmetadata"><img src="<?php echo $dirs['www']['scheme']; ?>images/comments.gif" alt="Comments" /> <?php comments_popup_link(__('No Comments','mandigo'). ' »', __('1 Comment','mandigo'). ' »', __('% Comments','mandigo'). ' »'); ?></p> </div> <?php endwhile; ?> Only in mandigo-1.25: orange.css Only in mandigo-1.25: pink.css Only in mandigo-1.25: purple.css Only in mandigo-1.25: red.css Only in mandigo-1.25: scheme-blue.jpg Only in mandigo-1.25: scheme-green.jpg Only in mandigo-1.25: scheme-orange.jpg Only in mandigo-1.25: scheme-pink.jpg Only in mandigo-1.25: scheme-purple.jpg Only in mandigo-1.25: scheme-red.jpg Only in mandigo-1.25: scheme-teal.jpg Only in mandigo-1.26: schemes diff -c mandigo-1.25/search.php mandigo-1.26/search.php *** mandigo-1.25/search.php 2007-08-12 09:14:44.000000000 -0400 --- mandigo-1.26/search.php 2007-09-23 14:20:32.000000000 -0400 *************** *** 32,38 **** <div style="clear: both"></div> <?php endif; ?> ! <p class="postmetadata"><?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?> | <?php edit_post_link(__('Edit','mandigo'), '', ' | '); ?> <?php comments_popup_link(__('No Comments','mandigo'). ' »', __('1 Comment','mandigo'). ' »', __('% Comments','mandigo'). ' »'); ?></p> </div> <?php endwhile; ?> --- 32,38 ---- <div style="clear: both"></div> <?php endif; ?> ! <p class="postmetadata"><?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?> | <?php if (function_exists('the_tags')) the_tags(__('tags','mandigo') .': ',', ',' | '); ?><?php edit_post_link(__('Edit','mandigo'), '', ' | '); ?> <?php comments_popup_link(__('No Comments','mandigo'). ' »', __('1 Comment','mandigo'). ' »', __('% Comments','mandigo'). ' »'); ?></p> </div> <?php endwhile; ?> diff -c mandigo-1.25/searchform.php mandigo-1.26/searchform.php *** mandigo-1.25/searchform.php 2006-12-05 23:25:32.000000000 -0500 --- mandigo-1.26/searchform.php 2007-09-23 11:19:04.000000000 -0400 *************** *** 1,5 **** <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> ! <input type="image" id="searchsubmit" src="<?php echo bloginfo('stylesheet_directory'); ?>/images/<?php echo get_option('mandigo_scheme'); ?>/search.gif" onmouseover="hover(1,'searchsubmit','search');" onmouseout="hover(0,'searchsubmit','search')" /> </div> </form> --- 1,8 ---- + <?php + global $dirs; + ?> <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> ! <input type="image" id="searchsubmit" src="<?php echo $dirs['www']['scheme']; ?>images/search.gif" onmouseover="hover(1,'searchsubmit','search');" onmouseout="hover(0,'searchsubmit','search')" /> </div> </form> diff -c mandigo-1.25/sidebar.php mandigo-1.26/sidebar.php *** mandigo-1.25/sidebar.php 2007-08-12 09:20:24.000000000 -0400 --- mandigo-1.26/sidebar.php 2007-09-23 14:37:02.000000000 -0400 *************** *** 28,41 **** <?php } ?> ! <?php wp_list_pages("title_li=<$tag_sidebar class=\"widgettitle\">". str_replace('&','%26',__('Pages','mandigo')) ."</$tag_sidebar>&sort_column=menu_order"); ?> <li><<?php echo $tag_sidebar; ?> class="widgettitle"><?php _e('Categories','mandigo'); ?></<?php echo $tag_sidebar; ?>> <ul> ! <?php wp_list_cats('sort_column=name&optioncount=1&hide_empty=0&hierarchical=1'); ?> </ul> </li> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php get_links_list(); ?> <?php } ?> --- 28,49 ---- <?php } ?> ! <?php wp_list_pages(array('title_li' => "<$tag_sidebar class=\"widgettitle\">". str_replace('&','%26',__('Pages','mandigo')) ."</$tag_sidebar>",'sort_column' => "menu_order")); ?> <li><<?php echo $tag_sidebar; ?> class="widgettitle"><?php _e('Categories','mandigo'); ?></<?php echo $tag_sidebar; ?>> <ul> ! <?php wp_list_cats(array('sort_column' => 'name', 'optioncount' => 1, 'hide_empty' => 0, 'hierarchical' => 1)); ?> </ul> </li> + <?php if (function_exists('wp_tag_cloud')) { ?> + <li><<?php echo $tag_sidebar; ?> class="widgettitle"><?php _e('Tags','mandigo'); ?></<?php echo $tag_sidebar; ?>> + <ul> + <?php wp_tag_cloud(); ?> + </ul> + </li> + <?php } ?> + <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php get_links_list(); ?> <?php } ?> diff -c mandigo-1.25/single.php mandigo-1.26/single.php *** mandigo-1.25/single.php 2007-08-12 08:43:04.000000000 -0400 --- mandigo-1.26/single.php 2007-09-23 14:18:10.000000000 -0400 *************** *** 29,35 **** </div> </div> <<?php echo $tag_posttitle_single; ?> class="posttitle"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></<?php echo $tag_posttitle_single; ?>> ! <small><?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?></small> </div> <div class="entry"> --- 29,37 ---- </div> </div> <<?php echo $tag_posttitle_single; ?> class="posttitle"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></<?php echo $tag_posttitle_single; ?>> ! <small> ! <?php printf(__('Posted by: %s in %s','mandigo'),mandigo_author_link(get_the_author_ID(),get_the_author()),get_the_category_list(', ')) ?><?php if (function_exists('the_tags') && !get_option('mandigo_tags_after')) the_tags(', '. __('tags','mandigo') .': '); ?> ! </small> </div> <div class="entry"> *************** *** 37,42 **** --- 39,46 ---- <?php link_pages('<p><strong>'. __('Pages','mandigo') .':</strong> ', '</p>', 'number'); ?> + <?php if (function_exists('the_tags') && get_option('mandigo_tags_after')) the_tags(', '. __('tags','mandigo') .': '); ?> + <p class="postmetadata alt"> <small> <?php printf(__('This entry was posted on %s at %s and is filed under %s.','mandigo'),get_the_time(__('l, F jS, Y','mandigo')),get_the_time(),get_the_category_list(', ')); ?> diff -c mandigo-1.25/style.css mandigo-1.26/style.css *** mandigo-1.25/style.css 2007-08-12 10:28:02.000000000 -0400 --- mandigo-1.26/style.css 2007-08-19 21:57:12.000000000 -0400 *************** *** 2,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 30 languages! ! Version: 1.25 Author: t0mmmmmmm Author URI: http://www.onehertz.com/portfolio/wordpress/ */ --- 2,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 30 languages! ! Version: 1.26 Author: t0mmmmmmm Author URI: http://www.onehertz.com/portfolio/wordpress/ */ diff -c mandigo-1.25/style.css.php mandigo-1.26/style.css.php *** mandigo-1.25/style.css.php 2007-08-12 17:28:26.000000000 -0400 --- mandigo-1.26/style.css.php 2007-09-23 11:53:50.000000000 -0400 *************** *** 14,20 **** if (defined('DB_USER')) { $dbh = @mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); @mysql_select_db(DB_NAME,$dbh); ! $r = @mysql_query("SELECT option_name,option_value FROM ". $table_prefix ."options WHERE option_name REGEXP '^mandigo_(1024|sidebar[12]_left|3columns|wp(tog|_(fixed|repeat|position))?|em_italics|bgcolor|no(float|border)|headnav_left|scheme|slim_header|small_title|number_comments|(posts|sidebars)_b[dg]color|floatright|nojustify)|stylesheet|siteurl';",$dbh); while ($a = @mysql_fetch_row($r)) { if ($a[1] == 'on' ) $a[1] = 1; if ($a[1] == 'off') $a[1] = 0; --- 14,20 ---- if (defined('DB_USER')) { $dbh = @mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); @mysql_select_db(DB_NAME,$dbh); ! $r = @mysql_query("SELECT option_name,option_value FROM ". $table_prefix ."options WHERE option_name REGEXP '^mandigo_(1024|sidebar[12]_left|3columns|wp(_(fixed|repeat|position))?|em_italics|bgcolor|no(float|border)|headnav_left|scheme|slim_header|small_title|number_comments|(posts|sidebars)_b[dg]color|floatright|nojustify)|stylesheet|siteurl';",$dbh); while ($a = @mysql_fetch_row($r)) { if ($a[1] == 'on' ) $a[1] = 1; if ($a[1] == 'off') $a[1] = 0; *************** *** 34,40 **** $mandigo_sidebar1_left = get_option('mandigo_sidebar1_left'); $mandigo_sidebar2_left = get_option('mandigo_sidebar2_left'); $mandigo_headnav_left = get_option('mandigo_headnav_left'); - $mandigo_wptog = get_option('mandigo_wptog'); $mandigo_wp = get_option('mandigo_wp'); $mandigo_1024 = get_option('mandigo_1024'); $mandigo_nofloat = get_option('mandigo_nofloat'); --- 34,39 ---- *************** *** 54,60 **** $mandigo_floatright = get_option('mandigo_floatright'); $mandigo_nojustify = get_option('mandigo_nojustify'); $stylesheet_directory = get_bloginfo('stylesheet_directory'); ! foreach (array('em_italics','3columns','sidebar1_left','sidebar2_left','wptog','1024','nofloat','slim_header','noborder','small_title','wp_fixed','wp_repeat','wp_position','number_comments') as $a) { $a = 'mandigo_'. $a; if ($$a == 'on') $$a = 1; if ($$a == 'off') $$a = 0; --- 53,59 ---- $mandigo_floatright = get_option('mandigo_floatright'); $mandigo_nojustify = get_option('mandigo_nojustify'); $stylesheet_directory = get_bloginfo('stylesheet_directory'); ! foreach (array('em_italics','3columns','sidebar1_left','sidebar2_left','1024','nofloat','slim_header','noborder','small_title','wp_fixed','wp_repeat','wp_position','number_comments') as $a) { $a = 'mandigo_'. $a; if ($$a == 'on') $$a = 1; if ($$a == 'off') $$a = 0; *************** *** 86,92 **** line-height: 1.5em; } ! h1, h2, h3, .inline-widgets #wp-calendar caption { font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; font-weight: bold; } --- 85,91 ---- line-height: 1.5em; } ! h1, h2, h3, .inline-widgets #wp-calendar caption, .blogname, .blogdesc { font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; font-weight: bold; } *************** *** 132,138 **** .pagetitle { font-size: 1.6em; } ! .widgettitle { font-family: 'Lucida Grande', Verdana, Sans-Serif; font-size: 1.2em; } --- 131,137 ---- .pagetitle { font-size: 1.6em; } ! .widgettitle, .sidebars li.linkcat h2 { font-family: 'Lucida Grande', Verdana, Sans-Serif; font-size: 1.2em; } *************** *** 225,231 **** body { background-color: <?php echo $mandigo_bgcolor; ?>; ! <?php if ($mandigo_wptog && $mandigo_wp): ?> background-image: url(<?php echo $stylesheet_directory; ?>/images/patterns/<?php echo $mandigo_wp; ?>); background-attachment: <?php echo ($mandigo_wp_fixed ? 'fixed' : 'scroll'); ?>; background-repeat: <?php echo ($mandigo_wp_repeat ? $mandigo_wp_repeat : 'repeat'); ?>; --- 224,230 ---- body { background-color: <?php echo $mandigo_bgcolor; ?>; ! <?php if ($mandigo_wp): ?> background-image: url(<?php echo $stylesheet_directory; ?>/images/patterns/<?php echo $mandigo_wp; ?>); background-attachment: <?php echo ($mandigo_wp_fixed ? 'fixed' : 'scroll'); ?>; background-repeat: <?php echo ($mandigo_wp_repeat ? $mandigo_wp_repeat : 'repeat'); ?>; *************** *** 259,265 **** height: <?php echo (226-($mandigo_slim_header ? 100 : 0)); ?>px; width: <?php echo (737+224*$mandigo_1024); ?>px; <?php if (!isset($_GET['noheaderimg'])): ?> ! background: url('images/<?php echo $mandigo_scheme; ?>/head<?php echo ($mandigo_1024 ? '-1024' : ''); ?>.jpg') bottom center no-repeat; <?php endif; ?> } --- 258,264 ---- height: <?php echo (226-($mandigo_slim_header ? 100 : 0)); ?>px; width: <?php echo (737+224*$mandigo_1024); ?>px; <?php if (!isset($_GET['noheaderimg'])): ?> ! background: url('schemes/<?php echo $mandigo_scheme; ?>/images/head<?php echo ($mandigo_1024 ? '-1024' : ''); ?>.jpg') bottom center no-repeat; <?php endif; ?> } *************** *** 438,444 **** } .sidebars li { ! list-style-image: url(images/<?php echo $mandigo_scheme; ?>/star.gif); margin: 0 0 15px 25px; <?php if ($ie): ?> margin: 10px 0 15px 20px; --- 437,443 ---- } .sidebars li { ! list-style-image: url(schemes/<?php echo $mandigo_scheme; ?>/images/star.gif); margin: 0 0 15px 25px; <?php if ($ie): ?> margin: 10px 0 15px 20px; *************** *** 803,809 **** } .sidebars>li .widgettitle { ! background-image: url(images/<?php echo $mandigo_scheme; ?>/star.gif); background-repeat: no-repeat; background-position: top right; margin-right: -20px; --- 802,808 ---- } .sidebars>li .widgettitle { ! background-image: url(schemes/<?php echo $mandigo_scheme; ?>/images/star.gif); background-repeat: no-repeat; background-position: top right; margin-right: -20px; Only in mandigo-1.25: teal.css