thomascube
2008-02-11 7f9ea15463a7d14b4316e4859e29d53bd727fb32
program/include/rcmail_template.inc
@@ -453,8 +453,7 @@
    {
      // return a button
      case 'button':
        if ($attrib['command'])
          return $this->button($attrib);
        return $this->button($attrib);
        break;
      // show a label
@@ -582,7 +581,7 @@
    $skin_path = $this->config['skin_path'];
    if (!($attrib['command'] || $attrib['name']))
    if (!($attrib['command'] || $attrib['name'] || $attrib['onclick']))
      return '';
    // try to find out the button type