Skip to content
Snippets Groups Projects
Commit 4804a7da authored by Michael Klier's avatar Michael Klier
Browse files

FS#1079 - made TOC images part of template

darcs-hash:20070408144321-23886-266b4fec7c4d292f830689cced19798cd00d1422.gz
parent 208c0215
No related branches found
No related tags found
No related merge requests found
......@@ -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'])."';";
......
......@@ -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;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment