diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exe/js.php | 1 | ||||
-rw-r--r-- | lib/scripts/script.js | 4 | ||||
-rw-r--r-- | lib/tpl/default/images/toc_hide.gif | bin | 0 -> 274 bytes | |||
-rw-r--r-- | lib/tpl/default/images/toc_show.gif | bin | 0 -> 273 bytes |
4 files changed, 3 insertions, 2 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php index 69b0ba27d..a55783a61 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -77,6 +77,7 @@ function js_out(){ // add some global variables print "var DOKU_BASE = '".DOKU_BASE."';"; + print "var DOKU_TPL = '".DOKU_TPL."';"; //FIXME: move thes into LANG print "var alertText = '".js_escape($lang['qb_alert'])."';"; diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 88761f219..2d6b67551 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -245,14 +245,14 @@ function addTocToggle() { var showimg = document.createElement('img'); showimg.id = 'toc__show'; - showimg.src = DOKU_BASE+'lib/images/arrow_down.gif'; + showimg.src = DOKU_TPL+'/images/toc_show.gif'; showimg.alt = '+'; showimg.onclick = toggleToc; showimg.style.display = 'none'; var hideimg = document.createElement('img'); hideimg.id = 'toc__hide'; - hideimg.src = DOKU_BASE+'lib/images/arrow_up.gif'; + hideimg.src = DOKU_TPL+'/images/toc_hide.gif'; hideimg.alt = '-'; hideimg.onclick = toggleToc; diff --git a/lib/tpl/default/images/toc_hide.gif b/lib/tpl/default/images/toc_hide.gif Binary files differnew file mode 100644 index 000000000..d491c18db --- /dev/null +++ b/lib/tpl/default/images/toc_hide.gif diff --git a/lib/tpl/default/images/toc_show.gif b/lib/tpl/default/images/toc_show.gif Binary files differnew file mode 100644 index 000000000..ff13b9585 --- /dev/null +++ b/lib/tpl/default/images/toc_show.gif |