Index: openacs-4/packages/assessment/www/asm-admin/item-edit-display-sb.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/item-edit-display-sb.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/assessment/www/asm-admin/item-edit-display-sb.tcl 7 Apr 2005 22:45:54 -0000 1.7 +++ openacs-4/packages/assessment/www/asm-admin/item-edit-display-sb.tcl 12 Jun 2006 02:49:51 -0000 1.8 @@ -52,6 +52,7 @@ {choice_label_orientation:text(hidden)} {sort_order_type:text(select) {label "[_ assessment.Order_Type]"} {options $order_types} {help_text "[_ assessment.Order_Type_help]"}} {item_answer_alignment:text(hidden)} + {prepend_empty_p:text(select) {label "[_ assessment.Prepend_Empty_Item]"} {options $boolean_options} {help_text "[_ assessment.lt_Prepend_an_empty_item]"}} {as_item_display_id:text(hidden)} } -edit_request { db_1row last_used_display_type {} @@ -65,6 +66,7 @@ set sort_order_type "order_of_entry" set item_answer_alignment "besideright" set as_item_display_id 0 + set prepend_empty_p f } } -validate { {html_display_options {[as::assessment::check_html_options -options $html_display_options]} "[_ assessment.error_html_options]"} @@ -80,15 +82,17 @@ -multiple_p $multiple_p \ -choice_label_orientation $choice_label_orientation \ -sort_order_type $sort_order_type \ - -item_answer_alignment $item_answer_alignment] + -item_answer_alignment $item_answer_alignment \ + -prepend_empty_p $prepend_empty_p] } else { # create new display type set new_item_display_id [as::item_display_sb::new \ -html_display_options $html_display_options \ -multiple_p $multiple_p \ -choice_label_orientation $choice_label_orientation \ -sort_order_type $sort_order_type \ - -item_answer_alignment $item_answer_alignment] + -item_answer_alignment $item_answer_alignment \ + -prepend_empty_p $prepend_empty_p] } set new_assessment_rev_id [as::assessment::new_revision -assessment_id $assessment_id]