Changeset 830 for WAeUP_SRP/trunk


Ignore:
Timestamp:
10 Nov 2006, 16:25:13 (18 years ago)
Author:
Henrik Bettermann
Message:

redirect added

Location:
WAeUP_SRP/trunk/skins/waeup_default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/contact.pt

    • Property svn:keywords set to Id
  • WAeUP_SRP/trunk/skins/waeup_default/mail2admin.py

    • Property svn:keywords set to Id
    r825 r830  
    88##title=
    99##
    10 # $Id: mai2admin.py 805 2006-11-09 09:38:29Z henrik $
     10# $Id$
    1111
    1212mhost = context.MailHost
     
    1818From: %s <%s>
    1919To: %s
    20 Bcc: %s, %s
     20Bcc: %s
    2121Reply-To: %s
    2222Subject: WAeUP Contact Form
     
    3434     fullname,
    3535     email,
    36      'henrik@saoas.org',
     36     prop.email_from_address,
    3737     'henrik@waeup.org',
    38      'js@aixtraware.de',
     38#    'js@aixtraware.de',
    3939     email,
    4040     fullname,
     
    4545     )
    4646mhost.send(msg)
     47
     48REQUEST = context.REQUEST
     49RESPONSE = REQUEST.RESPONSE
     50
     51redirect_url = REQUEST.HTTP_REFERER
     52redirect_url = '%s/?%s' % (redirect_url,'portal_status_message=Your message has been sent!')
     53RESPONSE.redirect(redirect_url)
Note: See TracChangeset for help on using the changeset viewer.