oops, need better error checking than that...
[squirrelmail.git] / class / html.class.php
index 9a6bcdaa07e4af7d60079a0bb9060003200f1679..cfa5af420e9d6f8c7664a99af26a63a51133bcec 100644 (file)
@@ -2,15 +2,19 @@
 /**
  * html.class.php
  *
- * Copyright (c) 2002 The SquirrelMail Project Team
+ * Copyright (c) 2003-2004 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This contains functions needed to generate html output.
  *
  * $Id$
+ * @package squirrelmail
  */
 
-
+/**
+ * This class needs documenting - volunteers?
+ * @package squirrelmail
+ */
 class html {
   var $tag, $text, $style, $class,  
       $id, $html_el = array(), $javascript, $xtr_prop;
@@ -30,7 +34,6 @@ class html {
      if ($last) {
         $this->html_el[] = $el;
      } else {
-        echo 'JOPPPEEE';
        $new_html_el = array();
        $new_html_el[] = $el;
        foreach ($this->html_el as $html_el) {
@@ -74,7 +77,7 @@ class html {
      $s = "\n".'<!--'."\n".
          $script .
          "\n".'// -->'."\n";
-     $el = new html ('script',$s,''.''.''.array('language' => 'JavaScript',
+     $el = new html ('script',$s,'','','',array('language' => 'JavaScript',
                                                 'type' => 'text/javascript'));
      $this->htmlAdd($el);
   }