| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/Libteiser - Ojs/ojs2/templates/manager/ |
Upload File : |
{**
* languageSettings.tpl
*
* Copyright (c) 2003-2009 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Form to edit journal language settings.
*
* $Id: languageSettings.tpl,v 1.23.2.1 2009/04/08 19:43:32 asmecher Exp $
*}
{assign var="pageTitle" value="common.languages"}
{include file="common/header.tpl"}
<p><span class="instruct">{translate key="manager.languages.languageInstructions"}</span></p>
{include file="common/formErrors.tpl"}
{if count($availableLocales) > 1}
<form method="post" action="{url op="saveLanguageSettings"}">
<table class="data" width="100%">
<tr valign="top">
<td width="20%" class="label">{fieldLabel name="primaryLocale" required="true" key="locale.primary"}</td>
<td width="80%" colspan="2" class="value"><select id="primaryLocale" name="primaryLocale" size="1" class="selectMenu">
{foreach from=$availableLocales key=localeKey item=localeName}
<option value="{$localeKey|escape}"{if $localeKey == $primaryLocale} selected="selected"{/if}>{$localeName|escape}</option>
{/foreach}
</select></td>
</tr>
<tr valign="top">
<td> </td>
<td colspan="2" class="value"><span class="instruct">{translate key="manager.languages.primaryLocaleInstructions"}</span></td>
</tr>
<tr valign="top">
<td class="label">{fieldLabel suppressId="true" name="supportedLocales" key="locale.supported"}</td>
<td colspan="2" class="value">
<table class="data" width="100%">
{foreach from=$availableLocales key=localeKey item=localeName}
<tr>
<td width="30%"><input type="checkbox" name="supportedLocales[]" id="supportedLocales-{$localeKey|escape}" value="{$localeKey|escape}"{if in_array($localeKey, $supportedLocales)} checked="checked"{/if}/> <label for="supportedLocales-{$localeKey|escape}">{$localeName|escape}</label></td>
<td width="70%"><a href="{url op="reloadLocalizedDefaultSettings" localeToLoad=$localeKey}" onclick="return confirm('{translate|escape:"jsparam" key="manager.language.confirmDefaultSettingsOverwrite"}')" class="action">{translate key="manager.language.reloadLocalizedDefaultSettings"}</a></td>
</tr>
{/foreach}
</table>
</td>
</tr>
<tr valign="top">
<td> </td>
<td colspan="2" class="value"><span class="instruct">{translate key="manager.languages.supportedLocalesInstructions"}</span></td>
</tr>
</table>
<p><input type="submit" value="{translate key="common.save"}" class="button defaultButton" /> <input type="button" value="{translate key="common.cancel"}" class="button" onclick="document.location.href='{url page="manager"}'" /></p>
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
</form>
{else}
<div class="separator"></div>
<p><span class="instruct">{translate key="manager.languages.noneAvailable"}</span></p>
{/if}
{include file="common/footer.tpl"}