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
e38f0403
Commit
e38f0403
authored
Jan 20, 2006
by
Dries Buytaert
Browse files
- Patch
#45451
by wtanaka: added explanation for the red star.
parent
a177c296
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/theme.inc
View file @
e38f0403
...
...
@@ -608,7 +608,7 @@ function theme_node($node, $teaser = FALSE, $page = FALSE) {
function
theme_form_element
(
$title
,
$value
,
$description
=
NULL
,
$id
=
NULL
,
$required
=
FALSE
,
$error
=
FALSE
)
{
$output
=
'<div class="form-item">'
.
"
\n
"
;
$required
=
$required
?
'<span class="form-required">*</span>'
:
''
;
$required
=
$required
?
'<span class="form-required"
title="'
.
t
(
'This field is required'
)
.
'"
>*</span>'
:
''
;
if
(
$title
)
{
if
(
$id
)
{
...
...
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