From 1c8b9b4df7c00797339cdeb6d9d9895588b67383 Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Thu, 28 Jun 2007 13:06:56 +0000 Subject: Allow override of use_it_state property --- html.class | 4 ++++ 1 file changed, 4 insertions(+) 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"; + # override use_it_state property + if (isset($p['use_it_state'])) + $this->_use_it_state = $p['use_it_state']; + $js = ""; if ($p['jsenv']) -- cgit v1.2.3