-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathorcidProfile.tpl
18 lines (18 loc) · 991 Bytes
/
orcidProfile.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{**
* plugins/generic/orcidProfile/orcidProfile.tpl
*
* Copyright (c) 2015 University of Pittsburgh
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* ORCID Profile plugin settings
*
*}
<!-- FIXME: Use the API URL from the settings form. -->
<form id="orcidProfileForm" action="https://orcid.org/oauth/authorize">
<input type="hidden" name="client_id" value="{$orcidClientId|escape}" />
<input type="hidden" name="response_type" value="code" />
<input type="hidden" name="scope" value="/authenticate" />
<input type="hidden" name="redirect_uri" value="{url page="orcidapi" op="orcidAuthorize" targetOp=$targetOp}" />
<button type='submit' form='orcidProfileForm' id="connect-orcid-button" onclick="openORCID()"><img id="orcid-id-logo" src="http://orcid.org/sites/default/files/images/orcid_24x24.png" width='24' height='24' alt="{translate key='plugins.generic.orcidProfile.submitAction'}"/>Create or Connect your ORCID iD</button>
</form>
<hr />