Mercurial > moin > 1.9
view MoinMoin/macro/AttachList.py @ 0:77665d8e2254
tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0
(automatically generated log message)
imported from: moin--main--1.5--base-0
author | Thomas Waldmann <tw-public@gmx.de> |
---|---|
date | Thu, 22 Sep 2005 15:09:50 +0000 |
parents | |
children | 4eb66637ccd0 |
line wrap: on
line source
""" MoinMoin - AttachList Macro A macro to produce a list of attached pages Usage: [[AttachList]] @copyright: 2004 Jacob Cohen, Nigel Metheringham @license: GNU GPL, see COPYING for details. """ from MoinMoin.action.AttachFile import _build_filelist def execute(macro, args): pagename = macro.formatter.page.page_name if args: pagename = args result = _build_filelist(macro.request, pagename, 0, 1); return result