diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-07-17 08:38:18 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-07-17 08:38:18 +0000 |
| commit | 6c8fe253b24c89f098742b12775c1cd524ac5482 (patch) | |
| tree | 1788c99a90fa3502aec0712d44d2d4c28f37e303 /modules/user_favorites/module.php | |
| parent | 22d91a49657fbb1940274ae882f900736b9df866 (diff) | |
| download | webtrees-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/user_favorites/module.php')
| -rw-r--r-- | modules/user_favorites/module.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user_favorites/module.php b/modules/user_favorites/module.php index a9f6b86026..559740aaf3 100644 --- a/modules/user_favorites/module.php +++ b/modules/user_favorites/module.php @@ -53,7 +53,7 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block { // Implement class WT_Module_Block public function getBlock($block_id, $template=true) { - global $WT_IMAGE_DIR, $WT_IMAGES, $GEDCOM, $TEXT_DIRECTION, $MEDIA_DIRECTORY, $MULTI_MEDIA, $MEDIA_DIRECTORY_LEVELS, $ctype, $THEME_DIR; + global $WT_IMAGES, $GEDCOM, $TEXT_DIRECTION, $MEDIA_DIRECTORY, $MULTI_MEDIA, $MEDIA_DIRECTORY_LEVELS, $ctype, $THEME_DIR; global $show_full, $PEDIGREE_FULL_DETAILS, $BROWSERTYPE, $ENABLE_AUTOCOMPLETE; $action=safe_GET('action'); @@ -226,7 +226,7 @@ class user_favorites_WT_Module extends WT_Module implements WT_Module_Block { <br /> '; $uniqueID = floor(microtime() * 1000000); - $content .= "<b><a href=\"javascript: ".i18n::translate('Add a new favorite')." \" onclick=\"expand_layer('add_user_fav{$uniqueID}'); return false;\"><img id=\"add_user_fav_img\" src=\"".$WT_IMAGE_DIR."/".$WT_IMAGES["plus"]["other"]."\" border=\"0\" alt=\"\" /> ".i18n::translate('Add a new favorite')."</a></b>"; + $content .= "<b><a href=\"javascript: ".i18n::translate('Add a new favorite')." \" onclick=\"expand_layer('add_user_fav{$uniqueID}'); return false;\"><img id=\"add_user_fav_img\" src=\"".$WT_IMAGES["plus"]["other"]."\" border=\"0\" alt=\"\" /> ".i18n::translate('Add a new favorite')."</a></b>"; $content .= help_link('index_add_favorites'); $content .= "<br /><div id=\"add_user_fav{$uniqueID}\" style=\"display: none;\">"; $content .= "<form name=\"addufavform\" method=\"get\" action=\"index.php\">"; |
