[CMF-checkins] CVS: Products/CMFDefault/skins/generic - personalize_form.dtml:1.3

Jens Vagelpohl jens@zope.com
Wed, 10 Oct 2001 12:04:30 -0400


Update of /cvs-repository/Products/CMFDefault/skins/generic
In directory cvs.zope.org:/tmp/cvs-serv1096/CMFDefault/skins/generic

Modified Files:
	personalize_form.dtml 
Log Message:
CMF Tracker 372: use getProperty where possible instead of directly
referencing attributes on the member object




=== Products/CMFDefault/skins/generic/personalize_form.dtml 1.2 => 1.3 ===
   <tr>
    <th>Email address</th>
-   <td><input type="text" name="email" value="<dtml-var "member.email" html_quote>"></td>
+   <td><input type="text" name="email" 
+              value="<dtml-var "member.getProperty( 'email' )" html_quote>"></td>
   </tr>
   <tr>
    <th valign="top">Listed status</th>
    <td>
-    <dtml-let listedChecked="member.listed and 'checked' or ''"
-              unlistedChecked="(not member.listed) and 'checked' or ''"
+    <dtml-let listedChecked="member.getProperty( 'listed' )  and 'checked' or ''"
+              unlistedChecked="(not member.getProperty( 'listed' )) and 'checked' or ''"
     >
      <input type="radio" name="listed" &dtml-listedChecked;
             value="on" id="cb_listed" />