Back to index

moin  1.9.0~rc2
Functions
MoinMoin.macro.AttachInfo Namespace Reference

Functions

def macro_AttachInfo

Detailed Description

MoinMoin - AttachInfo Macro

A macro to produce information about attached pages

Usage: <<AttachInfo>>

@copyright: 2004 Jacob Cohen, Nigel Metheringham
@license: GNU GPL, see COPYING for details

Function Documentation

def MoinMoin.macro.AttachInfo.macro_AttachInfo (   macro,
  pagename = None 
)
generates info how much attachments stored on a page 

Definition at line 14 of file AttachInfo.py.

00014 
00015 def macro_AttachInfo(macro, pagename=None):
00016     """ generates info how much attachments stored on a page """
00017     if not pagename:
00018         pagename = macro.formatter.page.page_name
00019 
00020     return info(pagename, macro.request)
00021 
00022