Index: openacs-4/packages/dotlrn-ecommerce/lib/cal-view.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/cal-view.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/dotlrn-ecommerce/lib/cal-view.adp 3 Aug 2005 08:30:10 -0000 1.4
+++ openacs-4/packages/dotlrn-ecommerce/lib/cal-view.adp 3 Aug 2005 09:11:19 -0000 1.5
@@ -12,11 +12,11 @@
-
+ |
|
- View All
+ View All
|
Index: openacs-4/packages/dotlrn-ecommerce/lib/cal-view.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/cal-view.tcl,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/dotlrn-ecommerce/lib/cal-view.tcl 3 Aug 2005 08:30:10 -0000 1.5
+++ openacs-4/packages/dotlrn-ecommerce/lib/cal-view.tcl 3 Aug 2005 09:11:19 -0000 1.6
@@ -5,8 +5,12 @@
@creation-date 11-02-2005
} {
+ course_type_f:optional
category_f:optional
uncat_f:optional
+ grade_f:optional
+ terms_f:optional
+ zone_f:optional
instructor:optional
{ level "" }
{ date "" }
@@ -213,6 +217,15 @@
values { {List ""} }
}]
+#ns_log notice " *** $grade_f ***"
+
+if { [exists_and_not_null course_type_f] || [exists_and_not_null grade_f] || [exists_and_not_null terms_f] || [exists_and_not_null zone_f]|| [exists_and_not_null instructor] } {
+ set show_view_all "1"
+} else {
+ set show_view_all "0"
+}
+
+
set cc_package_id [apm_package_id_from_key "dotlrn-catalog"]
set admin_p [permission::permission_p -object_id $cc_package_id -privilege "admin"]
template::list::create \
Index: openacs-4/packages/dotlrn-ecommerce/lib/view-month-display.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/view-month-display.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/dotlrn-ecommerce/lib/view-month-display.adp 3 Aug 2005 07:11:37 -0000 1.4
+++ openacs-4/packages/dotlrn-ecommerce/lib/view-month-display.adp 3 Aug 2005 09:11:19 -0000 1.5
@@ -1,20 +1,13 @@
-
-
- | Before 12pm |
- | Between 12pm and 5pm |
- | After 5pm |
-
-
-
+ |
@month_string@ @year@
|
-
+ |
+
+
+ | Before 12pm |
+ | Between 12pm and 5pm |
+ | After 5pm |
+
+
-
|