Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
bdcb96e6
Commit
bdcb96e6
authored
Dec 20, 2001
by
Steven Wittens
Browse files
Replaed incorrect "<p />" tag in form_item with a better <p> ... </p> combination.
parent
e798fe83
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
bdcb96e6
...
...
@@ -332,7 +332,7 @@ function form($form, $method = "post", $action = 0, $options = 0) {
}
function
form_item
(
$title
,
$value
,
$description
=
0
)
{
return
(
$title
?
"<b>
$title
:</b><br />"
:
""
)
.
$value
.
(
$description
?
"<br /><small><i>
$description
</i></small>"
:
""
)
.
"<
p
/>
\n
"
;
return
"<p>"
.
(
$title
?
"<b>
$title
:</b><br />"
:
""
)
.
$value
.
(
$description
?
"<br /><small><i>
$description
</i></small>"
:
""
)
.
"</
p
>
\n
"
;
}
function
form_checkbox
(
$title
,
$name
,
$value
=
1
,
$checked
=
0
,
$description
=
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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