{** * templates/user/notificationSettings.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. * * User profile form. *} {capture assign="additionalNotificationSettingsContent"} {* FIXME: https://github.com/pkp/pkp-lib/issues/490 *} {if $displayOpenAccessNotification} {assign var=notFirstJournal value=0} {foreach from=$journals name=journalOpenAccessNotifications key=thisJournalId item=thisJournal} {assign var=thisJournalId value=$thisJournal->getId()} {assign var=publishingMode value=$thisJournal->getSetting('publishingMode')} {assign var=enableOpenAccessNotification value=$thisJournal->getSetting('enableOpenAccessNotification')} {assign var=notificationEnabled value=$user->getSetting('openAccessNotification', $thisJournalId)} {if !$notFirstJournal} {assign var=notFirstJournal value=1}