summaryrefslogtreecommitdiff
path: root/modules/review_changes/module.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-07-17 08:38:18 +0000
committerfisharebest <fisharebest@gmail.com>2010-07-17 08:38:18 +0000
commit6c8fe253b24c89f098742b12775c1cd524ac5482 (patch)
tree1788c99a90fa3502aec0712d44d2d4c28f37e303 /modules/review_changes/module.php
parent22d91a49657fbb1940274ae882f900736b9df866 (diff)
downloadwebtrees-6c8fe253b24c89f098742b12775c1cd524ac5482.tar.gz
webtrees-6c8fe253b24c89f098742b12775c1cd524ac5482.tar.bz2
webtrees-6c8fe253b24c89f098742b12775c1cd524ac5482.zip
Combine WT_THEME_DIR with WT_IMAGES. This reduces repetition, and will allow themes to share common images, e.g. in the images directory.
Diffstat (limited to 'modules/review_changes/module.php')
-rw-r--r--modules/review_changes/module.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/review_changes/module.php b/modules/review_changes/module.php
index 103a2dffa3..aa7b3d8e3b 100644
--- a/modules/review_changes/module.php
+++ b/modules/review_changes/module.php
@@ -45,7 +45,7 @@ class review_changes_WT_Module extends WT_Module implements WT_Module_Block {
// Implement class WT_Module_Block
public function getBlock($block_id, $template=true) {
- global $ctype, $QUERY_STRING, $WT_IMAGE_DIR, $WT_IMAGES, $TEXT_DIRECTION, $WEBTREES_EMAIL, $THEME_DIR;
+ global $ctype, $QUERY_STRING, $WT_IMAGES, $TEXT_DIRECTION, $WEBTREES_EMAIL, $THEME_DIR;
$changes=WT_DB::prepare(
"SELECT 1".
@@ -99,7 +99,7 @@ class review_changes_WT_Module extends WT_Module implements WT_Module_Block {
$name = WT_USER_NAME;
}
$title .= "<a href=\"javascript: configure block\" onclick=\"window.open('index_edit.php?action=configure&amp;ctype={$ctype}&amp;block_id={$block_id}', '_blank', 'top=50,left=50,width=600,height=350,scrollbars=1,resizable=1'); return false;\">";
- $title .= "<img class=\"adminicon\" src=\"$WT_IMAGE_DIR/".$WT_IMAGES["admin"]["small"]."\" width=\"15\" height=\"15\" border=\"0\" alt=\"".i18n::translate('Configure')."\" /></a>";
+ $title .= "<img class=\"adminicon\" src=\"".$WT_IMAGES["admin"]["small"]."\" width=\"15\" height=\"15\" border=\"0\" alt=\"".i18n::translate('Configure')."\" /></a>";
}
$title.=i18n::translate('Review GEDCOM changes').help_link('review_changes');
$content = "";