Changeset 1102

Show
Ignore:
Timestamp:
03/31/08 10:21:09
Author:
crchemist
Message:

Fix some bugs in template.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneComments/branches/plone-3.0/skins/qplonecomments/2.5/discussion_reply.cpy

    r1018 r1102  
    8181 
    8282parent = tb.aq_parent 
    83 # Send notification e-mail   
     83# Send notification e-mail 
     84 
    8485manage_mails(reply, context, 'aproving') 
    8586if not ifModerate: 
  • qPloneComments/branches/plone-3.0/skins/qplonecomments/2.5/discussion_reply_form.cpt

    r1018 r1102  
    101101                     <div tal:content="error">Validation error output</div> 
    102102 
    103                      <div tal:define="captcha_view nocall:context/@@captcha"> 
    104                          <div> 
    105                              <img tal:replace="structure captcha_view/image_tag"/> 
    106                              <a tal:attributes="href captcha_view/audio_url">[audio]</a> 
    107                          </div> 
    108                          <input name="captcha" 
    109                                 id="captcha" 
    110                                 value="" alt="Enter the word above" title="Enter the word above" 
    111                                 size="15" 
    112                                 tabindex="" 
    113                                 i18n:attributes="alt; title" 
    114                                 tal:attributes="tabindex tabindex/next" /> 
    115                      </div> 
     103                      
    116104                 </div> 
    117105 
  • qPloneComments/branches/plone-3.0/skins/qplonecomments/2.5/validate_talkback.vpy

    r1018 r1102  
    66##bind state=state 
    77##bind subpath=traverse_subpath 
    8 ##parameters=subject='',body_text='', email='', captcha='', require_email 
     8##parameters=subject='',body_text='', email='', require_email 
    99##title=validates a discussion entry 
    1010from Products.CMFCore.utils import getToolByName 
  • qPloneComments/branches/plone-3.0/utils.py

    r1018 r1102  
    157157    if args: 
    158158        msg = getMsg(context, template, args) 
     159        #__import__("pdb").set_trace() 
    159160        context.MailHost.send(str(msg)) 
    160161