xoops_trust_path/libs/altsys/templates/main_lang_admin.html
<div class="ui-dev-mode"><{$smarty.template}></div>
<h2><{$smarty.const._MYLANGADMIN_H3_MODULE}> » <{$target_mname}> » <{$target_lang|escape}> » <{$target_file|escape}></h2>
<div class="confirm">
<div class="altsys_langman_information">
<{if $use_my_language}>
<{$smarty.const._MYLANGADMIN_DT_MYLANGFILENAME}><br>
<pre class="badge"><{$mylang_file_name}></pre><br>
<{/if}>
<{$smarty.const._MYLANGADMIN_DT_CACHEFILENAME}><br>
<pre class="badge"><{$cache_file_name}></pre>
<br><{$smarty.const._MYLANGADMIN_DT_CACHESTATUS}><br>
<{if $cache_file_mtime}>
<span class="badge"><{"Y-m-d H:i:s"|date:$cache_file_mtime+$timezone_offset}></span>
<{$smarty.const._MYLANGADMIN_CREATED}>
<{$notice}>
<{else}>
<{$smarty.const._MYLANGADMIN_NOTCREATED}>
<{/if}>
</div>
</div>
<{* ////— ACTION-CONTROL —\\\\ *}>
<section data-layout="row center-justify" class="action-control">
<form name="SelectLangFile" action="index.php" method="get">
<input type="hidden" name="mode" value="admin">
<input type="hidden" name="lib" value="altsys">
<input type="hidden" name="page" value="mylangadmin">
<input type="hidden" name="dirname" value="<{$target_dirname}>">
<select name="target_lang" onchange="submit();">
<{html_options values=$languages output=$languages4disp selected=$target_lang}>
</select>
<select name="target_file" onchange="submit();">
<{html_options values=$lang_files output=$lang_files selected=$target_file}>
</select>
<input class="button submit" type="submit" value="<{$smarty.const._SUBMIT}>">
</form>
<div class="control-view">
<button class="help-admin button" type='button' data-module='altsys' data-help-article='#help-language' aria-label="<{$smarty.const._HELP}>">
<b>?</b> </button>
</div>
</section>
<form name="MainForm" action="index.php?mode=admin&lib=altsys&page=mylangadmin&dirname=<{$target_dirname}>&target_lang=<{$target_lang}>&target_file=<{$target_file}>" method="post">
<table class="outer">
<thead>
<tr>
<th><{$smarty.const._MYLANGADMIN_TH_CONSTANTNAME}></th>
<th>
<{$smarty.const._MYLANGADMIN_TH_DEFAULTVALUE}>
<{if $already_read}><br>(<{$smarty.const._MYLANGADMIN_MSG_NOTICE4ALREADYREAD}>)<{/if}>
</th>
<th><{$smarty.const._MYLANGADMIN_TH_USERVALUE}></th>
</tr>
</thead>
<tbody>
<{foreach from=$langfile_constants key="langfile_name" item="langfile_uservalue"}>
<tr title="<{$langfile_name|escape}>">
<td><label for="input_<{$langfile_name|escape}>"><{$langfile_name|truncate:30|escape}></label></td>
<td>
<div style="width:240px; overflow: auto;">
<{$langfile_name|constant|escape}>
</div>
</td>
<td>
<{if empty($mylang_constants.$langfile_name)}>
<{if strlen(constant($langfile_name)) < 32}>
<input type="text"
name="<{$langfile_name|escape}>"
id="input_<{$langfile_name|escape}>"
value="<{$langfile_uservalue|escape}>"
<{if $langfile_uservalue}>class="lang-custom"<{/if}>
title="<{$smarty.const._MYLANGADMIN_TH_USERVALUE}>">
<{else}>
<textarea name="<{$langfile_name|escape}>"
id="input_<{$langfile_name|escape}>"
<{if $langfile_uservalue}>class="lang-custom"<{/if}>">
<{$langfile_uservalue|escape}>
</textarea>
<{/if}>
<{else}>
<span class="my_language"><{$mylang_constants.$langfile_name}></span>
<{/if}>
</td>
</tr>
<{/foreach}>
</tbody>
<tfoot>
<tr>
<td colspan="3">
<input class="button reset" type="reset" value="<{$smarty.const._MYLANGADMIN_BTN_RESET}>">
<input class="button update" type="submit" name="do_update" value="<{$smarty.const._MYLANGADMIN_BTN_UPDATE}>">
<{$gticket_hidden}>
</td>
</tr>
</tfoot>
</table>
</form>