changeset 120:65c46d7d48f1

arnica_slides: fixed html to be Valid HTML 4.01 Strict
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 27 Jun 2008 20:15:25 +0200
parents 0dc7c254c5a8
children f6ce62994858
files data/plugin/action/arnica_slides.py
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Fri Jun 27 16:42:12 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Fri Jun 27 20:15:25 2008 +0200
@@ -93,7 +93,7 @@
 <link rel="stylesheet" type="text/css" charset="utf-8" media="all"
  href="%(theme_url)s/css/%(action_name)s.css">
 
-<SCRIPT LANGUAGE="JavaScript">
+<script type="text/javascript">
 <!-- Original:  Ricocheting (ricocheting@hotmail.com) -->
 <!-- Web Site:  http://www.ricocheting.com -->
 
@@ -237,7 +237,8 @@
     html = '''
 <div class="arnica">
 <div class="navigation_animation">
-<form name=slideform method="POST">
+<form name=slideform method="POST" action="">
+<div>
 <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">
@@ -246,7 +247,8 @@
 <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">
-<label>Duration (sec):<input type="input" name="duration" value="3.0" size="3"></label>
+<label>Duration (sec):<input type="text" name="duration" value="3.0" size="3"></label>
+</div>
 </form>
 </div>
 <div class="navigation_button">
@@ -256,7 +258,7 @@
 <span id="arnica_last_slide"><a class="last_slide" onClick="arnica_last_slide();" title="last slide" ></a></span>
 </div>
 <div class="image">
-<img src="%(server)s%(this_image)s" name="show">
+<img src="%(server)s%(this_image)s" name="show" alt="%(this_alias_text)s,%(this_exif_date_text)s">
 </div>
 <div class="image_description">
 <span id="arnica_alias_text">%(this_alias_text)s</span>,