{** * header.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2000-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Common site header. *} {strip} {if !$pageTitleTranslated}{translate|assign:"pageTitleTranslated" key=$pageTitle}{/if} {if $pageCrumbTitle} {translate|assign:"pageCrumbTitleTranslated" key=$pageCrumbTitle} {elseif !$pageCrumbTitleTranslated} {assign var="pageCrumbTitleTranslated" value=$pageTitleTranslated} {/if} {/strip} {$pageTitleTranslated} {$metaCustomHeaders} {if $displayFavicon}{/if} {if $allowCDN} {else} {/if} {call_hook|assign:"leftSidebarCode" name="Templates::Common::LeftSidebar"} {call_hook|assign:"rightSidebarCode" name="Templates::Common::RightSidebar"} {if $leftSidebarCode || $rightSidebarCode}{/if} {if $leftSidebarCode}{/if} {if $rightSidebarCode}{/if} {if $leftSidebarCode && $rightSidebarCode}{/if} {foreach from=$stylesheets item=cssUrl} {/foreach} {include file="common/jsLocaleKeys.tpl" } {if $useMinifiedJavaScript} {else} {include file="common/minifiedScripts.tpl"} {/if} {if $hasSystemNotifications} {url|assign:fetchNotificationUrl page='notification' op='fetchNotification' escape=false} {/if}{* hasSystemNotifications *} {$additionalHeadData}
{if $leftSidebarCode || $rightSidebarCode} {/if}
{include file="common/navbar.tpl"} {include file="common/breadcrumbs.tpl"}

{$pageTitleTranslated}

{if $pageSubtitle && !$pageSubtitleTranslated}{translate|assign:"pageSubtitleTranslated" key=$pageSubtitle}{/if} {if $pageSubtitleTranslated}

{$pageSubtitleTranslated}

{/if}