[svn:p5ee] r7849 - p5ee/trunk/App-Widget/lib/App/Widget

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Thu Sep 21 09:48:22 2006
New Revision: 7849

Modified:
   p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm

Log:
make closed <input> tags proper XHTML <input /> rather than <input/>

Modified: p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm
==============================================================================
--- p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm	(original)
+++ p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm	Thu Sep 21 09:48:22 2006
@@ -85,7 +85,7 @@
             $url    = "$html_url_dir/$image";
         }
 
-        return "<input type=\"image\" name=\"app.event.$event_target.$event$args\" src=\"$url\" border=\"0\"$height$width alt=\"$html_label\"$tabindex$html_attribs/>";
+        return "<input type=\"image\" name=\"app.event.$event_target.$event$args\" src=\"$url\" border=\"0\"$height$width alt=\"$html_label\"$tabindex$html_attribs />";
     }
 
     $image_script = $self->get("image_script","App/app-button");
@@ -102,10 +102,10 @@
             $url    = "$script_url_dir/$image_script";
         }
         $url .= "?mode=$type&width=$width&height=$height&bevel=$bevel&text=$url_label$selected";
-        return "<input type=\"image\" name=\"app.event.$event_target.$event$args\" src=\"$url\" border=\"0\" height=\"$height\" width=\"$width\" alt=\"$html_label\"$tabindex$html_attribs/>";
+        return "<input type=\"image\" name=\"app.event.$event_target.$event$args\" src=\"$url\" border=\"0\" height=\"$height\" width=\"$width\" alt=\"$html_label\"$tabindex$html_attribs />";
     }
 
-    return "<input type=\"submit\" name=\"app.event.$event_target.$event$args\" value=\"$html_label\"$tabindex$html_attribs/>";
+    return "<input type=\"submit\" name=\"app.event.$event_target.$event$args\" value=\"$html_label\"$tabindex$html_attribs />";
 }
 
 1;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.