Add simpleid-1.0.5
diff --git a/simpleid/www/html/page-profile.js b/simpleid/www/html/page-profile.js
new file mode 100644
index 0000000..a64da93
--- /dev/null
+++ b/simpleid/www/html/page-profile.js
@@ -0,0 +1,21 @@
+var discovery_refresh = function() {
+ var code = '';
+
+ if ($('#discovery-openid1')[0].checked) {
+ code += $('#discovery-templates .openid1').html() + '\n';
+ if ($('#discovery-local-id')[0].checked) code += $('.openid1-local-id').html() + '\n';
+ }
+ if ($('#discovery-openid2')[0].checked) {
+ code += $('#discovery-templates .openid2').html() + '\n';
+ if ($('#discovery-local-id')[0].checked) code += $('.openid2-local-id').html() + '\n';
+ }
+
+ if (code == '') code = l.code;
+
+ $('#discovery-link-tags').html(code);
+}
+
+$(document).ready(function() {
+ $('.discovery-checkbox').click(discovery_refresh);
+ discovery_refresh();
+});