1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master">
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
7 <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default">
8 <div tal:define="purl here/portal_url;
9 mtool here/portal_membership;
10 member mtool/getAuthenticatedMember;
12 <div tal:condition="python: not( mtool.checkPermission( 'Set own properties'
14 <span id="dummy_for_redirect" tal:define="aurl here/absolute_url;
15 rurl string:${purl}/login_form?came_from=${aurl};
16 response request/RESPONSE;
17 redirect python:response.redirect( rurl )" />
19 <!-- not Set own properties -->
21 <h1 i18n:translate="">Member Preferences</h1>
22 <span tal:condition="request/msg|nothing" tal:replace="request/msg" />
23 <p i18n:translate=""><span i18n:name="link"><a href="password_form" i18n:translate="">Click here</a></span> to change your password.</p>
24 <form action="personalize" method="post" tal:attributes="action string:${purl}/personalize">
25 <table class="TwoColumnForm" cellspacing="0">
27 <th i18n:translate="">Name</th>
29 <input type="text" name="name" value="" tal:attributes="value member/name|nothing" />
33 <th i18n:translate="">Given Name</th>
35 <input type="text" name="given_name" tal:attributes="value member/given_name|nothing" />
39 <th i18n:translate="">Email address</th>
41 <input type="text" name="email" value="" tal:attributes="value member/email|nothing" />
45 <th i18n:translate="">Text editor</th>
47 <select name="wysiwyg_editor" size="1">
48 <option value="plain text" tal:repeat="editor python:portal_object.getProperty('available_editors')" tal:attributes="value editor ; selected python:member.getProperty('wysiwyg_editor', '') == editor" tal:content="editor" i18n:translate="">plain</option>
54 <th valign="top" i18n:translate="">Photos width</th>
56 <input type="text" name="photo_width" size="3" tal:attributes="value member/photo_width|nothing" /> pixels
60 <th valign="top" i18n:translate="">Listed status</th>
61 <td tal:define="listed member/listed|nothing">
62 <input id="cb_listed" type="radio" name="listed" value="on" tal:attributes="checked listed" /><label for="cb_listed" i18n:translate="">Listed</label>
63 <dl class="FieldHelp">
64 <dd i18n:translate="">You will show up on the public membership roster.</dd>
66 <input id="cb_unlisted" type="radio" name="listed" value="" tal:attributes="checked python:( hasattr(member,'listed')
67 and not(member.getProperty( 'listed' ) ) )" /><label for="cb_unlisted" i18n:translate="">Unlisted</label>
68 <dl class="FieldHelp">
69 <dd i18n:translate="">You will <i>not</i> show up on the public membership roster. Your Member folder will still be publicly accessible unless you change its security settings.</dd>
73 <tr tal:define="s_tool here/portal_skins" tal:condition="python:len(s_tool.getSkinSelections()) > 1">
74 <th i18n:translate="">Skin</th>
75 <td tal:define="current request/portal_skin|nothing;">
76 <select name="portal_skin">
77 <option value="" tal:attributes="value skin;
78 selected python:current == skin" tal:define="skins python:s_tool.getSkinSelections()" tal:content="skin" tal:repeat="skin skins">skin</option>
87 <input type="submit" value="Change" i18n:attributes="value" />
93 <!-- class="Desktop" -->
95 <!-- tal:define="mtool" -->
97 <!-- metal:fill-slot="main" -->