HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/ojs/templates/payments/paymentTypesForm.tpl
{**
 * templates/payments/paymentTypes.tpl
 *
 * Copyright (c) 2014-2021 Simon Fraser University
 * Copyright (c) 2003-2021 John Willinsky
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 *
 * Payment type form.
 *
 *}
<script>
	$(function() {ldelim}
		// Attach the form handler.
		$('#paymentTypesForm').pkpHandler('$.pkp.controllers.form.AjaxFormHandler');
	{rdelim});
</script>
<form class="pkp_form" id="paymentTypesForm" method="post" action="{url op="savePaymentTypes"}">
	{csrf}
	{include file="controllers/notification/inPlaceNotification.tpl" notificationId="paymentTypesFormNotification"}

	{fbvFormSection title="manager.payment.authorFees"}
		<p>{translate key="manager.payment.authorFeesDescription"}
		{if $publicationFee==0}{assign var=publicationFee value=""}{/if}
		{fbvElement type="text" name="publicationFee" id="publicationFee" label="manager.payment.options.publicationFee" value=$publicationFee size=$fbvStyles.size.SMALL}
	{/fbvFormSection}

	{fbvFormSection title="manager.payment.readerFees"}
		<p>{translate key="manager.payment.readerFeesDescription"}
		{if $purchaseIssueFee==0}{assign var=purchaseIssueFee value=""}{/if}
		{fbvElement type="text" name="purchaseIssueFee" id="purchaseIssueFee" label="manager.payment.options.purchaseIssueFee" value=$purchaseIssueFee size=$fbvStyles.size.SMALL}
		{if $purchaseArticleFee==0}{assign var=purchaseArticleFee value=""}{/if}
		{fbvElement type="text" name="purchaseArticleFee" id="purchaseArticleFee" label="manager.payment.options.purchaseArticleFee" value=$purchaseArticleFee size=$fbvStyles.size.SMALL}
	{/fbvFormSection}
	{fbvFormSection list=true}
		{fbvElement type="checkbox" name="restrictOnlyPdf" id="restrictOnlyPdf" checked=$restrictOnlyPdf label="manager.payment.options.onlypdf" value="1"}
	{/fbvFormSection}

	{fbvFormSection title="manager.payment.generalFees"}
		<p>{translate key="manager.payment.generalFeesDescription"}
		{if $membershipFee==0}{assign var=membershipFee value=""}{/if}
		{fbvElement type="text" name="membershipFee" id="membershipFee" label="manager.payment.options.membershipFee" value=$membershipFee size=$fbvStyles.size.SMALL}
	{/fbvFormSection}

	{fbvFormButtons hideCancel=true submitText="common.save"}
	<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
</form>