[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form Ability to change domains removed from the password form. As per discussion on the mailing list this will not work in CMF.

Charlie Clark charlie at begeistert.org
Sat Sep 18 09:07:54 EDT 2010


Log message for revision 116582:
  Ability to change domains removed from the password form. As per discussion on the mailing list this will not work in CMF. 

Changed:
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form.py
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form_template.pt

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form.py
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form.py	2010-09-18 12:14:15 UTC (rev 116581)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form.py	2010-09-18 13:07:53 UTC (rev 116582)
@@ -32,7 +32,6 @@
 else:
     options['title'] = _(u'Change your Password')
 options['member_id'] = member.getId()
-options['domains'] = ' '.join(member.getDomains())
 buttons = []
 target = '%s/password_form' % portal_url
 buttons.append( {'name': 'change', 'value': _(u'Change')} )

Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form_template.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form_template.pt	2010-09-18 12:14:15 UTC (rev 116581)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/zpt_generic/password_form_template.pt	2010-09-18 13:07:53 UTC (rev 116582)
@@ -35,15 +35,6 @@
   <td><input type="password" name="confirm" /></td>
  </tr>
  <tr>
-  <th i18n:translate="">Domains</th>
-  <td>
-   <input type="text" name="domains:tokens" value=""
-      tal:attributes="value options/domains" /><br />
-    <em i18n:translate="">If you do not know what this field is for, leave it
-    blank.</em>
-  </td>
- </tr>
- <tr>
   <td>&nbsp;</td>
   <td>
    <metal:macro metal:use-macro="context/form_widgets/macros/buttons" />



More information about the checkins mailing list