diff -c mandigo-1.17/README.txt mandigo-1.18/README.txt *** mandigo-1.17/README.txt 2007-04-27 09:14:16.000000000 -0400 --- mandigo-1.18/README.txt 2007-04-29 17:57:46.000000000 -0400 *************** *** 46,64 **** The theme is available in seven different color schemes, which you can select from the Presentation, Theme Options subpanel in the Administration interface. If none of the headers satisfy your needs, just replace the contents of head.jpg in the images/ subfolder that corresponds to your current color scheme (i.e. the one you have set on the Theme Options page) with your own image. For best results, the image should be 737 pixels wide and 226 pixels high. If you are using the wide version of the theme, the image should be 961 pixels wide and should be saved as head-1024.jpg ! Images classes: - Images in posts are surrounded by a border by default. To override this behaviour, simply add the 'noborder' class to your img tags. - Images are also left-floated by default. To override this, add the 'nofloat' class to your img tags. ! 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 --- 46,75 ---- The theme is available in seven different color schemes, which you can select from the Presentation, Theme Options subpanel in the Administration interface. + * Header Images: If none of the headers satisfy your needs, just replace the contents of head.jpg in the images/ subfolder that corresponds to your current color scheme (i.e. the one you have set on the Theme Options page) with your own image. For best results, the image should be 737 pixels wide and 226 pixels high. If you are using the wide version of the theme, the image should be 961 pixels wide and should be saved as head-1024.jpg ! * Per-Page Header Images: ! If you want to have a different header image on a page, name it after the ID (not slug) ! of the page on which it should be displayed, and upload it to the images/headers/ folder ! eg 'images/headers/412.jpg' if you want a custom image for post/page #412. Images should ! be saved as JPG and use the dimensions mentionned above. You can retrieve a page's ID ! from the administration interface, under Manage, Posts/Page. If the script can't find a ! custom header image, the default one is used instead. If there is more than one post on ! a page (default view, archives, search, ...), the ID of the first post to appear on the ! page will be used to look for a header. ! ! * Image Classes: - Images in posts are surrounded by a border by default. To override this behaviour, simply add the 'noborder' class to your img tags. - Images are also left-floated by default. To override this, add the 'nofloat' class to your img tags. ! * 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 *************** *** 67,81 **** If you're still not using widgets (you should!), you can find more information about them here: http://automattic.com/code/widgets/ - 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 - - 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/search/?p=mandigo+theme - - Thank you for choosing Mandigo! - === LOCALIZATION ======================================================================= --- 78,83 ---- *************** *** 90,95 **** --- 92,110 ---- 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 ================================================================ Chinese: Charles Low *************** *** 132,137 **** --- 147,164 ---- === CHANGELOG ========================================================================== + 1.18 + + per-page headers: you can now have a different header image on each page, see README + + added an option to apply a black stroke to blog title and description for better + readibility on lighter header images + + added an option to restore the default background color + * images larger than the reading area are now resized upon loading + * fixed a bug that would cause the reading area background to not be completely shown + * fixed EM tags not being displayed as italics even if the option was enabled + * faster stylesheet serving: style.css.php now directly connects to the database instead + of relying on WP + * moved all browser-dependent content to style.css.php so that it's never cached + 1.17 + implemented HTML Inserts, a feature that will hopefully make updates easier * grammar fixes: Slovak (sk) diff -c mandigo-1.17/footer.php mandigo-1.18/footer.php *** mandigo-1.17/footer.php 2007-04-25 19:19:52.000000000 -0400 --- mandigo-1.18/footer.php 2007-04-29 16:08:52.000000000 -0400 *************** *** 31,42 **** --- 31,64 ---- diff -c mandigo-1.17/functions.php mandigo-1.18/functions.php *** mandigo-1.17/functions.php 2007-04-25 19:20:40.000000000 -0400 --- mandigo-1.18/functions.php 2007-04-29 17:47:52.000000000 -0400 *************** *** 21,26 **** --- 21,33 ---- else { $bgcolor = '#44484F'; update_option('mandigo_bgcolor', $bgcolor); } + + // some global vars + $ie = preg_match("/MSIE [4-6]/",$_SERVER['HTTP_USER_AGENT']); + $ie7 = preg_match("/MSIE 7/", $_SERVER['HTTP_USER_AGENT']); + + + // SEARCH WIDGET function widget_mandigo_search() { ?> *************** *** 115,120 **** --- 122,128 ---- mandigo_set_bool('mandigo_wptog' ,$_POST['wptog'] ); mandigo_set_bool('mandigo_always_show_sidebars',$_POST['alwayssidebars']); mandigo_set_bool('mandigo_em_italics' ,$_POST['em'] ); + mandigo_set_bool('mandigo_stroke' ,$_POST['stroke'] ); } $current = get_option('mandigo_scheme' ); $headoverlay = get_option('mandigo_headoverlay' ); *************** *** 133,138 **** --- 141,147 ---- $wp = get_option('mandigo_wp' ); $alwayssidebars = get_option('mandigo_always_show_sidebars' ); $em = get_option('mandigo_em_italics' ); + $stroke = get_option('mandigo_stroke' ); $pages = & get_pages('sort_column=menu_order'); foreach ( $pages as $page ) { *************** *** 142,148 **** echo '
!

Are you using the latest version? - Enjoy Mandigo? Please consider making a donation.

--- 151,157 ---- echo '
!

Are you using the latest version? - If you enjoy Mandigo, please consider making a donation.

*************** *** 162,171 **** purple   orange   teal

! I like them all, change schemes randomly!

! If you prefer to use your own header image with one of the color schemes, please consult the README page for instructions on how to do so.


! Background color:
Use the following file as the background pattern:
'. get_bloginfo('template_directory') .'/images/
--- 171,181 ---- purple   orange   teal

! I like them all, change schemes randomly!
!

If you prefer to use your own header image with one of the color schemes, please consult the README page for instructions on how to do so.

!

NEW: As of 1.18, it is also possible to use per-page header images. Consult the README page for more information.


! Background color: restore default

Use the following file as the background pattern:
'. get_bloginfo('template_directory') .'/images/
*************** *** 204,210 **** Miscellaneous Options
! Display all links in bold for better readability


dd/mm/yyyy   --- 214,221 ---- Miscellaneous Options
! Display all links in bold for better readability
! Apply a black stroke to blog name and blog description for better readibility on lighter header images


dd/mm/yyyy   diff -c mandigo-1.17/header.php mandigo-1.18/header.php *** mandigo-1.17/header.php 2007-04-25 19:14:42.000000000 -0400 --- mandigo-1.18/header.php 2007-04-29 17:43:54.000000000 -0400 *************** *** 9,20 **** ! --- 9,26 ---- ID .'.jpg')) { ! $noheaderimg = 1; ! $lastminutecss .= " #headerimg { background: url('". get_bloginfo('stylesheet_directory') ."/images/headers/". $post->ID .".jpg') bottom center no-repeat; }\n"; ! } ! $stroke = get_option('mandigo_stroke'); ?> ! *************** *** 25,46 **** } \n$lastminutecss\n"; ! } echo get_option('mandigo_inserts_header'); ?> "); ?>
--- 31,44 ---- } \n$lastminutecss\n"; echo get_option('mandigo_inserts_header'); ?> "); ?>
*************** *** 49,56 ****