Advertisement
Guest User

Untitled

a guest
Jun 1st, 2013
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.35 KB | None | 0 0
  1. <BASE HREF="http://www.citeulike.org/register"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
  4. xmlns:fb="http://www.facebook.com/2008/fbml"
  5. xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"
  6. xmlns:dc="http://purl.org/dc/elements/1.1/"
  7. xmlns:cito="http://purl.org/net/cito/">
  8. <head>
  9. <title>CiteULike: Register</title>
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  11. <!--[if lt IE 10]>
  12. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, chrome=1" />
  13. <![endif]-->
  14.  
  15. <meta name="application-name" content="CiteULike"/>
  16. <meta name="msapplication-TileColor" content="#ffffff"/>
  17. <meta name="msapplication-TileImage" content="/static/img/win8TileImage.jpg"/>
  18.  
  19.  
  20. <!--css_include href="/3rdparty/960css/text.css"-->
  21. <link rel="stylesheet" type="text/css" media="all" href="/static/jquery-ui/css/mytheme/jquery-ui-1.10.0.custom.0f3881b01346c34bc01df4f24349cec7.css" />
  22. <link rel="stylesheet" type="text/css" media="all" href="/static/3rdparty/tipsy-0.1.7/stylesheets/tipsy.b5d47844a5d90d83e958c3ea16293144.css" />
  23. <link rel="stylesheet" type="text/css" media="all" href="/static/3rdparty/jQuery/stars/jquery.ui.stars.7f0f889a94c6c8243eeab2ac5a82cf2b.css" />
  24. <link rel="stylesheet" type="text/css" media="all" href="/static/3rdparty/jQuery/fancybox-1.3.4/jquery.fancybox-1.3.4.4638ce99ef00cf62bfb22d230f9924b8.css" />
  25. <link rel="stylesheet" type="text/css" media="all" href="/static/3rdparty/jQuery/qtip-2.0-nightly-d41d8cd98f00b204e9800998ecf8427e1305549174/jquery.qtip.f2ac3f4fda056b336f27062c09672ea8.css" />
  26.  
  27. <link rel="stylesheet" type="text/css" media="all" href="/static/citeulike.d33842877abb52ac79406ed169321dbd.css" />
  28.  
  29. <!--[if lt IE 9]>
  30. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  31. <![endif]-->
  32. <!--[if IE]>
  33. <style type="text/css">
  34. /* Only IE can see inside the conditional comment
  35. and read this CSS rule. Don't ever use a normal HTML
  36. comment inside the CC or it will close prematurely. */
  37.  
  38. /**<FANCYBOX>*******************************************************************/
  39. /* bug/feature http://groups.google.com/group/fancybox/browse_thread/thread/8530478044b9f586#
  40. AlphaImageLoader loads relative to DOCUMENT
  41. */
  42.  
  43. /* IE6 */
  44.  
  45. .fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_close.png', sizingMethod='scale'); }
  46.  
  47. .fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_nav_left.png', sizingMethod='scale'); }
  48. .fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_nav_right.png', sizingMethod='scale'); }
  49.  
  50. .fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
  51. .fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_title_left.png', sizingMethod='scale'); }
  52. .fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_title_main.png', sizingMethod='scale'); }
  53. .fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_title_right.png', sizingMethod='scale'); }
  54.  
  55. .fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
  56. height: expression(this.parentNode.clientHeight + "px");
  57. }
  58.  
  59. #fancybox-loading.fancybox-ie6 {
  60. position: absolute; margin-top: 0;
  61. top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : do
  62. cument.body.scrollTop )) + 'px');
  63. }
  64.  
  65. #fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_loading.png', sizingMethod='scale'); }
  66.  
  67. /* IE6, IE7, IE8 */
  68.  
  69. .fancybox-ie .fancybox-bg { background: transparent !important; }
  70.  
  71. .fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_n.png', sizingMethod='scale'); }
  72. .fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_ne.png', sizingMethod='scale'); }
  73. .fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_e.png', sizingMethod='scale'); }
  74. .fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_se.png', sizingMethod='scale'); }
  75. .fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_s.png', sizingMethod='scale'); }
  76. .fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_sw.png', sizingMethod='scale'); }
  77. .fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_w.png', sizingMethod='scale'); }
  78. .fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/3rdparty/jQuery/fancybox-1.3.1//fancy_shadow_nw.png', sizingMethod='scale'); }
  79.  
  80. img.pngfix { behavior: url(/static/img/iepngfix.htc) }
  81.  
  82. </style>
  83. <![endif]-->
  84.  
  85. <link rel="stylesheet" type="text/css" media="all" href="/static/css/compact.57abc7b68fe9eccf571cc42d27a2fd9c.css" />
  86.  
  87.  
  88.  
  89. <script type="text/javascript">
  90. //<![CDATA[
  91.  
  92. /*
  93. Try to fool phishers/proxies, e.g.,
  94.  
  95. http://jptaravellahighschool.appspot.com/www.citeulike.org/
  96.  
  97. by checking for unexpected hostname.
  98. */
  99. //var baseurl = "http://www.citeulike.org";
  100. //var hostname = baseurl.replace(/^http(s?):\/\//,"").replace(/\//g,"").replace(/:\d+/,"");
  101.  
  102. // This messes up with SSL - for some reason nginx redirects
  103. // https://citeulike.org/ -> https://www.citeulike.org/
  104. // don't work.
  105. /*
  106. if (document.location.hostname != hostname) {
  107. document.location = baseurl;
  108. }
  109. */
  110.  
  111.  
  112. var LOG = function(s) {};
  113. var ERROR = function(e) {};
  114. var STACKTRACE = function(e) {};
  115.  
  116.  
  117. document.domain = "citeulike.org";
  118.  
  119. var __init__ = [];
  120.  
  121. var GLOBAL = {
  122. staticRoot : "/static",
  123. imgRoot : "/static/img",
  124. jsRoot : "/static",
  125. cookieDomain : ".citeulike.org",
  126. username : "",
  127. can_show_ctxmenu : 1,
  128. is_gold_user : 0,
  129. is_superuser : 0,
  130. flexpaper_key : "$3db04a2de2248caa878",
  131. is_me : 0,
  132. is_owner : 0,
  133. library_type : "none",
  134. show_tags_nav : 1
  135. };
  136.  
  137.  
  138. var ADVERTS = [{"name":"jove-feb11","height":"160","ext":"jpg"}];
  139.  
  140. var facebookAppId = '118594761528526';
  141. var loginType = "none";
  142.  
  143.  
  144. //]]>
  145. </script>
  146.  
  147.  
  148. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  149. <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
  150.  
  151. <script src="//code.jquery.com/jquery-migrate-1.2.0.min.js"></script>
  152. <script type="text/javascript" src="/static/COMBO.d1a011d324068d1ed8da415f2dde5a9e.js"></script>
  153.  
  154.  
  155.  
  156.  
  157. <!-- custom JS -->
  158. <script type="text/javascript" src="/static/js/head.5709aea23a39bf08752f72a920375e05.js"></script>
  159.  
  160.  
  161. <script type="text/javascript">
  162. //<![CDATA[
  163.  
  164. try {
  165. GLOBAL.prefs = null;
  166. } catch (err) {
  167. LOG("Problem processing prefs");
  168. LOG(err);
  169. STACKTRACE({e: err});
  170. GLOBAL.prefs = null;
  171. }
  172.  
  173.  
  174. GLOBAL.quickLinks = getJsonPref("quick_links");
  175.  
  176. jQuery(function() {
  177. for (var i=0; i<__init__.length; i++) { // >
  178. LOG("Initializing: "+__init__[i].name);
  179. __init__[i].func();
  180. }
  181. });
  182.  
  183. //]]>
  184. </script>
  185.  
  186.  
  187.  
  188.  
  189. <script type="text/javascript">
  190. //<![CDATA[
  191.  
  192. var GOOGLE_AC = 'UA-55349-1';
  193.  
  194. //]]>
  195. </script>
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203. <style type="text/css">
  204. #navright {
  205. top: 122px;
  206. }
  207. </style>
  208.  
  209.  
  210.  
  211.  
  212. </head>
  213.  
  214. <body>
  215.  
  216. <div id="fb-root"></div>
  217. <script type="text/javascript" src="/static/js/facebook.b1bb332a8746c16cfd974e178aa038e7.js"></script>
  218.  
  219.  
  220. <script type="text/javascript">
  221. //<![CDATA[
  222.  
  223. var GOOGLE_AC = 'UA-55349-1';
  224.  
  225. //]]>
  226. </script>
  227.  
  228.  
  229.  
  230.  
  231. <script type="text/javascript">//<![CDATA[
  232.  
  233.  
  234. var _gaq = _gaq || [];
  235. _gaq.push(['_setAccount', GOOGLE_AC]);
  236. _gaq.push(['_trackPageview']);
  237.  
  238. (function() {
  239. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  240. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  241. (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
  242. })();
  243.  
  244. //]]></script>
  245.  
  246.  
  247.  
  248.  
  249. <div id="dialog" title="Search CiteULike" style="display:none">
  250. <form action="/search/all" id="search_form" onsubmit="return submit_search()">
  251. <input type="text" name="q" id="q"
  252. class="ui-widget-content ui-corner-all"
  253. style="width:90%; display:block"
  254. value=""
  255. placeholder="Enter search term" />
  256. <div>
  257. Search all the public and <a id="search-hint" class="tipsy-hint-n" href="#"
  258. title="These are articles that CiteULike has directly imported from approved sources, e.g., publishers' websites, rather than manually entered.">authenticated</a>
  259. articles in CiteULike.
  260. <br /><input type="checkbox" id="srch_unch" name="unch" value="yes" class="search"
  261. onchange="setSearchUnchecked()"/><label for="srch_unch">Include unauthenticated results too (may include "spam")</label>
  262.  
  263. <br /><br />Enter a search phrase. You can also specify
  264. <div style="margin-left:1em">
  265. <div>a CiteULike article id (<i>123456</i>),</div>
  266. <div>a DOI (<i>doi:10.1234/12345678</i>)</div>
  267. <div>or a PubMed ID (<i>pmid:12345678</i>).</div>
  268. </div>
  269.  
  270.  
  271. <br /> Click <a style="text-decoration:none" href="#"
  272. onclick="show_search_help(); return false;">Help</a> for advanced usage.
  273. </div>
  274. </form>
  275.  
  276. </div>
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286. <table class="menu leftindent">
  287. <tr>
  288. <td><img src="/static/img/menu/lhs.png" /></td>
  289. <td id="cul-menu" class="item" style="cursor:default"><span class="cultxt">CiteULike</span></td>
  290. <td><img src="/static/img/menu/bar.png" /></td>
  291.  
  292. <td class="filler" ></td>
  293.  
  294. <td id="quicklinks"><img src="/static/img/menu/bar.png" /></td>
  295. <td class="item">
  296. <img style="vertical-align:middle" src="/static/img/search-icon.png"/><a href="#" onclick="search_modal(); return false">Search</a>
  297. </td>
  298. <td><img src="/static/img/menu/bar.png" /></td>
  299.  
  300.  
  301. <td class="item">
  302. <a href="/register">Register</a>
  303. </td>
  304. <td><img src="/static/img/menu/bar.png" /></td>
  305. <td class="item">
  306. <a accesskey="l" href="/login?from=%2fregister">Log in</a>
  307. </td>
  308.  
  309.  
  310. <td><img src="/static/img/menu/rhs.png" /></td>
  311. </tr>
  312. </table>
  313.  
  314. <div style="height:9px; zindex:0"></div>
  315.  
  316. <div style="display:none" id="doc">
  317.  
  318. <div id="citeulike">
  319. <div class="xmegamenu">
  320. <div class="column">
  321. <ul>
  322. <li><a href="/">Home</a></li>
  323. <li><a href="http://blog.citeulike.org/">News/Blog</a></li>
  324. <li><a href="/citegeist">Citegeist</a></li>
  325. <li><a href="/all">Everyone's Library</a></li>
  326.  
  327.  
  328. </ul>
  329. </div>
  330. <div class="column">
  331. <ul>
  332. <li><a href="/groups/browse">Browse Groups</a></li>
  333. <li><a href="/groups/search/go">Search Groups</a></li>
  334. <li><a href="/journals">Journals</a></li>
  335. <li><a href="/profile_get_research_area_table">Research Fields</a><sup style="color:red">NEW</sup>
  336. </li>
  337. </ul>
  338. </div>
  339. <div class="column">
  340. <ul>
  341. <li><a href="http://wiki.citeulike.org/">Help/FAQ</a></li>
  342. <li><a href="/discussion">Discussion</a></li>
  343.  
  344. <li><a href="/gold" class="golduser"><b>Gold</b></a></li>
  345.  
  346.  
  347.  
  348. <li><a href="/contact_us.adp">Contact Us</a></li>
  349. </ul>
  350. </div>
  351. </div>
  352. </div>
  353.  
  354. <script type="text/javascript">
  355. defineMenu("#cul-menu", "#citeulike");
  356. </script>
  357.  
  358.  
  359. </div>
  360. <!-- pre-load image to avoid delay-->
  361. <img style="display:none" src="/static/img/menu/body-hi.png" />
  362. <!-- end menus -->
  363.  
  364.  
  365. <div id="navleft">
  366. <div class="campaigns" id="campaigns_div"></div>
  367.  
  368. <div id="aqnowledge_main" >
  369. <div id="aqnowledge_inner" >
  370. <h3>Related Products</h3>
  371. <p>We have identified the following relevant lab reagents.</p>
  372. <div id="aqnowledge_data">
  373. <div id="aq_stub" style="display:none">
  374. <div>
  375. <div class="aq-name"><a class="aq-link" href="#"></a></div>
  376. </div>
  377. </div>
  378. </div>
  379. <div id="aq-more"><a href="#">More...</a></div>
  380. <div class="aqfaint">Brought to you by <a href="http://aqnowledge.com/">AQnowledge</a>, precision products for scientists</div>
  381. </div>
  382. </div>
  383.  
  384.  
  385. </div> <!-- Navleft -->
  386.  
  387.  
  388.  
  389. <div id="cookie_terms">
  390. <span id="accept_cookie_terms" class="accept_cookie_terms">x</span>
  391. <p>CiteULike uses cookies, some of which may already have been set.
  392. <a href="/cookie-policy.adp" target="_blank">Read about how we use cookies</a>.</p>
  393. <p>We will interpret your continued use of this site as
  394. your acceptance of our use of cookies. You may
  395. <span class="accept_cookie_terms accept_cookie_terms_link">hide</span> this message.</p>
  396. </div>
  397.  
  398.  
  399.  
  400.  
  401. <script type="text/javascript">
  402. var research_area_descr = {};
  403. function update_research_area() {
  404. var val=jQuery("#research_category").val();
  405. if (val=="none") {
  406. jQuery("#research_area").empty().hide();
  407. jQuery("#research_area_long").empty().hide();
  408. return;
  409. }
  410. // alert("Changed "+val);
  411.  
  412. jQuery.getJSON("/profile_get_research_area.json?callback=?&code="+val, function(data) {
  413. _update_research_area(data);
  414. });
  415. }
  416. function _update_research_area(data) {
  417. var e =jQuery("#research_area");
  418. e.empty();
  419. research_area_descr = {};
  420. for (var i=0; i<data.length; i++) {
  421. var d = data[i];
  422. e.append("<option id='research_area_"+d[0]+"' value='"+d[0]+"'>"+d[1]+"</option>");
  423. research_area_descr[d[0]] = d[2];
  424. }
  425. if ("" != "") {
  426. jQuery("#research_area_").attr("selected",true);
  427. }
  428. jQuery("#research_area_long").text(research_area_descr[e.val()]);
  429. e.show();
  430. }
  431.  
  432. jQuery(function() {
  433. if ("" != "" && "" != "none") {
  434. jQuery("#research_category_").attr("selected",true);
  435. jQuery.getJSON("/profile_get_research_area.json?callback=?&code=", function(data) {
  436. _update_research_area(data);
  437. });
  438. }
  439. if (location.href.startsWith("http:")) {
  440. jQuery("#secure_link").show();
  441. }
  442.  
  443. showFacebookStep(1);
  444.  
  445. var p = qs_param();
  446. if (p["with"]) {
  447. if (p["with"][0] == "facebook") {
  448. jQuery("#register_full").hide();
  449. }
  450. }
  451.  
  452. jQuery("#job_title option").each(function() {
  453. var $this = jQuery(this);
  454. var v = $this.val();
  455. if (v!=="") {
  456. $this.val($this.text());
  457. }
  458. });
  459.  
  460. });
  461.  
  462. function update_descr(elem) {
  463. var e = jQuery(elem);
  464. var v = e.val();
  465. jQuery("#research_area_long").text(research_area_descr[v]);
  466. }
  467.  
  468. function check_username() {
  469. var username = jQuery("#username").val();
  470. if (username=="") {
  471. jQuery("#invalid_username").hide();
  472. return;
  473. }
  474. jQuery.getJSON("/username_exists.json?callback=?&username="+encodeURIComponent(username),
  475. function(data) {
  476. if (data && data.status && data.status != "ok") {
  477. jQuery("#invalid_username").show();
  478. } else {
  479. jQuery("#invalid_username").hide();
  480. }
  481. }
  482. );
  483.  
  484.  
  485. }
  486.  
  487. var facebookName = null;
  488. var facebookEmail = null;
  489.  
  490. function facebook_connect() {
  491. jQuery("#register_full").hide();
  492. if (typeof FB == "undefined") {
  493. return
  494. }
  495. FB.login(function(response) {
  496. LOG(response);
  497. if (!response.authResponse) {
  498. return;
  499. }
  500. FB.api('/me', function(response) {
  501. if (response && response.name) {
  502. jQuery("#facebookName").text(response.name);
  503. jQuery("#facebookNameOuter").show();
  504. jQuery("#facebookAlreadyLinkedCheckWait").show();
  505. facebookName = response.name;
  506. facebookEmail = response.email;
  507.  
  508. facebook_checkIfLinked();
  509. }
  510. });
  511.  
  512. }, {scope:'email'});
  513. }
  514.  
  515. // check if the user is already linked
  516. function facebook_checkIfLinked() {
  517. jQuery("#facebookAlreadyLinkedCheckWait").hide();
  518. if (false) {
  519. jQuery("#facebookAlreadyLoggedIn").show();
  520. } else {
  521. showFacebookStep(2);
  522. if (facebookName) {
  523. var n = facebookName.replace(/[^a-z0-9_\-]/ig,"").toLowerCase();
  524. jQuery("#username2").val(n);
  525. facebook_validateUsername();
  526. }
  527. jQuery("#username2").focus().select();
  528. }
  529. }
  530.  
  531. function showFacebookStep(n) {
  532. for (i=1; i<6; i++) {
  533. jQuery("#facebook_step"+i).hide();
  534. }
  535. jQuery("#facebook_step"+n).show();
  536. }
  537.  
  538.  
  539. function facebook_validateUsername() {
  540. var username = jQuery("#username2").val();
  541. if (username.match(/[^a-zA-Z0-9_-]/)) {
  542. alert("Invalid characters in username: >"+username2+"<");
  543. return;
  544. }
  545. jQuery("#invalid_username2").hide();
  546. jQuery.getJSON("/username_exists.json?callback=?&username="+encodeURIComponent(username),
  547. function(data) {
  548. if (data && data.status && data.status == "ok") {
  549. showFacebookStep(3);
  550. jQuery("#research").appendTo("#research_clone");
  551. } else {
  552. jQuery("#invalid_username2").show();
  553. }
  554. }
  555. );
  556. }
  557.  
  558. function facebook_readyToSignUp() {
  559. var t = (jQuery('#facebook_t_and_c:checked').val() == "yes");
  560. jQuery("#facebook_signup_button").toggle(t);
  561. }
  562.  
  563. function facebook_register() {
  564. jQuery("#facebook_reg_errors").hide();
  565. jQuery.post(
  566. '/facebook::do_register_json',
  567. {
  568. username : jQuery("#username2").val(),
  569. agree_tc : jQuery("#facebook_t_and_c").val(),
  570. email : facebookEmail
  571. },
  572. function(data) {
  573. if (data && data.status && data.status=="ok") {
  574. alert("Registration Successful");
  575. var p = qs_param();
  576. var from = "";
  577. if (p["from"]) {
  578. from = p["from"][0];
  579. }
  580. if (from=="" || from=="/login" || from=="/register") {
  581. from = "/"
  582. }
  583. location.href = from;
  584. } else {
  585. // alert("failed");
  586. var div = jQuery("#facebook_reg_errors");
  587. div.empty().show();
  588. var errors = data.errors;
  589. for (i=0; i<errors.length; i++) {
  590. div.append("<div>"+errors[i]+"</div>");
  591. }
  592. }
  593. }
  594.  
  595. );
  596. }
  597. </script>
  598.  
  599. <div class="contentonly" id="register_full">
  600.  
  601. <h1>Register for CiteULike
  602. </h1>
  603.  
  604. <div class="vague" style="display:none">All you need to do is fill in the boxes below. It's really very painless.
  605. </div>
  606.  
  607.  
  608.  
  609. <div style="margin-top: 10px;">
  610. <form name="frm" action="/register.do" method="post">
  611. <table border="0">
  612. <tr id="secure_link" style="display:none">
  613. <td colspan=2 align="right">
  614. <div class="vague"><img alt="warn" style="" class="attachment-icon tipsy-hint-s"
  615. title="" src="/static/img/icons/warn.png"/> This page in not encrypted - you may register securely using
  616. <a href="https://www.citeulike.org/register">this page</a> instead.</div>
  617. <br />
  618. </td>
  619. </tr>
  620.  
  621. <tr>
  622. <td align=right><label for="username">Username:<sup>*</sup></label></td>
  623. <td><input id="username" onfocus="this.style.border='2px solid #000'"
  624. onblur="this.style.border='2px solid #ccc'; check_username()" name="username" value="" size=35>
  625. <span id="invalid_username" style="color:red; display:none">Username already taken</span>
  626. </td>
  627. </tr>
  628. <tr>
  629. <td></td>
  630. <td><span class="vague"><b>Note:
  631. </b> You can't have spaces or punctuation in your username
  632. </span></td>
  633. </tr>
  634. <tr>
  635. <td colsapan=2>&nbsp;</td>
  636. </tr>
  637. <tr>
  638. <td align=right><label for="password1">Password:<sup>*</sup></label></td>
  639. <td><input id="password1" onfocus="this.style.border='2px solid #000'" onblur="this.style.border='2px solid #ccc'"
  640. name="password1" type="password" value="" size="35"></td>
  641. </tr>
  642. <tr>
  643. <td align=right><label for="password2">Confirm Password:<sup>*</sup></label></td>
  644. <td><input id="password2" onfocus="this.style.border='2px solid #000'" onblur="this.style.border='2px solid #ccc'" name="password2" type="password" value="" size="35"></td>
  645. </tr>
  646. <tr>
  647. <td></td>
  648. <td><span class="vague"><b>Note:
  649. </b> Both your username and password are case sensitive.
  650. </span></td>
  651. </tr>
  652. <tr>
  653. <td colspan=2>&nbsp;</td>
  654. </tr>
  655. <tr>
  656. <td align=right valign=top><label for="email">Email:<sup>*</sup></label></td>
  657. <td><input id="email" onfocus="this.style.border='2px solid #000'" onblur="this.style.border='2px solid #ccc'" name="email" value="" size="35"></td>
  658. </tr>
  659. <tr>
  660. <td colspan=2>&nbsp;</td>
  661. </tr>
  662. <tr>
  663. <td align=right valign=top><label for="name">Name:</label></td>
  664. <td><input id="name" onfocus="this.style.border='2px solid #000'" onblur="this.style.border='2px solid #ccc'" name="name" value="" size="35"></td>
  665. </tr>
  666.  
  667. <tr><td>&nbsp;</td></tr>
  668. <tr>
  669. <td align=right valign=top style="margin-right:1em"><label for="researcharea">Primary Research Field:</label></td>
  670. <td>
  671. <div id="research">
  672. <select id="research_category" name="research_category" onchange="update_research_area()">
  673. <option value="none">--none--</option>
  674. <option id="research_category_K" value="K">Architecture, Building and Planning</option>
  675. <option id="research_category_C" value="C">Biological Sciences</option>
  676. <option id="research_category_N" value="N">Business and Administrative studies</option>
  677. <option id="research_category_W" value="W">Creative Arts and Design</option>
  678. <option id="research_category_T" value="T">Eastern, Asiatic, African, American and Australasian Languages, Literature and related subjects</option>
  679. <option id="research_category_X" value="X">Education</option>
  680. <option id="research_category_H" value="H">Engineering</option>
  681. <option id="research_category_R" value="R">European Languages, Literature and related subjects</option>
  682. <option id="research_category_V" value="V">Historical and Philosophical studies</option>
  683. <option id="research_category_M" value="M">Law</option>
  684. <option id="research_category_Q" value="Q">Linguistics, Classics and related subjects</option>
  685. <option id="research_category_P" value="P">Mass Communications and Documentation</option>
  686. <option id="research_category_G" value="G">Mathematical and Computer Sciences</option>
  687. <option id="research_category_A" value="A">Medicine and Dentistry</option>
  688. <option id="research_category_F" value="F">Physical Sciences</option>
  689. <option id="research_category_L" value="L">Social studies</option>
  690. <option id="research_category_B" value="B">Subjects allied to Medicine</option>
  691. <option id="research_category_J" value="J">Technologies</option>
  692. <option id="research_category_D" value="D">Veterinary Sciences, Agriculture and related subjects</option>
  693.  
  694. </select><br />
  695. <select id="research_area" name="research_area" style="display:none" onchange="update_descr(this)" >
  696. <option value="">--none--</option>
  697. </select>
  698. <div id="research_area_long" style="font-style:italic; max-width:500px"></div>
  699. </div>
  700. <div style="margin-top:1em">
  701. You will be able to change this or add additional research fields by editing your profile later.
  702. </div>
  703. </td>
  704. </tr>
  705. <tr><td>&nbsp;</td></tr>
  706.  
  707. <tr>
  708. <td align=right valign=top style="margin-right:1em"><label for="researcharea">Academic Position</label></td>
  709. <td>
  710. <select id="job_title" name="job_title">
  711. <option value="">Please choose</option>
  712. <optgroup>
  713. <option>Professor</option>
  714. <option>Associate Professor</option>
  715. <option>Assistant Professor</option>
  716. <option>Reader</option>
  717. <option>Senior Lecturer</option>
  718. <option>Lecturer</option>
  719. <option>Research Fellow</option>
  720. <option>Research Associate</option>
  721. <option>Research Officer</option>
  722. <option>Research Assistant</option>
  723. <option>Postdoctoral Researcher</option>
  724. </optgroup>
  725. <optgroup>
  726. <option>Undergraduate Student</option>
  727. <option>Graduate Student (Ph.D.)</option>
  728. <option>Graduate Student (Masters)</option>
  729. <option>Graduate Student (Other)</option>
  730. </optgroup>
  731. <optgroup>
  732. <option>Researcher (other)</option>
  733. <option>Other</option>
  734. </optgroup>
  735. </select><br />
  736. <div style="margin-top:1em">
  737. If you don't see a suitable job title, select "Other" and edit your profile later.
  738. </div>
  739. </td>
  740. </tr>
  741.  
  742. <tr>
  743. <td colsapan=2>&nbsp;</td>
  744. </tr>
  745. <tr>
  746. <td valign="top" align="right">Are you a human?</td>
  747. <td>
  748. <div id="my_recaptcha_wrapper">
  749. <script type="text/javascript">
  750. RecaptchaOptions = { theme : 'white' };
  751. </script>
  752. <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6LfjTAAAAAAAAPQgM934CqbwLbgu2Nl0MuQAKq7W"></script>
  753.  
  754. <noscript>
  755. <iframe src="http://www.google.com/recaptcha/api/noscript?k=6LfjTAAAAAAAAPQgM934CqbwLbgu2Nl0MuQAKq7W"
  756. height="300" width="500" frameborder="0"></iframe><br/>
  757. <textarea name="recaptcha_challenge_field" rows="3" cols="40">
  758. </textarea>
  759. <input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
  760. </noscript>
  761. </div>
  762. </td>
  763. </tr>
  764. <!--tr>
  765. <td></td>
  766. <td><span class="vague"><b>Note:
  767. </b>We will not spam you. We will not sell your email address to anyone. We will not give your email address to anyone else (including other users on the system) without your explicit consent. We hate spam as much as you.
  768. </span></td>
  769. </tr-->
  770. <tr>
  771. <td>&nbsp;</td>
  772. <td><span class="vague"><input type="checkbox" name="agree_tc" value="yes"/> I agree to the <a href="/terms" target="_new">Terms and Conditions</a></span></td>
  773. </tr>
  774. <tr>
  775. <td colspan=2>&nbsp;</td>
  776. </tr>
  777. <tr>
  778. <td></td>
  779. <td><input type="image" src="/static/img/signUpNow.gif" value="Sign up" /></td>
  780. </tr>
  781. </table>
  782. <input name="from" type="hidden" value=""/>
  783. <input name="reg_src" type="hidden" value=""/>
  784. <input name="reg_id" type="hidden" value=""/>
  785. <input name="reg_key" type="hidden" value=""/>
  786. </form>
  787. </div>
  788. </div>
  789.  
  790.  
  791. <div class="contentonly" id="register_facebook">
  792.  
  793.  
  794. <h1>Register for CiteULike with Facebook</h1>
  795.  
  796. <div id="facebookNameOuter" style="display:none; margin:10px 0px"> You are connected to Facebook as <b><span id="facebookName"></b></div>
  797.  
  798. <!--- STEP 1 --->
  799. <div id="facebook_step1" class="nottoowide" style="margin-top:20px">
  800. <h2>Step 1 of 3: Authorize CiteULike to access your Facebook profile information.</h2>
  801.  
  802. We need to access your publicly available profile data from Facebook. We also need your
  803. email address in case we need to contact you. From time to time we may send out emails
  804. informing you of new features, etc., but you may opt-out of these. Our privacy policy
  805. can be found through the link at the bottom of this page.
  806. <br />
  807. <br />
  808.  
  809. <input type="button" onclick="facebook_connect()" value="Connect to Facebook">
  810.  
  811. <div id="facebookAlreadyLinkedCheckWait" style="display:none">Please wait...</div>
  812. <div id="facebookAlreadyLoggedIn" style="display:none">That Facebook account is already linked to CiteULike
  813. <input type="button" value="Continue" onclick="location.href='/'"/>
  814. </div>
  815. </div>
  816.  
  817. <!--- STEP 2 --->
  818. <div id="facebook_step2" class="nottoowide" style="margin-top:20px">
  819. <h2>Step 2 of 3: Choose a CiteULike username</h2>
  820.  
  821. You will need a unique username to access CiteULike. We have generated one for
  822. you based on your name (which we got from Facebook), but you may choose whatever
  823. you like (only letters, digits, "-" and "_").
  824. <br />
  825. <br />
  826.  
  827. <input id="username2" type="text" value=""><input type="button" onclick="facebook_validateUsername()" value="Validate">
  828. <span id="invalid_username2" style="display:none">Sorry, that username is taken</span>
  829. </div>
  830.  
  831. <!--- STEP 3 --->
  832. <div id="facebook_step3" class="nottoowide" style="margin-top:20px">
  833. <h2>Step 3 or 3: Almost done</h2>
  834.  
  835. <h3>Tell us your main research area (optional)</h3>
  836. <div id="research_clone">
  837. </div>
  838. <br />
  839. You will be able to change this or add additional research fields by editing your profile later.
  840. <br /><br />
  841.  
  842. <input id="facebook_t_and_c" type="checkbox" onclick="facebook_readyToSignUp()" value="yes"/> I agree to the <a href="/terms" target="_new">Terms and Conditions</a>
  843.  
  844. <br /><br />
  845. <input type="image" onclick="facebook_register()"
  846. value="Sign up" style="display:none" id="facebook_signup_button"
  847. src="/static/img/signUpNow.gif" />
  848.  
  849.  
  850. <div id="facebook_reg_errors" style="color:red; display:none">
  851. </div>
  852.  
  853. </div>
  854.  
  855.  
  856. </div>
  857.  
  858.  
  859. <script type="text/javascript">
  860. <!--
  861. document.frm.username.focus();
  862. -->
  863. </script>
  864.  
  865. <div style="text-align:center">
  866. <a href="/privacy">Privacy Statement</a> | <a href="/terms">Terms &amp; Conditions</a>
  867. </div>
  868. <div style="display:none">
  869. <!-- google_ad_section_start -->
  870. CiteULike organises scholarly (or academic) papers or literature and provides bibliographic
  871. (which means it makes bibliographies) for universities and higher education establishments.
  872. It helps undergraduates and postgraduates. People studying for PhDs or in postdoctoral (postdoc) positions.
  873. The service is similar in scope to EndNote or RefWorks or any other reference manager
  874. like BibTeX, but it is a social bookmarking service for scientists and humanities researchers.
  875. <!-- google_ad_section_end -->
  876. </div>
  877.  
  878. </body>
  879. </html>
  880.  
  881.  
  882. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement