Attachment 'quote.py'

Download

   1 # -*- coding: iso-8859-1 -*-
   2 """
   3     MoinMoin - MoinMoin Quote Markup Parser
   4 
   5     @copyright: 2000, 2001, 2002 by J├╝rgen Hermann <jh@web.de>
   6     @license: GNU GPL, see COPYING for details.
   7     @copyright: 2006 by NeoCoin
   8 """
   9 
  10 from MoinMoin.parser.wiki import Parser as WikiParser
  11 class Parser(WikiParser):
  12 ##    def __init__(self, raw, request, **kw):
  13 ##        WikiParser.__init__(self,raw,request,**kw)
  14     def format(self,formatter):
  15         self.request.write('<div class="quote" style="border: 1px solid #bbbbbb;color: black; background-color: #F1F7F6;margin: 0.5em; padding-left: 2em;">')
  16         WikiParser.format(self,formatter)
  17         self.request.write('</div>')

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-01-05 09:14:39, 0.4 KB) [[attachment:AutoCreatedMoinMoinTestPlugin.pyo]]
  • [get | view] (2012-01-05 09:14:39, 15.2 KB) [[attachment:Calendar.py]]
  • [get | view] (2012-01-05 09:14:39, 14.1 KB) [[attachment:Calendar.pyc]]
  • [get | view] (2012-01-05 09:14:39, 13.8 KB) [[attachment:Calendar.pyo]]
  • [get | view] (2012-01-05 09:14:39, 0.1 KB) [[attachment:__init__.py]]
  • [get | view] (2012-01-05 09:14:39, 0.3 KB) [[attachment:__init__.pyc]]
  • [get | view] (2012-01-05 09:14:39, 0.3 KB) [[attachment:__init__.pyo]]
  • [get | view] (2012-01-05 09:14:39, 39.8 KB) [[attachment:__wiki.py]]
  • [get | view] (2012-01-05 09:14:39, 3.2 KB) [[attachment:basic.py]]
  • [get | view] (2012-01-05 09:14:39, 4.4 KB) [[attachment:basic.pyc]]
  • [get | view] (2012-01-05 09:14:39, 4.5 KB) [[attachment:basic.pyo]]
  • [get | view] (2012-01-05 09:14:39, 0.6 KB) [[attachment:cpp.py]]
  • [get | view] (2012-01-05 09:14:39, 0.4 KB) [[attachment:cpp.pyc]]
  • [get | view] (2012-01-05 09:14:39, 0.4 KB) [[attachment:cpp.pyo]]
  • [get | view] (2012-01-05 09:14:39, 2.3 KB) [[attachment:csharp.py]]
  • [get | view] (2012-01-05 09:14:39, 2.0 KB) [[attachment:csharp.pyo]]
  • [get | view] (2012-01-05 09:14:39, 0.6 KB) [[attachment:html.py]]
  • [get | view] (2012-01-05 09:14:39, 1.2 KB) [[attachment:html.pyc]]
  • [get | view] (2012-01-05 09:14:39, 0.6 KB) [[attachment:html.pyo]]
  • [get | view] (2012-01-05 09:14:39, 2.2 KB) [[attachment:lisp.py]]
  • [get | view] (2012-01-05 09:14:39, 1.2 KB) [[attachment:lisp.pyo]]
  • [get | view] (2012-01-05 09:14:39, 0.7 KB) [[attachment:quote.py]]
  • [get | view] (2012-01-05 09:14:39, 1.1 KB) [[attachment:quote.pyc]]
  • [get | view] (2012-01-05 09:14:39, 1.1 KB) [[attachment:quote.pyo]]
  • [get | view] (2012-01-05 09:14:39, 2.7 KB) [[attachment:scheme.py]]
  • [get | view] (2012-01-05 09:14:39, 1.7 KB) [[attachment:scheme.pyc]]
  • [get | view] (2012-01-05 09:14:39, 1.0 KB) [[attachment:scheme.pyo]]
  • [get | view] (2012-01-05 09:14:39, 0.6 KB) [[attachment:xml.py]]
  • [get | view] (2012-01-05 09:14:39, 1.3 KB) [[attachment:xml.pyc]]
  • [get | view] (2012-01-05 09:14:39, 0.9 KB) [[attachment:xml.pyo]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.