Commits

Daniel Holth  committed 90cc009

remove jquery-openid

  • Participants
  • Parent commits 58e1666

Comments (0)

Files changed (20)

File ponzi_openid/static/images/aolW.png

Removed
Old image

File ponzi_openid/static/images/blogger.png

Removed
Old image

File ponzi_openid/static/images/claimid.png

Removed
Old image

File ponzi_openid/static/images/facebookW.png

Removed
Old image

File ponzi_openid/static/images/fadegrey.png

Removed
Old image

File ponzi_openid/static/images/flickr.png

Removed
Old image

File ponzi_openid/static/images/flickrW.png

Removed
Old image

File ponzi_openid/static/images/googleW.png

Removed
Old image

File ponzi_openid/static/images/livejournal.png

Removed
Old image

File ponzi_openid/static/images/myopenid.png

Removed
Old image

File ponzi_openid/static/images/myopenidW.png

Removed
Old image

File ponzi_openid/static/images/myspaceW.png

Removed
Old image

File ponzi_openid/static/images/openidW.png

Removed
Old image

File ponzi_openid/static/images/openidico.png

Removed
Old image

File ponzi_openid/static/images/technorati.png

Removed
Old image

File ponzi_openid/static/images/verisign.png

Removed
Old image

File ponzi_openid/static/images/vidoop.png

Removed
Old image

File ponzi_openid/static/images/wordpress.png

Removed
Old image

File ponzi_openid/static/images/yahooW.png

Removed
Old image

File ponzi_openid/static/js/jquery.openid.js

-//jQuery OpenID Plugin 1.1 Copyright 2009 Jarrett Vance http://jvance.com/pages/jQueryOpenIdPlugin.xhtml
-$.fn.openid = function() {
-  var $this = $(this);
-  var $usr = $this.find('input[name=openid_username]');
-  var $id = $this.find('input[name=openid_identifier]');
-  var $front = $this.find('div:has(input[name=openid_username])>span:eq(0)');
-  var $end = $this.find('div:has(input[name=openid_username])>span:eq(1)');
-  var $usrfs = $this.find('fieldset:has(input[name=openid_username])');
-  var $idfs = $this.find('fieldset:has(input[name=openid_identifier])');
-
-  var submitusr = function() {
-    if ($usr.val().length < 1) {
-      $usr.focus();
-      return false;
-    }
-    $id.val($front.text() + $usr.val() + $end.text());
-    return true;
-  };
-
-  var submitid = function() {
-    if ($id.val().length < 1) {
-      $id.focus();
-      return false;
-    }
-    return true;
-
-  };
-  var direct = function() {
-    var $li = $(this);
-    $li.parent().find('li').removeClass('highlight');
-    $li.addClass('highlight');
-    $usrfs.fadeOut();
-    $idfs.fadeOut();
-
-    $this.unbind('submit').submit(function() {
-      $id.val($this.find("li.highlight span").text());
-    });
-    $this.submit();
-    return false;
-  };
-
-  var openid = function() {
-    var $li = $(this);
-    $li.parent().find('li').removeClass('highlight');
-    $li.addClass('highlight');
-    $usrfs.hide();
-    $idfs.show();
-    $id.focus();
-    $this.unbind('submit').submit(submitid);
-    return false;
-  };
-
-  var username = function() {
-    var $li = $(this);
-    $li.parent().find('li').removeClass('highlight');
-    $li.addClass('highlight');
-    $idfs.hide();
-    $usrfs.show();
-    $this.find('label[for=openid_username] span').text($li.attr("title"));
-    $front.text($li.find("span").text().split("username")[0]);
-    $end.text("").text($li.find("span").text().split("username")[1]);
-    $id.focus();
-    $this.unbind('submit').submit(submitusr);
-    return false;
-  };
-
-  $this.find('li.direct').click(direct);
-  $this.find('li.openid').click(openid);
-  $this.find('li.username').click(username);
-  $id.keypress(function(e) {
-    if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) {
-      return submitid();
-    }
-  });
-  $usr.keypress(function(e) {
-    if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) {
-      return submitusr();
-    }
-  });
-  $this.find('li span').hide();
-  $this.find('li').css('line-height', 0).css('cursor', 'pointer');
-  $this.find('li:eq(0)').click();
-  return this;
-}