diff -c mandigo-1.24/README.txt mandigo-1.25/README.txt *** mandigo-1.24/README.txt 2007-07-12 14:47:02.000000000 -0400 --- mandigo-1.25/README.txt 2007-08-12 19:52:48.000000000 -0400 *************** *** 41,59 **** 6. Select the Presentation subpanel and click on the Mandigo screenshot. ! === ABOUT MANDIGO ====================================================================== ! The theme is available in seven different color schemes, which you can select from the ! Presentation, Theme Options subpanel in the Administration interface. ! ** Image Classes: ! - 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. ! - Images are also left-floated by default. To override this, add the 'nofloat' class to ! your img tags, or use the appropriate option. - ** 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 top/bottom bars are most useful to display some kind of static content (using text --- 41,66 ---- 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: ! - let me know and send an email to tom@onehertz.com ! - make a donation using the link at the top of the Theme Options page: ! http://www.onehertz.com/portfolio/wordpress/donate/ ! ! - leave a comment on the Theme Viewer: ! http://themes.wordpress.net/columns/2-columns/1378/ ! ! - bookmark it on del.icio.us: ! http://del.icio.us/url/e0a106d15b639607c3e02a375a821f67 ! ! 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 top/bottom bars are most useful to display some kind of static content (using text *************** *** 108,113 **** --- 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: *************** *** 127,132 **** --- 159,176 ---- Patterns can be a combination of arbitrary text and these variables, i.e. you could use "Welcome to %blogname%" for the index or "Archives for %category%" for archives. + ** 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 + also do the same thing to the title of posts in single and multiple views, and to the + title of some pages ('Search results', 'Archives', ..). + + Note that using a different kind + of tag does not (should not, please report bugs) affect the styling at all. + === LOCALIZATION ======================================================================= *************** *** 141,163 **** be loaded automatically, provided it exists. - === SHOW YOUR SUPPORT ================================================================== - - If you enjoy this theme, please consider doing some (all) of the following things: - - - let me know and send an email to tom@onehertz.com - - - make a donation using the link at the top of the Theme Options page - - - leave a comment on the Theme Viewer: - http://themes.wordpress.net/columns/2-columns/1378/ - - - bookmark it on del.icio.us: - http://del.icio.us/url/e0a106d15b639607c3e02a375a821f67 - - Thank you for choosing Mandigo! - - === TRANSLATION CREDITS ================================================================ Arabic: Maxer --- 185,190 ---- *************** *** 169,175 **** Danish: Daniel Noesgaard Rasmussen Dutch: Ramsy de Vos French: Michel Bibal ! German: Michael Nickel Greek: Andrew Kontokanis Hebrew: Omry Yadan Hungarian: Horvath Zoltan --- 196,202 ---- Danish: Daniel Noesgaard Rasmussen Dutch: Ramsy de Vos French: Michel Bibal ! German: Michael Nickel, Ted Box Greek: Andrew Kontokanis Hebrew: Omry Yadan Hungarian: Horvath Zoltan *************** *** 210,215 **** --- 237,249 ---- === 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 + language: Portuguese (pt_PT) + language: Ukrainian (ua_UA) *************** *** 222,228 **** * finally fixed RSS feed links * fixed misplaced calendar captions in IE7 * fixed a problem that would cause the content column to shrink when it had too little ! text * fixed the color & positioning of H1 tags in posts 1.23 --- 256,262 ---- * finally fixed RSS feed links * fixed misplaced calendar captions in IE7 * fixed a problem that would cause the content column to shrink when it had too little ! text * fixed the color & positioning of H1 tags in posts 1.23 diff -c mandigo-1.24/archive.php mandigo-1.25/archive.php *** mandigo-1.24/archive.php 2007-07-12 14:37:26.000000000 -0400 --- mandigo-1.25/archive.php 2007-08-12 09:16:30.000000000 -0400 *************** *** 4,9 **** --- 4,11 ---- if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } + $tag_posttitle_multi = get_option('mandigo_tag_posttitle_multi'); + $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); ?> <td id="content" class="narrowcolumn"> *************** *** 11,35 **** <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php if (is_category()) { ?> ! <h2 class="pagetitle"><?php printf(__('Archive for the %s Category','mandigo'),single_cat_title('',false)); ?></h2> <?php } elseif (is_day()) { ?> ! <h2 class="pagetitle"><?php printf(__('Archive for %s','mandigo'),get_the_time(__('F jS, Y','mandigo'))); ?></h2> <?php } elseif (is_month()) { ?> ! <h2 class="pagetitle"><?php printf(__('Archive for %s','mandigo'),get_the_time(__('F, Y','mandigo'))); ?></h2> <?php } elseif (is_year()) { ?> ! <h2 class="pagetitle"><?php printf(__('Archive for %s','mandigo'),get_the_time('Y')); ?></h2> <?php } elseif (is_search()) { ?> ! <h2 class="pagetitle"><?php _e('Search Results','mandigo'); ?></h2> <?php } elseif (is_author()) { ?> ! <h2 class="pagetitle"><?php _e('Author Archive','mandigo'); ?></h2> <?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> ! <h2 class="pagetitle"><?php _e('Blog Archives','mandigo'); ?></h2> <?php } ?> --- 13,37 ---- <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?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_day()) { ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php printf(__('Archive for %s','mandigo'),get_the_time(__('F jS, Y','mandigo'))); ?></<?php echo $tag_pagetitle; ?>> <?php } elseif (is_month()) { ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php printf(__('Archive for %s','mandigo'),get_the_time(__('F, Y','mandigo'))); ?></<?php echo $tag_pagetitle; ?>> <?php } elseif (is_year()) { ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php printf(__('Archive for %s','mandigo'),get_the_time('Y')); ?></<?php echo $tag_pagetitle; ?>> <?php } elseif (is_search()) { ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Search Results','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <?php } elseif (is_author()) { ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Author Archive','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Blog Archives','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <?php } ?> *************** *** 49,55 **** <span class="caly"><?php the_time('Y') ?></span> </div> </div> ! <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></h3> <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> --- 51,57 ---- <span class="caly"><?php the_time('Y') ?></span> </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> *************** *** 70,76 **** <?php else : ?> ! <h2 class="center"><?php _e('Not Found','mandigo'); ?></h2> <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here','mandigo'); ?>.</p> <?php endif; ?> --- 72,78 ---- <?php else : ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Not Found','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here','mandigo'); ?>.</p> <?php endif; ?> diff -c mandigo-1.24/archives.php mandigo-1.25/archives.php *** mandigo-1.24/archives.php 2007-07-12 12:05:22.000000000 -0400 --- mandigo-1.25/archives.php 2007-08-12 09:21:22.000000000 -0400 *************** *** 9,27 **** if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } ?> <td id="content" class="narrowcolumn"> <div class="post"> ! <h2><?php _e('Search','mandigo'); ?>:</h2> <?php include (TEMPLATEPATH . '/searchform.php'); ?> ! <h2><?php _e('Archives by Month','mandigo'); ?>:</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> ! <h2><?php _e('Archives by Subject','mandigo'); ?>:</h2> <ul> <?php wp_list_cats(); ?> </ul> --- 9,28 ---- if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } + $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); ?> <td id="content" class="narrowcolumn"> <div class="post"> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Search','mandigo'); ?>:</<?php echo $tag_pagetitle; ?>> <?php include (TEMPLATEPATH . '/searchform.php'); ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Archives by Month','mandigo'); ?>:</<?php echo $tag_pagetitle; ?>> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Archives by Subject','mandigo'); ?>:</<?php echo $tag_pagetitle; ?>> <ul> <?php wp_list_cats(); ?> </ul> diff -c mandigo-1.24/attachment.php mandigo-1.25/attachment.php *** mandigo-1.24/attachment.php 2007-06-06 10:49:00.000000000 -0400 --- mandigo-1.25/attachment.php 2007-08-12 09:23:02.000000000 -0400 *************** *** 7,12 **** --- 7,13 ---- include (TEMPLATEPATH . '/sidebar2.php'); } } + $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); ?> <td id="content" class="<?php echo ($alwayssidebars ? 'narrow' : 'wide'); ?>column"> *************** *** 15,21 **** <?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> <?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> <div class="post" id="post-<?php the_ID(); ?>"> ! <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="entry"> <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> --- 16,22 ---- <?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> <?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> <div class="post" id="post-<?php the_ID(); ?>"> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> » <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></<?php echo $tag_pagetitle; ?>> <div class="entry"> <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> diff -c mandigo-1.24/blue.css mandigo-1.25/blue.css *** mandigo-1.24/blue.css 2007-03-08 12:38:24.000000000 -0500 --- mandigo-1.25/blue.css 2007-08-11 09:31:38.000000000 -0400 *************** *** 1,4 **** ! a, h2 a:hover, h3 a:hover, .entry p a:visited { color: #2E8FC6; } a:hover { color: #0F3461; } .cal { background: #1C5B9E url(images/blue/cal_bg.jpg) repeat-x; } --- 1,4 ---- ! a, .posttitle a:hover, .entry p a:visited { color: #2E8FC6; } a:hover { color: #0F3461; } .cal { background: #1C5B9E url(images/blue/cal_bg.jpg) repeat-x; } diff -c mandigo-1.24/comments.php mandigo-1.25/comments.php *** mandigo-1.24/comments.php 2007-07-12 14:22:34.000000000 -0400 --- mandigo-1.25/comments.php 2007-08-12 09:14:16.000000000 -0400 *************** *** 22,28 **** <!-- You can start editing here. --> <?php if ($comments) : ?> ! <h3 id="comments"><?php comments_number(__('No Responses to ','mandigo'), __('One Response to ','mandigo'), __('% Responses to ','mandigo')); ?> “<?php the_title(); ?>”</h3> <ol class="commentlist"> --- 22,28 ---- <!-- You can start editing here. --> <?php if ($comments) : ?> ! <div id="comments"><?php comments_number(__('No Responses to ','mandigo'), __('One Response to ','mandigo'), __('% Responses to ','mandigo')); ?> “<?php the_title(); ?>”</div> <ol class="commentlist"> *************** *** 65,71 **** <?php if ('open' == $post->comment_status) : ?> ! <h3 id="respond"><?php _e('Leave a Reply','mandigo'); ?></h3> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p><?php _e('You must be logged in to post a comment.','mandigo'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('Login','mandigo'); ?> »</a></p> --- 65,71 ---- <?php if ('open' == $post->comment_status) : ?> ! <div id="respond"><?php _e('Leave a Reply','mandigo'); ?></div> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p><?php _e('You must be logged in to post a comment.','mandigo'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>"><?php _e('Login','mandigo'); ?> »</a></p> Binary files mandigo-1.24/de_DE.mo and mandigo-1.25/de_DE.mo differ diff -c mandigo-1.24/footer.php mandigo-1.25/footer.php *** mandigo-1.24/footer.php 2007-07-12 09:58:42.000000000 -0400 --- mandigo-1.25/footer.php 2007-08-12 09:57:42.000000000 -0400 *************** *** 42,64 **** <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 : 224) : 0)); ?>); imgloadevent = function(e) { imgloaded(e ? e.currentTarget : window.event.srcElement); } imgloaded = function(t) { if (t.clientWidth > maxw) t.style.width = maxw+'px'; } ! imgs = document.getElementsByTagName("img"); ! for (i=0;i<imgs.length;i++) { ! img = imgs[i]; ! p = img.parentNode; ! while (p.tagName != 'HTML') { ! if (p.tagName+p.className == 'DIVentry') { ! (img.width ? imgloaded(img) : img.onload = imgloadevent); ! break; } - p = p.parentNode; } } </script> </body> </html> --- 42,67 ---- <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]; ! p = img.parentNode; ! while (p.tagName != 'HTML') { ! if (p.tagName+p.className == 'DIVentry') { ! (img.width ? imgloaded(img) : img.onload = imgloadevent); ! break; ! } ! p = p.parentNode; } } } + </script> </body> </html> diff -c mandigo-1.24/functions.php mandigo-1.25/functions.php *** mandigo-1.24/functions.php 2007-07-12 14:45:02.000000000 -0400 --- mandigo-1.25/functions.php 2007-08-12 11:17:54.000000000 -0400 *************** *** 1,10 **** <?php - if (function_exists('register_sidebar')) { - register_sidebar(); - register_sidebar(); - register_sidebar(array('name'=>'Mandigo Top')); - register_sidebar(array('name'=>'Mandigo Bottom')); - } load_theme_textdomain('mandigo'); // Set default values --- 1,4 ---- *************** *** 19,24 **** --- 13,25 ---- 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'); *************** *** 29,39 **** $ie7 = preg_match("/MSIE 7/", $_SERVER['HTTP_USER_AGENT']); $wpmu = function_exists('is_site_admin'); // SEARCH WIDGET function widget_mandigo_search() { ?> ! <li><h2><?php _e('Search','mandigo'); ?></h2> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </li> <?php --- 30,51 ---- $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 *************** *** 45,52 **** // CALENDAR WIDGET function widget_mandigo_calendar() { ?> ! <li><h2> </h2> <?php get_calendar(); ?> </li> <?php --- 57,65 ---- // CALENDAR WIDGET function widget_mandigo_calendar() { + global $tag_sidebar; ?> ! <li><<?php echo $tag_sidebar; ?> class="widgettitle"> </<?php echo $tag_sidebar; ?>> <?php get_calendar(); ?> </li> <?php *************** *** 58,67 **** // META WIDGET function widget_mandigo_meta() { ! global $wpmu; $options = get_option('widget_meta'); ?> ! <li><h2><?php echo ($options['title'] ? $options['title'] : __('Meta','mandigo')); ?></h2> <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(); ?> --- 71,80 ---- // 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(); ?> *************** *** 87,99 **** 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" /> 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" /> 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); } --- 100,115 ---- 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); } *************** *** 117,181 **** foreach ($_POST as $field => $value) { if (preg_match("/exclude_(\d+)/",$field,$id)) { $exclude[] = $id[1]; } } ! mandigo_set_var('exclude_pages' ,implode(",",$exclude) ); ! ! mandigo_set_var('bgcolor' ,mandigo_color($_POST['bgcolor'] ,'#44484F')); ! mandigo_set_var('posts_bgcolor' ,mandigo_color($_POST['posts_bgcolor'] ,'#FAFAFA')); ! mandigo_set_var('posts_bdcolor' ,mandigo_color($_POST['posts_bdcolor'] ,'#EEEEEE')); ! mandigo_set_var('sidebars_bgcolor' ,mandigo_color($_POST['sidebars_bgcolor'],'#EEEEEE')); ! mandigo_set_var('sidebars_bdcolor' ,mandigo_color($_POST['sidebars_bdcolor'],'#DDDDDD')); ! mandigo_set_var('dates' ,$_POST['dates'] ); ! mandigo_set_var('scheme' ,$_POST['scheme'] ); ! mandigo_set_var('wp' ,$_POST['wp'] ); ! mandigo_set_var('scheme_random' ,$_POST['random'] ); ! mandigo_set_var('headoverlay' ,$_POST['headoverlay'] ); ! mandigo_set_var('bold_links' ,$_POST['boldlinks'] ); ! mandigo_set_var('1024' ,$_POST['wide'] ); ! mandigo_set_var('nofloat' ,$_POST['nofloat'] ); ! mandigo_set_var('footer_stats' ,$_POST['footstats'] ); ! mandigo_set_var('nosidebars' ,($_POST['sidebars'] == 0 ? 1:0)); ! mandigo_set_var('3columns' ,($_POST['sidebars'] == 2 ? 1:0)); ! 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'] ); ! mandigo_set_var('headers_random' ,$_POST['randomheaders'] ); ! mandigo_set_var('slim_header' ,$_POST['slimheader'] ); ! mandigo_set_var('hide_blogname' ,$_POST['hideblogname'] ); ! mandigo_set_var('hide_blogdesc' ,$_POST['hideblogdesc'] ); ! mandigo_set_var('noborder' ,$_POST['noborder'] ); ! mandigo_set_var('small_title' ,$_POST['smalltitle'] ); ! mandigo_set_var('wp_fixed' ,$_POST['wpfixed'] ); ! mandigo_set_var('wp_repeat' ,$_POST['wprepeat'] ); ! mandigo_set_var('wp_position' ,$_POST['wpposition'] ); ! mandigo_set_var('number_comments' ,$_POST['numbercomments'] ); ! mandigo_set_var('full_search_results' ,$_POST['fullsearchresults'] ); ! mandigo_set_var('drop_shadow' ,$_POST['dropshadow'] ); ! mandigo_set_var('author_comments' ,$_POST['authorcomments'] ); ! mandigo_set_var('floatright' ,$_POST['floatright'] ); ! mandigo_set_var('xhtml_comments' ,$_POST['xhtmlcomments'] ); ! mandigo_set_var('nojustify' ,$_POST['nojustify'] ); ! mandigo_set_var('title_scheme_index' ,mandigo_escape($_POST['title_scheme_index'] )); ! mandigo_set_var('title_scheme_single' ,mandigo_escape($_POST['title_scheme_single'] )); ! mandigo_set_var('title_scheme_page' ,mandigo_escape($_POST['title_scheme_page'] )); ! mandigo_set_var('title_scheme_category',mandigo_escape($_POST['title_scheme_category'])); ! mandigo_set_var('title_scheme_date' ,mandigo_escape($_POST['title_scheme_date'] )); ! mandigo_set_var('title_scheme_search' ,mandigo_escape($_POST['title_scheme_search'] )); } ! $exclude = split(",",get_option('mandigo_exclude_pages')); ! $scheme = get_option('mandigo_scheme' ); ! $headoverlay = get_option('mandigo_headoverlay' ); ! $dates = get_option('mandigo_dates' ); ! $sidebar1 = get_option('mandigo_sidebar1_left' ); ! $sidebar2 = get_option('mandigo_sidebar2_left' ); ! $headnavleft = get_option('mandigo_headnav_left' ); ! $wp = get_option('mandigo_wp' ); ! $stroke = get_option('mandigo_stroke' ); ! $wp_fixed = get_option('mandigo_wp_fixed' ); ! $wp_repeat = get_option('mandigo_wp_repeat' ); $pages = & get_pages('sort_column=menu_order'); foreach ($pages as $page) { --- 133,209 ---- foreach ($_POST as $field => $value) { if (preg_match("/exclude_(\d+)/",$field,$id)) { $exclude[] = $id[1]; } } ! mandigo_set_var('exclude_pages' ,implode(",",$exclude) ); ! mandigo_set_var('bgcolor' ,mandigo_color($_POST['bgcolor'] ,'#44484F')); ! mandigo_set_var('posts_bgcolor' ,mandigo_color($_POST['posts_bgcolor'] ,'#FAFAFA')); ! mandigo_set_var('posts_bdcolor' ,mandigo_color($_POST['posts_bdcolor'] ,'#EEEEEE')); ! mandigo_set_var('sidebars_bgcolor' ,mandigo_color($_POST['sidebars_bgcolor'],'#EEEEEE')); ! mandigo_set_var('sidebars_bdcolor' ,mandigo_color($_POST['sidebars_bdcolor'],'#DDDDDD')); ! mandigo_set_var('dates' ,$_POST['dates'] ); ! mandigo_set_var('scheme' ,$_POST['scheme'] ); ! mandigo_set_var('wp' ,$_POST['wp'] ); ! mandigo_set_var('scheme_random' ,$_POST['random'] ); ! mandigo_set_var('headoverlay' ,$_POST['headoverlay'] ); ! mandigo_set_var('bold_links' ,$_POST['boldlinks'] ); ! mandigo_set_var('1024' ,$_POST['wide'] ); ! mandigo_set_var('nofloat' ,$_POST['nofloat'] ); ! mandigo_set_var('footer_stats' ,$_POST['footstats'] ); ! mandigo_set_var('nosidebars' ,($_POST['sidebars'] == 0 ? 1:0)); ! mandigo_set_var('3columns' ,($_POST['sidebars'] == 2 ? 1:0)); ! 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'] ); ! mandigo_set_var('headers_random' ,$_POST['randomheaders'] ); ! mandigo_set_var('slim_header' ,$_POST['slimheader'] ); ! mandigo_set_var('hide_blogname' ,$_POST['hideblogname'] ); ! mandigo_set_var('hide_blogdesc' ,$_POST['hideblogdesc'] ); ! mandigo_set_var('noborder' ,$_POST['noborder'] ); ! mandigo_set_var('small_title' ,$_POST['smalltitle'] ); ! mandigo_set_var('wp_fixed' ,$_POST['wpfixed'] ); ! mandigo_set_var('wp_repeat' ,$_POST['wprepeat'] ); ! mandigo_set_var('wp_position' ,$_POST['wpposition'] ); ! mandigo_set_var('number_comments' ,$_POST['numbercomments'] ); ! mandigo_set_var('full_search_results' ,$_POST['fullsearchresults'] ); ! mandigo_set_var('drop_shadow' ,$_POST['dropshadow'] ); ! mandigo_set_var('author_comments' ,$_POST['authorcomments'] ); ! mandigo_set_var('floatright' ,$_POST['floatright'] ); ! mandigo_set_var('xhtml_comments' ,$_POST['xhtmlcomments'] ); ! mandigo_set_var('nojustify' ,$_POST['nojustify'] ); ! mandigo_set_var('title_scheme_index' ,mandigo_escape($_POST['title_scheme_index'] )); ! mandigo_set_var('title_scheme_single' ,mandigo_escape($_POST['title_scheme_single'] )); ! mandigo_set_var('title_scheme_page' ,mandigo_escape($_POST['title_scheme_page'] )); ! mandigo_set_var('title_scheme_category' ,mandigo_escape($_POST['title_scheme_category'])); ! mandigo_set_var('title_scheme_date' ,mandigo_escape($_POST['title_scheme_date'] )); ! mandigo_set_var('title_scheme_search' ,mandigo_escape($_POST['title_scheme_search'] )); ! mandigo_set_var('tag_blogname' ,$_POST['tag_blogname'] ); ! mandigo_set_var('tag_blogdesc' ,$_POST['tag_blogdesc'] ); ! mandigo_set_var('tag_posttitle_multi' ,$_POST['tag_posttitle_multi'] ); ! 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'] ); } ! $exclude = split(",",get_option('mandigo_exclude_pages')); ! $scheme = get_option('mandigo_scheme' ); ! $headoverlay = get_option('mandigo_headoverlay' ); ! $dates = get_option('mandigo_dates' ); ! $sidebar1 = get_option('mandigo_sidebar1_left' ); ! $sidebar2 = get_option('mandigo_sidebar2_left' ); ! $headnavleft = get_option('mandigo_headnav_left' ); ! $wp = get_option('mandigo_wp' ); ! $stroke = get_option('mandigo_stroke' ); ! $wp_fixed = get_option('mandigo_wp_fixed' ); ! $wp_repeat = get_option('mandigo_wp_repeat' ); ! ! $tag_blogname = get_option('mandigo_tag_blogname' ); ! $tag_blogdesc = get_option('mandigo_tag_blogdesc' ); ! $tag_posttitle_multi = get_option('mandigo_tag_posttitle_multi' ); ! $tag_posttitle_single = get_option('mandigo_tag_posttitle_single' ); ! $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) { *************** *** 192,198 **** } echo ' ! <p align="center"><a href="#versioncheck">Are you using the latest version?</a> - <a href="http://www.onehertz.com/portfolio/wordpress/donate/" title="Show your support, please make a donation" target="_blank">If you enjoy Mandigo, please consider making a donation.</a></p> <div class="wrap"> <h2>Mandigo Options</h2> --- 220,226 ---- } echo ' ! <p align="center"><a href="#versioncheck">Are you using the latest version?</a> - <a href="http://www.onehertz.com/portfolio/wordpress/donate/" title="Show your support, please make a donation" target="_blank">If you enjoy Mandigo, please consider '. (rand(1,3) == 3 ? '<strong>making a donation</strong>' : 'making a donation') .'.</a></p> <div class="wrap"> <h2>Mandigo Options</h2> *************** *** 363,368 **** --- 391,485 ---- <td style="text-align: right;">Search Results (search.php):</td> <td><input type="text" name="title_scheme_search" size="60" value="'. get_option('mandigo_title_scheme_search') .'" /></td> </tr> + </table><br /> + + <label><b>Custom header levels</b></label><br/> + Customize which tags you want to use for the blog name, blog description, posts title, ... This does not affect styles. + <table> + <tr> + <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> + <tr> + <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> + <tr> + <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> + <tr> + <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> + <tr> + <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> + <tr> + <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> </table> </fieldset> diff -c mandigo-1.24/green.css mandigo-1.25/green.css *** mandigo-1.24/green.css 2007-03-08 12:38:18.000000000 -0500 --- mandigo-1.25/green.css 2007-08-11 09:31:56.000000000 -0400 *************** *** 1,5 **** a, a:hover, .entry p a:visited { color: #206E01; } ! h2 a:hover, h3 a:hover { color: #3DB306; } .entry p a { border-bottom: 1px dotted #206E01; } .entry p a:hover { border-bottom: 1px solid #206E01; text-decoration: none; } #wp-calendar a { font-weight: bold; } --- 1,5 ---- a, a:hover, .entry p a:visited { color: #206E01; } ! .posttitle a:hover { color: #3DB306; } .entry p a { border-bottom: 1px dotted #206E01; } .entry p a:hover { border-bottom: 1px solid #206E01; text-decoration: none; } #wp-calendar a { font-weight: bold; } diff -c mandigo-1.24/header.php mandigo-1.25/header.php *** mandigo-1.24/header.php 2007-07-12 10:22:00.000000000 -0400 --- mandigo-1.25/header.php 2007-08-12 08:41:52.000000000 -0400 *************** *** 39,60 **** $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"; } } - $stroke = get_option('mandigo_stroke'); ?> <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" /> --- 39,62 ---- $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" /> *************** *** 70,75 **** --- 72,81 ---- <?php $bodytag = get_option('mandigo_inserts_body'); echo (preg_match("/<body/i",$bodytag) ? $bodytag : "<body>"); + + $stroke = get_option('mandigo_stroke'); + $tag_blogname = get_option('mandigo_tag_blogname'); + $tag_blogdesc = get_option('mandigo_tag_blogdesc'); ?> <div id="page"> *************** *** 77,108 **** <div id="header"> <div id="headerimg"> <?php if (!get_option('mandigo_hide_blogname')): ?> ! <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1> <?php if (get_option('mandigo_drop_shadow')): ?> ! <span class="h1 text-shadow"><?php bloginfo('name'); ?></span> <?php endif; ?> <?php if ($stroke): ?> ! <span class="h1 text-stroke-tl"><?php bloginfo('name'); ?></span> ! <span class="h1 text-stroke-tr"><?php bloginfo('name'); ?></span> ! <span class="h1 text-stroke-bl"><?php bloginfo('name'); ?></span> ! <span class="h1 text-stroke-br"><?php bloginfo('name'); ?></span> <?php endif; endif; if (!get_option('mandigo_hide_blogdesc') && get_bloginfo('description')): ?> ! <div class="description"> ! <h6><?php bloginfo('description'); ?></h6> <?php if (get_option('mandigo_drop_shadow')): ?> ! <span class="h6 text-shadow"><?php bloginfo('description'); ?></span> <?php endif; ?> <?php if ($stroke): ?> ! <span class="h6 text-stroke-tl"><?php bloginfo('description'); ?></span> ! <span class="h6 text-stroke-tr"><?php bloginfo('description'); ?></span> ! <span class="h6 text-stroke-bl"><?php bloginfo('description'); ?></span> ! <span class="h6 text-stroke-br"><?php bloginfo('description'); ?></span> <?php endif; ?> - </div> <?php endif; ?> <ul class="pages<?php echo (get_option('mandigo_headoverlay') ? ' head_overlay' : ''); ?>"> <li class="page_item"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','mandigo'); ?></a></li> --- 83,113 ---- <div id="header"> <div id="headerimg"> <?php if (!get_option('mandigo_hide_blogname')): ?> ! <<?php echo $tag_blogname; ?> class="blogname"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></<?php echo $tag_blogname; ?>> <?php if (get_option('mandigo_drop_shadow')): ?> ! <span class="blogname text-shadow"><?php bloginfo('name'); ?></span> <?php endif; ?> <?php if ($stroke): ?> ! <span class="blogname text-stroke-tl"><?php bloginfo('name'); ?></span> ! <span class="blogname text-stroke-tr"><?php bloginfo('name'); ?></span> ! <span class="blogname text-stroke-bl"><?php bloginfo('name'); ?></span> ! <span class="blogname text-stroke-br"><?php bloginfo('name'); ?></span> <?php endif; endif; + if (!get_option('mandigo_hide_blogdesc') && get_bloginfo('description')): ?> ! <<?php echo $tag_blogdesc; ?> class="blogdesc"><?php bloginfo('description'); ?></<?php echo $tag_blogdesc; ?>> <?php if (get_option('mandigo_drop_shadow')): ?> ! <span class="blogdesc text-shadow"><?php bloginfo('description'); ?></span> <?php endif; ?> <?php if ($stroke): ?> ! <span class="blogdesc text-stroke-tl"><?php bloginfo('description'); ?></span> ! <span class="blogdesc text-stroke-tr"><?php bloginfo('description'); ?></span> ! <span class="blogdesc text-stroke-bl"><?php bloginfo('description'); ?></span> ! <span class="blogdesc text-stroke-br"><?php bloginfo('description'); ?></span> <?php endif; ?> <?php endif; ?> <ul class="pages<?php echo (get_option('mandigo_headoverlay') ? ' head_overlay' : ''); ?>"> <li class="page_item"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','mandigo'); ?></a></li> Common subdirectories: mandigo-1.24/images and mandigo-1.25/images diff -c mandigo-1.24/index.php mandigo-1.25/index.php *** mandigo-1.24/index.php 2007-07-12 12:04:18.000000000 -0400 --- mandigo-1.25/index.php 2007-08-12 08:41:42.000000000 -0400 *************** *** 4,9 **** --- 4,11 ---- if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } + $tag_posttitle_multi = get_option('mandigo_tag_posttitle_multi'); + $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); ?> <td id="content" class="narrowcolumn"> *************** *** 26,32 **** <span class="caly"><?php the_time('Y') ?></span> </div> </div> ! <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></h2> <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> --- 28,34 ---- <span class="caly"><?php the_time('Y') ?></span> </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> *************** *** 46,52 **** <?php else : ?> ! <h2 class="center"><?php _e('Not Found','mandigo'); ?></h2> <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.','mandigo'); ?></p> <?php endif; ?> --- 48,54 ---- <?php else : ?> ! <<?php echo $tag_pagetitle; ?> class="center"><?php _e('Not Found','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.','mandigo'); ?></p> <?php endif; ?> diff -c mandigo-1.24/links.php mandigo-1.25/links.php *** mandigo-1.24/links.php 2007-07-12 12:05:14.000000000 -0400 --- mandigo-1.25/links.php 2007-08-12 09:21:32.000000000 -0400 *************** *** 12,22 **** include (TEMPLATEPATH . '/sidebar2.php'); } } ?> <td id="content" class="<?php echo ($alwayssidebars ? 'narrow' : 'wide'); ?>column"> <div class="post"> ! <h2><?php _e('Links','mandigo'); ?>:</h2> <ul> <?php get_links_list(); ?> </ul> --- 12,23 ---- include (TEMPLATEPATH . '/sidebar2.php'); } } + $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); ?> <td id="content" class="<?php echo ($alwayssidebars ? 'narrow' : 'wide'); ?>column"> <div class="post"> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Links','mandigo'); ?>:</<?php echo $tag_pagetitle; ?>> <ul> <?php get_links_list(); ?> </ul> diff -c mandigo-1.24/orange.css mandigo-1.25/orange.css *** mandigo-1.24/orange.css 2007-03-08 12:38:40.000000000 -0500 --- mandigo-1.25/orange.css 2007-08-11 09:32:10.000000000 -0400 *************** *** 1,4 **** ! a, h2 a:hover, h3 a:hover, .entry p a:visited { color: #FF9B2A; } #wp-calendar a:hover { text-decoration: underline; } --- 1,4 ---- ! a, .posttitle a:hover, .entry p a:visited { color: #FF9B2A; } #wp-calendar a:hover { text-decoration: underline; } diff -c mandigo-1.24/page.php mandigo-1.25/page.php *** mandigo-1.24/page.php 2007-07-12 12:04:46.000000000 -0400 --- mandigo-1.25/page.php 2007-08-12 08:47:58.000000000 -0400 *************** *** 4,15 **** if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } ?> <td id="content" class="narrowcolumn"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> ! <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">'. __('Read the rest of this page','mandigo') .' »</p>'); ?> --- 4,16 ---- if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } + $tag_posttitle_single = get_option('mandigo_tag_posttitle_single'); ?> <td id="content" class="narrowcolumn"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> ! <<?php echo $tag_posttitle_single; ?> class="posttitle"><?php the_title(); ?></<?php echo $tag_posttitle_single; ?>> <div class="entry"> <?php the_content('<p class="serif">'. __('Read the rest of this page','mandigo') .' »</p>'); ?> diff -c mandigo-1.24/pink.css mandigo-1.25/pink.css *** mandigo-1.24/pink.css 2007-03-08 12:38:46.000000000 -0500 --- mandigo-1.25/pink.css 2007-08-11 09:32:16.000000000 -0400 *************** *** 1,4 **** ! a, h2 a:hover, h3 a:hover, .entry p a:visited { color: #F02B88; } a:hover { color: #8B203D; } .cal { background: #C92155 url(images/pink/cal_bg.jpg) repeat-x; } --- 1,4 ---- ! a, .posttitle a:hover, .entry p a:visited { color: #F02B88; } a:hover { color: #8B203D; } .cal { background: #C92155 url(images/pink/cal_bg.jpg) repeat-x; } diff -c mandigo-1.24/purple.css mandigo-1.25/purple.css *** mandigo-1.24/purple.css 2007-03-08 12:38:50.000000000 -0500 --- mandigo-1.25/purple.css 2007-08-11 09:32:22.000000000 -0400 *************** *** 1,4 **** ! a, h2 a:hover, h3 a:hover, .entry p a:visited { color: #B53492; } a:hover { color: #7F2D66; } #wp-calendar a { font-weight: bold; } .cal { background: #B53492 url(images/purple/cal_bg.jpg) repeat-x; } --- 1,4 ---- ! a, .posttitle a:hover, .entry p a:visited { color: #B53492; } a:hover { color: #7F2D66; } #wp-calendar a { font-weight: bold; } .cal { background: #B53492 url(images/purple/cal_bg.jpg) repeat-x; } diff -c mandigo-1.24/red.css mandigo-1.25/red.css *** mandigo-1.24/red.css 2007-03-08 12:39:06.000000000 -0500 --- mandigo-1.25/red.css 2007-08-11 09:32:28.000000000 -0400 *************** *** 1,4 **** ! a, h2 a:hover, h3 a:hover, .entry p a:visited { color: #CC1F27; } a:hover { color: #6E0F01; } .cal { background: #B31706 url(images/red/cal_bg.jpg) repeat-x; } --- 1,4 ---- ! a, .posttitle a:hover, .entry p a:visited { color: #CC1F27; } a:hover { color: #6E0F01; } .cal { background: #B31706 url(images/red/cal_bg.jpg) repeat-x; } diff -c mandigo-1.24/search.php mandigo-1.25/search.php *** mandigo-1.24/search.php 2007-07-12 14:37:52.000000000 -0400 --- mandigo-1.25/search.php 2007-08-12 09:14:44.000000000 -0400 *************** *** 4,15 **** if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } ?> <td id="content" class="narrowcolumn"> <?php if (have_posts()) : ?> ! <h2 class="pagetitle"><?php _e('Search Results','mandigo'); ?></h2> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« '. __('Previous Entries','mandigo')) ?></div> --- 4,17 ---- if (!get_option('mandigo_nosidebars') && get_option('mandigo_1024') && get_option('mandigo_3columns') && get_option('mandigo_sidebar2_left')) { include (TEMPLATEPATH . '/sidebar2.php'); } + $tag_posttitle_multi = get_option('mandigo_tag_posttitle_multi'); + $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); ?> <td id="content" class="narrowcolumn"> <?php if (have_posts()) : ?> ! <<?php echo $tag_pagetitle; ?> class="pagetitle"><?php _e('Search Results','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« '. __('Previous Entries','mandigo')) ?></div> *************** *** 20,26 **** <?php while (have_posts()) : the_post(); ?> <div class="post"> ! <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></h3> <small><?php the_time('l, F jS, Y') ?></small> <?php if (get_option('mandigo_full_search_results')): ?> --- 22,28 ---- <?php while (have_posts()) : the_post(); ?> <div class="post"> ! <<?php echo $tag_posttitle_multi; ?> id="post-<?php the_ID(); ?>" class="posttitle posttitle-search"><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 the_time('l, F jS, Y') ?></small> <?php if (get_option('mandigo_full_search_results')): ?> *************** *** 42,48 **** <?php else : ?> ! <h2 class="center"><?php _e('No posts found. Try a different search?','mandigo'); ?></h2> <p class="center"><?php _e('Sorry, no posts matched your search criteria. Please try and search again.','mandigo'); ?></p> <?php endif; ?> --- 44,50 ---- <?php else : ?> ! <<?php echo $tag_pagetitle; ?> class="center"><?php _e('No posts found. Try a different search?','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <p class="center"><?php _e('Sorry, no posts matched your search criteria. Please try and search again.','mandigo'); ?></p> <?php endif; ?> diff -c mandigo-1.24/sidebar.php mandigo-1.25/sidebar.php *** mandigo-1.24/sidebar.php 2007-06-04 16:35:36.000000000 -0400 --- mandigo-1.25/sidebar.php 2007-08-12 09:20:24.000000000 -0400 *************** *** 1,3 **** --- 1,6 ---- + <?php + $tag_sidebar = get_option('mandigo_tag_sidebar'); + ?> <td id="sidebar1"> <ul class="sidebars"> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar 1')) : ?> *************** *** 25,33 **** <?php } ?> ! <?php wp_list_pages('title_li=<h2>'. str_replace('&','%26',__('Pages','mandigo')) .'</h2>&sort_column=menu_order'); ?> ! <li><h2><?php _e('Categories','mandigo'); ?></h2> <ul> <?php wp_list_cats('sort_column=name&optioncount=1&hide_empty=0&hierarchical=1'); ?> </ul> --- 28,36 ---- <?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> diff -c mandigo-1.24/single.php mandigo-1.25/single.php *** mandigo-1.24/single.php 2007-07-12 14:36:56.000000000 -0400 --- mandigo-1.25/single.php 2007-08-12 08:43:04.000000000 -0400 *************** *** 7,12 **** --- 7,14 ---- include (TEMPLATEPATH . '/sidebar2.php'); } } + $tag_posttitle_single = get_option('mandigo_tag_posttitle_single'); + $tag_pagetitle = get_option('mandigo_tag_pagetitle' ); ?> <td id="content" class="<?php echo ($alwayssidebars ? 'narrow' : 'wide'); ?>column"> *************** *** 26,32 **** <span class="caly"><?php the_time('Y') ?></span> </div> </div> ! <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> <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> --- 28,34 ---- <span class="caly"><?php the_time('Y') ?></span> </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> *************** *** 68,74 **** <?php endwhile; else: ?> ! <p><?php _e('Sorry, no posts matched your criteria.','mandigo'); ?></p> <?php endif; ?> --- 70,76 ---- <?php endwhile; else: ?> ! <<?php echo $tag_pagetitle; ?>><?php _e('Sorry, no posts matched your criteria.','mandigo'); ?></<?php echo $tag_pagetitle; ?>> <?php endif; ?> diff -c mandigo-1.24/style.css mandigo-1.25/style.css *** mandigo-1.24/style.css 2007-07-12 10:13:30.000000000 -0400 --- mandigo-1.25/style.css 2007-08-12 10:28:02.000000000 -0400 *************** *** 1,8 **** /* Theme Name: Mandigo Theme URI: http://www.onehertz.com/portfolio/wordpress/ ! Description: Mandigo is an elegant widget-ready two/three-column Wordpress theme, available in two widths, SEVEN color schemes and 30 languages! ! Version: 1.24 Author: t0mmmmmmm Author URI: http://www.onehertz.com/portfolio/wordpress/ */ --- 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 30 languages! ! Version: 1.25 Author: t0mmmmmmm Author URI: http://www.onehertz.com/portfolio/wordpress/ */ diff -c mandigo-1.24/style.css.php mandigo-1.25/style.css.php *** mandigo-1.24/style.css.php 2007-07-12 14:45:56.000000000 -0400 --- mandigo-1.25/style.css.php 2007-08-12 17:28:26.000000000 -0400 *************** *** 86,133 **** line-height: 1.5em; } ! h1, h2, h3, .inline-widgets #wp-calendar caption, .h1 { font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; font-weight: bold; } ! h1, .h1 { font-size: <?php echo ($mandigo_small_title ? 3 : 4); ?>em; letter-spacing: -.05em; } ! #headerimg .description, #content { font-size: 1.2em; } ! h2, h2.pagetitle, h3 { font-size: 1.6em; } ! .sidebars h2 { ! font-family: 'Lucida Grande', Verdana, Sans-Serif; font-size: 1.2em; } ! h3 { font-size: 1.5em; } ! ! h6, .h6 { font-size: 1.0em; } ! ! .inline-widgets h2, .inline-widgets #wp-calendar caption { font-size: 1.4em; } ! h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description, h6 { text-decoration: none; ! color: white; } ! h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { color: #333; } ! h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, .sidebars h2, #wp-calendar caption, cite { ! text-decoration: none; ! } ! .entry h1 { ! position: static; ! font-size: 2em; ! color: #333; } .widecolumn .entry p { font-size: 1.05em; } .commentlist li, #commentform input, #commentform textarea { --- 86,148 ---- 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; } ! #content { font-size: 1.2em; } ! ! .blogname { ! font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; font-size: <?php echo ($mandigo_small_title ? 3 : 4); ?>em; letter-spacing: -.05em; + margin-top: <?php echo ($mandigo_small_title ? 25 : 15); ?>px; } ! .blogname, .blogname a, blogname a:hover, .blogname a:visited, .blogdesc { ! text-decoration: none; ! color: white; ! } ! .blogname, .blogdesc { ! font-weight: bold; ! position: absolute; ! z-index: 100; ! margin-left: 15px; ! } ! .blogdesc { font-size: 1.2em; + margin-top: 60px; } ! .posttitle, #comments, #respond { ! font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; ! font-weight: bold; ! font-size: 1.6em; ! } ! .posttitle, .posttitle a, .posttitle a:hover, .posttitle a:visited { text-decoration: none; ! color: #333; } ! .posttitle-archive, .posttitle-search, #comments, #respond { font-size: 1.5em; } ! .pagetitle { font-size: 1.6em; } ! .widgettitle { ! font-family: 'Lucida Grande', Verdana, Sans-Serif; ! font-size: 1.2em; } + .inline-widgets .widgettitle, .inline-widgets #wp-calendar caption { font-size: 1.4em; } + + .sidebars .widgettitle, #wp-calendar caption, cite { text-decoration: none; } + + .widgettitle a { color: #333; } + .widecolumn .entry p { font-size: 1.05em; } .commentlist li, #commentform input, #commentform textarea { *************** *** 178,184 **** letter-spacing: .07em; } ! a, h2 a:hover, h3 a:hover { text-decoration: none; } a:hover { text-decoration: underline; } --- 193,199 ---- letter-spacing: .07em; } ! a { text-decoration: none; } a:hover { text-decoration: underline; } *************** *** 192,197 **** --- 207,216 ---- font-style: normal; text-transform: capitalize; } + + .text-shadow { color: #333; } + + .text-stroke-tl, .text-stroke-tr, .text-stroke-bl, .text-stroke-br { color: #000; } /* End Typography & Colors */ *************** *** 244,251 **** <?php endif; ?> } - #headerimg h1, #headerimg .h1, #headerimg .description { padding-left: 15px; } - #main { background: url(images/<?php echo ($ie ? '1x1.gif' : 'bg'. ($mandigo_1024 ? '-1024' : '') .'.png'); ?>); <?php if ($ie): ?> --- 263,268 ---- *************** *** 329,369 **** border: 1px solid <?php echo $mandigo_sidebars_bdcolor; ?>; padding: 5px; } - /* End Structure */ - ! ! /* Begin Headers */ ! h1, .h1 { padding-top: <?php echo ($mandigo_small_title ? 25 : 15); ?>px; } ! ! h2.pagetitle { margin-top: 30px; text-align: center; } ! .sidebars h2 { margin: 5px 0 0 0; } ! ! h3.comments { margin: 40px auto 20px; } ! ! h1, h6 { ! position: absolute; ! z-index: 100; } ! .h1, .h6 { color: #000; } ! .text-shadow { position: absolute; top: +2px; left: +2px; color: #333; } .text-stroke-tl { position: absolute; top: -1px; left: -1px; } .text-stroke-tr { position: absolute; top: -1px; left: +1px; } .text-stroke-bl { position: absolute; top: +1px; left: -1px; } .text-stroke-br { position: absolute; top: +1px; left: +1px; } - #headerimg .description, .h6 { - padding-top: 60px; - padding-left: 15px; - font-weight: bold; - } - /* End Headers */ /* Begin Images */ --- 346,375 ---- border: 1px solid <?php echo $mandigo_sidebars_bdcolor; ?>; padding: 5px; } ! .pagetitle { margin-top: 30px; text-align: center; } ! .post .pagetitle { ! margin-top: inherit; ! text-align: left; ! font-size: 1.5em; } ! .sidebars .widgettitle { margin: 5px 0 0 0; } ! .comments { margin: 40px auto 20px; } ! ! .text-shadow { position: absolute; top: +2px; left: +2px; z-index: 98; } .text-stroke-tl { position: absolute; top: -1px; left: -1px; } .text-stroke-tr { position: absolute; top: -1px; left: +1px; } .text-stroke-bl { position: absolute; top: +1px; left: -1px; } .text-stroke-br { position: absolute; top: +1px; left: +1px; } + .text-stroke-tl, .text-stroke-tr, .text-stroke-bl, .text-stroke-br { z-index: 99; } + /* End Structure */ /* Begin Images */ *************** *** 379,385 **** <?php endif; ?> } ! img.nofloat, .smallattachment img, .attachment img, .entry img.wp-smiley { float: none; } .entry img.wp-smiley { border: 0; --- 385,391 ---- <?php endif; ?> } ! img.nofloat, img.nowrap, .nofloat img, .nowrap img, .smallattachment img, .attachment img, .entry img.wp-smiley { float: none; } .entry img.wp-smiley { border: 0; *************** *** 411,416 **** --- 417,423 ---- /* End Images */ + /* Begin Lists */ ol, ul { padding: 0 0 0 20px; } *************** *** 461,466 **** --- 468,474 ---- /* End Entry Lists */ + /* Begin Form Elements */ #searchform { margin: 0 auto; *************** *** 578,584 **** margin: <?php echo ($ie||$ie7||$safari ? ($ie7 ? 0 : '1.5em') .' 0 -1.5em 0' : 0); ?>; position: relative; } ! /* end */ #wp-calendar #next a { padding-right: 10px; --- 586,592 ---- margin: <?php echo ($ie||$ie7||$safari ? ($ie7 ? 0 : '1.5em') .' 0 -1.5em 0' : 0); ?>; position: relative; } ! /* end dirty fix */ #wp-calendar #next a { padding-right: 10px; *************** *** 610,615 **** --- 618,624 ---- /* End Calendar */ + /* Begin Various Tags & Classes */ acronym, abbr, span.caps { cursor: help; } *************** *** 704,710 **** .postinfo { padding-bottom: 1em; } ! .postinfo h2, .postinfo h3 { line-height: .9em; } .head_overlay { background: url(images/<?php echo ($ie ? '1x1.gif' : 'head_overlay.png'); ?>); --- 713,719 ---- .postinfo { padding-bottom: 1em; } ! .postinfo .posttitle { line-height: .9em; } .head_overlay { background: url(images/<?php echo ($ie ? '1x1.gif' : 'head_overlay.png'); ?>); *************** *** 740,751 **** /* RTL scripts support */ .pages, #content, .sidebars, #footer { direction: rtl; } ! #headerimg h1, #headerimg .h1, #headerimg h6, #headerimg .h6, #headerimg .description { width: <?php echo (737+224*$mandigo_1024-15); ?>px; text-align: right; padding-left: 0; } - h6 { position: relative; } .calborder { float: right; --- 749,761 ---- /* RTL scripts support */ .pages, #content, .sidebars, #footer { direction: rtl; } ! .blogname, .blogdesc { width: <?php echo (737+224*$mandigo_1024-15); ?>px; text-align: right; padding-left: 0; + margin-left: 0; + margin-right: 15px; } .calborder { float: right; *************** *** 792,798 **** list-style-type: none; } ! .sidebars>li h2 { background-image: url(images/<?php echo $mandigo_scheme; ?>/star.gif); background-repeat: no-repeat; background-position: top right; --- 802,808 ---- list-style-type: none; } ! .sidebars>li .widgettitle { background-image: url(images/<?php echo $mandigo_scheme; ?>/star.gif); background-repeat: no-repeat; background-position: top right; *************** *** 806,809 **** .sidebars ul, .sidebars ol { margin: 5px 5px 0 0; } .sidebars ul ul, .sidebars ol { margin: 0 10px 0 0; } ! <?php endif; ?> --- 816,834 ---- .sidebars ul, .sidebars ol { margin: 5px 5px 0 0; } .sidebars ul ul, .sidebars ol { margin: 0 10px 0 0; } ! <?php ! endif; ! // end of rtl scripts specific rules ! ?> ! ! ! ! ! ! ! ! ! ! ! ! diff -c mandigo-1.24/teal.css mandigo-1.25/teal.css *** mandigo-1.24/teal.css 2007-03-08 12:39:12.000000000 -0500 --- mandigo-1.25/teal.css 2007-08-11 09:32:36.000000000 -0400 *************** *** 1,5 **** a, a:hover, .entry p a:visited { color: #007062; } ! h2 a:hover, h3 a:hover { color: #00BA9D; } .entry p a { border-bottom: 1px dotted #206E01; } .entry p a:hover { border-bottom: 1px solid #206E01; text-decoration: none; } #wp-calendar a { font-weight: bold; } --- 1,5 ---- a, a:hover, .entry p a:visited { color: #007062; } ! .posttitle a:hover { color: #00BA9D; } .entry p a { border-bottom: 1px dotted #206E01; } .entry p a:hover { border-bottom: 1px solid #206E01; text-decoration: none; } #wp-calendar a { font-weight: bold; }