Index: openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl 7 Jun 2004 16:05:15 -0000 1.6 +++ openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl 10 Jun 2004 21:08:54 -0000 1.7 @@ -23,9 +23,9 @@ set community_id [dotlrn_community::get_community_id] set new_p [ad_form_new_p -key task_id] if { $new_p } { - set page_title "Add Task" + set page_title "[_ evaluation.Add_Task_]" } else { - set page_title "Edit Task" + set page_title "[_ evaluation.Edit_Task_]" } if { [info exists admin_groups_p] } { @@ -46,7 +46,7 @@ task_id:key {task_name:text - {label "Task Name"} + {label "[_ evaluation.Task_Name_]"} {html {size 30}} } @@ -63,24 +63,24 @@ ad_form -extend -name task -form { {upload_file:file,optional - {label "File"} + {label "[_ evaluation.File_]"} {html "size 30"} - {help_text "Currently $title is attached to this task, but you can attach a different file/url just by adding it here"} + {help_text "[_ evaluation.lt_Currently_title_is_at_1]"} } {unattach_p:text(checkbox),optional - {label "Unattach file?"} + {label "[_ evaluation.Unattach_file_]"} {options {{"" "t"}}} - {help_text "Check this if you want to unattach the file"} + {help_text "[_ evaluation.lt_Check_this_if_you_wan]"} } {url:text(text),optional - {label "URL"} + {label "[_ evaluation.URL__1]"} {value "http://"} } } } else { ad_form -extend -name task -form { {upload_file:text,optional - {label "File"} + {label "[_ evaluation.File_]"} {html "size 30"} {value "$title"} } @@ -99,27 +99,27 @@ ad_form -extend -name task -form { {upload_file:file,optional - {label "File"} + {label "[_ evaluation.File_]"} {html "size 30"} } {url:text(text),optional - {label "URL"} + {label "[_ evaluation.URL__1]"} {value "http://"} - {help_text "Currently $content is associated to this task, but you can associate a different url/file just by adding it here"} + {help_text "[_ evaluation.lt_Currently_content_is__1]"} } {unattach_p:text(checkbox),optional - {label "Unassociate url?"} + {label "[_ evaluation.Unassociate_url_]"} {options {{"" "t"}}} - {help_text "Check this if you want to unattach the file"} + {help_text "[_ evaluation.lt_Check_this_if_you_wan]"} } } } else { ad_form -extend -name task -form { - {upload_file:hidden + {upload_file:text(hidden) } {url:text(text),optional - {label "URL"} + {label "[_ evaluation.URL__1]"} {value "$content"} } {unattach_p:text(hidden) @@ -130,13 +130,13 @@ ad_form -extend -name task -form { {upload_file:file,optional - {label "File"} + {label "[_ evaluation.File_]"} {html "size 30"} - {help_text "You can upload a file associated to this task by using the browse button (optional)"} + {help_text "[_ evaluation.lt_You_can_upload_a_file]"} } {url:text(text),optional - {label "URL"} + {label "[_ evaluation.URL__1]"} {value "http://"} {help_text "You can associate a link to this task by entering the absolute url here (also optional)"} } @@ -152,18 +152,18 @@ ad_form -extend -name task -form { {upload_file:file,optional - {label "File"} + {label "[_ evaluation.File_]"} {html "size 30"} - {help_text "You can upload a file associated to this task by using the browse button and select the file from your computer (optional)"} + {help_text "[_ evaluation.lt_You_can_upload_a_file_1]"} } } ad_form -extend -name task -form { {url:text(text),optional - {label "URL"} + {label "[_ evaluation.URL__1]"} {value "http://"} - {help_text "You can associate a link to this task by entering the absolute url here (also optional)"} + {help_text "[_ evaluation.lt_You_can_associate_a_l]"} } {unattach_p:text(hidden),optional @@ -175,57 +175,57 @@ ad_form -extend -name task -form { {description:richtext,optional - {label "Task's Description"} + {label "[_ evaluation.lt_Assignments_Descripti]"} {html {rows 4 cols 40 wrap soft}} } {due_date:date,to_sql(linear_date),from_sql(sql_date) - {label "Due Date"} + {label "[_ evaluation.Due_Date_]"} {format "MONTH DD YYYY"} {today} {help} {value {[evaluation::now_plus_days -ndays 15]}} } {number_of_members:naturalnum - {label "Number of Members"} + {label "[_ evaluation.Number_of_Members_]"} {value "1"} {html {size 5 onChange TaskInGroups()}} - {help_text "1 = Individual"} - {after_html {