| Server IP : 127.0.1.1 / Your IP : 216.73.216.83 Web Server : Apache/2.4.58 (Ubuntu) System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/public_html/plugins/generic/orcidProfile/templates/ |
Upload File : |
{**
* templates/authorFormOrcid.tpl
*
* Copyright (c) 2017-2019 University Library Heidelberg
*
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Extensions to Submissioni Metadata Author add/edit Form
*
*}
{fbvFormSection list="true" title="ORCID" translate=false}
{if $orcidAccessToken}
<p>{translate key='plugins.generic.orcidProfile.author.accessTokenStored' orcidAccessScope=$orcidAccessScope} {$orcidAccessExpiresOn|date_format:$datetimeFormatShort}</p>
{/if}
{if $orcidAccessDenied}
<p>{translate key='plugins.generic.orcidProfile.author.accessDenied'} {$orcidAccessDenied|date_format:$datetimeFormatShort}</p>
{/if}
{if !$orcidAuthenticated}
<p>{translate key='plugins.generic.orcidProfile.author.unauthenticated'}</p>
{/if}
{fbvElement type="checkbox" label="plugins.generic.orcidProfile.author.requestAuthorization" id="requestOrcidAuthorization" checked=false}
{if $orcid}
{fbvElement type="checkbox" label="plugins.generic.orcidProfile.author.deleteORCID" id="deleteOrcid" checked=false}
{else}
{fbvElement type="checkbox" label="plugins.generic.orcidProfile.author.deleteORCID" id="deleteOrcid" checked=false disabled=true}
{/if}
{/fbvFormSection}
<script type="text/javascript">
$(document).ready(function() {ldelim}
var orcidInput = $('input[name=orcid]');
orcidInput.attr('type', 'hidden');
// make the container div use the whole available space
orcidInput.parent().removeClass('pkp_helpers_quarter');
{if $orcid}
{* Display the ORCID id as an link *}
{if $orcidAuthenticated}
var orcidIconSvg = {$orcidIcon|json_encode}
{else}
var orcidIconSvg = '';
{/if}
var orcidLink = $('<a href="{$orcid}" target="_blank">' + orcidIconSvg + '{$orcid|escape}</a>');
orcidLink.insertAfter(orcidInput);
{else}
$('<span>{translate key='plugins.generic.orcidProfile.author.orcidEmptyNotice'}</span>').insertAfter(orcidInput);
{/if}
{rdelim});
</script>