[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
templates
/
manager
/
[
Home
]
File: languageSettings.tpl
{** * templates/manager/languageSettings.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. * * 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"}