diff --git a/assets/js/funcs.js b/assets/js/funcs.js index 0f4a9fe5..b3f60f7a 100644 --- a/assets/js/funcs.js +++ b/assets/js/funcs.js @@ -155,9 +155,9 @@ function toggle(id) { } var iconClose = new Image(); -iconClose.src = '../assets/images/links/close12.gif'; +iconClose.src = './assets/images/links/close12.gif'; var iconOpen = new Image(); -iconOpen.src = '../assets/images/links/open12.gif'; +iconOpen.src = './assets/images/links/open12.gif'; function toggleIcon(iconName) { if (document.images[iconName].src == window.iconOpen.src) { diff --git a/footer.php b/footer.php index 3286b114..600c74ab 100644 --- a/footer.php +++ b/footer.php @@ -26,6 +26,8 @@ //$xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/jquery.js'); //$xoTheme->addScript(PUBLISHER_URL . '/assets/js/jquery.popeye-2.0.4.js'); //$xoTheme->addScript(PUBLISHER_URL . '/assets/js/publisher.js'); +$xoTheme->addScript(PUBLISHER_URL . '/assets/js/cookies.js'); +$xoTheme->addScript(PUBLISHER_URL . '/assets/js/funcs.js'); $xoopsTpl->assign('xoops_module_header', '' . @$xoopsTpl->get_template_vars('xoops_module_header'));