Index: openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl,v diff -u -r1.36 -r1.37 --- openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 28 Jul 2005 23:42:47 -0000 1.36 +++ openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 3 Aug 2005 06:58:40 -0000 1.37 @@ -247,9 +247,13 @@ set admin_p [permission::permission_p -object_id $cc_package_id -privilege "admin"] set actions [list] +# HAM : View Calendar / View All +if { [string equal $view "calendar"] } { + lappend actions "[_ dotlrn-ecommerce.View_Calendar]" ? "[_ dotlrn-ecommerce.View_Calendar]" +} else { + lappend actions "[_ dotlrn-ecommerce.View_All]" ?view=calendar "[_ dotlrn-ecommerce.View_All]" +} -lappend actions "[_ dotlrn-ecommerce.View_All]" ? "[_ dotlrn-ecommerce.View_All]" - if { $admin_p } { lappend actions "[_ dotlrn-ecommerce.Add_Course]" admin/course-add-edit "[_ dotlrn-ecommerce.Add_Course]" }