{** * templates/header/usernav.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2003-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Site-Wide Navigation Bar *} {if $currentContext} {url|assign:"homeUrl" page="index" router=$smarty.const.ROUTE_PAGE} {elseif $multipleContexts} {url|assign:"homeUrl" context="index" router=$smarty.const.ROUTE_PAGE} {/if} {if $isUserLoggedIn} {/if}