From f6a1f8d015c7006c8b4652c0a9ccdd6318cc42d0 Mon Sep 17 00:00:00 2001 From: zyspec Date: Wed, 15 Nov 2017 22:33:09 -0600 Subject: [PATCH 1/2] Update funcs.js Fix icon path --- assets/js/funcs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { From 932978cad520db6d2c57b1b9ecfe6a1ac9dbe90a Mon Sep 17 00:00:00 2001 From: zyspec Date: Wed, 15 Nov 2017 22:34:12 -0600 Subject: [PATCH 2/2] Update footer.php added missing javascript load --- footer.php | 2 ++ 1 file changed, 2 insertions(+) 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'));