Changeset 2087 in products for quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/report_abuse_form.cpt
- Timestamp:
- Apr 8, 2010 3:39:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/report_abuse_form.cpt
r1631 r2087 21 21 Iterator python:modules['Products.CMFPlone'].IndexIterator; 22 22 tabindex python:Iterator(mainSlot=False); 23 isAnon context/@@plone_portal_state/anonymous ;23 isAnon context/@@plone_portal_state/anonymous|string:False; 24 24 member context/@@plone_portal_state/member; 25 25 thread python:putils.getDiscussionThread(here); … … 80 80 comment_id context/id"> 81 81 <metal:macro define-macro="form" 82 tal:define="isAjaxReportAbuseEnabled view/ajax_report_abuse_enabled|python: portal.portal_properties.qPloneComments.enable_ajax_report_abuse;82 tal:define="isAjaxReportAbuseEnabled view/ajax_report_abuse_enabled|python:here.portal_properties.qPloneComments.enable_ajax_report_abuse; 83 83 visible show_form|request/show_form|nothing; 84 84 portal_url portal_url|view/portal_url; 85 tabindex tabindex|request/tabindex|view/tabindex;86 member member| request/member|view/member;">85 isAnon isAnon|context/@@plone_portal_state/anonymous; 86 member member|context/@@plone_portal_state/member;"> 87 87 88 88 <span tal:define="email_from_address portal/email_from_address|view/email_from_address; … … 198 198 value="Send" 199 199 type="submit" 200 tal:attributes="comment_id comment_id; 201 class python:isAjaxReportAbuseEnabled and 'context input-report-abuse-send' or 'context'" 200 class="context" 201 name="form.button.Send" 202 tal:attributes="comment_id comment_id" 202 203 i18n:attributes="value label_send;" 203 204 /> … … 207 208 class="destructive" 208 209 value="Cancel" 209 type="button" 210 tal:condition="isAjaxReportAbuseEnabled" 211 tal:attributes="onclick string:javascript:remove_abuse_report_form(${comment_id})" 210 type="submit" 211 name="form.button.Cancel" 212 212 i18n:attributes="value label_cancel;" 213 213 />
Note: See TracChangeset
for help on using the changeset viewer.