Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
bdcb96e6
Commit
bdcb96e6
authored
Dec 20, 2001
by
Steven Wittens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaed incorrect "<p />" tag in form_item with a better <p> ... </p> combination.
parent
e798fe83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
includes/common.inc
includes/common.inc
+1
-1
No files found.
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