arjun
committed
on 13 Jun 02
Lots 'o updates
/tcl/dotlrn-syllabus-procs.tcl (+2 -2)
53 53         dotlrn_applet::add_applet_to_dotlrn -applet_key [applet_key]
54 54     }
55 55
56 56     ad_proc -public remove_applet {
57 57     } {
58 58         Used for one-time destroy - must be repeatable!
59 59     } {
60 60         ad_return_complaint 1 "[applet_key] remove_applet not implimented!"
61 61     }
62 62    
63 63     ad_proc -public add_applet_to_community {
64 64         community_id
65 65     } {
66 66         Add the syllabus paper applet to a specifc dotlrn community
67 67     } {
68 68         # set up the admin portlet
69 69         set admin_portal_id [dotlrn_community::get_admin_portal_id \
70 70                                  -community_id $community_id
71 71         ]
72 72                
73           syllabus_admin_portlet::add_self_to_page $admin_portal_id
  73         syllabus_admin_portlet::add_self_to_page -portal_id $admin_portal_id
74 74
75 75         # set up the syllabus portlet
76 76         set portal_id [dotlrn_community::get_portal_id -community_id $community_id]
77 77
78 78         set args [ns_set create]
79 79         ns_set put $args package_id $community_id
80 80
81 81         add_portlet_helper $portal_id $args
82 82
83 83         return ""
84 84     }
85 85
86 86     ad_proc -public remove_applet_from_community {
87 87         community_id
88 88     } {
89 89     } {
90 90         ad_return_complaint 1 "[applet_key] remove_applet_from_community not implimented!"
91 91     }
92 92
93 93     ad_proc -public add_user {