diff --git a/core/c/formattributes.php b/core/c/formattributes.php index 2e4fb38..5da834d 100755 --- a/core/c/formattributes.php +++ b/core/c/formattributes.php @@ -59,6 +59,7 @@ class FormAttributes $this->_element = str_replace(' ID', '', $this->_element); $this->_element = str_replace(' CLASS', '', $this->_element); $this->_element = str_replace(' enctype="ENCTYPE"', '', $this->_element); + $this->_element = str_replace(' checked="CHECKED"', '', $this->_element); $this->_element = str_replace(' onsubmit="ONSUBMIT"', '', $this->_element); $this->_element = str_replace(' onclick="ONCLICK"', '', $this->_element); $this->_element = str_replace(' action="ACTION"', '', $this->_element); @@ -77,6 +78,7 @@ class FormAttributes $this->_element = str_replace(' SELECTED', '', $this->_element); $this->_element = str_replace(' CONTEXT', '', $this->_element); $this->_element = str_replace(' CHECKED', '', $this->_element); + $this->_element = str_replace(' VALUE', '', $this->_element); } /** diff --git a/core/c/typecheckbox.php b/core/c/typecheckbox.php index 82a91fe..5efbde8 100644 --- a/core/c/typecheckbox.php +++ b/core/c/typecheckbox.php @@ -33,7 +33,7 @@ class TypeCheckbox extends FormAttributes implements IForm */ private function _setElement( ) { - $this->_element = '' . 'VALUE
' . "\n"; + $this->_element = '' . ' VALUE
' . "\n"; }