+
Index: openacs-4/packages/notifications/www/manage.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/www/manage.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/notifications/www/manage.tcl 20 Sep 2002 21:19:01 -0000 1.1
@@ -0,0 +1,15 @@
+ad_page_contract {
+
+ Manage notifications for one user
+
+ @author Tracy Adams (teadams@alum.mit.edu)
+ @creation-date 2002-07-22
+ @cvs-id $Id: manage.tcl,v 1.1 2002/09/20 21:19:01 jeffd Exp $
+} {}
+
+set user_id [ad_conn user_id]
+set return_url [ad_conn url]
+
+db_multirow notifications select_notifications {}
+
+ad_return_template
\ No newline at end of file
Index: openacs-4/packages/notifications/www/object-goto.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/www/object-goto.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/notifications/www/object-goto.tcl 20 Sep 2002 21:19:01 -0000 1.1
@@ -0,0 +1,23 @@
+ad_page_contract {
+ go to an object
+
+ @author Tracy Adams (teadams@alum.mit.edu)
+ @creation-date 22 July 2002
+ @cvs-id $Id: object-goto.tcl,v 1.1 2002/09/20 21:19:01 jeffd Exp $
+} {
+ object_id:notnull
+}
+
+
+# At the time of writing, the only supported
+# notification types were on the object types
+# forum_forums and forum_messages. get_url
+# will handle both these types. If there are
+# more type of notifications added, this file
+# has to be changed to handle them. Perhaps
+# it could be handles in a generic way, using
+# meta-data about the object_type to auto-generate
+# the url.
+
+ad_returnredirect [forum::notification::get_url $object_id]
+