changeset 104:8cfbd286d1c7

replaced ' with " in html code
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 26 Jun 2008 13:45:09 +0200
parents 6700a5be9537
children 827946df0d9c
files data/plugin/action/arnica_slides.py data/plugin/parser/text_x_arnica.py
diffstat 2 files changed, 21 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Thu Jun 26 13:04:29 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Thu Jun 26 13:45:09 2008 +0200
@@ -254,10 +254,10 @@
 <div class="navigation_animation">
 <form name=slideform method="POST">
 <input type="hidden" name="flag" value="webnail">
-<input type="hidden" name="webnail_list" value='%(this_webnail_list)s'>
-<input type="hidden" name="webnail_name" value='%(this_webnail_name)s'>
-<input type="hidden" name="alias" value='%(this_alias_list)s'>
-<input type="hidden" name="exif_date" value='%(this_exif_date_list)s'>
+<input type="hidden" name="webnail_list" value="%(this_webnail_list)s">
+<input type="hidden" name="webnail_name" value="%(this_webnail_name)s">
+<input type="hidden" name="alias" value="%(this_alias_list)s">
+<input type="hidden" name="exif_date" value="%(this_exif_date_list)s">
 <label>Slide: <select name="slide" onChange="arnica_change();" >
 %(option_webnails)s</select></label>
 <input type="button" name="slidebutton" onClick="arnica_ap(this.value);" value="Start" title="AutoPlay">
--- a/data/plugin/parser/text_x_arnica.py	Thu Jun 26 13:04:29 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Thu Jun 26 13:45:09 2008 +0200
@@ -182,7 +182,7 @@
                         <td%(style)s>
                             <input type="hidden" name="action" value="AttachFile">
                             <input type="hidden" name="do" value="get">
-                            <input type="hidden" name="target" value='%(this_target)s'>
+                            <input type="hidden" name="target" value="%(this_target)s">
                             <input type="image" value="submit" src="%(htdocs)s/common/arnica/arnica_full_image.png" title="load image">
                         </td>
                     </form>
@@ -190,12 +190,13 @@
                         <td%(style)s>
                             <input type="hidden" name="action" value="arnica_slides">
                             <input type="hidden" name="do" value="slide_show">
-                            <input type="hidden" name="alias" value='%(description)s'>
-                            <input type="hidden" name="target" value='%(target)s'>
-                            <input type="hidden" name="pagename" value='%(pagename)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_load_slide_show.png" title="slide_show">
+                            <input type="hidden" name="alias" value="%(description)s">
+                            <input type="hidden" name="target" value="%(target)s">
+                            <input type="hidden" name="pagename" value="%(pagename)s">
+                            <input type="hidden" name="images" value="%(images)s">
+                            <input type="hidden" name="exif_date" value="%(exif_date)s">
+                            <input type="hidden" name="image_for_webnail" value="%(image_for_webnail)s">
+                            <input type="image" value="submit" title="slide show" src="%(htdocs)s/common/arnica/arnica_load_slide_show.png">
                        </td>
                     </form>
                     %(html_show_tools_restricted)s
@@ -208,6 +209,7 @@
             "style": self.td_style,
             "thumbnail_width": self.thumbnail_width,
             "description": packLine([self.description[idx]] + self.description),
+            "image_for_webnail": self.image_for_webnail,
             "exif_date": packLine([self.exif_date[idx]] + self.exif_date),
             "target": self.webimg[idx],
             "images": packLine([self.webimg[idx]] + self.webimg),
@@ -255,18 +257,17 @@
     <table width="%(thumbnail_width)s" align="center" valign="center"%(style)s>
     <tr align="center" valign="center">
         <form action="%(baseurl)s/%(pagename)s" method="POST" enctype="multipart/form-data">
-            <td align="center" valign="middle" width="%(thumbnail_width)s"
-            %(tdstyle)s>
+            <td valign="middle" width="%(thumbnail_width)s" %(tdstyle)s>
                 %(title)s
                 <input type="hidden" name="action" value="arnica_slides">
                 <input type="hidden" name="do" value="slide_show">
-                <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="pagename" value='%(pagename)s'>
-                <input type="hidden" name="images" value='%(images)s'>
-                <input type="hidden" name="image_for_webnail" value='%(image_for_webnail)s'>
-                <input type="image" value="submit" type="button" src="%(baseurl)s/%(pagename)s?action=arnica_slides&do=view&target=%(thumbnail)s">
+                <input type="hidden" name="alias" value="%(description)s">
+                <input type="hidden" name="target" value="%(target)s">
+                <input type="hidden" name="pagename" value="%(pagename)s">
+                <input type="hidden" name="images" value="%(images)s">
+                <input type="hidden" name="exif_date" value="%(exif_date)s">
+                <input type="hidden" name="image_for_webnail" value="%(image_for_webnail)s">
+                <input type="image" value="submit" title="slide show" src="%(baseurl)s/%(pagename)s?action=arnica_slides&do=view&target=%(thumbnail)s">
             </td>
         </form>
     </tr>