diff options
author | Thomas BrĂ¼derli | 2007-06-28 13:06:56 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2007-06-28 13:06:56 +0000 |
commit | 1c8b9b4df7c00797339cdeb6d9d9895588b67383 (patch) | |
tree | 286aaba5a1f4f090616193944bb88c7220233bb1 | |
parent | 79062cf36819a668a6eb8a7ab458ef3cbaf05ddf (diff) | |
download | itools-1c8b9b4df7c00797339cdeb6d9d9895588b67383.tar.gz itools-1c8b9b4df7c00797339cdeb6d9d9895588b67383.tar.bz2 itools-1c8b9b4df7c00797339cdeb6d9d9895588b67383.zip |
Allow override of use_it_state property
-rw-r--r-- | html.class | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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']) |