Index: openacs-4/packages/dotlrn/lib/facilitator-bio.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/lib/Attic/facilitator-bio.adp,v
diff -u -r1.1.2.2 -r1.1.2.3
--- openacs-4/packages/dotlrn/lib/facilitator-bio.adp 13 Sep 2005 14:42:48 -0000 1.1.2.2
+++ openacs-4/packages/dotlrn/lib/facilitator-bio.adp 22 Sep 2005 07:31:59 -0000 1.1.2.3
@@ -2,7 +2,7 @@
@user.name;noquote@
-
+
Edit My Bio
Index: openacs-4/packages/dotlrn/lib/facilitator-bio.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/lib/Attic/facilitator-bio.tcl,v
diff -u -r1.1.2.2 -r1.1.2.3
--- openacs-4/packages/dotlrn/lib/facilitator-bio.tcl 13 Sep 2005 14:42:48 -0000 1.1.2.2
+++ openacs-4/packages/dotlrn/lib/facilitator-bio.tcl 22 Sep 2005 07:31:59 -0000 1.1.2.3
@@ -70,8 +70,10 @@
set export_vars "user_id=$user_id"
}
-if {[empty_string_p $community_id]} {
- set edit_bio_url [export_vars -base "bio-update" {return_url user_id}]
-} else {
- set edit_bio_url [export_vars -base "[dotlrn_community::get_community_url $community_id]bio-update" {return_url user_id}]
+if {[string equal $my_user_id $user_id] || $facilitator_p} {
+ if {[empty_string_p $community_id]} {
+ set edit_bio_url [export_vars -base "bio-update" {return_url user_id}]
+ } else {
+ set edit_bio_url [export_vars -base "[dotlrn_community::get_community_url $community_id]bio-update" {return_url user_id}]
+ }
}