issue 160, fix a bug related multi language management page

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9361 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-27 08:19:19 +00:00
parent 17803c5a14
commit ed1a4543b5
2 changed files with 9 additions and 3 deletions

View file

@ -16,6 +16,12 @@
<input type="hidden" name="act" value="procModuleAdminInsertLang" />
<input type="hidden" name="lang_name" value="{$langName}" />
<ul>
{@
/* move current language to the top */
$a = array($lang_type=>$lang_supported[$lang_type]);
unset($lang_supported[$lang_type]);
$lang_supported = array_merge($a, $lang_supported);
}
<li class="{$key2}" loop="$lang_supported=>$key2,$value2"><label for="{$langName}_{$key2}">{$value2}</label> <textarea rows="1" cols="42" name="{$key2}" id="{$langName}_{$key2}"></textarea></li>
</ul>
<div class="btnArea">