diff options
author | Anika Henke <anika@selfthinker.org> | 2009-01-19 19:14:24 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2009-01-19 19:14:24 +0100 |
commit | ef1ecfdef8a414438add505f6f50c109eac97efa (patch) | |
tree | bfe4eebeffe10d78b8ad436e371e8c012940ca2a /inc/form.php | |
parent | 87cb01b7aebc5228a348e326e040da54abb3cc23 (diff) | |
download | rpg-ef1ecfdef8a414438add505f6f50c109eac97efa.tar.gz rpg-ef1ecfdef8a414438add505f6f50c109eac97efa.tar.bz2 |
moved class.no in form to a better place (for better strict validity)
darcs-hash:20090119181424-f7d6d-93a88fde0edf058f8cf42c6673d225cd77666472.gz
Diffstat (limited to 'inc/form.php')
-rw-r--r-- | inc/form.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/inc/form.php b/inc/form.php index 6fdd3a18e..261f40142 100644 --- a/inc/form.php +++ b/inc/form.php @@ -243,12 +243,10 @@ class Doku_Form { print '<form action="'.$this->action.'" method="'.$this->method.'" accept-charset="'.$lang['encoding'].'"'; if (!empty($this->id)) print ' id="'.$this->id.'"'; if (!empty($this->enctype)) print ' enctype="'.$this->enctype.'"'; - print '>'.NL; + print '><div class="no">'.NL; if (!empty($this->_hidden)) { - print '<div class="no">'; foreach ($this->_hidden as $name=>$value) print form_hidden(array('name'=>$name, 'value'=>$value)); - print '</div>'.NL; } foreach ($this->_content as $element) { if (is_array($element)) { @@ -261,7 +259,7 @@ class Doku_Form { } } if ($this->_infieldset) print form_closefieldset().NL; - print '</form>'.NL; + print '</div></form>'.NL; } } |