%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/templates/admin/ |
Upload File : |
{**
* templates/admin/journalSettings.tpl
*
* Copyright (c) 2013-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Basic journal settings under site administration.
*
*}
{strip}
{assign var="pageTitle" value="admin.journals.journalSettings"}
{include file="common/header.tpl"}
{/strip}
<br />
<script type="text/javascript">
{literal}
<!--
// Ensure that the form submit button cannot be double-clicked
function doSubmit() {
if (document.getElementById('journal').submitted.value != 1) {
document.getElementById('journal').submitted.value = 1;
document.getElementById('journal').submit();
}
return true;
}
// -->
{/literal}
</script>
<form id="journal" method="post" action="{url op="updateJournal"}">
<input type="hidden" name="submitted" value="0" />
{if $journalId}
<input type="hidden" name="journalId" value="{$journalId|escape}" />
{/if}
{include file="common/formErrors.tpl"}
{if not $journalId}
<p><span class="instruct">{translate key="admin.journals.createInstructions"}</span></p>
{/if}
<table class="data" width="100%">
{if count($formLocales) > 1}
<tr valign="top">
<td width="20%" class="label">{fieldLabel name="formLocale" key="form.formLanguage"}</td>
<td width="80%" class="value">
{url|assign:"settingsUrl" op="editJournal" path=$journalId escape=false}
{form_language_chooser form="journal" url=$settingsUrl}
<span class="instruct">{translate key="form.formLanguage.description"}</span>
</td>
</tr>
{/if}
<tr valign="top">
<td width="20%" class="label">{fieldLabel name="title" key="manager.setup.journalTitle" required="true"}</td>
<td width="80%" class="value"><input type="text" id="title" name="title[{$formLocale|escape}]" value="{$title[$formLocale]|escape}" size="40" maxlength="120" class="textField" /></td>
</tr>
<tr valign="top">
<td class="label">{fieldLabel name="description" key="admin.journals.journalDescription"}</td>
<td class="value"><textarea name="description[{$formLocale|escape}]" id="description" cols="40" rows="10" class="textArea">{$description[$formLocale]|escape}</textarea></td>
</tr>
<tr valign="top">
<td class="label">{fieldLabel name="journalPath" key="journal.path" required="true"}</td>
<td class="value">
<input type="text" id="journalPath" name="journalPath" value="{$journalPath|escape}" size="16" maxlength="32" class="textField" />
<br />
{url|assign:"sampleUrl" journal="path"}
<span class="instruct">{translate key="admin.journals.urlWillBe" sampleUrl=$sampleUrl}</span>
</td>
</tr>
<tr valign="top">
<td colspan="2" class="label">
<input type="checkbox" name="enabled" id="enabled" value="1"{if $enabled} checked="checked"{/if} /> <label for="enabled">{translate key="admin.journals.enableJournalInstructions"}</label>
</td>
</tr>
</table>
<p><input type="button" id="saveJournal" value="{translate key="common.save"}" class="button defaultButton" onclick="doSubmit()" /> <input type="button" value="{translate key="common.cancel"}" class="button" onclick="document.location.href='{url op="journals" escape=false}'" /></p>
</form>
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
{include file="common/footer.tpl"}