changeset 34:864fba4e90f3

text_x_arnica: fixed VS mode in tools_html
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 24 May 2008 11:03:40 +0200
parents e8b445ed922d
children f8e8abce7208
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sat May 24 10:58:47 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Sat May 24 11:03:40 2008 +0200
@@ -237,6 +237,7 @@
                             <input type="hidden" name="do" value="VS">
                             <input type="hidden" name="alias" value='%(description)s'>
                             <input type="hidden" name="target" value='%(target)s'>
+                            <input type="hidden" name="images" value='%(images)s'>
                             <input type="hidden" name="exif_date" value='%(exif_date)s'>
                             <input type="image" value="submit" src="%(htdocs)s/common/arnica/arnica_to_slide.png" title="slide_show" >
                        </td>
@@ -252,7 +253,8 @@
             "thumbnail_width": self.thumbnail_width,
             "description": self.description[idx] + '!,!' + '!,!'.join(self.description),
             "exif_date": self.exif_date[idx] + ',' + ','.join(self.exif_date),
-            "target": self.webimg[idx] + ',' + ','.join(self.webimg),
+            "target": self.webimg[idx],
+            "images": self.webimg[idx] + ',' + ','.join(self.webimg),
             "this_target": self.full[idx],
             "thumbnail": "%s%s" % (AttachFile.getAttachUrl(self.pagename, '', self.request), self.thumb[idx]),
             "show_tools_restricted": self.show_tools_restricted(this_image)