Index: openacs-4/packages/lorsm/www/course-structure.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/Attic/course-structure.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/lorsm/www/course-structure.tcl 14 Nov 2004 12:50:09 -0000 1.3 +++ openacs-4/packages/lorsm/www/course-structure.tcl 3 Dec 2004 17:52:49 -0000 1.4 @@ -30,8 +30,8 @@ } # set context & title -set context [list "Course Structure"] -set title "Course Structure" +set context [list "[_ lorsm.Course_Structure]"] +set title "[_ lorsm.Course_Structure]" if {[db_0or1row manifest " @@ -71,12 +71,12 @@ # Course Name if {[empty_string_p $course_name]} { - set course_name "No course Name" + set course_name "[_ lorsm.No_course_Name]" } # Version if {[empty_string_p $version]} { - set version "No version Available" + set version "[_ lorsm.No_version_Available]" } # Instance @@ -115,9 +115,9 @@ append orgs_list "
Organization | -Metadata? | -Items | +[_ lorsm.Organization] | +[_ lorsm.Metadata_1] | +[_ lorsm.Items] | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
$org_title | $hasmetadata | " set indent [expr $indent +1] - set missing_text "Nothing here" + set missing_text "[_ lorsm.Nothing_here]" set return_url [export_vars -base [ns_conn url] man_id] set table_extra_html { width="100%" } set table_extra_vars {return_url} set table_def { - { title "Item Name" "no_sort" " | $indent[if {![empty_string_p $identifierref]} {set href \"$item_title\"} else {set href $item_title}] | " } - { Edit "Edit?" "no_sort" "[if {![empty_string_p $identifierref]} {set href \"Edit | \"}]"} - { metadata "Metadata?" "no_sort" "[if {$hasmetadata == \"f\"} {set hasmetadata \"No\"} else {set hasmetadata \"Yes\"}] | " } - { type "Type" "no_sort" "$type | " } - { shared "Is Shared?" "no_sort" "[if {$isshared == false} {set ret \"No\"}] | " } + { title "[_ lorsm.Item_Name]" "no_sort" "$indent[if {![empty_string_p $identifierref]} {set href \"$item_title\"} else {set href $item_title}] | " } + { Edit "[_ lorsm.Edit]" "no_sort" "[if {![empty_string_p $identifierref]} {set href \"[_ lorsm.Edit_1] | \"}]"} + { metadata "[_ lorsm.Metadata_1]" "no_sort" "[if {$hasmetadata == \"f\"} {set hasmetadata \"No\"} else {set hasmetadata \"Yes\"}] | " } + { type "[_ lorsm.Type]" "no_sort" "$type | " } + { shared "[_ lorsm.Is_Shared]" "no_sort" "[if {$isshared == false} {set ret \"No\"}] | " } } set table_item [ad_table -Tmissing_text $missing_text -Textra_vars $table_extra_vars -Theader_row_extra "style=\"background-color: #e0e0e0; font-weight: bold;\" class=\"list-header\"" -Ttable_extra_html $table_extra_html blah {