{** * templates/user/notificationSettingsForm.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. *} {* Help Link *} {help file="user-profile.md" class="pkp_help_tab"}

{translate key="notification.settingsDescription"}

{csrf} {include file="controllers/notification/inPlaceNotification.tpl" notificationId="notificationSettingsFormNotification"} {fbvFormArea id="notificationSettings"} {foreach from=$notificationSettingCategories item=notificationSettingCategory}

{translate key=$notificationSettingCategory.categoryKey}

{foreach from=$notificationSettingCategory.settings item=settingId} {assign var="settingName" value=$notificationSettings.$settingId.settingName} {assign var="emailSettingName" value=$notificationSettings.$settingId.emailSettingName} {translate|assign:"settingKey" key=$notificationSettings.$settingId.settingKey title="common.title"|translate} {fbvFormSection title=$settingKey list=true translate=false} {if $settingId|in_array:$blockedNotifications} {assign var="checked" value="0"} {else} {assign var="checked" value="1"} {/if} {if $settingId|in_array:$emailSettings} {assign var="emailChecked" value="1"} {else} {assign var="emailChecked" value="0"} {/if} {fbvElement type="checkbox" id=$settingName checked=$checked label="notification.allow"} {fbvElement type="checkbox" id=$emailSettingName checked=$emailChecked label="notification.email"} {/fbvFormSection} {/foreach} {/foreach}
{fbvFormButtons hideCancel=true submitText="common.save"} {/fbvFormArea}

{capture assign="privacyUrl"}{url router=$smarty.const.ROUTE_PAGE page="about" op="privacy"}{/capture} {translate key="user.privacyLink" privacyUrl=$privacyUrl}

{translate key="common.requiredField"}