{** * templates/frontend/objects/issue_toc.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 View of an Issue which displays a full table of contents. * * @uses $issue Issue The issue * @uses $issueTitle string Title of the issue. May be empty * @uses $issueSeries string Vol/No/Year string for the issue * @uses $issueGalleys array Galleys for the entire issue * @uses $hasAccess bool Can this user access galleys for this context? * @uses $publishedSubmissions array Lists of articles published in this issue * sorted by section. * @uses $primaryGenreIds array List of file genre ids for primary file types * @uses $heading string HTML heading element, default: h2 *} {if !$heading} {assign var="heading" value="h2"} {/if} {assign var="articleHeading" value="h3"} {if $heading == "h3"} {assign var="articleHeading" value="h4"} {elseif $heading == "h4"} {assign var="articleHeading" value="h5"} {elseif $heading == "h5"} {assign var="articleHeading" value="h6"} {/if}