summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dir_editor.php3
-rw-r--r--themes/clouds/theme.php1
-rw-r--r--themes/colors/theme.php1
-rw-r--r--themes/fab/theme.php1
-rw-r--r--themes/minimal/theme.php1
-rw-r--r--themes/webtrees/theme.php1
-rw-r--r--themes/xenea/theme.php1
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';