Changeset 232

Show
Ignore:
Timestamp:
02/01/06 08:46:36
Author:
mylan
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneComments/branches/plone-2.1/skins/qplonecomments/prefs_comments_setup_form.cpt

    r231 r232  
    3232    <!-- simulating views --> 
    3333    <ul class="contentViews" 
    34        tal:define="tabs python:('Configure qPloneComments','prefs_comments_setup_form'), 
    35                                ('Recent comments moderation','prefs_recent_comments_form'),; 
     34       tal:define="tabs python:('Configure qPloneComments','prefs_comments_setup_form'), ('Recent comments moderation','prefs_recent_comments_form'),; 
    3635                   tabs python:[ {'label':label, 'name':name} for (label,name) in tabs ];" 
    3736    > 
  • qPloneComments/branches/plone-2.1/skins/qplonecomments/prefs_recent_comments_form.cpt

    r231 r232  
    3232    <!-- simulating views --> 
    3333    <ul class="contentViews" 
    34        tal:define="tabs python:('Configure qPloneComments','prefs_comments_setup_form'), 
    35                                ('Recent comments moderation','prefs_recent_comments_form'),; 
     34       tal:define="tabs python:('Configure qPloneComments','prefs_comments_setup_form'), ('Recent comments moderation','prefs_recent_comments_form'),; 
    3635                   tabs python:[ {'label':label, 'name':name} for (label,name) in tabs ];" 
    3736    > 
     
    6564              method="post" 
    6665              enctype="multipart/form-data" 
    67               tal:condition="results"> 
     66              tal:condition="results" 
     67              tal:attributes="action string:${here/getId}/${template/getId}"> 
    6868 
    6969            <fieldset> 
     
    7979                             name="selectButton" 
    8080                             title="Select all items" 
    81                              onClick="toggleSelect(this,'paths:list');" 
     81                             onClick="toggleSelect(this,'ids:list');" 
    8282                             tal:attributes="src string:$portal_url/select_all_icon.gif" 
    8383                             alt="Select all items" 
     
    9191                  <tal:comment tal:repeat="comment results"> 
    9292                     <tal:object tal:define="comm_url comment/getURL; 
    93                                              oddrow repeat/comment/odd; 
    94                                              comment_obj comment/getObject"> 
     93                                             oddrow repeat/comment/odd;"> 
    9594                         <tr class="" tal:attributes="class python:test(oddrow, 'even', 'odd')"> 
    96                             <td><input name="indices:int:list" value="0" type="checkbox"/></td> 
     95                            <td><input value="0" type="checkbox" 
     96                                       name="ids:list"  
     97                                       tal:attributes="value comment/getObject/getId" /></td> 
    9798                            <td>  
    9899                               <dl> 
  • qPloneComments/branches/plone-2.1/skins/qplonecomments/prefs_recent_comments_form.cpt.metadata

    r231 r232  
    66 
    77[actions] 
     8action.success..form_delete=traverse_to:string:prefs_recent_comments_delete 
     9action.success..form_publish=traverse_to:string:prefs_recent_comments_publish 
    810action.success=traverse_to:string:prefs_recent_comments_form 
    911action.failure=traverse_to:string:prefs_recent_comments_form