changeset 21:744416ee6590

text_x_arnica: iamge_for_webnail key added
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 23 May 2008 05:37:47 +0200
parents bfe4d9738d5e
children 914915a1c47a
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Fri May 23 05:36:34 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Fri May 23 05:37:47 2008 +0200
@@ -287,6 +287,7 @@
                 <input type="hidden" name="alias" value='%(description)s'>
                 <input type="hidden" name="exif_date" value='%(exif_date)s'>
                 <input type="hidden" name="target" value='%(target)s'>
+                <input type="hidden" name="image_for_webnail" value='%(image_for_webnail)s'>
                 <input type="image" value="submit" src="?action=arnica_slides&do=view&target=%(thumbnail)s">
             </td>
         </form>
@@ -299,6 +300,7 @@
      "thumbnail_width": self.thumbnail_width,
      "description": self.description[idx] + '!,!' + '!,!'.join(self.description),
      "exif_date": self.exif_date[idx] + ',' + ','.join(self.exif_date),
+     "image_for_webnail": self.image_for_webnail,
      "target": self.webimg[idx] + ',' + ','.join(self.webimg),
      "thumbnail": self.thumb[idx],
      "tools_html": self.show_tools_mode2(idx),
@@ -356,6 +358,7 @@
                 <input type="hidden" name="alias" value='%(description)s'>
                 <input type="hidden" name="exif_date" value='%(exif_date)s'>
                 <input type="hidden" name="target" value='%(target)s'>
+                <input type="hidden" name="image_for_webnail" value='%(image_for_webnail)s'>
                 <input type="image" value="submit" type="button" src="?action=arnica_slides&do=view&target=%(thumbnail)s" >
             </td>
         </form>
@@ -370,6 +373,7 @@
      "pagename": wikiutil.quoteWikinameURL(self.pagename),
      "description": self.description[idx] + '!,!' + '!,!'.join(self.description),
      "exif_date": self.exif_date[idx] + ',' + ','.join(self.exif_date),
+     "image_for_webnail": self.image_for_webnail,
      "target": self.webimg[idx] + ',' + ','.join(self.webimg),
      "thumbnail": self.thumb[idx],
      "thumbnail_width": self.thumbnail_width,
@@ -428,7 +432,7 @@
         """
         text = ''.join(text)
         from MoinMoin.parser.text_moin_wiki import Parser as WikiParser
-        return wikiutil.renderText(self.request, WikiParser, text, line_anchors=False)
+        return wikiutil.renderText(self.request, WikiParser, text)
 
     def get_quotes(self):
         """  get's the qoutes from the itemlist  """