l34marr / pftx.website

GNU General Public License v2.0
0 stars 0 forks source link

Override Files #1

Open l34marr opened 6 years ago

l34marr commented 6 years ago

plone.app.users/schema.py

81c81
<     email = ProtectedEmail(
---
>     email = ProtectedTextLine(
84d83
<         constraint=checkEmailAddress,

plone.app.users/browser/membersearch.py

18c18
<         fields=['login', 'email', 'fullname']
---
>         fields=['login', 'fullname']
26,32d25
<         required=False,
<     )
<     email = schema.TextLine(
<         title=_(u'label_email', default=u'E-mail'),
<         description=_(
<             u'help_search_email',
<             default=u'Find users whose email address contain'),

plone.app.users/browser/userdatapanel.py

83,84c83,84
<                 u'description_company_information_form',
<                 default='Change your company information'
---
>                 u'description_personal_information_form',
>                 default='Change your personal information'

plone.app.users/profiles/default/userschema.xml

8a9,11
>       <description i18n:translate="help_homepage">
>           The URL for your external home page, if you have one.
>       </description>
12c15
<     <field name="report" type="zope.schema.URI"
---
>     <field name="location" type="zope.schema.TextLine"
13a17,19
>       <description i18n:translate="help_location">
>           Your location - either city and country - or in a company setting, where your office is located.
>       </description>
15c21
<       <title i18n:translate="label_report">Report</title>
---
>       <title i18n:translate="label_location">Location</title>
17c23
<     <field name="panorama" type="zope.schema.URI"
---
>     <field name="description" type="zope.schema.Text"
18a25,27
>       <description i18n:translate="help_biography">
>           A short overview of who you are and what you do. Will be displayed on your author page, linked from the items you create.
>       </description>
20c29,39
<       <title i18n:translate="label_panorama">Panorama</title>
---
>       <title i18n:translate="label_biography">Biography</title>
>     </field>
>     <field name="portrait"
>            type="plone.namedfile.field.NamedBlobImage"
>            form:widget="plone.app.users.schema.PortraitFieldWidget"
>            users:forms="In User Profile">
>       <description i18n:translate="help_portrait">
>           To add or change the portrait: click the "Browse" button; select a picture of yourself. Recommended image size is 75 pixels wide by 100 pixels tall.
>       </description>
>       <required>False</required>
>       <title i18n:translate="label_portrait">Portrait</title>

Products.PlonePAS/tools/membership.py

406,408d405
<             'description': member.getProperty('description', ''),
<             'location': member.getProperty('location', ''),
<             'language': member.getProperty('language', ''),
409a407,409
>             'report': member.getProperty('report', ''),
>             'panorama': member.getProperty('panorama', ''),
>             'language': member.getProperty('language', ''),

Products.CMFPlone/profiles/default/actions.xml

248c248 dashboard visible
< True
---
> False

Products.CMFPlone/skins/plone_login/login_form.cpt

270,284d269
<             <div id="login-forgotten-password"
<                  tal:condition="python:mail_password_url and use_normal">
<                 <strong i18n:translate="box_forgot_password_option">
<                     Forgot your password?
<                 </strong>
<                 <p class="discreet"
<                    i18n:translate="help_password_retrieval">
<                     If you have forgotten your password,
<                     <span i18n:name="click_here">
<                         <a tal:define="mail_password_url python:mail_password_url+test(mail_password_url.find('?')==-1, '?', '&amp;')+ztu.make_query(userid=login_name)"
<                             tal:attributes="href mail_password_url; target target;"
<                            i18n:translate="label_click_here_to_retrieve">we can send you a new one</a></span>.
<                 </p>
<             </div>
<
l34marr commented 6 years ago

plone.i18n/normalizer/_init_.py

81c81
 text = text.lower()
---
 #text = text.lower()
192c192
 base = text.lower()
---
 base = text