diff -c mandigo-1.10/README.txt mandigo-1.11/README.txt
*** mandigo-1.10/README.txt 2007-02-21 19:59:20.000000000 -0500
--- mandigo-1.11/README.txt 2007-02-25 22:10:44.000000000 -0500
***************
*** 86,91 ****
--- 86,94 ----
Dutch: Ramsy de Vos
German: Michael Nickel
Italian: Sebastiano Cannata
+ Japanese: Mitsuhiro Kanda
+ Norwegian: Torbjorn Blystad
+ Spanish: Juan Luis Perez Perez
Swedish: Ulf Wrede
Turkish: Mert Yabul
***************
*** 106,111 ****
--- 109,122 ----
=== CHANGELOG ==========================================================================
+ 1.11
+ + added an option to prevent images from float'ing
+ + added an option to display stats (queries+rendering time) in the footer
+ + language: Japanese (ja_EUC)
+ + language: Norwegian (nb_NO)
+ + language: Spanish (es_ES)
+ * fixed not translated 'previous/next entries' links in index.php
+
1.10
+ Mandigo is now fully localizable
+ language: Dutch (nl_NL)
Only in mandigo-1.11: es_ES.mo
diff -c mandigo-1.10/footer.php mandigo-1.11/footer.php
*** mandigo-1.10/footer.php 2007-02-16 17:17:36.000000000 -0500
--- mandigo-1.11/footer.php 2007-02-25 22:07:45.000000000 -0500
***************
*** 15,21 ****
=__('Powered by WordPress','mandigo')?>, Mandigo theme by tom.
=__('Entries (RSS)','mandigo')?>
=__('and','mandigo')?>
=__('Comments (RSS)','mandigo')?>.
!
--- 15,23 ----
=__('Powered by WordPress','mandigo')?>, Mandigo theme by tom.
=__('Entries (RSS)','mandigo')?>
=__('and','mandigo')?>
=__('Comments (RSS)','mandigo')?>.
!
!
queries. seconds.
!
diff -c mandigo-1.10/functions.php mandigo-1.11/functions.php
*** mandigo-1.10/functions.php 2007-02-16 16:30:48.000000000 -0500
--- mandigo-1.11/functions.php 2007-02-25 22:07:07.000000000 -0500
***************
*** 69,85 ****
add_action('admin_menu', 'add_mandigo_readme_page');
function add_mandigo_options_page() { add_theme_page('Theme Options', 'Theme Options', 'edit_themes', basename(__FILE__), 'mandigo_options_page'); }
function add_mandigo_readme_page() { add_theme_page('README', 'README', 'switch_themes', '', 'mandigo_readme_page'); }
! function mandigo_set_scheme($var) { update_option('mandigo_scheme', $var); }
! function mandigo_set_scheme_random($var) { update_option('mandigo_scheme_random', $var); }
! function mandigo_set_overlay($var) { update_option('mandigo_headoverlay', $var); }
! function mandigo_set_dates($var) { update_option('mandigo_dates', $var); }
! function mandigo_set_exclude_pages($var) { update_option('mandigo_exclude_pages', $var); }
! function mandigo_set_bold_links($var) { update_option('mandigo_bold_links', $var); }
! function mandigo_set_1024($var) { update_option('mandigo_1024', $var); }
! function mandigo_set_bgcolor($var) {
! if (!preg_match("/^#?[0-9A-F]{6}$/i",$var)) { $var = '#44484F'; }
! if (!preg_match("/^#/",$var)) { $var = '#'. $var; }
! update_option('mandigo_bgcolor',$var);
}
function mandigo_options_page() {
--- 69,82 ----
add_action('admin_menu', 'add_mandigo_readme_page');
function add_mandigo_options_page() { add_theme_page('Theme Options', 'Theme Options', 'edit_themes', basename(__FILE__), 'mandigo_options_page'); }
function add_mandigo_readme_page() { add_theme_page('README', 'README', 'switch_themes', '', 'mandigo_readme_page'); }
! function mandigo_set_scheme($value) { update_option('mandigo_scheme', $value); }
! function mandigo_set_bool($var,$value) { update_option($var, $value); }
! function mandigo_set_dates($value) { update_option('mandigo_dates', $value); }
! function mandigo_set_exclude_pages($value) { update_option('mandigo_exclude_pages', $value); }
! function mandigo_set_bgcolor($value) {
! if (!preg_match("/^#?[0-9A-F]{6}$/i",$value)) { $value = '#44484F'; }
! if (!preg_match("/^#/",$value)) { $value = '#'. $value; }
! update_option('mandigo_bgcolor',$value);
}
function mandigo_options_page() {
***************
*** 88,104 ****
if (isset($_POST['changedscheme'])) {
mandigo_set_scheme($_POST['scheme']);
- mandigo_set_scheme_random($_POST['random']);
- mandigo_set_overlay($_POST['headoverlay']);
mandigo_set_dates($_POST['dates']);
$exclude[] = '';
foreach ( $_POST as $field => $value ) {
if ( preg_match("/exclude_(\d+)/",$field,$id) ) { $exclude[] = $id[1]; }
}
mandigo_set_exclude_pages(implode(",",$exclude));
- mandigo_set_bold_links($_POST['boldlinks']);
mandigo_set_bgcolor($_POST['bgcolor']);
! mandigo_set_1024($_POST['wide']);
}
$current = get_option('mandigo_scheme');
$headoverlay = get_option('mandigo_headoverlay');
--- 85,103 ----
if (isset($_POST['changedscheme'])) {
mandigo_set_scheme($_POST['scheme']);
mandigo_set_dates($_POST['dates']);
$exclude[] = '';
foreach ( $_POST as $field => $value ) {
if ( preg_match("/exclude_(\d+)/",$field,$id) ) { $exclude[] = $id[1]; }
}
mandigo_set_exclude_pages(implode(",",$exclude));
mandigo_set_bgcolor($_POST['bgcolor']);
! mandigo_set_bool('mandigo_scheme_random',$_POST['random'] );
! mandigo_set_bool('mandigo_headoverlay' ,$_POST['headoverlay']);
! mandigo_set_bool('mandigo_bold_links' ,$_POST['boldlinks'] );
! mandigo_set_bool('mandigo_1024' ,$_POST['wide'] );
! mandigo_set_bool('mandigo_nofloat' ,$_POST['nofloat'] );
! mandigo_set_bool('mandigo_footer_stats' ,$_POST['footstats'] );
}
$current = get_option('mandigo_scheme');
$headoverlay = get_option('mandigo_headoverlay');
***************
*** 107,112 ****
--- 106,113 ----
$boldlinks = get_option('mandigo_bold_links');
$bgcolor = get_option('mandigo_bgcolor');
$wide = get_option('mandigo_1024');
+ $nofloat = get_option('mandigo_nofloat');
+ $footstats = get_option('mandigo_footer_stats');
$pages = & get_pages('sort_column=menu_order');
foreach ( $pages as $page ) {
***************
*** 154,160 ****
dd/mm/yyyy
! month/dd/yyyy
--- 155,165 ----
dd/mm/yyyy
! month/dd/yyyy
!
!
! Do not float images
! Display rendering time and SQL statistics in the footer
diff -c mandigo-1.10/header.php mandigo-1.11/header.php
*** mandigo-1.10/header.php 2007-02-18 14:47:38.000000000 -0500
--- mandigo-1.11/header.php 2007-02-25 22:02:15.000000000 -0500
***************
*** 32,38 ****
}
?>
--- 32,37 ----
Common subdirectories: mandigo-1.10/images and mandigo-1.11/images
diff -c mandigo-1.10/index.php mandigo-1.11/index.php
*** mandigo-1.10/index.php 2007-02-16 15:31:36.000000000 -0500
--- mandigo-1.11/index.php 2007-02-23 16:07:20.000000000 -0500
***************
*** 28,35 ****
--- 28,35 ----
Only in mandigo-1.11: ja_EUC.mo
Only in mandigo-1.11: nb_NO.mo
diff -c mandigo-1.10/sidebar.php mandigo-1.11/sidebar.php
*** mandigo-1.10/sidebar.php 2007-02-20 16:50:10.000000000 -0500
--- mandigo-1.11/sidebar.php 2007-02-25 13:02:00.000000000 -0500
***************
*** 25,31 ****
! '. __('Pages','mandigo') .'' ); ?>
=__('Categories','mandigo')?>
--- 25,31 ----
! ''. __('Pages','mandigo') .'
')); ?>
=__('Categories','mandigo')?>
diff -c mandigo-1.10/style.css mandigo-1.11/style.css
*** mandigo-1.10/style.css 2007-02-15 21:18:16.000000000 -0500
--- mandigo-1.11/style.css 2007-02-21 20:13:18.000000000 -0500
***************
*** 2,8 ****
Theme Name: Mandigo
Theme URI: http://www.onehertz.com/portfolio/wordpress/
Description: Mandigo is an elegant widget-ready two-column Wordpress theme, available in two widths and SEVEN color schemes!
! Version: 1.10
Author: t0mmmmmmm
Author URI: http://www.onehertz.com/portfolio/
*/
--- 2,8 ----
Theme Name: Mandigo
Theme URI: http://www.onehertz.com/portfolio/wordpress/
Description: Mandigo is an elegant widget-ready two-column Wordpress theme, available in two widths and SEVEN color schemes!
! Version: 1.11
Author: t0mmmmmmm
Author URI: http://www.onehertz.com/portfolio/
*/
diff -c mandigo-1.10/style.css.php mandigo-1.11/style.css.php
*** mandigo-1.10/style.css.php 2007-02-20 15:30:35.000000000 -0500
--- mandigo-1.11/style.css.php 2007-02-24 14:35:37.000000000 -0500
***************
*** 318,324 ****
}
.entry img {
! float: left;
margin: 3px 10px;
background: #fff;
border: 1px solid #333;
--- 318,324 ----
}
.entry img {
! float: =(get_option('mandigo_nofloat') ? 'none' : 'left')?>;
margin: 3px 10px;
background: #fff;
border: 1px solid #333;