{**
 * viewPage.tpl
 *
 * Copyright (c) 2003-2008 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * View issue: This adds the header and footer code to view.tpl.
 *
 * $Id: viewPage.tpl,v 1.10 2008/06/11 18:55:19 asmecher Exp $
 *}
{if $issue && !$issue->getPublished()}{translate|assign:"previewText" key="editor.issues.preview"}{assign var="pageTitleTranslated" value="$issueHeadingTitle $previewText"}
{else}{assign var="pageTitleTranslated" value=$issueHeadingTitle}{/if}
{if $issue && $issue->getShowTitle() && $issue->getIssueTitle() && ($issueHeadingTitle != $issue->getIssueTitle())}
{* If the title is specified and should be displayed then show it as a subheading *}
{assign var="pageSubtitleTranslated" value=$issue->getIssueTitle()}
{/if}
{include file="common/header.tpl"}

{include file="issue/view.tpl"}

{include file="common/footer.tpl"}
