[CMF-checkins] CVS: Products/CMFDefault/skins/zpt_content -
aboveInThread.py:1.1 content_status_modify.py:1.1
discussionitem_icon.gif:1.1 document_icon.gif:1.1
file_icon.gif:1.1 folder_icon.gif:1.1 image_icon.gif:1.1
link_icon.gif:1.1 newsitem_icon.gif:1.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Tue Jul 6 12:17:29 EDT 2004
Update of /cvs-repository/Products/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv5876/CMFDefault/skins/zpt_content
Added Files:
aboveInThread.py content_status_modify.py
discussionitem_icon.gif document_icon.gif file_icon.gif
folder_icon.gif image_icon.gif link_icon.gif newsitem_icon.gif
Log Message:
- copied files to remove dependency on skins/content
=== Added File Products/CMFDefault/skins/zpt_content/aboveInThread.py ===
## Script (Python) "aboveInThread"
##parameters=
##title=Discussion parent breadcrumbs
breadcrumbs = ''
parents = context.parentsInThread()
if parents:
breadcrumbs = 'Above in thread: '
for parent in parents:
p_str = '<a href="%s">%s</a>' % (parent.absolute_url(), parent.Title())
breadcrumbs = breadcrumbs + p_str + ':'
breadcrumbs = breadcrumbs[:-1] + '<p>'
return breadcrumbs
=== Added File Products/CMFDefault/skins/zpt_content/content_status_modify.py ===
## Script (Python) "content_status_modify"
##parameters=workflow_action, comment=''
##title=Modify the status of a content object
context.portal_workflow.doActionFor(
context,
workflow_action,
comment=comment)
if workflow_action == 'reject':
redirect_url = context.portal_url() + '/search?review_state=pending'
else:
redirect_url = '%s/view?%s' % ( context.absolute_url()
, 'portal_status_message=Status+changed.'
)
context.REQUEST[ 'RESPONSE' ].redirect( redirect_url )
=== Added File Products/CMFDefault/skins/zpt_content/discussionitem_icon.gif ===
<Binary-ish file>
=== Added File Products/CMFDefault/skins/zpt_content/document_icon.gif ===
<Binary-ish file>
=== Added File Products/CMFDefault/skins/zpt_content/file_icon.gif ===
<Binary-ish file>
=== Added File Products/CMFDefault/skins/zpt_content/folder_icon.gif ===
<Binary-ish file>
=== Added File Products/CMFDefault/skins/zpt_content/image_icon.gif ===
<Binary-ish file>
=== Added File Products/CMFDefault/skins/zpt_content/link_icon.gif ===
<Binary-ish file>
=== Added File Products/CMFDefault/skins/zpt_content/newsitem_icon.gif ===
<Binary-ish file>
More information about the CMF-checkins
mailing list