Index: WAeUP_SRP/base/skins/cps_custom/config_form.pt
===================================================================
--- WAeUP_SRP/base/skins/cps_custom/config_form.pt	(revision 2447)
+++ WAeUP_SRP/base/skins/cps_custom/config_form.pt	(revision 2454)
@@ -71,4 +71,15 @@
       <tr>
         <th>
+          <label>
+            Current Session
+          </label>
+        </th>
+        <td>
+          <input name="session" id="portal_session" value=""
+                 tal:attributes="value pprops/session" />
+        </td>
+      </tr>      
+      <tr>
+        <th>
           <label for="portal_description"
                  i18n:translate="label_portal_description">
Index: WAeUP_SRP/base/skins/cps_custom/reconfig.py
===================================================================
--- WAeUP_SRP/base/skins/cps_custom/reconfig.py	(revision 2454)
+++ WAeUP_SRP/base/skins/cps_custom/reconfig.py	(revision 2454)
@@ -0,0 +1,38 @@
+##parameters=REQUEST
+#$Id: reconfig.py 33523 2006-02-27 16:17:45Z fguillaume $
+"""
+This script just saves the portal properties from the reconfig_form
+template.
+"""
+
+portal = context.portal_url.getPortalObject()
+form = REQUEST.form
+
+# The portal_properties API is dumb, so we change properties directly
+# on the portal object.
+portal.manage_changeProperties(
+    email_from_name=form.get('email_from_name'),
+    email_from_address=form.get('email_from_address'),
+    title=form.get('title'),
+    description=form.get('description'),
+    session=form.get('session'),
+    )
+
+# Update membership tool properties
+portal.portal_membership.manage_changeProperties(
+    enable_password_reset=form.get('enable_password_reset'),
+    enable_password_reminder=form.get('enable_password_reminder'),
+    )
+
+# Update registration tool properties
+portal.portal_registration.manage_changeProperties(
+    enable_portal_joining=form.get('enable_portal_joining'),
+    )
+
+# Update MailHost properties
+portal.portal_properties.editProperties({
+    'smtp_server': form.get('smtp_server'),
+    })
+
+url = '%s/config_form?portal_status_message=psm_portal_reconfigured'
+return REQUEST.RESPONSE.redirect(url % portal.portal_url())
