Changeset 2335 for WAeUP_SRP/base/skins


Ignore:
Timestamp:
9 Oct 2007, 17:34:04 (17 years ago)
Author:
joachim
Message:

use File Image Widget in clearance, don't use on live system

Location:
WAeUP_SRP/base/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/getApplicationInfo.py

    r1871 r2335  
    1212return Info about the current Student
    1313"""
    14 import logging
    15 logger = logging.getLogger('Skins.getApplicationInfo')
    1614
    1715request = context.REQUEST
     
    2826requested_id = context.getStudentId()
    2927if requested_id and not context.isStaff() and member_id != requested_id:
     28    import logging
     29    logger = logging.getLogger('Skins.getApplicationInfo')
    3030    logger.info('%s tried to access application object of %s' % (member_id,requested_id))
    3131    student_id = requested_id
  • WAeUP_SRP/base/skins/waeup_utilities/viewimage.py

    r2114 r2335  
    55##bind script=script
    66##bind subpath=traverse_subpath
    7 ##parameters=path
     7##parameters=path=None
    88##title=
    99##
     
    1616    def set_trace():
    1717        pass
     18if path is None and traverse_subpath:
     19    path = "/".join(traverse_subpath)
    1820return context.waeup_tool.showFsPicture(path)
    1921#import logging
Note: See TracChangeset for help on using the changeset viewer.