diff --git a/core/c/formattributes.php b/core/c/formattributes.php index 75b5353..0332b30 100755 --- a/core/c/formattributes.php +++ b/core/c/formattributes.php @@ -99,6 +99,7 @@ class FormAttributes $this->_element = str_replace(' PATTERN', '', $this->_element); $this->_element = str_replace('ANY', '', $this->_element); $this->_element = str_replace('data-sitekey="DATA-SITEKEY"', '', $this->_element); + $this->_element = str_replace('role="ROLE"', '', $this->_element); } /** diff --git a/core/c/typeopenany.php b/core/c/typeopenany.php index 03be323..7d38189 100755 --- a/core/c/typeopenany.php +++ b/core/c/typeopenany.php @@ -20,7 +20,8 @@ class TypeOpenAny extends FormAttributes implements IForm self::FORM_ATTRIBUTE_ALT => '', self::FROM_ATTRIBUTE_STYLE => '', self::FORM_ATTRIBUTE_DATA_SITEKEY => '', - self::FORM_ATTRIBUTE_TYPE => '' + self::FORM_ATTRIBUTE_TYPE => '', + self::FORM_ATTRIBUTE_ROLE => '' ); /** @@ -40,6 +41,6 @@ class TypeOpenAny extends FormAttributes implements IForm */ private function _setElement( ) { - $this->_element = '' . 'VALUE' . "\n"; + $this->_element = '' . 'VALUE' . "\n"; } }