Back to index

moin  1.9.0~rc2
Classes | Functions
MoinMoin.action.LocalSiteMap Namespace Reference

Classes

class  MaxNodesReachedException
class  LocalSiteMap
class  PageTreeBuilder
class  Tree

Functions

def execute

Class Documentation

class MoinMoin::action::LocalSiteMap::MaxNodesReachedException

Definition at line 29 of file LocalSiteMap.py.


Function Documentation

def MoinMoin.action.LocalSiteMap.execute (   pagename,
  request 
)

Definition at line 32 of file LocalSiteMap.py.

00032 
00033 def execute(pagename, request):
00034     _ = request.getText
00035 
00036     # This action generate data using the user language
00037     request.setContentLanguage(request.lang)
00038 
00039     request.theme.send_title(_('Local Site Map for "%s"') % (pagename), pagename=pagename)
00040 
00041     # Start content - IMPORTANT - witout content div, there is no
00042     # direction support!
00043     request.write(request.formatter.startContent("content"))
00044 
00045     request.write(LocalSiteMap(pagename).output(request))
00046 
00047     request.write(request.formatter.endContent()) # end content div
00048     request.theme.send_footer(pagename)
00049     request.theme.send_closing_html()