summaryrefslogtreecommitdiffstats
path: root/forum/templates/content/jquery-openid
diff options
context:
space:
mode:
Diffstat (limited to 'forum/templates/content/jquery-openid')
-rw-r--r--forum/templates/content/jquery-openid/images/aol.gifbin0 -> 2205 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/blogger-1.pngbin0 -> 432 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/blogger.icobin0 -> 3638 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/claimid-0.pngbin0 -> 629 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/claimid.icobin0 -> 3638 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/facebook.gifbin0 -> 2075 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/flickr.icobin0 -> 1150 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/flickr.pngbin0 -> 426 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/google.gifbin0 -> 1596 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/livejournal-1.pngbin0 -> 713 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/livejournal.icobin0 -> 5222 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/myopenid-2.pngbin0 -> 511 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/myopenid.icobin0 -> 2862 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/openid-inputicon.gifbin0 -> 237 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/openid.gifbin0 -> 740 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/openidico.pngbin0 -> 654 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/openidico16.pngbin0 -> 554 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/technorati-1.pngbin0 -> 606 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/technorati.icobin0 -> 2294 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/verisign-2.pngbin0 -> 859 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/verisign.icobin0 -> 4710 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/vidoop.icobin0 -> 1406 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/vidoop.pngbin0 -> 499 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/wordpress.icobin0 -> 1150 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/wordpress.pngbin0 -> 566 bytes
-rw-r--r--forum/templates/content/jquery-openid/images/yahoo.gifbin0 -> 1682 bytes
-rw-r--r--forum/templates/content/jquery-openid/jquery.openid.js111
-rw-r--r--forum/templates/content/jquery-openid/openid.css75
28 files changed, 186 insertions, 0 deletions
diff --git a/forum/templates/content/jquery-openid/images/aol.gif b/forum/templates/content/jquery-openid/images/aol.gif
new file mode 100644
index 00000000..decc4f12
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/aol.gif
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/blogger-1.png b/forum/templates/content/jquery-openid/images/blogger-1.png
new file mode 100644
index 00000000..8b360ea5
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/blogger-1.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/blogger.ico b/forum/templates/content/jquery-openid/images/blogger.ico
new file mode 100644
index 00000000..1b9730b0
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/blogger.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/claimid-0.png b/forum/templates/content/jquery-openid/images/claimid-0.png
new file mode 100644
index 00000000..4a0ea1b3
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/claimid-0.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/claimid.ico b/forum/templates/content/jquery-openid/images/claimid.ico
new file mode 100644
index 00000000..2b80f491
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/claimid.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/facebook.gif b/forum/templates/content/jquery-openid/images/facebook.gif
new file mode 100644
index 00000000..b997b358
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/facebook.gif
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/flickr.ico b/forum/templates/content/jquery-openid/images/flickr.ico
new file mode 100644
index 00000000..11f6e07f
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/flickr.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/flickr.png b/forum/templates/content/jquery-openid/images/flickr.png
new file mode 100644
index 00000000..142405a6
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/flickr.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/google.gif b/forum/templates/content/jquery-openid/images/google.gif
new file mode 100644
index 00000000..1b6cd07b
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/google.gif
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/livejournal-1.png b/forum/templates/content/jquery-openid/images/livejournal-1.png
new file mode 100644
index 00000000..e6436081
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/livejournal-1.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/livejournal.ico b/forum/templates/content/jquery-openid/images/livejournal.ico
new file mode 100644
index 00000000..f3d21ec5
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/livejournal.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/myopenid-2.png b/forum/templates/content/jquery-openid/images/myopenid-2.png
new file mode 100644
index 00000000..f64fb8e8
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/myopenid-2.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/myopenid.ico b/forum/templates/content/jquery-openid/images/myopenid.ico
new file mode 100644
index 00000000..ceb06e6a
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/myopenid.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/openid-inputicon.gif b/forum/templates/content/jquery-openid/images/openid-inputicon.gif
new file mode 100644
index 00000000..cde836c8
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/openid-inputicon.gif
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/openid.gif b/forum/templates/content/jquery-openid/images/openid.gif
new file mode 100644
index 00000000..c718b0e6
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/openid.gif
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/openidico.png b/forum/templates/content/jquery-openid/images/openidico.png
new file mode 100644
index 00000000..ab622669
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/openidico.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/openidico16.png b/forum/templates/content/jquery-openid/images/openidico16.png
new file mode 100644
index 00000000..ad718ac5
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/openidico16.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/technorati-1.png b/forum/templates/content/jquery-openid/images/technorati-1.png
new file mode 100644
index 00000000..f7195240
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/technorati-1.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/technorati.ico b/forum/templates/content/jquery-openid/images/technorati.ico
new file mode 100644
index 00000000..fa1083c1
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/technorati.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/verisign-2.png b/forum/templates/content/jquery-openid/images/verisign-2.png
new file mode 100644
index 00000000..c1467008
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/verisign-2.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/verisign.ico b/forum/templates/content/jquery-openid/images/verisign.ico
new file mode 100644
index 00000000..3953af93
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/verisign.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/vidoop.ico b/forum/templates/content/jquery-openid/images/vidoop.ico
new file mode 100644
index 00000000..bbd9a0d5
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/vidoop.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/vidoop.png b/forum/templates/content/jquery-openid/images/vidoop.png
new file mode 100644
index 00000000..032c9e98
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/vidoop.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/wordpress.ico b/forum/templates/content/jquery-openid/images/wordpress.ico
new file mode 100644
index 00000000..31b7d2c2
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/wordpress.ico
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/wordpress.png b/forum/templates/content/jquery-openid/images/wordpress.png
new file mode 100644
index 00000000..ee29f0cf
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/wordpress.png
Binary files differ
diff --git a/forum/templates/content/jquery-openid/images/yahoo.gif b/forum/templates/content/jquery-openid/images/yahoo.gif
new file mode 100644
index 00000000..42adbfa5
--- /dev/null
+++ b/forum/templates/content/jquery-openid/images/yahoo.gif
Binary files differ
diff --git a/forum/templates/content/jquery-openid/jquery.openid.js b/forum/templates/content/jquery-openid/jquery.openid.js
new file mode 100644
index 00000000..8d1cd204
--- /dev/null
+++ b/forum/templates/content/jquery-openid/jquery.openid.js
@@ -0,0 +1,111 @@
+//jQuery OpenID Plugin 1.1 Copyright 2009 Jarrett Vance http://jvance.com/pages/jQueryOpenIdPlugin.xhtml
+$.fn.openid = function() {
+ var $this = $(this);
+
+ //name input value - needed for name based OpenID
+ var $usr = $this.find('input[name=openid_username]');
+
+ //final url input value
+ var $id = $this.find('input[name=openid_url]');
+
+ //beginning and end of name OpenID url (name being the middle)
+ var $front = $this.find('p:has(input[name=openid_username])>span:eq(0)');
+ var $end = $this.find('p:has(input[name=openid_username])>span:eq(1)');
+
+ //needed for special effects only
+ var $localfs = $this.find('fieldset:has(input[name=username])');
+ var $usrfs = $this.find('fieldset:has(input[name=openid_username])');
+ var $idfs = $this.find('fieldset:has(input[name=openid_url])');
+
+ 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 local = function() {
+ var $li = $(this);
+ $('#openid_form .providers li').removeClass('highlight');
+ $li.addClass('highlight');
+ $usrfs.hide();
+ $idfs.hide();
+ $localfs.show();
+ $this.unbind('submit').submit(submitid);
+ return false;
+ };
+
+ var direct = function() {
+ var $li = $(this);
+ $('#openid_form .providers li').removeClass('highlight');
+ $li.addClass('highlight');
+ $usrfs.fadeOut('slow');
+ $localfs.fadeOut('slow');
+ $idfs.fadeOut('slow');
+ $id.val($this.find("li.highlight span").text());
+ setTimeout(function(){$('#bsignin').click();},1000);
+ return false;
+ };
+
+ var openid = function() {
+ var $li = $(this);
+ $('#openid_form .providers li').removeClass('highlight');
+ $li.addClass('highlight');
+ $usrfs.hide();
+ $localfs.hide();
+ $idfs.show();
+ $id.focus();
+ $this.unbind('submit').submit(submitid);
+ return false;
+ };
+
+ var username = function() {
+ var $li = $(this);
+ $('#openid_form .providers li').removeClass('highlight');
+ $li.addClass('highlight');
+ $idfs.hide();
+ $localfs.hide();
+ $usrfs.show();
+ $this.find('#enter_your_what').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.local').click(local);
+ $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');
+ $usrfs.hide();
+ $idfs.hide();
+ $localfs.hide();
+ $this.find('li:eq(0)').click();
+
+ return this;
+};
+// submitting next=%2F&openid_username=&openid_url=http%3A%2F%2Fyahoo.com%2F
+// submitting next=%2F&openid_username=&openid_url=http%3A%2F%2Fyahoo.com%2F
diff --git a/forum/templates/content/jquery-openid/openid.css b/forum/templates/content/jquery-openid/openid.css
new file mode 100644
index 00000000..1b7aaf82
--- /dev/null
+++ b/forum/templates/content/jquery-openid/openid.css
@@ -0,0 +1,75 @@
+fieldset { border-style:none; }
+img {border-style:none;}
+
+.logo_box {display:inline-block;float:left;width:90px;height:40px;background:white;border:1px solid #dddddd;}
+.openid_box img {margin-top:6px;}
+.aol_box img {margin-top:6px;}
+.yahoo_box img {margin-top:13px;}
+.google_box img {margin-top:6px;}
+.local_login_box img {margin-top:2px;margin-left:-3px;}
+
+form.openid ul{ margin:0;padding:0;text-align:center; list-style-type:none; display:block;}
+form.openid ul li {float:left; padding:4px;display:inline-block;}
+form.openid ul li div {display:inline-block;}
+form.openid ul li span {padding:0 1em 0 3px}
+form.openid ul li.first_tiny_li {clear:left;}
+form.openid fieldset {clear:both;padding:10px 0px 0px 0px;}
+form.openid div+fieldset {display:none}
+form.openid label {display:block; font-weight:bold;}
+input[name=openid_username] {width:8em}
+input[name=openid_identifier] {width:18em}
+form.openid ul li.highlight { -moz-border-radius:4px; -webkit-border-radius:4px; background-color: #FD6}
+form.openid fieldset div {
+ -moz-border-radius:4px;
+ -webkit-border-radius:4px;
+ background: #DCDCDC;
+ padding:10px;
+ display:inline-block;
+ float:left;
+}
+form.openid p {margin-bottom:4px;}
+form.openid fieldset div p {padding:0px;margin:0px;}
+form.openid fieldset div p.login {padding:0px;margin:0 0 10px 0;}
+form.openid label {
+ display:inline-block;
+ font-weight:normal;
+ width:6em;
+ text-align:right;
+}
+#local_login_fs div {
+ padding-bottom:4px;
+}
+#local_login_buttons {
+ text-align:center;
+ line-height:1.8em;
+ margin-top:3px;
+}
+/*form.openid input[type='submit'] {margin-left:1em;}*/
+#openid_username {background:#ffffa0;}
+#openid_url {background:#ffffa0;}
+
+.openid_logo{color:#F7931E;padding:6px 0px 8px 28px;
+background: url(images/openidico.png) no-repeat;
+}
+
+#openid_login {float:left; width:30%; margin:2em 1em; text-align:center}
+#openid_login div{margin-top:0.5em}
+
+form.openid ul.errorlist {
+ border: none;
+ list-style-position:inside;
+ list-style-type: disc;
+ margin-bottom:5px;
+}
+form.openid ul.errorlist li {
+ text-align: left;
+ margin: 5px;
+ float: none;
+ color:blue;
+}
+#openid_small_providers li {
+ margin-top:4px;
+}
+#openid_small_providers li.facebook {
+ margin-top:0px;
+}