From 031a198e8320c5159f59404d2b1c3c4ffa10d26d Mon Sep 17 00:00:00 2001 From: erlehmann Date: Wed, 9 Apr 2008 01:10:21 +0000 Subject: [PATCH] disable password field on openid detection via javascript git-svn-id: http://yolanda.mister-muffin.de/svn@280 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/locale/en-us.xml | 8 ++- trunk/xsl/xhtml.xsl | 2 + trunk/xsl/xhtml/loginbox.xsl | 102 +++++++++++++++++++-------------- trunk/xsl/xhtml/tagbar.xsl | 13 +++++ trunk/xsl/xhtml/video.xsl | 8 +-- trunk/xsl/xhtml/xhtml-body.xsl | 7 ++- 6 files changed, 89 insertions(+), 51 deletions(-) create mode 100644 trunk/xsl/xhtml/tagbar.xsl diff --git a/trunk/locale/en-us.xml b/trunk/locale/en-us.xml index 2e3288a..269872a 100755 --- a/trunk/locale/en-us.xml +++ b/trunk/locale/en-us.xml @@ -112,10 +112,12 @@ username - password + Username or OpenID + Password repeat password - register - login + No password required. + Register + Login file diff --git a/trunk/xsl/xhtml.xsl b/trunk/xsl/xhtml.xsl index 9008b36..c49794d 100755 --- a/trunk/xsl/xhtml.xsl +++ b/trunk/xsl/xhtml.xsl @@ -29,12 +29,14 @@ + + diff --git a/trunk/xsl/xhtml/loginbox.xsl b/trunk/xsl/xhtml/loginbox.xsl index 361dee3..5790fa4 100644 --- a/trunk/xsl/xhtml/loginbox.xsl +++ b/trunk/xsl/xhtml/loginbox.xsl @@ -8,57 +8,73 @@ > +
- - +
+ + + +
+ +
+ +
- - - + +
+ + + + + -
- -
- -
+ - -
- - - - - - - - -
- - - - - - - - - - +
+
+ +
diff --git a/trunk/xsl/xhtml/tagbar.xsl b/trunk/xsl/xhtml/tagbar.xsl new file mode 100644 index 0000000..0038a43 --- /dev/null +++ b/trunk/xsl/xhtml/tagbar.xsl @@ -0,0 +1,13 @@ + + + + + + + diff --git a/trunk/xsl/xhtml/video.xsl b/trunk/xsl/xhtml/video.xsl index 6419dc2..41d2fac 100644 --- a/trunk/xsl/xhtml/video.xsl +++ b/trunk/xsl/xhtml/video.xsl @@ -38,14 +38,14 @@ function hide_movie() { - document.getElementById('video').style.display = 'none'; - document.getElementById('preview').style.display = 'block'; + document.getElementById('video').style.display = 'none'; + document.getElementById('preview').style.display = 'block'; } function show_movie() { - document.getElementById('video').style.display = 'inline'; - document.getElementById('preview').style.display = 'none'; + document.getElementById('video').style.display = 'inline'; + document.getElementById('preview').style.display = 'none'; window.setTimeout("hide_movie()", ]]> diff --git a/trunk/xsl/xhtml/xhtml-body.xsl b/trunk/xsl/xhtml/xhtml-body.xsl index ad8d4e2..44d3c39 100644 --- a/trunk/xsl/xhtml/xhtml-body.xsl +++ b/trunk/xsl/xhtml/xhtml-body.xsl @@ -22,7 +22,12 @@ - + + + + + +