/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/tag_classes/ALLTAGS.inc
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/tag_classes/ALLTAGS.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jonen, Sat Feb 22 21:07:58 2003 UTC revision 1.3 by jonen, Sat Sep 20 00:16:57 2003 UTC
# Line 353  class DLtag extends HTMLTagClass { Line 353  class DLtag extends HTMLTagClass {
353  } // DLtag  } // DLtag
354    
355  /**  /**
356     * <!DOCTYPE> tag class
357     * @package phpHtmlLib
358     */
359    class DOCTYPEtag extends HTMLTagClass {
360        var $_tag = "!DOCTYPE";
361    
362        function _set_flags() {
363            parent::_set_flags();
364            $this->_flags &= ~(_CONTENTREQUIRED | _CLOSETAGREQUIRED);
365            $this->_flags |= _ALWAYS_UPPERCASE | _NOFINISHSLASHXHTML;
366        }
367    } //!DOCTYPEtag
368    
369    /**
370   * <DT> tag class   * <DT> tag class
371   *   *
372   * The <dt> tag defines the start of a   * The <dt> tag defines the start of a
# Line 425  class FONTtag extends HTMLTagClass { Line 439  class FONTtag extends HTMLTagClass {
439   */   */
440  class FORMtag extends HTMLTagClass {  class FORMtag extends HTMLTagClass {
441      var $_tag = "form";      var $_tag = "form";
442        var $_xhtml_strict_attributes = array("name", "target");
443  } // FORMtag  } // FORMtag
444    
445    
# Line 1020  class PARAMtag extends HTMLTagClass { Line 1035  class PARAMtag extends HTMLTagClass {
1035   */   */
1036  class PREtag extends HTMLTagClass {  class PREtag extends HTMLTagClass {
1037      var $_tag = "pre";      var $_tag = "pre";
1038        function _set_flags() {
1039            parent::_set_flags();
1040            $this->_flags &= ~_INDENT;
1041        }
1042  } // PREtag  } // PREtag
1043    
1044    
# Line 1242  class TABLEtag extends HTMLTagClass { Line 1261  class TABLEtag extends HTMLTagClass {
1261    
1262          for ($x=0; $x <= func_num_args()-1; $x++) {          for ($x=0; $x <= func_num_args()-1; $x++) {
1263              if (is_object($args[$x])) {              if (is_object($args[$x])) {
1264                  if ($args[$x]->_tag == "td") {                  if (isset($args[$x]->_tag) && $args[$x]->_tag == "td") {
1265                      $tr->add( $args[$x] );                      $tr->add( $args[$x] );
1266                  } else if ($args[$x]->_tag == "tr") {                  } else if (isset($args[$x]->_tag) && $args[$x]->_tag == "tr") {
1267                      //the user is trying to use this                      //the user is trying to use this
1268                      //to add a TR object.                      //to add a TR object.
1269                      if ($tr->count_content() >= 1) {                      if ($tr->count_content() >= 1) {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed