Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
afde6515
Commit
afde6515
authored
Feb 05, 2006
by
Dries Buytaert
Browse files
- Patch
#47420
by m3everck: put fieldset descriptions at top.
parent
941139bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/form.inc
View file @
afde6515
...
...
@@ -536,7 +536,7 @@ function theme_fieldset($element) {
}
}
return
'<fieldset'
.
drupal_attributes
(
$element
[
'#attributes'
])
.
'>'
.
(
$element
[
'#title'
]
?
'<legend>'
.
$element
[
'#title'
]
.
'</legend>'
:
''
)
.
$element
[
'#children'
]
.
$element
[
'#value'
]
.
(
$element
[
'#description'
]
?
'<div class="description">'
.
$element
[
'#description'
]
.
'</div>'
:
''
)
.
"</fieldset>
\n
"
;
return
'<fieldset'
.
drupal_attributes
(
$element
[
'#attributes'
])
.
'>'
.
(
$element
[
'#title'
]
?
'<legend>'
.
$element
[
'#title'
]
.
'</legend>'
:
''
)
.
(
$element
[
'#description'
]
?
'<div class="description">'
.
$element
[
'#description'
]
.
'</div>'
:
''
)
.
$element
[
'#children'
]
.
$element
[
'#value'
]
.
"</fieldset>
\n
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment