aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/exe/js.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2011-09-04 13:52:43 +0200
committerAdrian Lang <mail@adrianlang.de>2011-09-04 15:05:39 +0200
commitba6c070edd92ca0fc8a6ee85d51769d64a19ee7c (patch)
tree9cd2bdf06e40c6929332ab498ef555748680d111 /lib/exe/js.php
parent923510088dda99cb2790b15308593e47369d4f01 (diff)
downloaddokuwiki-ba6c070edd92ca0fc8a6ee85d51769d64a19ee7c.tar.gz
dokuwiki-ba6c070edd92ca0fc8a6ee85d51769d64a19ee7c.zip
tmp
Diffstat (limited to 'lib/exe/js.php')
-rw-r--r--lib/exe/js.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/exe/js.php b/lib/exe/js.php
index e96d45ee6..d52fe3607 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -86,6 +86,7 @@ function js_out(){
// add some global variables
print "var DOKU_BASE = '".DOKU_BASE."';";
print "var DOKU_TPL = '".DOKU_TPL."';";
+ // FIXME: Move those to JSINFO
print "var DOKU_UHN = ".((int) useHeading('navigation')).";";
print "var DOKU_UHC = ".((int) useHeading('content')).";";