summaryrefslogtreecommitdiff
path: root/modules_v3/lightbox/module.php
diff options
context:
space:
mode:
authormakitso <makitso@gmail.com>2015-01-22 13:23:55 -0700
committermakitso <makitso@gmail.com>2015-01-22 13:23:55 -0700
commit2b234d3663d0617988d6c90cf8c7dcd87683f6c2 (patch)
tree769a1c8dec83bff9113e6630bb616c416268abcb /modules_v3/lightbox/module.php
parent9d576aac3e16d94f8eae0d814fcc958c9dcd9af8 (diff)
parent8d2596c94f1aaf9d1493f47946ab0cad746e24d0 (diff)
downloadwebtrees-2b234d3663d0617988d6c90cf8c7dcd87683f6c2.tar.gz
webtrees-2b234d3663d0617988d6c90cf8c7dcd87683f6c2.tar.bz2
webtrees-2b234d3663d0617988d6c90cf8c7dcd87683f6c2.zip
Merge branch 'master' of https://github.com/fisharebest/webtrees
Diffstat (limited to 'modules_v3/lightbox/module.php')
-rw-r--r--modules_v3/lightbox/module.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules_v3/lightbox/module.php b/modules_v3/lightbox/module.php
index e3dc30cc9b..dac8f8698d 100644
--- a/modules_v3/lightbox/module.php
+++ b/modules_v3/lightbox/module.php
@@ -65,19 +65,19 @@ class lightbox_WT_Module extends WT_Module implements WT_Module_Tab {
// Add a new media object
if ($WT_TREE->getPreference('MEDIA_UPLOAD') >= WT_USER_ACCESS_LEVEL) {
$html .= '<span><a href="#" onclick="window.open(\'addmedia.php?action=showmediaform&linktoid=' . $controller->record->getXref() . '\', \'_blank\', \'resizable=1,scrollbars=1,top=50,height=780,width=600\');return false;">';
- $html .= '<img src="' . Theme::theme()->cssUrl() . 'images/image_add.png" id="head_icon" class="icon" title="' . WT_I18N::translate('Add a new media object') . '" alt="' . WT_I18N::translate('Add a new media object') . '">';
+ $html .= '<img src="' . Theme::theme()->assetUrl() . 'images/image_add.png" id="head_icon" class="icon" title="' . WT_I18N::translate('Add a new media object') . '" alt="' . WT_I18N::translate('Add a new media object') . '">';
$html .= WT_I18N::translate('Add a new media object');
$html .= '</a></span>';
// Link to an existing item
$html .= '<span><a href="#" onclick="window.open(\'inverselink.php?linktoid=' . $controller->record->getXref() . '&linkto=person\', \'_blank\', \'resizable=1,scrollbars=1,top=50,height=300,width=450\');">';
- $html .= '<img src="' . Theme::theme()->cssUrl() . 'images/image_link.png" id="head_icon" class="icon" title="' . WT_I18N::translate('Link to an existing media object') . '" alt="' . WT_I18N::translate('Link to an existing media object') . '">';
+ $html .= '<img src="' . Theme::theme()->assetUrl() . 'images/image_link.png" id="head_icon" class="icon" title="' . WT_I18N::translate('Link to an existing media object') . '" alt="' . WT_I18N::translate('Link to an existing media object') . '">';
$html .= WT_I18N::translate('Link to an existing media object');
$html .= '</a></span>';
}
if (WT_USER_GEDCOM_ADMIN && $this->get_media()) {
// Popup Reorder Media
$html .= '<span><a href="#" onclick="reorder_media(\'' . $controller->record->getXref() . '\')">';
- $html .= '<img src="' . Theme::theme()->cssUrl() . 'images/images.png" id="head_icon" class="icon" title="' . WT_I18N::translate('Re-order media') . '" alt="' . WT_I18N::translate('Re-order media') . '">';
+ $html .= '<img src="' . Theme::theme()->assetUrl() . 'images/images.png" id="head_icon" class="icon" title="' . WT_I18N::translate('Re-order media') . '" alt="' . WT_I18N::translate('Re-order media') . '">';
$html .= WT_I18N::translate('Re-order media');
$html .= '</a></span>';
}