[geeklog-cvs] geeklog: Added id="identity_url", as needed for the <label> tag

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Feb 7 02:51:57 EST 2010


changeset 7701:9ab4f4f9dc57
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/9ab4f4f9dc57
user: Dirk Haun <dirk at haun-online.de>
date: Sat Feb 06 20:42:37 2010 +0100
description:
Added id="identity_url", as needed for the <label> tag

diffstat:

 public_html/docs/english/theme.html                    |  3 +++
 public_html/layout/professional/loginform_openid.thtml |  8 +++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 43d144d168d0 -r 9ab4f4f9dc57 public_html/docs/english/theme.html
--- a/public_html/docs/english/theme.html	Sat Feb 06 20:01:54 2010 +0100
+++ b/public_html/docs/english/theme.html	Sat Feb 06 20:42:37 2010 +0100
@@ -204,6 +204,9 @@
 <h2><a name="changes">Theme changes in Geeklog 1.6.2</a></h2>
 
 <ul>
+<li>In <tt>loginform_openid.thtml</tt>, the input field was missing a
+    <code>id="identity_url"</code> (since the <label> tag refers to an id,
+    not a name).</li>
 <li>A new variable <tt>{option_attributes}</tt> is available in the
     <tt>topicoption.thtml</tt> template file. It is currently only used to add
     a <code>rel="home"</code> attribute to the Home link in the Topics
diff -r 43d144d168d0 -r 9ab4f4f9dc57 public_html/layout/professional/loginform_openid.thtml
--- a/public_html/layout/professional/loginform_openid.thtml	Sat Feb 06 20:01:54 2010 +0100
+++ b/public_html/layout/professional/loginform_openid.thtml	Sat Feb 06 20:42:37 2010 +0100
@@ -1,5 +1,7 @@
 <form action="{site_url}/users.php?openid_login=1" method="post">
-  <b><label for="identity_url">{lang_openid_login}</label></b><br{xhtml}>
-  <input name="identity_url" style='background: url("{site_url}/images/openid_login_icon.png") no-repeat;background-color:#fff;background-position:0 50%;color:#000;padding-left:18px;font-family:monospace;font-size:10px' value="http://" size="{input_field_size}"{xhtml}>
-  <input src="{site_url}/images/right_arrow.png" style="padding:1px;margin-bottom:-5px;height:16px;width:16px;border:1px" type="image"{xhtml}>
+  <div>
+    <b><label for="identity_url">{lang_openid_login}</label></b><br{xhtml}>
+    <input name="identity_url" id="identity_url" style='background: url("{site_url}/images/openid_login_icon.png") no-repeat;background-color:#fff;background-position:0 50%;color:#000;padding-left:18px;font-family:monospace;font-size:10px' value="http://" size="{input_field_size}"{xhtml}>
+    <input src="{site_url}/images/right_arrow.png" style="padding:1px;margin-bottom:-5px;height:16px;width:16px;border:1px" type="image"{xhtml}>
+  <div>
 </form>



More information about the geeklog-cvs mailing list