+
+ #acs-subsite.Email_not_Requested#
+
+ #acs-subsite.lt_We_were_not_awaiting_#
+
+ #acs-subsite.lt_Please_try_to_a_hrefi#
+
+
+
Index: openacs-4/packages/acs-subsite/lib/email-confirm.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/lib/email-confirm.tcl,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/acs-subsite/lib/email-confirm.tcl 29 May 2007 05:40:54 -0000 1.1
@@ -0,0 +1,14 @@
+if {![db_0or1row userp {select 1 from users where user_id = :user_id}]
+ || $token ne [auth::get_user_secret_token -user_id $user_id] } {
+ set title "Bad token"
+ set message "The link given to authenticate your email was invalid."
+ ad_return_template /packages/acs-subsite/lib/message
+} else {
+ auth::set_email_verified -user_id $user_id
+
+ acs_user::get -user_id $user_id -array user_info
+
+ set export_vars [export_vars -form { { username $user_info(username) } }]
+ set site_link [ad_site_home_link]
+ set system_name [ad_system_name]
+}
Index: openacs-4/packages/acs-subsite/www/register/email-confirm.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/register/email-confirm.adp,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/acs-subsite/www/register/email-confirm.adp 10 Sep 2003 17:01:39 -0000 1.9
+++ openacs-4/packages/acs-subsite/www/register/email-confirm.adp 29 May 2007 05:40:54 -0000 1.10
@@ -1,34 +1,4 @@