From eb030cb9d8839bd08cb2bd1e4f954efe37047303 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 15 Jun 2003 19:06:25 +0000 Subject: - Improvements: XHTML-ifications. Patch by GmbH. --- includes/common.inc | 4 ++-- includes/theme.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 1e4c249a7..228e6d339 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -808,7 +808,7 @@ function form($form, $method = "post", $action = 0, $options = 0) { if (!$action) { $action = request_uri(); } - return "
\n$form
\n"; + return "
\n$form\n
\n"; } function form_item($title, $value, $description = 0) { @@ -825,7 +825,7 @@ function form_checkbox($title, $name, $value = 1, $checked = 0, $description = 0 function form_textfield($title, $name, $value, $size, $maxlength, $description = 0) { $size = $size ? " size=\"$size\"" : ""; - return form_item($title, "", $description); + return form_item($title, "", $description); } function form_password($title, $name, $value, $size, $maxlength, $description = 0) { diff --git a/includes/theme.inc b/includes/theme.inc index 66ea4a4ac..8c4148a48 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -25,11 +25,11 @@ class BaseTheme { $output .= "". $title ? $title : variable_get(site_name, "drupal") .""; $output .= theme_head($main); $output .= "background\" text=\"$this->foreground". theme_onload_attribute(). "\">"; - $output .= "
"; + $output .= "
"; print $output; $this->box(t("Navigation"), @implode("
", link_page())); theme_blocks("all", $this); - print "
"; + print ""; } -- cgit v1.2.3