Changeset 871
- Timestamp:
- 06/01/07 07:41:06
- Files:
-
- qPloneCaptchas/trunk/skins/captchas_ploneformmailer/2.1.2/formmailer_portlet.cpt (modified) (4 diffs)
- qPloneCaptchas/trunk/skins/captchas_ploneformmailer/2.5/formmailer_portlet.cpt (modified) (4 diffs)
- qPloneCaptchas/trunk/skins/captchas_ploneformmailer/2.5/formmailer_portlet.cpt.metadata (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qPloneCaptchas/trunk/skins/captchas_ploneformmailer/2.1.2/formmailer_portlet.cpt
r744 r871 9 9 i18n:domain="pfm" 10 10 tal:omit-tag="" > 11 <d ivclass="portlet"11 <dl class="portlet" 12 12 id="portlet-formmailer" 13 13 tal:define="pfm python:here.pfmbox; 14 14 translatable python:hasattr(portal,'portal_languages') and portal.portal_languages.isTranslatable(pfm); 15 15 pfm python:translatable and pfm.getTranslation() or pfm; 16 form python:pfm.form"> 17 <div class="padding"> 18 <h5 tal:content="pfm/title_or_id">Title or Id</h5> 19 <div class="portletBody" 20 tal:define="title python: test(form.title, form.title, 'unknown'); 21 method python:form.method; 22 enc python:form.enctype; 23 fname string:${title}_form; 24 tid template/id; 25 tabindex python:Iterator()"> 26 <div class="portletContent odd"> 16 form python:pfm.form" 17 tal:condition="python: here!=pfm"> 18 <dt class="portletHeader" tal:content="pfm/title_or_id">Title or Id</dt> 19 <dd class="portletItem plain" 20 tal:define="title python: test(form.title, form.title, 'unknown'); 21 method python:form.method; 22 enc python:form.enctype; 23 fname string:${title}_form; 24 tid template/id; 25 tabindex python:Iterator()"> 27 26 <div tal:condition="python:form.isTransformable('form_pre')" 28 27 tal:content="structure python:form.getFormPre()"> … … 53 52 i18n:domain="plone" 54 53 i18n:attributes="title" 55 i18n:translate="label_required">( Required)</span>54 i18n:translate="label_required">(*)</span> 56 55 <div class="formHelp" 57 56 tal:define="desc python:field['description']" … … 59 58 i18n:translate="">Help</div> 60 59 <div tal:condition="python: field.id in ['email', 'fullname']" 61 tal:define="initvalue python:test(field.id in ['email', 'fullname'],member.getProperty(field.id, ''),'') ;60 tal:define="initvalue python:test(field.id in ['email', 'fullname'],member.getProperty(field.id, ''),'') or request.get(field.id,''); 62 61 input python:field.render(REQUEST=request, value = initvalue )" 63 62 tal:replace="structure input" … … 95 94 Appended text 96 95 </div> 97 </div> 98 </div> 99 </div> 100 </div> 96 </dd> 97 </dl> 101 98 </div> 102 99 </body> qPloneCaptchas/trunk/skins/captchas_ploneformmailer/2.5/formmailer_portlet.cpt
r744 r871 9 9 i18n:domain="pfm" 10 10 tal:omit-tag="" > 11 <d ivclass="portlet"11 <dl class="portlet" 12 12 id="portlet-formmailer" 13 13 tal:define="pfm python:here.pfmbox; 14 14 translatable python:hasattr(portal,'portal_languages') and portal.portal_languages.isTranslatable(pfm); 15 15 pfm python:translatable and pfm.getTranslation() or pfm; 16 form python:pfm.form"> 17 <div class="padding"> 18 <h5 tal:content="pfm/title_or_id">Title or Id</h5> 19 <div class="portletBody" 20 tal:define="title python: test(form.title, form.title, 'unknown'); 21 method python:form.method; 22 enc python:form.enctype; 23 fname string:${title}_form; 24 tid template/id; 25 tabindex python:Iterator()"> 26 <div class="portletContent odd"> 16 form python:pfm.form" 17 tal:condition="python: here!=pfm"> 18 <dt class="portletHeader" tal:content="pfm/title_or_id">Title or Id</dt> 19 <dd class="portletItem plain" 20 tal:define="title python: test(form.title, form.title, 'unknown'); 21 method python:form.method; 22 enc python:form.enctype; 23 fname string:${title}_form; 24 tid template/id; 25 tabindex python:Iterator()"> 27 26 <div tal:condition="python:form.isTransformable('form_pre')" 28 27 tal:content="structure python:form.getFormPre()"> … … 53 52 i18n:domain="plone" 54 53 i18n:attributes="title" 55 i18n:translate="label_required">( Required)</span>54 i18n:translate="label_required">(*)</span> 56 55 <div class="formHelp" 57 56 tal:define="desc python:field['description']" … … 59 58 i18n:translate="">Help</div> 60 59 <div tal:condition="python: field.id in ['email', 'fullname']" 61 tal:define="initvalue python:test(field.id in ['email', 'fullname'],member.getProperty(field.id, ''),'') ;60 tal:define="initvalue python:test(field.id in ['email', 'fullname'],member.getProperty(field.id, ''),'') or request.get(field.id,''); 62 61 input python:field.render(REQUEST=request, value = initvalue )" 63 62 tal:replace="structure input" … … 95 94 Appended text 96 95 </div> 97 </div> 98 </div> 99 </div> 100 </div> 96 </dd> 97 </dl> 101 98 </div> 102 99 </body>
