diff options
| author | Nigel Osborne <kiwi3685@me.com> | 2010-09-30 22:28:00 +0000 |
|---|---|---|
| committer | Nigel Osborne <kiwi3685@me.com> | 2010-09-30 22:28:00 +0000 |
| commit | e45fcc5c65a8bf7ee6913cb5bdff9e99218e3eb5 (patch) | |
| tree | c4f24855f6e4ff4c794fe6f854a819f6b7cb1af3 | |
| parent | 9386e13d7efffc6f0bad9734321a9ebb49c447e1 (diff) | |
| download | webtrees-e45fcc5c65a8bf7ee6913cb5bdff9e99218e3eb5.tar.gz webtrees-e45fcc5c65a8bf7ee6913cb5bdff9e99218e3eb5.tar.bz2 webtrees-e45fcc5c65a8bf7ee6913cb5bdff9e99218e3eb5.zip | |
Make lat/long icon theme-able
| -rw-r--r-- | includes/functions/functions_edit.php | 2 | ||||
| -rw-r--r-- | themes/clouds/theme.php | 1 | ||||
| -rw-r--r-- | themes/colors/theme.php | 1 | ||||
| -rw-r--r-- | themes/fab/theme.php | 1 | ||||
| -rw-r--r-- | themes/minimal/theme.php | 1 | ||||
| -rw-r--r-- | themes/webtrees/theme.php | 1 | ||||
| -rw-r--r-- | themes/xenea/theme.php | 1 |
7 files changed, 7 insertions, 1 deletions
diff --git a/includes/functions/functions_edit.php b/includes/functions/functions_edit.php index 5f94cff2a7..567b98b815 100644 --- a/includes/functions/functions_edit.php +++ b/includes/functions/functions_edit.php @@ -1562,7 +1562,7 @@ function add_simple_tag($tag, $upperlevel='', $label='', $readOnly='', $noClose= print_specialchar_link($element_id, false); print_findplace_link($element_id); echo "</div>"; - echo "<a href=\"javascript:;\" onclick=\"toggle_lati_long();\"><img src=\"images/buttons/target.gif\" border=\"0\" align=\"middle\" alt=\"", translate_fact('LATI'), " / ", translate_fact('LONG'), "\" title=\"", translate_fact('LATI'), " / ", translate_fact('LONG'), "\" /></a>"; + echo "<a href=\"javascript:;\" onclick=\"toggle_lati_long();\"><img src=\"", $WT_IMAGES["target"], "\" border=\"0\" align=\"middle\" alt=\"", translate_fact('LATI'), " / ", translate_fact('LONG'), "\" title=\"", translate_fact('LATI'), " / ", translate_fact('LONG'), "\" /></a>"; if ($SPLIT_PLACES) { if (!function_exists("print_place_subfields")) { require WT_ROOT.'includes/functions/functions_places.php'; diff --git a/themes/clouds/theme.php b/themes/clouds/theme.php index 9baed6aecb..55470eebdc 100644 --- a/themes/clouds/theme.php +++ b/themes/clouds/theme.php @@ -98,6 +98,7 @@ $WT_IMAGES['search'] = WT_THEME_DIR.'images/search.gif'; $WT_IMAGES['sfamily'] = WT_THEME_DIR.'images/sfamily.gif'; $WT_IMAGES['source'] = WT_THEME_DIR.'images/source.gif'; $WT_IMAGES['statistic'] = WT_THEME_DIR.'images/statistic.gif'; +$WT_IMAGES['target'] = 'images/buttons/target.gif'; $WT_IMAGES['timeline'] = WT_THEME_DIR.'images/timeline.gif'; $WT_IMAGES['tree'] = WT_THEME_DIR.'images/gedcom.gif'; $WT_IMAGES['wiki'] = WT_THEME_DIR.'images/w_22.png'; diff --git a/themes/colors/theme.php b/themes/colors/theme.php index 93f0eebc8f..bb3d9501b7 100644 --- a/themes/colors/theme.php +++ b/themes/colors/theme.php @@ -157,6 +157,7 @@ $WT_IMAGES['search'] = WT_THEME_DIR.'images/search.gif'; $WT_IMAGES['sfamily'] = WT_THEME_DIR.'images/sfamily.gif'; $WT_IMAGES['source'] = WT_THEME_DIR.'images/source.gif'; $WT_IMAGES['statistic'] = WT_THEME_DIR.'images/statistic.gif'; +$WT_IMAGES['target'] = 'images/buttons/target.gif'; $WT_IMAGES['timeline'] = WT_THEME_DIR.'images/timeline.gif'; $WT_IMAGES['tree'] = WT_THEME_DIR.'images/gedcom.gif'; $WT_IMAGES['wiki'] = WT_THEME_DIR.'images/w_22.png'; diff --git a/themes/fab/theme.php b/themes/fab/theme.php index 8a25b1dd53..0af89c22d6 100644 --- a/themes/fab/theme.php +++ b/themes/fab/theme.php @@ -91,6 +91,7 @@ $WT_IMAGES=array( 'sfamily'=>WT_THEME_DIR.'images/sfamily.gif', 'source'=>WT_THEME_DIR.'images/source.gif', 'statistic'=>WT_THEME_DIR.'images/statistic.gif', + 'target'=>'images/buttons/target.gif', 'timeline'=>WT_THEME_DIR.'images/timeline.gif', 'tree'=>WT_THEME_DIR.'images/gedcom.gif', // buttons for data entry pages diff --git a/themes/minimal/theme.php b/themes/minimal/theme.php index cf67005581..b03c747dec 100644 --- a/themes/minimal/theme.php +++ b/themes/minimal/theme.php @@ -71,6 +71,7 @@ $WT_IMAGES['repository'] = WT_THEME_DIR.'images/repository.gif'; $WT_IMAGES['search'] = WT_THEME_DIR.'images/search.gif'; $WT_IMAGES['sfamily'] = WT_THEME_DIR.'images/sfamily.gif'; $WT_IMAGES['source'] = WT_THEME_DIR.'images/source.gif'; +$WT_IMAGES['target'] = 'images/buttons/target.gif'; $WT_IMAGES['timeline'] = WT_THEME_DIR.'images/timeline.gif'; $WT_IMAGES['tree'] = WT_THEME_DIR.'images/gedcom.gif'; diff --git a/themes/webtrees/theme.php b/themes/webtrees/theme.php index 7b16f84915..bddfef1edf 100644 --- a/themes/webtrees/theme.php +++ b/themes/webtrees/theme.php @@ -93,6 +93,7 @@ $WT_IMAGES=array( 'sfamily'=>WT_THEME_DIR.'images/sfamily.png', 'source'=>WT_THEME_DIR.'images/source.png', 'statistic'=>WT_THEME_DIR.'images/statistic.png', + 'target'=>'images/buttons/target.gif', 'timeline'=>WT_THEME_DIR.'images/timeline.png', 'tree'=>WT_THEME_DIR.'images/tree.png', 'wiki'=>WT_THEME_DIR.'images/w_22.png', diff --git a/themes/xenea/theme.php b/themes/xenea/theme.php index 9667878724..0fcfa03f4d 100644 --- a/themes/xenea/theme.php +++ b/themes/xenea/theme.php @@ -90,6 +90,7 @@ $WT_IMAGES['search'] = WT_THEME_DIR.'images/search.gif'; $WT_IMAGES['sfamily'] = WT_THEME_DIR.'images/sfamily.gif'; $WT_IMAGES['source'] = WT_THEME_DIR.'images/source.gif'; $WT_IMAGES['statistic'] = WT_THEME_DIR.'images/statistic.gif'; +$WT_IMAGES['target'] = 'images/buttons/target.gif'; $WT_IMAGES['timeline'] = WT_THEME_DIR.'images/timeline.gif'; $WT_IMAGES['tree'] = WT_THEME_DIR.'images/tree.gif'; $WT_IMAGES['wiki'] = WT_THEME_DIR.'images/w_22.png'; |
