Changeset 1691 in products


Ignore:
Timestamp:
Feb 10, 2010 2:13:46 PM (14 years ago)
Author:
liebster
Message:

Fixed global definitions in templates by Plone4

Location:
quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/skins
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/skins/captchas_discussion/discussion_reply_form.cpt

    r817 r1691  
    1313 
    1414<div metal:fill-slot="main" 
    15      tal:define="errors options/state/getErrors; 
     15     tal:define="template_id template/getId; 
     16                 errors options/state/getErrors; 
     17                 putils context/plone_utils; 
    1618                 thread python:putils.getDiscussionThread(here); 
    1719                 discussable python:thread[0]; 
     20                 here_url context/@@plone_context_state/object_url; 
     21                 member context/@@plone_portal_state/member; 
     22                 isAnon context/@@plone_portal_state/anonymous; 
     23                 toLocalizedTime nocall:context/@@plone/toLocalizedTime; 
    1824                 replies python:thread[1:]"> 
    1925 
  • quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/skins/captchas_join_form/join_form.cpt

    r817 r1691  
    1717 
    1818<div metal:fill-slot="main" 
    19      tal:define="errors options/state/getErrors; 
     19     tal:define="template_id template/getId; 
     20                 errors options/state/getErrors; 
    2021                 mailhost context/MailHost/smtp_host|nothing; 
    2122                 mailfrom context/email_from_address|nothing; 
  • quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/skins/captchas_sendto_form/sendto_form.cpt

    r817 r1691  
    1616 
    1717    <div metal:fill-slot="main" 
    18          tal:define="errors options/state/getErrors;"> 
     18         tal:define="template_id template/getId; 
     19                     errors options/state/getErrors; 
     20                     member context/@@plone_portal_state/member; 
     21                     here_url context/@@plone_context_state/object_url;"> 
    1922 
    2023      <h1 class="documentFirstHeading" 
  • quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/skins/plone_captchas/captcha_widget.pt

    r821 r1691  
    44  <div class="field" 
    55       tal:define="hk here/getCaptcha; 
    6                    error errors/key|nothing" 
     6                   error errors/key|nothing; 
     7                   Iterator python:modules['Products.CMFPlone'].IndexIterator; 
     8                   tabindex python:Iterator(mainSlot=False)" 
     9 
    710       tal:attributes="class python:test(error, 'field error', 'field')"> 
    811     <input type="hidden" 
  • quintagroup.plonecaptchas/trunk/quintagroup/plonecaptchas/skins/plone_captchas/prefs_captchas_setup_form.cpt

    r853 r1691  
    1212 
    1313<div metal:fill-slot="prefs_configlet_main" 
    14      tal:define="errors python:request.get('controller_state', None).getErrors();"> 
     14     tal:define="errors python:request.get('controller_state', None).getErrors(); 
     15                 Iterator python:modules['Products.CMFPlone'].IndexIterator; 
     16                 tabindex python:Iterator(mainSlot=False)"> 
     17      <h1 i18n:translate="heading_edit_seo_properties">Edit SEO Properties</h1> 
    1518 
    1619    <div metal:define-macro="main"> 
Note: See TracChangeset for help on using the changeset viewer.