Index: openacs-4/contrib/packages/survey/www/admin/section-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/survey/www/admin/Attic/section-add.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/survey/www/admin/section-add.tcl 19 Sep 2003 16:48:04 -0000 1.1 +++ openacs-4/contrib/packages/survey/www/admin/section-add.tcl 14 Feb 2004 19:57:59 -0000 1.2 @@ -23,25 +23,25 @@ ad_form -name create_section -action section-add-2 -form { {section_id:text(hidden) {value $next_section_id}} {survey_id:text(hidden) {value $survey_id}} - {name:text(text) {label "Section Name"} {html {size 30}}} - {description:text(textarea) {label "Description"} {html {rows 5 cols 70}}} - {description_html_p:text(radio) {label "The above description is"} {options {{HTML t} {"Plain text" f}}} {value f}} - {branch_p:text(radio) {label "Branch"} {options {{Yes t} {No f}}} {value f}} - {page_break_p:text(radio) {label "Begin new Page after this section"} {options {{Yes t} {No f}}} {value t}} + {name:text(text) {label "[_ survey.Section_Name]"} {html {size 30}}} + {description:text(textarea) {label "[_ survey.Description_1]"} {html {rows 5 cols 70}}} + {description_html_p:text(radio) {label "[_ survey.lt_The_above_description]"} {options {{HTML t} {"[_ survey.Plain_text]" f}}} {value f}} + {branch_p:text(radio) {label "[_ survey.Branch]"} {options {{Yes t} {No f}}} {value f}} + {page_break_p:text(radio) {label "[_ survey.lt_Begin_new_Page_after_]"} {options {{Yes t} {No f}}} {value t}} } -set poslist [list [list "First Section" 0]] +set poslist [list [list "[_ survey.First_Section]" 0]] db_foreach positions "" { lappend poslist [list $secname $secsortkey] } set lastsec $secsortkey ad_form -extend -name create_section -form { - {after:integer(Select) {label "Position"} {options $poslist} {value $lastsec}} + {after:integer(Select) {label "[_ survey.Position]"} {options $poslist} {value $lastsec}} } get_survey_info -survey_id $survey_id -set context_bar [ad_context_bar [list "one?[export_url_vars survey_id]" $survey_info(name)] "Add A Section"] +set context_bar [ad_context_bar [list "one?[export_url_vars survey_id]" $survey_info(name)] "[_ survey.Add_A_Section]"] ad_return_template