diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-21 16:21:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-21 16:21:56 +0000 |
commit | 6881cc9ad699c55e29f02807352ab743389faa67 (patch) | |
tree | 6343d0091a6d834f565b4e6165e84fb8c98230d4 /includes/theme.inc | |
parent | 8b8a2bd63443dc9defbba4b0ab03801955ae406a (diff) | |
download | brdo-6881cc9ad699c55e29f02807352ab743389faa67.tar.gz brdo-6881cc9ad699c55e29f02807352ab743389faa67.tar.bz2 |
- Patch #10202 by Ax: don't emit an erroneous whitespace when no table headers are provided. Makes for clean XHTML.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index a8790ea67..a4b0b1274 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -127,7 +127,7 @@ function list_theme_engines($refresh = FALSE) { if (!$list) { $list = array(); - $result = db_query("SELECT * FROM {system} where type = 'theme_engine' AND status = '1' ORDER BY name"); + $result = db_query("SELECT * FROM {system} WHERE type = 'theme_engine' AND status = '1' ORDER BY name"); while ($engine = db_fetch_object($result)) { if (file_exists($engine->filename)) { $list[$engine->name] = $engine; @@ -591,7 +591,7 @@ function theme_submenu($links) { */ function theme_table($header, $rows, $attributes = NULL) { - $output = '<table '. drupal_attributes($attributes) .">\n"; + $output = '<table'. drupal_attributes($attributes) .">\n"; // Format the table header: if (is_array($header)) { |