summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-29 10:18:38 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-29 10:18:38 +0000
commit1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34 (patch)
tree746f550c09c4a827c859d32384b055e35db1fcd0 /includes/common.inc
parentf7e11d3bb763d0f8c3b0551b7f5848f72c557ac0 (diff)
downloadbrdo-1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34.tar.gz
brdo-1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34.tar.bz2
- Al's CSS patches. This commit improves the themability of some core
components such as lists, form items, removes an ugly hack from the archive module and should fix the poll problem (although it doesn't Opera/Konqueror).
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 35af870e2..80d842c03 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -427,7 +427,7 @@ function drupal_goto($url) {
/*
** The "Location" header sends a REDIRECT status code to the http
- ** deamon. In some cases this can go wrong, so we make sure none
+ ** daemon. In some cases this can go wrong, so we make sure none
** of the code /below/ gets executed when we redirect.
*/
@@ -773,7 +773,7 @@ function form($form, $method = "post", $action = 0, $options = 0) {
}
function form_item($title, $value, $description = 0) {
- return "<p>". ($title ? "<b>$title:</b><br />" : "") . $value . ($description ? "<br /><small><i>$description</i></small>" : "") ."</p>\n";
+ return "<div class=\"form-item\">". ($title ? "<div class=\"title\">$title:</div>" : "") . $value . ($description ? "<div class=\"description\">$description</div>" : "") ."</div>\n";
}
function form_radio($title, $name, $value = 1, $checked = 0, $description = 0) {