diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-11-06 17:36:08 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-11-06 17:36:08 +0000 |
| commit | 4f550f35b8f6f5ebd403993f64423df48dfdd0da (patch) | |
| tree | 3aee473fa26435eb2aa336992d3d2f7c22fa73d4 | |
| parent | a03dcbd322b52632f92d288094f4b50a04291e2a (diff) | |
| download | webtrees-4f550f35b8f6f5ebd403993f64423df48dfdd0da.tar.gz webtrees-4f550f35b8f6f5ebd403993f64423df48dfdd0da.tar.bz2 webtrees-4f550f35b8f6f5ebd403993f64423df48dfdd0da.zip | |
Fix: bad references to WT_IMAGE['trashcan']
| -rw-r--r-- | dir_editor.php | 3 | ||||
| -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, 2 deletions
diff --git a/dir_editor.php b/dir_editor.php index bd3f35a199..9e23047ee8 100644 --- a/dir_editor.php +++ b/dir_editor.php @@ -153,8 +153,7 @@ function warnuser(cbox) { echo "<div style=\"margin-bottom:2px;\">"; echo "<table><tr><td>"; - if (isset($WT_IMAGES["trashcan"]["medium"])) echo "<img src=\"".$WT_IMAGES["trashcan"]["medium"]."\" align=\"left\" alt=\"\" />"; - else echo "<img src=\"images/trashcan.gif\" align=\"left\" alt=\"\" />"; + echo '<img src="', $WT_IMAGES['trashcan'], '" align="left" alt="" />'; echo "</td>"; echo "<td valign=\"top\"><ul id=\"trashlist\">"; echo "</ul></td></tr></table>"; diff --git a/themes/clouds/theme.php b/themes/clouds/theme.php index 55470eebdc..f162c706bd 100644 --- a/themes/clouds/theme.php +++ b/themes/clouds/theme.php @@ -100,6 +100,7 @@ $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['trashcan'] = 'images/trashcan.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 bb3d9501b7..a9fc809b6f 100644 --- a/themes/colors/theme.php +++ b/themes/colors/theme.php @@ -159,6 +159,7 @@ $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['trashcan'] = 'images/trashcan.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 f06b279748..aeaafc525c 100644 --- a/themes/fab/theme.php +++ b/themes/fab/theme.php @@ -157,6 +157,7 @@ $WT_IMAGES=array( 'slide_open'=>WT_THEME_DIR.'images/open.png', 'spacer'=>WT_THEME_DIR.'images/spacer.gif', 'stop'=>WT_THEME_DIR.'images/stop.gif', + 'trashcan'=>WT_THEME_DIR.'images/trashcan.gif', 'uarrow'=>WT_THEME_DIR.'images/uarrow.gif', 'uarrow2'=>WT_THEME_DIR.'images/uarrow2.gif', 'uarrow3'=>WT_THEME_DIR.'images/uarrow3.gif', diff --git a/themes/minimal/theme.php b/themes/minimal/theme.php index b03c747dec..682b46ed9b 100644 --- a/themes/minimal/theme.php +++ b/themes/minimal/theme.php @@ -120,6 +120,7 @@ $WT_IMAGES['rarrow2'] = WT_THEME_DIR.'images/rarrow2.gif'; $WT_IMAGES['rdarrow'] = WT_THEME_DIR.'images/rdarrow.gif'; $WT_IMAGES['remove'] = WT_THEME_DIR.'images/remove.gif'; $WT_IMAGES['spacer'] = WT_THEME_DIR.'images/spacer.gif'; +$WT_IMAGES['trashcan'] = 'images/trashcan.gif'; $WT_IMAGES['uarrow'] = WT_THEME_DIR.'images/uarrow.gif'; $WT_IMAGES['uarrow2'] = WT_THEME_DIR.'images/uarrow2.gif'; $WT_IMAGES['uarrow3'] = WT_THEME_DIR.'images/uarrow3.gif'; diff --git a/themes/webtrees/theme.php b/themes/webtrees/theme.php index c315dab36b..1f28b79936 100644 --- a/themes/webtrees/theme.php +++ b/themes/webtrees/theme.php @@ -148,6 +148,7 @@ $WT_IMAGES=array( 'rdarrow'=>WT_THEME_DIR.'images/rdarrow.gif', 'remove'=>WT_THEME_DIR.'images/remove.gif', 'spacer'=>WT_THEME_DIR.'images/spacer.gif', + 'trashcan'=>WT_THEME_DIR.'images/trashcan.gif', 'uarrow'=>WT_THEME_DIR.'images/uarrow.gif', 'uarrow2'=>WT_THEME_DIR.'images/uarrow2.gif', 'uarrow3'=>WT_THEME_DIR.'images/uarrow3.gif', diff --git a/themes/xenea/theme.php b/themes/xenea/theme.php index 0fcfa03f4d..960152ae77 100644 --- a/themes/xenea/theme.php +++ b/themes/xenea/theme.php @@ -92,6 +92,7 @@ $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['trashcan'] = 'images/trashcan.gif'; $WT_IMAGES['tree'] = WT_THEME_DIR.'images/tree.gif'; $WT_IMAGES['wiki'] = WT_THEME_DIR.'images/w_22.png'; |
