{** * subscriptionTypeForm.tpl * * Copyright (c) 2003-2011 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Subscription type form under journal management. * * $Id$ *} {strip} {if $typeId} {assign var="pageTitle" value="manager.subscriptionTypes.edit"} {else} {assign var="pageTitle" value="manager.subscriptionTypes.create"} {/if} {assign var="pageId" value="manager.subscriptionTypes.subscriptionTypeForm"} {assign var="pageCrumbTitle" value=$subscriptionTypeTitle} {include file="common/header.tpl"} {/strip} {if $subscriptionTypeCreated}
{translate key="manager.subscriptionTypes.subscriptionTypeCreatedSuccessfully"}
{/if}
{if $typeId} {/if} {include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if} {if !$typeId} {elseif $typeId && !$nonExpiring} {/if} {if !$typeId} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $typeId}{url|assign:"subscriptionTypeUrl" op="editSubscriptionType" path=$typeId escape=false} {else}{url|assign:"subscriptionTypeUrl" op="createSubscriptionType" escape=false} {/if} {form_language_chooser form="subscriptionType" url=$subscriptionTypeUrl} {translate key="form.formLanguage.description"}
{fieldLabel name="name" required="true" key="manager.subscriptionTypes.form.typeName"}
{fieldLabel name="description" key="manager.subscriptionTypes.form.description"}
{fieldLabel name="cost" required="true" key="manager.subscriptionTypes.form.cost"}
{translate key="manager.subscriptionTypes.form.costInstructions"}
{fieldLabel name="currency" required="true" key="manager.subscriptionTypes.form.currency"}
{fieldLabel name="format" required="true" key="manager.subscriptionTypes.form.format"}
{fieldLabel name="duration" required="true" key="manager.subscriptionTypes.form.duration"}  {translate key="manager.subscriptionTypes.form.nonExpiring.expiresAfter"} {translate key="manager.subscriptionTypes.form.nonExpiring.months"}
   {translate key="manager.subscriptionTypes.form.nonExpiring.neverExpires"}
{fieldLabel name="duration" required="true" key="manager.subscriptionTypes.form.duration"}
{translate key="manager.subscriptionTypes.form.durationInstructions"}
{fieldLabel name="subscriptions" key="manager.subscriptionTypes.form.subscriptions"}  {translate key="manager.subscriptionTypes.form.individual"}
   {translate key="manager.subscriptionTypes.form.institutional"}
{fieldLabel name="options" key="manager.subscriptionTypes.form.options"}  {fieldLabel name="membership" key="manager.subscriptionTypes.form.membership"}
   {fieldLabel name="disable_public_display" key="manager.subscriptionTypes.form.public"}

{if not $typeId} {/if}

{translate key="common.requiredField"}

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