Index: openacs-4/packages/calendar-portlet/www/calendar-full-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar-portlet/www/calendar-full-portlet.adp,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/calendar-portlet/www/calendar-full-portlet.adp 18 Mar 2002 06:05:26 -0000 1.5
+++ openacs-4/packages/calendar-portlet/www/calendar-full-portlet.adp 18 Mar 2002 18:20:43 -0000 1.6
@@ -4,8 +4,10 @@
@cal_nav@
- Add an item
- Manage Item Types
+
|
@cal_stuff@
Index: openacs-4/packages/calendar-portlet/www/calendar-full-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar-portlet/www/calendar-full-portlet.tcl,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/calendar-portlet/www/calendar-full-portlet.tcl 14 Mar 2002 05:10:52 -0000 1.6
+++ openacs-4/packages/calendar-portlet/www/calendar-full-portlet.tcl 18 Mar 2002 18:20:43 -0000 1.7
@@ -26,6 +26,10 @@
set force_calendar_id [lindex $list_of_calendar_ids 0]
}
+# permissions
+set create_p [ad_permission_p $force_calendar_id cal_item_create]
+set admin_p [ad_permission_p $force_calendar_id calendar_admin]
+
# set up some vars
if {[empty_string_p $date]} {
if {[empty_string_p $julian_date]} {
|