Last change
on this file since 15840 was
2684,
checked in by Henrik Bettermann, 17 years ago
|
fix viewimage for applicants
|
File size:
522 bytes
|
Line | |
---|
1 | ## Script (Python) "viewimage" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters=path=None |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | # $Id: viewimage.py 2335 2007-10-09 17:34:04Z joachim $ |
---|
11 | """ |
---|
12 | """ |
---|
13 | try: |
---|
14 | from Products.zdb import set_trace |
---|
15 | except: |
---|
16 | def set_trace(): |
---|
17 | pass |
---|
18 | if path is None and traverse_subpath: |
---|
19 | path = "/".join(traverse_subpath) |
---|
20 | return context.waeup_tool.showFsPicture(path) |
---|
21 | #import logging |
---|
22 | #logger = logging.getLogger('Skins.viewimage') |
---|
Note: See
TracBrowser for help on using the repository browser.