diff -c mandigo-1.23/README.txt mandigo-1.24/README.txt
*** mandigo-1.23/README.txt 2007-06-18 12:40:18.000000000 -0400
--- mandigo-1.24/README.txt 2007-07-12 14:47:02.000000000 -0400
***************
*** 181,193 ****
Maltese: James Cauchi
Norwegian: Torbjorn Blystad
Polish: Mateusz Baran
! Portuguese: Oscar Nogueira Neto
Russian: Michael Dolgov
Serbian: Aleksandar Duric
Slovak: Marek, Marian Trnka
Spanish: Juan Luis Perez Perez
Swedish: Ulf Wrede, Johan
Turkish: Mert Yabul
.po files are available at http://www.onehertz.com/portfolio/wordpress/mandigo/l10n/
--- 181,195 ----
Maltese: James Cauchi
Norwegian: Torbjorn Blystad
Polish: Mateusz Baran
! Portuguese (PT): Rodrigo Neves
! Portuguese (BR): Oscar Nogueira Neto
Russian: Michael Dolgov
Serbian: Aleksandar Duric
Slovak: Marek, Marian Trnka
Spanish: Juan Luis Perez Perez
Swedish: Ulf Wrede, Johan
Turkish: Mert Yabul
+ Ukrainian: Gabriel Korzhos
.po files are available at http://www.onehertz.com/portfolio/wordpress/mandigo/l10n/
***************
*** 208,213 ****
--- 210,230 ----
=== CHANGELOG ==========================================================================
+ 1.24
+ + language: Portuguese (pt_PT)
+ + language: Ukrainian (ua_UA)
+ + added an option to not show any sidebar at all (1-column layout)
+ + added a field to select the background pattern from a list rather than type its name
+ + added options to change the sidebars/posts background & border colors
+ + added an option to display allowed XHTML tags above the comment field
+ + added an option to align images to the right
+ + added an option to disable justify alignment
+ * 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
+ language: Arabic (ar)
+ language: Catalan (ca_ES)
diff -c mandigo-1.23/archive.php mandigo-1.24/archive.php
*** mandigo-1.23/archive.php 2007-06-08 13:53:24.000000000 -0400
--- mandigo-1.24/archive.php 2007-07-12 14:37:26.000000000 -0400
***************
*** 1,7 ****
--- 1,7 ----
***************
*** 35,42 ****
--- 35,42 ----
***************
*** 50,56 ****
! '. get_the_author() .'',get_the_category_list(', ')) ?> '. __('Edit','mandigo'), ' - ', ''); ?>
--- 50,56 ----
! '. __('Edit','mandigo'), ' - ', ''); ?>
***************
*** 64,71 ****
--- 64,71 ----
***************
*** 78,85 ****
--- 5,12 ----
?>
***************
*** 30,37 ****
!
--- 90,98 ----
!
!
XHTML: You can use these tags:
!
diff -c mandigo-1.23/footer.php mandigo-1.24/footer.php
*** mandigo-1.23/footer.php 2007-06-14 21:50:38.000000000 -0400
--- mandigo-1.24/footer.php 2007-07-12 09:58:42.000000000 -0400
***************
*** 28,35 ****
WordPress','mandigo'); ?>,
Mandigo theme by tom.
!
!
.
queries. seconds.
--- 28,35 ----
WordPress','mandigo'); ?>,
Mandigo theme by tom.
!
!
.
queries. seconds.
diff -c mandigo-1.23/functions.php mandigo-1.24/functions.php
*** mandigo-1.23/functions.php 2007-06-18 12:38:30.000000000 -0400
--- mandigo-1.24/functions.php 2007-07-12 14:45:02.000000000 -0400
***************
*** 19,24 ****
--- 19,29 ----
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_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']);
***************
*** 57,63 ****
$options = get_option('widget_meta');
?>
!
--- 62,68 ----
$options = get_option('widget_meta');
?>
!
***************
*** 76,81 ****
--- 81,91 ----
+ 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 ''. $author_nicename .' ';
+ return $author_nicename;
+ }
// ADMIN
add_action('admin_menu', 'add_mandigo_options_page');
***************
*** 87,96 ****
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_set_bgcolor($value) {
if (!preg_match("/^#/",$value)) $value = '#'. $value;
! if (!preg_match("/^#[0-9A-F]{6}$/i",$value)) $value = '#44484F';
! update_option('mandigo_bgcolor',$value);
}
function mandigo_escape($string) {
$string = str_replace('\\"','"',$string);
--- 97,106 ----
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;
! return $value;
}
function mandigo_escape($string) {
$string = str_replace('\\"','"',$string);
***************
*** 109,115 ****
}
mandigo_set_var('exclude_pages' ,implode(",",$exclude) );
! mandigo_set_bgcolor($_POST['bgcolor']);
mandigo_set_var('dates' ,$_POST['dates'] );
mandigo_set_var('scheme' ,$_POST['scheme'] );
mandigo_set_var('wp' ,$_POST['wp'] );
--- 119,129 ----
}
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'] );
***************
*** 119,125 ****
mandigo_set_var('1024' ,$_POST['wide'] );
mandigo_set_var('nofloat' ,$_POST['nofloat'] );
mandigo_set_var('footer_stats' ,$_POST['footstats'] );
! mandigo_set_var('3columns' ,$_POST['col3'] );
mandigo_set_var('sidebar1_left' ,$_POST['sidebar1'] );
mandigo_set_var('sidebar2_left' ,$_POST['sidebar2'] );
mandigo_set_var('headnav_left' ,$_POST['headnavleft'] );
--- 133,140 ----
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'] );
***************
*** 140,145 ****
--- 155,163 ----
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'] ));
***************
*** 166,171 ****
--- 184,196 ----
}
}
+ $patternsdir = opendir(TEMPLATEPATH.'/images/patterns/');
+ while (false !== ($file = readdir($patternsdir))) {
+ if (preg_match("/\.(?:jpe?g|png|gif|bmp)$/i",$file)) {
+ $patterns .= ''. $file .' ';
+ }
+ }
+
echo '
Are you using the latest version? - If you enjoy Mandigo, please consider making a donation.
***************
*** 193,199 ****
images/patterns/
!
--- 218,226 ----
images/patterns/
!
! '.$patterns.'
!
***************
*** 221,234 ****
Layout Options
Use the 1024px theme look instead of the default 800px one
! 3-column layout (previous option must be enabled)
! Show sidebars even in single post view
Sidebars position
+
+ Colors
+
+
Layout Options
Use the 1024px theme look instead of the default 800px one
! Show sidebars even in single post view
!
! Columns:
! 1 column (no sidebar at all)
! 2 columns (1 sidebar, default)
! 3 columns (2 sidebars, 1024px must be selected)
!
!
Sidebars position
***************
*** 248,253 ****
--- 302,308 ----
+
Header Options
***************
*** 276,281 ****
--- 331,337 ----
'. $pages_select .'
+
SEO Options
***************
*** 310,321 ****
--- 366,379 ----
+
Miscellaneous Options
Images
Do not wrap text around images
+ Float images to the right (requires text wrapping)
Display images without a border
Readability
***************
*** 325,334 ****
dd/mm/yyyy
month/dd/yyyy
! Really miscellaneous options
! Display full search results, not just titles and metadata
Highlight comments made by the author of the current post
Number comments
Display rendering time and SQL statistics in the footer
Display <em> tags as italics
--- 383,396 ----
dd/mm/yyyy
month/dd/yyyy
!
Comments
Highlight comments made by the author of the current post
Number comments
+
Display allowed XHTML tags above the comment field
+
+
Really miscellaneous options
+
Align post content to the left instead of using justify alignment
+
Display full search results, not just titles and metadata
Display rendering time and SQL statistics in the footer
Display <em> tags as italics
diff -c mandigo-1.23/header.php mandigo-1.24/header.php
*** mandigo-1.23/header.php 2007-06-18 11:40:08.000000000 -0400
--- mandigo-1.24/header.php 2007-07-12 10:22:00.000000000 -0400
***************
*** 47,53 ****
elseif (get_option('mandigo_headers_random')) {
$headersdir = opendir(TEMPLATEPATH.'/images/headers/');
while (false !== ($file = readdir($headersdir))) {
! if (preg_match("/\.(?:jpe?g|png|gif|bmp)$/",$file)) $headers[] = $file;
}
if (sizeof($headers)) {
$noheaderimg = 1;
--- 47,53 ----
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;
Common subdirectories: mandigo-1.23/images and mandigo-1.24/images
diff -c mandigo-1.23/index.php mandigo-1.24/index.php
*** mandigo-1.23/index.php 2007-06-06 14:36:28.000000000 -0400
--- mandigo-1.24/index.php 2007-07-12 12:04:18.000000000 -0400
***************
*** 1,7 ****
--- 1,7 ----
***************
*** 27,33 ****
! '. get_the_author() .'',get_the_category_list(', ')) ?> ', ''); ?>
--- 27,33 ----
! ', ''); ?>
***************
*** 59,66 ****
--- 1,7 ----
***************
*** 23,30 ****
--- 1,7 ----
***************
*** 12,19 ****
--- 12,19 ----
***************
*** 30,43 ****
!
'. get_the_author() .'',get_the_category_list(', ')) ?> |
--- 30,43 ----
! |
***************
*** 50,57 ****
--- 13,20 ----
***************
*** 27,33 ****
! '. get_the_author() .'',get_the_category_list(', ')) ?>
--- 27,33 ----
!
***************
*** 76,83 ****
table, .narrowcolumn { width: 100%; }
.narrowcolumn, .widecolumn, #sidebar1, #sidebar2 {
vertical-align: top;
--- 255,263 ----
padding: 9px 15px;
}
! #main>table { width: 100%; }
!
! .narrowcolumn { width: 100%; }
.narrowcolumn, .widecolumn, #sidebar1, #sidebar2 {
vertical-align: top;
***************
*** 268,278 ****
.post {
clear: both;
! text-align: justify;
padding: 5px 15px;
margin: 0 auto 9px auto;
! background: #fafafa;
! border: 1px solid #eee;
height: 1%; /* peekaboo */
}
--- 282,292 ----
.post {
clear: both;
! text-align: ;
padding: 5px 15px;
margin: 0 auto 9px auto;
! background: ;
! border: 1px solid ;
height: 1%; /* peekaboo */
}
***************
*** 311,318 ****
.sidebars {
width: 210px;
! background: #eee;
! border: 1px solid #ddd;
padding: 5px;
}
/* End Structure */
--- 325,332 ----
.sidebars {
width: 210px;
! background: ;
! border: 1px solid ;
padding: 5px;
}
/* End Structure */
***************
*** 356,363 ****
p img { max-width: 95%; }
.entry img {
! float: ;
! margin: 3px 10px 3px 0;
background: #fff;
border: 1px solid #333;
--- 370,377 ----
p img { max-width: 95%; }
.entry img {
! float: ;
! margin: 3px px 3px px;
background: #fff;
border: 1px solid #333;
***************
*** 549,555 ****
/* Begin Calendar */
#wp-calendar {
empty-cells: show;
! margin: 0 !important; margin-top: -1.5em;
width: 155px;
}
--- 563,569 ----
/* Begin Calendar */
#wp-calendar {
empty-cells: show;
! margin: 0 !important; margin-top: -1.5em;
width: 155px;
}
***************
*** 742,749 ****
.narrowcolumn .postmetadata, #content #searchform, #respond, #commentform p, .sidebars, #wp-calendar caption { text-align: right; }
.entry img {
! float: ;
! margin: 3px 0 3px 10px;
}
#commentform input { margin: 5px 0 1px 5px; }
--- 756,763 ----
.narrowcolumn .postmetadata, #content #searchform, #respond, #commentform p, .sidebars, #wp-calendar caption { text-align: right; }
.entry img {
! float: ;
! margin: 3px px 3px px;
}
#commentform input { margin: 5px 0 1px 5px; }
Binary files mandigo-1.23/tr_TR.mo and mandigo-1.24/tr_TR.mo differ
Only in mandigo-1.24: ua_UA.mo