Index: openacs-4/packages/ams/www/list-code.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/www/list-code.adp,v diff -u -r1.4 -r1.5 --- openacs-4/packages/ams/www/list-code.adp 3 Jun 2005 05:10:18 -0000 1.4 +++ openacs-4/packages/ams/www/list-code.adp 7 Jun 2005 07:44:14 -0000 1.5 @@ -32,8 +32,8 @@ -static_p "@attributes.static_p@" \ -if_does_not_exist] -lang::message::register en_US ams @attributes.message_key@ "@attributes.true_pretty@" -lang::message::register en_US ams @attributes.message_key@_plural "@attributes.true_plural@" +lang::message::register en_US acs-translations @attributes.message_key@ "@attributes.true_pretty@" +lang::message::register en_US acs-translations @attributes.message_key@_plural "@attributes.true_plural@" ams::attribute::new \ -attribute_id $attribute_id \ @@ -46,6 +46,16 @@ -sort_order "@attributes.list_sort_order@" \ -required_p "@attributes.required_p@" \ -section_heading "@attributes.section_heading@" + + + +set option_id [ams::option::new \ + -attribute_id $attribute_id \ + -option "\#@attributes.option@#"] + +lang::message::register en_US acs-translations @attributes.option_key@ "@attributes.true_option@" + +