diff -c mandigo-1.18/README.txt mandigo-1.19/README.txt *** mandigo-1.18/README.txt 2007-04-29 17:57:46.000000000 -0400 --- mandigo-1.19/README.txt 2007-05-08 18:13:10.000000000 -0400 *************** *** 46,52 **** 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 --- 46,70 ---- 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. 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 ! widgets), or recent posts/comments. ! ! If you're still not using widgets (you should!), you can find more information about ! them here: http://automattic.com/code/widgets/ ! ! ! === HEADER IMAGES ====================================================================== ! ! * Replacing Default 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 *************** *** 63,82 **** 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 ! widgets), or recent posts/comments. ! ! If you're still not using widgets (you should!), you can find more information about ! them here: http://automattic.com/code/widgets/ === LOCALIZATION ======================================================================= --- 81,90 ---- 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. ! * Random Header Images: ! If the "Use random header images" option is enabled in the Theme Options page, AND a ! per-page header could not be found, Mandigo will use a random file from the ! images/headers/ folder. Valid file types are JPG, GIF, PNG and BMP. === LOCALIZATION ======================================================================= *************** *** 147,152 **** --- 155,165 ---- === CHANGELOG ========================================================================== + 1.19 + + added an option to use random header images + * fixed an incompatibility with older versions of MySQL + * fixed an incompatibility with WordPress-MU + 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 diff -c mandigo-1.18/functions.php mandigo-1.19/functions.php *** mandigo-1.18/functions.php 2007-04-29 17:47:52.000000000 -0400 --- mandigo-1.19/functions.php 2007-05-08 18:10:50.000000000 -0400 *************** *** 123,128 **** --- 123,129 ---- mandigo_set_bool('mandigo_always_show_sidebars',$_POST['alwayssidebars']); mandigo_set_bool('mandigo_em_italics' ,$_POST['em'] ); mandigo_set_bool('mandigo_stroke' ,$_POST['stroke'] ); + mandigo_set_bool('mandigo_headers_random' ,$_POST['randomheaders'] ); } $current = get_option('mandigo_scheme' ); $headoverlay = get_option('mandigo_headoverlay' ); *************** *** 142,147 **** --- 143,149 ---- $alwayssidebars = get_option('mandigo_always_show_sidebars' ); $em = get_option('mandigo_em_italics' ); $stroke = get_option('mandigo_stroke' ); + $randomheaders = get_option('mandigo_headers_random' ); $pages = & get_pages('sort_column=menu_order'); foreach ( $pages as $page ) { *************** *** 158,169 ****