Index: openacs-4/packages/contacts/lib/groups-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/groups-portlet.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/contacts/lib/groups-portlet.adp	17 Oct 2005 16:53:53 -0000	1.1
+++ openacs-4/packages/contacts/lib/groups-portlet.adp	20 Oct 2005 14:04:19 -0000	1.2
@@ -8,7 +8,8 @@
     <table border="0" cellpadding="1" cellspacing="1" width="100%">
       <tr>
         <td>
-	    <include src="/packages/contacts/lib/groups" party_id="@party_id@">
+	    <include src="/packages/contacts/lib/groups" party_id="@party_id@"
+	    hide_form_p="@hide_form_p@">
         </td>
       </tr>
     </table>
Index: openacs-4/packages/contacts/lib/groups-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/groups-portlet.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/contacts/lib/groups-portlet.tcl	17 Oct 2005 16:53:53 -0000	1.1
+++ openacs-4/packages/contacts/lib/groups-portlet.tcl	20 Oct 2005 14:04:19 -0000	1.2
@@ -1 +1,7 @@
+foreach optional_param {hide_form_p} {
+    if {![info exists $optional_param]} {
+	set $optional_param {}
+    }
+}
+
 set portlet_layout [parameter::get -parameter "DefaultPortletLayout"]
\ No newline at end of file
Index: openacs-4/packages/contacts/lib/groups.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/lib/groups.adp,v
diff -u -r1.11 -r1.12
--- openacs-4/packages/contacts/lib/groups.adp	16 Oct 2005 10:16:25 -0000	1.11
+++ openacs-4/packages/contacts/lib/groups.adp	20 Oct 2005 14:04:19 -0000	1.12
@@ -5,9 +5,9 @@
 <else>
 <p>#contacts.lt_You_cannot_add_this_c#</p>
 </else>
+<h3 class="contact-title"><if @hide_form_p@ true><a href="./groups"></if>#contacts.Groups#<if @hide_form_p@ true></a></if></h3>
 </if>
 <if @groups:rowcount@ gt 0>
-<h3 class="contact-title"><if @hide_form_p@ true><a href="./groups"></if>#contacts.Groups#<if @hide_form_p@ true></a></if></h3>
 <ul>
 <table width="100%">
 <multiple name="groups">