Index: openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp,v
diff -u -r1.18.2.2 -r1.18.2.3
--- openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp	3 Mar 2007 19:00:21 -0000	1.18.2.2
+++ openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.adp	22 Mar 2007 18:27:53 -0000	1.18.2.3
@@ -26,7 +26,7 @@
 <p>
 
 <if @spam_p@ true>
-  <a href="spam-recipients?community_id=@community_id@&referer=@referer@" title="#dotlrn-portlet.Email_Members#" class="button">#dotlrn-portlet.Email_Members#</a>
+  <a href="@spam_url@" title="#dotlrn-portlet.Email_Members#" class="button">#dotlrn-portlet.Email_Members#</a>
 </if>
 <if @admin_p@ eq 1>
   	<a href="members" title="#dotlrn-portlet.Sortmanage#" class="button">#dotlrn-portlet.Sortmanage#</a>
Index: openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.tcl,v
diff -u -r1.13.2.1 -r1.13.2.2
--- openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.tcl	3 Mar 2007 18:25:47 -0000	1.13.2.1
+++ openacs-4/packages/dotlrn-portlet/www/dotlrn-members-portlet.tcl	22 Mar 2007 18:27:53 -0000	1.13.2.2
@@ -75,3 +75,5 @@
             label {#dotlrn.Role#}
         }
     }
+
+set spam_url [export_vars -base spam-recipients {community_id referer}]
\ No newline at end of file
Index: openacs-4/packages/dotlrn-portlet/www/dotlrn-members-staff-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-portlet/www/dotlrn-members-staff-portlet.adp,v
diff -u -r1.19.2.2 -r1.19.2.3
--- openacs-4/packages/dotlrn-portlet/www/dotlrn-members-staff-portlet.adp	3 Mar 2007 17:22:08 -0000	1.19.2.2
+++ openacs-4/packages/dotlrn-portlet/www/dotlrn-members-staff-portlet.adp	22 Mar 2007 18:27:53 -0000	1.19.2.3
@@ -41,7 +41,7 @@
   <else>
     <li>#dotlrn-portlet.no_instructor_members#</li>
   </else>
-  </ul></br>
+  </ul>
 <if @n_tas@ gt 0>
   <%= [dotlrn_community::get_role_pretty_plural -community_id $community_id -rel_type dotlrn_ta_rel] %>:
   <ul>
@@ -55,7 +55,7 @@
         </li>
       </if>
     </multiple>
-  </ul></br>
+  </ul>
 </if>
 
   <if @n_cas@ gt 0>
@@ -81,7 +81,6 @@
   <else>
     <br>#dotlrn-portlet.no_course_assistant_members#
   </else>
-  </ul>
 </else>
 
 </if>