Back to index

moin  1.9.0~rc2
Classes | Functions
MoinMoin.PageGraphicalEditor Namespace Reference

Classes

class  PageGraphicalEditor

Functions

def execute

Function Documentation

def MoinMoin.PageGraphicalEditor.execute (   pagename,
  request 
)

Definition at line 24 of file PageGraphicalEditor.py.

00024 
00025 def execute(pagename, request):
00026     if not request.user.may.write(pagename):
00027         _ = request.getText
00028         request.theme.add_msg_('You are not allowed to edit this page.', "error")
00029         Page(request, pagename).send_page()
00030         return
00031 
00032     PageGraphicalEditor(request, pagename).sendEditor()
00033