summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-11-07 19:03:35 +0000
committerDries Buytaert <dries@buytaert.net>2003-11-07 19:03:35 +0000
commitef0fa006ed83a10326ff0affc5f83a55fe591836 (patch)
tree0c31cb244e9614e020af99482e2bc14e1d99ac50 /modules/book.module
parent7b915b3c713d238cfda49900bcbfec231bdbb315 (diff)
downloadbrdo-ef0fa006ed83a10326ff0affc5f83a55fe591836.tar.gz
brdo-ef0fa006ed83a10326ff0affc5f83a55fe591836.tar.bz2
- Usability improvement: replaced many selection boxes by radio buttons.
Patch by Stefan.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/book.module b/modules/book.module
index 55848fcbb..72059c6e3 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -169,7 +169,7 @@ function book_form(&$node, &$help, &$error) {
if (user_access("administer nodes")) {
$output .= form_weight(t("Weight"), "weight", $node->weight, 15, t("The heavier pages will sink and the lighter pages will be positioned nearer the top."));
if (user_access("create php content")) {
- $output .= form_select("Type", "format", $node->format, array(0 => "HTML / text", 1 => "PHP"));
+ $output .= form_radios("Type", "format", $node->format, array(0 => "HTML / text", 1 => "PHP"));
}
}
else {