One Hat Cyber Team
Your IP :
216.73.216.80
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
ojs-nosc
/
lib
/
pkp
/
templates
/
form
/
View File Name :
orcidProfile.tpl
{** * templates/form/orcidProfile.tpl * * Copyright (c) 2015-2019 University of Pittsburgh * Copyright (c) 2014-2024 Simon Fraser University * Copyright (c) 2003-2024 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * ORCID Profile authorization form * *} {capture name=orcidButton assign=orcidButton} {if $orcid && !$orcidAuthenticated } <a href="{$orcid}" target="_blank" class='flex gap-2 mb-4'>{$orcidUnauthenticatedIcon}{$orcidDisplayValue}</a> <button id="connect-orcid-button" class="pkp_button" onclick="return openORCID();"> {$orcidIcon}{translate key='orcid.authorise'} </button> {else} <button id="connect-orcid-button" class="pkp_button" onclick="return openORCID();"> <div class="orcid_button_container">{$orcidIcon} {translate key='orcid.connect'}</div> </button> {/if} <a href="{url router="page" page="orcid" op="about"}" onclick="return openORCID();">{translate key='orcid.about.title'}</a> {/capture} {capture name=orcidLink assign=orcidLink} {if $orcidAuthenticated} <a href="{$orcid}" target="_blank" id='orcid-link'>{$orcidIcon}{$orcidDisplayValue}</a> {else} {$orcidButton} {/if} {/capture} <script type="text/javascript"> function openORCID() {ldelim} // First sign out from ORCID to make sure no other user is logged in // with ORCID $.ajax({ldelim} url: '{$orcidUrl|escape}userStatus.json?logUserOut=true', dataType: 'jsonp', success: function(result,status,xhr) {ldelim} console.log("ORCID Logged In: " + result.loggedIn); {rdelim}, error: function (xhr, status, error) {ldelim} console.log(status + ", error: " + error); {rdelim} {rdelim}); var oauthWindow = window.open("{$orcidOAuthUrl}", "_blank", "toolbar=no, scrollbars=yes, width=540, height=700, top=500, left=500"); oauthWindow.opener = self; return false; {rdelim} {if $targetOp eq 'profile'} $(document).ready(function() {ldelim} var orcidInput = $('input[name=orcid]'); orcidInput.attr('type', 'hidden'); var orcidLinkOrButton = $( {if $orcid} {$orcidLink|json_encode} {else} {$orcidButton|json_encode} {/if}); orcidLinkOrButton.insertAfter(orcidInput); {rdelim}); {/if} </script> {if $targetOp eq 'register'} {fbvElement type="hidden" name="orcid" id="orcid" value=$orcid maxlength="46"} {$orcidButton} {/if} <style> .orcid_button_container { padding:0.5rem; } </style>