summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class36
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.