From 338cda9000356404cf2865d61787607acf67fe98 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Thu, 22 Mar 2012 18:23:53 +0000 Subject: last remains of wrong branch itools/live/devel-utf8 removed --- devel-utf8/it_html.class | 582 ----------------------------------------------- 1 file changed, 582 deletions(-) delete mode 100644 devel-utf8/it_html.class (limited to 'devel-utf8/it_html.class') diff --git a/devel-utf8/it_html.class b/devel-utf8/it_html.class deleted file mode 100644 index 92aa9ba..0000000 --- a/devel-utf8/it_html.class +++ /dev/null @@ -1,582 +0,0 @@ -. -** -** UltraHTML 3000 tool layer. Create functions for html tags. -** -** new it_html; -** echo html(head('title' => 'hello'), body(h1('hello'), p('Hello world!'))); -**/ - -class it_html -{ - -/** - * Create a HTML object and global functions for all methods (exlcluding - * methods starting with '_') in this class plus the default tags (see below). - * - * @param $p Configuration settings. Can be set/overridden in constructor, configure(), html() or head(). - * See source code for a list of supported values - */ -function it_html($p = array()) -{ - # Default configuration of html class - $this->p = $p + array( - 'charset' => 'iso-8859-1', - 'doctype' => null, # Custom doctype (will usually be calculated from htmltype) - 'head' => '', # Code to put into head() section - 'htmltype' => 'xhtml', # 'html' (=old-style), 'xhtml' or 'xhtml-mobile' - 'lang' => 'de', # Language code to use in tag - 'ie_png_fix' => false, # To enable, supply URL of a transparent gif (like /images/0.gif) - 'moretags' => '', # Comma-separated list of tag-functions to generate additionally to 'tags' - 'name' => 'it_html', # Name of global variable $this is assigned to (string), XXX Copy and paste in configure() to keep PHP4 compatibility - 'nonewlinetags' => 'a,b,em,img,input,label,span,noscript', # tags that do not like newlines after them - 'notexported' => 'configure,sanitize',# Those methods are not exported - 'prettyprint' => false, # Should output be prettily indented? - 'show_boot_dom' => false, # If true, append invisible