From 4dc22b8a645c3188d57d95b992622d0ae19b9c34 Mon Sep 17 00:00:00 2001 From: Nigel Osborne Date: Sun, 12 Sep 2010 05:36:56 +0000 Subject: Make two list images themable --- includes/functions/functions_print_lists.php | 18 +++++++++--------- themes/clouds/theme.php | 2 ++ themes/colors/theme.php | 3 ++- themes/fab/theme.php | 2 ++ themes/minimal/theme.php | 2 ++ themes/webtrees/theme.php | 2 ++ themes/xenea/theme.php | 2 ++ 7 files changed, 21 insertions(+), 10 deletions(-) diff --git a/includes/functions/functions_print_lists.php b/includes/functions/functions_print_lists.php index bedc295735..40be0e4c14 100644 --- a/includes/functions/functions_print_lists.php +++ b/includes/functions/functions_print_lists.php @@ -114,11 +114,11 @@ function print_indi_table($datalist, $legend="", $option="") { echo "SURN"; if ($option=="sosa") echo "Sosa"; echo "", translate_fact('BIRT'), ""; - if ($tiny) echo "\"","; + if ($tiny) echo "\"","; echo "", translate_fact('PLAC'), ""; - if ($tiny) echo "\"","; + if ($tiny) echo "\"","; echo "", translate_fact('DEAT'), ""; - if ($tiny) echo "\"","; + if ($tiny) echo "\"","; echo "", translate_fact('AGE'), ""; echo "", translate_fact('PLAC'), ""; if ($tiny && $SHOW_LAST_CHANGE) echo "", translate_fact('CHAN'), ""; @@ -490,9 +490,9 @@ function print_fam_table($datalist, $legend="", $option="") { echo "WIFE:GIVN"; echo "", translate_fact('AGE'), ""; echo "", translate_fact('MARR'), ""; - if ($tiny) echo "\"","; + if ($tiny) echo "\"","; echo "", translate_fact('PLAC'), ""; - if ($tiny) echo "\"","; + if ($tiny) echo "\"","; if ($tiny && $SHOW_LAST_CHANGE) echo "", translate_fact('CHAN'), ""; echo "MARR"; echo "DEAT"; @@ -1079,7 +1079,7 @@ function print_media_table($datalist, $legend="") { echo ""; echo "getLinkUrl()), "\" class=\"list_item name2\">"; if ($media->canDisplayDetails()) - echo ' '; + echo ' '; echo PrintReady($name), ""; if ($SHOW_MEDIA_FILENAME || WT_USER_IS_ADMIN) echo "
getLinkUrl()), "\">", basename($media->file), ""; @@ -1321,7 +1321,7 @@ function format_surname_list($surnames, $style, $totals) { $newcol=ceil($count/$col); $html2 =''; $html2.='
'; - + foreach ($html as $surn=>$surns) { $html2.= $surns.'
'; $i++; @@ -1331,7 +1331,7 @@ function format_surname_list($surnames, $style, $totals) { } } $html2.='
'; - + return $html2; } } @@ -1483,7 +1483,7 @@ function print_events_table($startjd, $endjd, $events='BIRT MARR DEAT', $only_li $return .= "".i18n::translate('Record').""; $return .= "GIVN"; $return .= "".translate_fact('DATE').""; - $return .= "\"".i18n::translate('Anniversary')."\""; + $return .= "\"".i18n::translate('Anniversary')."\""; $return .= "".translate_fact('EVEN').""; $return .= "\n"; } diff --git a/themes/clouds/theme.php b/themes/clouds/theme.php index 4543135e7f..b52f00dbab 100644 --- a/themes/clouds/theme.php +++ b/themes/clouds/theme.php @@ -172,6 +172,8 @@ $WT_IMAGES['default_image_F'] = WT_THEME_DIR.'images/silhouette_female.gif'; $WT_IMAGES['default_image_U'] = WT_THEME_DIR.'images/silhouette_unknown.gif'; $WT_IMAGES['slide_open'] = WT_THEME_DIR.'images/open.png'; $WT_IMAGES['slide_close'] = WT_THEME_DIR.'images/close.png'; +$WT_IMAGES['reminder'] = 'images/reminder.gif'; +$WT_IMAGES['children'] = 'images/children.gif'; // - lifespan chart arrows $WT_IMAGES['lsltarrow'] = WT_THEME_DIR.'images/lsltarrow.gif'; diff --git a/themes/colors/theme.php b/themes/colors/theme.php index 711cebf17c..2dea3f1d5e 100644 --- a/themes/colors/theme.php +++ b/themes/colors/theme.php @@ -231,7 +231,8 @@ $WT_IMAGES['vline'] = WT_THEME_DIR.'images/vline.gif'; $WT_IMAGES['webtrees'] = WT_THEME_DIR.'images/webtrees.png'; $WT_IMAGES['zoomin'] = WT_THEME_DIR.'images/zoomin.gif'; $WT_IMAGES['zoomout'] = WT_THEME_DIR.'images/zoomout.gif'; - +$WT_IMAGES['reminder'] = 'images/reminder.gif'; +$WT_IMAGES['children'] = 'images/children.gif'; // - lifespan chart arrows $WT_IMAGES['lsltarrow'] = WT_THEME_DIR.'images/lsltarrow.gif'; diff --git a/themes/fab/theme.php b/themes/fab/theme.php index d9ce3ea73a..3fa9b84dbc 100644 --- a/themes/fab/theme.php +++ b/themes/fab/theme.php @@ -160,6 +160,8 @@ $WT_IMAGES['default_image_F'] = WT_THEME_DIR.'images/silhouette_female.gif'; $WT_IMAGES['default_image_U'] = WT_THEME_DIR.'images/silhouette_unknown.gif'; $WT_IMAGES['slide_open'] = WT_THEME_DIR.'images/open.png'; $WT_IMAGES['slide_close'] = WT_THEME_DIR.'images/close.png'; +$WT_IMAGES['reminder'] = 'images/reminder.gif'; +$WT_IMAGES['children'] = 'images/children.gif'; //-- Variables for the Fan chart $fanChart = array( diff --git a/themes/minimal/theme.php b/themes/minimal/theme.php index cc05a54f84..5198a780bb 100644 --- a/themes/minimal/theme.php +++ b/themes/minimal/theme.php @@ -134,6 +134,8 @@ $WT_IMAGES['default_image_F'] = WT_THEME_DIR.'images/silhouette_female.gif'; $WT_IMAGES['default_image_U'] = WT_THEME_DIR.'images/silhouette_unknown.gif'; $WT_IMAGES['slide_open'] = WT_THEME_DIR.'images/open.png'; $WT_IMAGES['slide_close'] = WT_THEME_DIR.'images/close.png'; +$WT_IMAGES['reminder'] = 'images/reminder.gif'; +$WT_IMAGES['children'] = 'images/children.gif'; // - lifespan chart arrows $WT_IMAGES['lsltarrow'] = WT_THEME_DIR.'images/lsltarrow.gif'; diff --git a/themes/webtrees/theme.php b/themes/webtrees/theme.php index 9b71eaa5bd..e1ef784d75 100644 --- a/themes/webtrees/theme.php +++ b/themes/webtrees/theme.php @@ -162,6 +162,8 @@ $WT_IMAGES['default_image_F'] = WT_THEME_DIR.'images/silhouette_female.gif'; $WT_IMAGES['default_image_U'] = WT_THEME_DIR.'images/silhouette_unknown.gif'; $WT_IMAGES['slide_open'] = WT_THEME_DIR.'images/open.png'; $WT_IMAGES['slide_close'] = WT_THEME_DIR.'images/close.png'; +$WT_IMAGES['reminder'] = 'images/reminder.gif'; +$WT_IMAGES['children'] = 'images/children.gif'; // - lifespan chart arrows $WT_IMAGES['lsltarrow'] = WT_THEME_DIR.'images/lsltarrow.gif'; diff --git a/themes/xenea/theme.php b/themes/xenea/theme.php index 76d278df44..db26335240 100644 --- a/themes/xenea/theme.php +++ b/themes/xenea/theme.php @@ -161,6 +161,8 @@ $WT_IMAGES['default_image_F'] = WT_THEME_DIR.'images/silhouette_female.gif'; $WT_IMAGES['default_image_U'] = WT_THEME_DIR.'images/silhouette_unknown.gif'; $WT_IMAGES['slide_open'] = WT_THEME_DIR.'images/open.png'; $WT_IMAGES['slide_close'] = WT_THEME_DIR.'images/close.png'; +$WT_IMAGES['reminder'] = 'images/reminder.gif'; +$WT_IMAGES['children'] = 'images/children.gif'; // - lifespan chart arrows $WT_IMAGES['lsltarrow'] = WT_THEME_DIR.'images/lsltarrow.gif'; -- cgit v1.3