From ef0fa006ed83a10326ff0affc5f83a55fe591836 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 7 Nov 2003 19:03:35 +0000 Subject: - Usability improvement: replaced many selection boxes by radio buttons. Patch by Stefan. --- modules/book.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/book.module') 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 { -- cgit v1.2.3