-
Notifications
You must be signed in to change notification settings - Fork 1
/
orcidLogin.tpl
25 lines (24 loc) · 956 Bytes
/
orcidLogin.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{**
* plugins/generic/orcidProfile/orcidProfile.tpl
*
* Copyright (c) 2015-2016 University of Pittsburgh
* Copyright (c) 2014-2016 Simon Fraser University Library
* Copyright (c) 2003-2016 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* ORCID Profile authorization form
*
*}
{literal}
<style>
#orcidLoginLink {
margin: 15px;
}
</style>
{/literal}
<div id='orcidLoginLink'>
<a href="{$orcidProfileOauthPath|escape}authorize?client_id={$orcidClientId|urlencode}&response_type=code&scope=/authenticate&redirect_uri={url|urlencode page="orcidapi" op="orcidAuthorize" targetOp=$targetOp params=$params escape=false}">
<img id="orcid-id-logo" src="http://orcid.org/sites/default/files/images/orcid_16x16.png" width='16' height='16' alt="ORCID logo" alt="{translate key='plugins.generic.orcidProfile.submitAction'}"/>
{translate key='plugins.generic.orcidProfile.linkMessage'}
</a>
</div>