mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
issue 160 bug fix in extra vars
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9202 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5a642be9c1
commit
b2b1930c6e
8 changed files with 29 additions and 10 deletions
|
|
@ -44,3 +44,12 @@ $('#langList')
|
|||
})
|
||||
|
||||
});
|
||||
|
||||
function doInsertLangCode(langCode, target)
|
||||
{
|
||||
if(window.opener && target) {
|
||||
var obj = window.opener.get_by_id(target);
|
||||
if(obj) obj.value = '$user_lang->'+langCode;
|
||||
}
|
||||
window.close();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<ul id="langList">
|
||||
<li loop="$lang_code_list=>$key,$value">
|
||||
{@$langName = $value->name}
|
||||
<strong>{$value->value}</strong> <button type="button" class="side text _edit">{$lang->cmd_edit}</button>
|
||||
<strong>{$value->value}</strong> <span class="side"><button type="button" class="text" cond="$module != 'admin'" onclick="doInsertLangCode('{$value->name}', '{$target}')">{$lang->cmd_apply}</button><button type="button" class="text _edit">{$lang->cmd_edit}</button></span>
|
||||
<form action="./" method="post" id="langForm_{$langName}" >
|
||||
<input type="hidden" name="act" value="procModuleAdminInsertLang" />
|
||||
<input type="hidden" name="lang_name" value="{$langName}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue