Changeset 1621 for WAeUP_SRP


Ignore:
Timestamp:
22 Mar 2007, 21:07:18 (18 years ago)
Author:
Henrik Bettermann
Message:

minor changes

Location:
WAeUP_SRP/trunk/skins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/epayment_cb.py

    r1619 r1621  
    2828if student_id is None or student_id != member_id:
    2929    logger.info('%s tried to access payment object of %s' % (member_id,student_id))
    30     referer = request.get('HTTP_REFERER','NO REFERER')
    31     logger.info('%s:%s illegal access referer %s' % (member_id,student_id,referer))
    32     real_ip = request.get('HTTP_X_REAL_IP',"NO REAL_X_IP")
    33     logger.info('%s:%s illegal access real_x_ip %s' % (member_id,student_id,real_ip))
     30    referer = request.get('HTTP_REFERER','none')
     31    logger.info('%s:%s illegal access, referer = %s' % (member_id,student_id,referer))
     32    real_ip = request.get('HTTP_X_REAL_IP',"none")
     33    logger.info('%s:%s illegal access, real_x_ip = %s' % (member_id,student_id,real_ip))
    3434    return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
    3535
     
    5050except UnAuthorized,E:
    5151    logger.info('%s ' % student_id)
    52    
     52
    5353#resp = pd['resp_desc']
    5454#if  resp.startswith('Appro') and resp.endswith('essful'):
     
    5757    wftool.doActionFor(student,'pay_school_fee')
    5858    logger.info('%s received valid callback' % student_id)
    59     referer = request.get('HTTP_REFERER','NO REFERER')
    60     logger.info('%s valid callback referer %s' % (student_id,referer))
    61     real_ip = request.get('HTTP_X_REAL_IP',"NO REAL_X_IP")
    62     logger.info('%s valid callback real_ip %s' % (student_id,real_ip))
     59    referer = request.get('HTTP_REFERER','none')
     60    logger.info('%s valid callback referer = %s' % (student_id,referer))
     61    real_ip = request.get('HTTP_X_REAL_IP',"none")
     62    logger.info('%s valid callback real_ip = %s' % (student_id,real_ip))
    6363
    6464elif len(resp) < 3:
  • WAeUP_SRP/trunk/skins/waeup_student/statistics_new_view.pt

    r1532 r1621  
    3333            <th align="right">CR</th>
    3434            <th align="right">VC</th>
    35             <th align="right">SFP</th>
     35            <th align="right">SFP+</th>
    3636          </tr>
    3737          <tr tal:repeat="d departments"
     
    7474        <tr><td>CR: </td> <td>Clearance requested</td></tr>
    7575        <tr><td>VC: </td> <td>Validated and cleared</td></tr>
    76         <tr><td>SFP: </td> <td>School fee paid</td></tr>
     76        <tr><td>SFP+: </td> <td>School fee paid and further</td></tr>
    7777        </table>
    7878      </span>
  • WAeUP_SRP/trunk/skins/waeup_student/statistics_ret_view.pt

    r1560 r1621  
    3434            <th >Faculty</th>
    3535            <th align="right">RET</th>
    36             <th align="right">SFP</th>
     36            <th align="right">SFP+</th>
    3737          </tr>
    3838          <tr tal:define="d python:departments[0]"
     
    6060        <table>
    6161        <tr><td>RET:</td> <td>Returning students who have logged in</td></tr>
    62         <tr><td>SFP:</td> <td>Returning students who already paid their school fee</td></tr>
     62        <tr><td>SFP:</td> <td>Returning students who paid their school fee</td></tr>
    6363        </table>       
    6464      </span>
Note: See TracChangeset for help on using the changeset viewer.