{** * templates/subscription/individualSubscriptionForm.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Individual subscription form under journal management. * *} {strip} {assign var="pageCrumbTitle" value="$subscriptionTitle"} {if $subscriptionId} {assign var="pageTitle" value="manager.subscriptions.edit"} {url|assign:"currentUrl" op="editSubscription" path="individual"|to_array:$subscriptionId userId=$userId} {else} {assign var="pageTitle" value="manager.subscriptions.create"} {url|assign:"currentUrl" op="createSubscription" path="individual" userId=$userId} {/if} {assign var="pageId" value="manager.subscriptions.individualSubscriptionForm"} {include file="common/header.tpl"} {/strip}
{if $subscriptionId} {/if} {include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if} {include file="subscription/subscriptionForm.tpl"} {* For new subscriptions, select end date for default subscription type *} {if !$subscriptionId} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $subscriptionId} {url|assign:"formUrl" op="editSubscription" path="individual"|to_array:$subscriptionId userId=$userId escape=false} {else} {url|assign:"formUrl" op="createSubscription" path="individual" escape=false} {/if} {form_language_chooser form="subscriptionForm" url=$formUrl} {translate key="form.formLanguage.description"}


{include file="subscription/subscriptionFormUser.tpl"}
{fieldLabel name="userId" required="true" key="manager.subscriptions.form.userId"} {assign var=emailString value="$userFullName <$userEmail>"} {url|assign:"url" page="user" op="email" to=$emailString|to_array redirectUrl=$currentUrl} {$username|escape}  {icon name="mail" url=$url}  {translate key="common.select"}


{fieldLabel name="notes" key="manager.subscriptions.form.notes"}

{if not $subscriptionId} {/if}

{translate key="common.requiredField"}

{include file="common/footer.tpl"}