From 265eed674dae6adc7f81ac22fbccf946982bc744 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Wed, 16 Nov 2005 12:17:31 +0000 Subject: [PATCH] Add a hidden input variable called kt-core-baseurl that can be used from javascript to find out the base url to use when generating urls. --- templates/ktcore/standard_page.smarty | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/templates/ktcore/standard_page.smarty b/templates/ktcore/standard_page.smarty index 0f825e4..9ee4f43 100644 --- a/templates/ktcore/standard_page.smarty +++ b/templates/ktcore/standard_page.smarty @@ -14,6 +14,9 @@ { assign var="onloadjavascript" value="onload=\"$onloadjavascript\"" } { /if } + + + { if ! $formdisabled } { if $formenctype } { assign var="formenctype" value="enctype=\"$formenctype\"" } -- libgit2 0.21.4