Commit bdcb96e6 authored by Steven Wittens's avatar Steven Wittens

Replaed incorrect "<p />" tag in form_item with a better <p> ... </p> combination.

parent e798fe83
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment