diff options
author | Christian Weber | 2007-09-19 15:56:48 +0000 |
---|---|---|
committer | Christian Weber | 2007-09-19 15:56:48 +0000 |
commit | 28a71c4111d1b010ca26e1ab051dd4f1bf98fe66 (patch) | |
tree | dae31fa4dd08e2d425385b7dc0cb4c134a4a1e63 /it_html.class | |
parent | 691625aa5987815b2cc9ebf63ddbb56ef0c32448 (diff) | |
download | itools-28a71c4111d1b010ca26e1ab051dd4f1bf98fe66.tar.gz itools-28a71c4111d1b010ca26e1ab051dd4f1bf98fe66.tar.bz2 itools-28a71c4111d1b010ca26e1ab051dd4f1bf98fe66.zip |
remove special div() and span() methods since this magic is gone for good now.
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/it_html.class b/it_html.class index b42f318..c9e4919 100644 --- a/it_html.class +++ b/it_html.class @@ -287,24 +287,6 @@ function tag($args) /** - * OBSOLETE Shortcut: return a div of a specific class - * @param $class class name or null for no class= tag - * @param ... any number optional data or array of key => value arguments - * @return <div class="$class"...>...</div> - */ -function div($args) -{ - if (!is_array($args[0]) && ($class = array_shift($args)) !== null) - { - array_unshift($args, compact('class')); - it::error("deprecated usage of div"); - } - - return $this->_tag("div", $args); -} - - -/** * Special img() function patches png transparency for IE 5.5-6 if ie_png_fix is set * @param ... any number optional data or array of key => value arguments * @return <img ... /> @@ -367,24 +349,6 @@ function select($tags, $options, $selected = null) /** - * OBSOLETE Shortcut: return a span of a specific class - * @param $class class name or null for no class= tag - * @param ... any number optional data or array of key => value arguments - * @return <span class="$class"...>...</span> - */ -function span($args) -{ - if (!is_array($args[0]) && ($class = array_shift($args)) !== null) - { - array_unshift($args, compact('class')); - it::error("deprecated usage of span"); - } - - return $this->_tag("span", $args); -} - - -/** * Return HTML with all evil things stripped. Allowed are a coupld of simple * tags like div, p, i, b, br without attributes, a with absolute href, * img with absolute src url. Also ensures that tags are balanced. |