{** * templates/common/header.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. * * Common site header. *} {capture assign="appSpecificMenuItems"} {if array_intersect(array(ROLE_ID_MANAGER), (array)$userRoles)} {/if} {if $currentJournal && $currentJournal->getSetting('paymentsEnabled') && array_intersect(array(ROLE_ID_SITE_ADMIN, ROLE_ID_MANAGER, ROLE_ID_SUBSCRIPTION_MANAGER), (array)$userRoles)} {/if} {/capture} {include file="core:common/header.tpl" appSpecificMenuItems=$appSpecificMenuItems}