diff --git a/templates/DummyBox.php b/templates/DummyBox.php index 23dc0869..0ef5f24c 100644 --- a/templates/DummyBox.php +++ b/templates/DummyBox.php @@ -8,28 +8,26 @@ class DummyBox extends SubTemplate { - protected $_class; protected $_content; - protected $_title; - public function __construct($title = '', $content = '', $class = '') + public function __construct($title = '', $content = '', $class = null) { - $this->_title = $title; + parent::__construct($title); $this->_content = $content; - $this->_class = $class; + + if (isset($class)) + $this->_class .= $class; } protected function html_content() { - echo ' -