Last change
on this file since 1591 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
414 bytes
|
Line | |
---|
1 | # Controller Python Script "set_encoding" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind state=state |
---|
7 | ##bind subpath=traverse_subpath |
---|
8 | ##parameters= |
---|
9 | ##title= |
---|
10 | # |
---|
11 | |
---|
12 | encoding = context.REQUEST.get('encoding') |
---|
13 | |
---|
14 | context.restrictedTraverse('@@audio_encoded').setEncoding(encoding) |
---|
15 | |
---|
16 | return state.set(portal_status_message="Audio tag's text encoding setted to '%s'" % encoding) |
---|
Note: See
TracBrowser
for help on using the repository browser.