| 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/templates/frontend/pages/ |
Upload File : |
{**
* templates/frontend/pages/issueArchive.tpl
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Display a list of recent issues.
*
* @uses $issues Array Collection of issues to display
* @uses $prevPage int The previous page number
* @uses $nextPage int The next page number
* @uses $showingStart int The number of the first item on this page
* @uses $showingEnd int The number of the last item on this page
* @uses $total int Count of all published monographs
*}
{capture assign="pageTitle"}
{if $prevPage}
{translate key="archive.archivesPageNumber" pageNumber=$prevPage+1}
{else}
{translate key="archive.archives"}
{/if}
{/capture}
{include file="frontend/components/header.tpl" pageTitleTranslated=$pageTitle}
<div class="page page_issue_archive">
{include file="frontend/components/breadcrumbs.tpl" currentTitle=$pageTitle}
<h1>
{$pageTitle|escape}
</h1>
{* No issues have been published *}
{if empty($issues)}
<p>{translate key="current.noCurrentIssueDesc"}</p>
{* List issues *}
{else}
<ul class="issues_archive">
{foreach from=$issues item="issue"}
<li>
{include file="frontend/objects/issue_summary.tpl"}
</li>
{/foreach}
</ul>
{* Pagination *}
{if $prevPage > 1}
{capture assign=prevUrl}{url router=$smarty.const.ROUTE_PAGE page="issue" op="archive" path=$prevPage}{/capture}
{elseif $prevPage === 1}
{capture assign=prevUrl}{url router=$smarty.const.ROUTE_PAGE page="issue" op="archive"}{/capture}
{/if}
{if $nextPage}
{capture assign=nextUrl}{url router=$smarty.const.ROUTE_PAGE page="issue" op="archive" path=$nextPage}{/capture}
{/if}
{include
file="frontend/components/pagination.tpl"
prevUrl=$prevUrl
nextUrl=$nextUrl
showingStart=$showingStart
showingEnd=$showingEnd
total=$total
}
{/if}
</div>
{include file="frontend/components/footer.tpl"}