Changeset 2295 for WAeUP_SRP/base/skins


Ignore:
Timestamp:
30 Sep 2007, 05:27:39 (17 years ago)
Author:
Henrik Bettermann
Message:

old lines deleted, I will test it on live system

Location:
WAeUP_SRP/base/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_default/mail2admin.py

    r2293 r2295  
    1313prop = context.portal_properties
    1414
    15 # the message format, %s will be filled in from data
    16 
    17 # message = """
    18 # From: %s <%s>
    19 # To: %s
    20 # Cc: %s
    21 # Bcc: %s
    22 # Reply-To: %s
    23 # Subject: Uniben Contact
    24 
    25 # Fullname: %s
    26 # Member ID: %s
    27 # Problem Type: %s
    28 # Description: %s
    29 # """
    30 # msg = message % (
    31 #      fullname,
    32 #      email,
    33 #      prop.email_from_address,
    34 #      email,
    35 #      'henrik@waeup.org',
    36 # #    'js@aixtraware.de',
    37 #      email,
    38 #      fullname,
    39 #      regno,
    40 #      probtype,
    41 #      descr,
    42 #      )
    4315d = {}
    4416d['fullname'] = fullname
     
    4820d['probtype'] = probtype
    4921d['descr'] = descr
     22
     23#prop.email_from_address should be used for To:
    5024
    5125message = """
     
    6337"""
    6438
    65 #prop.email_from_address should be used for To:
    66 
    6739mhost.send(msg % d)
    6840
  • WAeUP_SRP/base/skins/waeup_student/mail2student.py

    r2294 r2295  
    1616REQUEST = context.REQUEST
    1717
    18 # the message format, %s will be filled in from data
    19 
    20 # message = """
    21 # From: %s <%s>
    22 # To: %s
    23 # Cc: %s
    24 # Reply-To: %s
    25 # Subject: %s
    26 # %s
    27 # """
    28 
    29 #prop.email_from_address should be used for To:
    30 
    31 # msg = message % (
    32 #      co_name,
    33 #      co_email,
    34 #      student_email,
    35 #      co_email,
    36 #      co_email,
    37 #      probtype,
    38 #      commt,
    39 #      )
    4018d = {}
    4119d['co_name'] = co_name
     
    4422d['probtype'] = probtype
    4523d['commt'] = commt
     24
     25#prop.email_from_address should be used for To:
    4626
    4727message = """
     
    6444    url = context.absolute_url() +'?' + urlencode(args)
    6545return REQUEST.RESPONSE.redirect(url)
    66 
Note: See TracChangeset for help on using the changeset viewer.