Changeset 1592 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
19 Mar 2007, 16:32:21 (18 years ago)
Author:
Henrik Bettermann
Message:

fixed

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

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py

    r1591 r1592  
    2222    def set_trace():
    2323        pass
    24 #request = context.REQUEST
     24request = context.REQUEST
    2525course_cat = context.courses_catalog
    2626from Products.AdvancedQuery import Eq, Between, Le,In
     
    6969
    7070args = {}
    71 psm = "You successfully added course %s!" course_id
     71psm = "You successfully added course %s!" % course_id
    7272args['portal_status_message'] = psm
    7373url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args)
  • WAeUP_SRP/trunk/skins/waeup_student/refresh_level.py

    r1591 r1592  
     1## Script (Python) "refresh_level"
     2##bind container=container
     3##bind context=context
     4##bind namespace=
     5##bind script=script
     6##bind subpath=traverse_subpath
    17##parameters=REQUEST=None, student=None, action_after_reject=None, action_after_validate=None
    28# $Id$
     
    3743if in_progress == 'finished':
    3844    session.set('in_progress','started')
    39     view = context.in_progress_view(refresh=3,page='study_level_view')
     45    view = context.in_progress_view(refresh=3,page=action_after_validate)
    4046    response.setHeader('Content-type','text/html; charset=ISO-8859-15')
    4147    response.setHeader('Content-length','%d' % (len(view)))
Note: See TracChangeset for help on using the changeset viewer.