Ignore:
Timestamp:
Feb 3, 2010 4:12:48 PM (14 years ago)
Author:
kroman0
Message:

Fixed global variables in templates for Plone4, fixed some translation messages and preferences forms condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/prefs_comments_setup_form.cpt

    r1582 r1631  
    88 
    99<div metal:fill-slot="prefs_configlet_main" 
    10      tal:define="errors python:request.get('controller_state', None).getErrors();"> 
     10     tal:define="here_url context/@@plone_context_state/object_url; 
     11                 Iterator python:modules['Products.CMFPlone'].IndexIterator; 
     12                 tabindex python:Iterator(mainSlot=False); 
     13                 errors python:request.get('controller_state', None).getErrors();"> 
    1114 
    1215    <div metal:define-macro="main"> 
     
    2225        </li> 
    2326 
    24         <li class=""> 
     27        <li class="" 
     28            tal:condition="python:checkPermission('Moderate Discussion', here)"> 
    2529        <a href="" 
    26            tal:condition="python:checkPermission('Moderate Discussion', here)" 
    2730           tal:attributes="href string:prefs_recent_comments_form" 
    2831           i18n:translate="label_comments">Recent comments moderation</a> 
Note: See TracChangeset for help on using the changeset viewer.