summaryrefslogtreecommitdiff
path: root/html.class
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2007-06-28 13:06:56 +0000
committerThomas BrĂ¼derli2007-06-28 13:06:56 +0000
commit1c8b9b4df7c00797339cdeb6d9d9895588b67383 (patch)
tree286aaba5a1f4f090616193944bb88c7220233bb1 /html.class
parent79062cf36819a668a6eb8a7ab458ef3cbaf05ddf (diff)
downloaditools-1c8b9b4df7c00797339cdeb6d9d9895588b67383.tar.gz
itools-1c8b9b4df7c00797339cdeb6d9d9895588b67383.tar.bz2
itools-1c8b9b4df7c00797339cdeb6d9d9895588b67383.zip
Allow override of use_it_state property
Diffstat (limited to 'html.class')
-rw-r--r--html.class4
1 files changed, 4 insertions, 0 deletions
diff --git a/html.class b/html.class
index 73937fa..0551f78 100644
--- a/html.class
+++ b/html.class
@@ -490,6 +490,10 @@ function head($args = array())
$langvar = $this->_htmltype == "xhtml-mobile" ? "xml:lang" : "lang";
$prefix = $GLOBALS['SENT_PREAMBLE'] ? "" : $p['doctype'] . "\n<html $langvar=\"" . it_html::Q($p['lang']) . "\"><head>";
+ # override use_it_state property
+ if (isset($p['use_it_state']))
+ $this->_use_it_state = $p['use_it_state'];
+
$js = "";
if ($p['jsenv'])