Index: openacs-4/contrib/packages/survey/www/admin/predefined-question-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/survey/www/admin/Attic/predefined-question-ae.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/survey/www/admin/predefined-question-ae.tcl 19 Sep 2003 16:48:04 -0000 1.1 +++ openacs-4/contrib/packages/survey/www/admin/predefined-question-ae.tcl 14 Feb 2004 19:57:59 -0000 1.2 @@ -10,23 +10,23 @@ set package_id [ad_conn package_id] set user_id [ad_get_user_id] -set context_bar [ad_context_bar "Predefined Questions"] +set context_bar [ad_context_bar "[_ survey.Predefined_Questions]"] # require sitewide admin ad_require_permission [acs_magic_object "security_context_root"] "admin" ad_form -name predef -form { predefined_question_id:key - {question_text:text(textarea) {label "Question"} {html {rows 5 cols 70}}} - {question_html_p:text(radio) {label "HTML?"} {options {{"Yes" t} {"No" f}}} {value f}} + {question_text:text(textarea) {label "[_ survey.Question]"} {html {rows 5 cols 70}}} + {question_html_p:text(radio) {label "[_ survey.HTML_1]"} {options {{"[_ survey.Yes]" t} {"[_ survey.No]" f}}} {value f}} {presentation_type:text(select) - {label "Presentation Type"} - {options {{ "One Line Answer (Text Field)" "textbox" } - { "Essay Answer (Text Area)" "textarea" } - { "Multiple Choice (Drop Down, single answer allowed)" "select" } - { "Multiple Choice (Radio Buttons, single answer allowed)" "radio" } - { "Multiple Choice (Checkbox, multiple answers allowed)" "checkbox" } - { "Date" "date" } - { "File Attachment" "upload_file" } } } } + {label "[_ survey.Presentation_Type]"} + {options {{ "[_ survey.lt_One_Line_Answer_Text_]" "textbox" } + { "[_ survey.lt_Essay_Answer_Text_Are]" "textarea" } + { "[_ survey.lt_Multiple_Choice_Drop_]" "select" } + { "[_ survey.lt_Multiple_Choice_Radio]" "radio" } + { "[_ survey.lt_Multiple_Choice_Check]" "checkbox" } + { "[_ survey.Date]" "date" } + { "[_ survey.File_Attachment]" "upload_file" } } } } } -select_query { select * from survey_predefined_questions where predefined_question_id=:predefined_question_id } -after_submit {