From d9e6a3cb751a0715197451f06c12091fec2b0679 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 2 Nov 2009 14:01:15 +0100 Subject: LinkWizard: don't add a title when useheading is used for content FS#1745 Ignore-this: 48f0da3ab0bf0178197b16e63143e1ca darcs-hash:20091102130115-6e07b-d10e1c076791cdeb08b87ec76d6be8730228c8fb.gz --- lib/exe/js.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/exe/js.php') diff --git a/lib/exe/js.php b/lib/exe/js.php index 42190eac7..24a2e5a2c 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -85,6 +85,8 @@ function js_out(){ // add some global variables print "var DOKU_BASE = '".DOKU_BASE."';"; print "var DOKU_TPL = '".DOKU_TPL."';"; + print "var DOKU_UHN = ".((int) useHeading('navigation')).";"; + print "var DOKU_UHC = ".((int) useHeading('content')).";"; // load JS specific translations $json = new JSON(); -- cgit v1.2.3