diff --git a/trunk/login.pl b/trunk/login.pl index ff32e7c..44ff9e7 100644 --- a/trunk/login.pl +++ b/trunk/login.pl @@ -144,9 +144,8 @@ if($query->param('action')) } else { - #someone is messing with the args - $page->{'message'}->{'type'} = "error"; - $page->{'message'}->{'text'} = "error_202c"; + #if not, print login form + $page->{'loginform'}->{'action'} = 'openid'; #print xml http header along with session cookie print $session->header(-type=>'text/xml', -charset=>'UTF-8'); @@ -183,7 +182,7 @@ elsif($username) else { #if not, print login form - $page->{loginform} = ['']; + $page->{'loginform'} = ['']; #print xml http header along with session cookie print $session->header(-type=>'text/xml', -charset=>'UTF-8'); diff --git a/trunk/site/gnutube.xml b/trunk/site/gnutube.xml index 0d2a89d..385b0e8 100755 --- a/trunk/site/gnutube.xml +++ b/trunk/site/gnutube.xml @@ -13,13 +13,13 @@ --> /account.pl - login.pl - login-openid.pl - login.pl?action=logout + /login.pl + /login.pl?action=openid + /login.pl?action=logout INSERT LINK TO GNUTUBE AUTHORS HERE http://gplv3.fsf.org/agplv3-dd1.html http://mister-muffin.de/proj/browser - register.pl + /register.pl search.pl?query= /upload.pl uploader.pl diff --git a/trunk/xsl/xhtml.xsl b/trunk/xsl/xhtml.xsl index b578d59..f694725 100755 --- a/trunk/xsl/xhtml.xsl +++ b/trunk/xsl/xhtml.xsl @@ -358,45 +358,66 @@
- -
- - - -
- - : -
- -
- : -
- -
- - - + + + + + - -
-
-
- - - -
- - : -
- -
- - - +
+ + OpenID: +
+ +
+ e.g. http://username.myopenid.com +
+ + + + + +
+ + + + + login with normal account + +
+ + + +
+ + - -
- +
+ + : +
+ +
+ : +
+ +
+ + + + + +
+ + + + + login with openid + +
+ + +