mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 17:59:55 +09:00
update trunk and tag 1.4.2.0
git-svn-id: http://xe-core.googlecode.com/svn/trunk@7470 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
55e72e3b47
commit
fae67f375d
70 changed files with 7400 additions and 507 deletions
|
|
@ -162,10 +162,12 @@ function completeDeleteLang(ret_obj) {
|
|||
}
|
||||
|
||||
function doFillLangName() {
|
||||
var fo_obj = xGetElementById("menu_fo");
|
||||
var target = fo_obj.target.value;
|
||||
if(window.opener && window.opener.xGetElementById(target)) {
|
||||
var value = window.opener.xGetElementById(target).value;
|
||||
if (/[\?&]name=/i.test(location.search)) return;
|
||||
|
||||
var $form = jQuery("#menu_fo");
|
||||
var target = $form[0].target.value;
|
||||
if(window.opener && window.opener.document.getElementById(target)) {
|
||||
var value = window.opener.document.getElementById(target).value;
|
||||
if(/^\$user_lang->/.test(value)) {
|
||||
var param = new Array();
|
||||
param['name'] = value.replace(/^\$user_lang->/,'');
|
||||
|
|
@ -176,13 +178,13 @@ function doFillLangName() {
|
|||
}
|
||||
|
||||
function completeFillLangName(ret_obj, response_tags) {
|
||||
var name = ret_obj['name'];
|
||||
var name = ret_obj['name'];
|
||||
var langs = ret_obj['langs'];
|
||||
if(typeof(langs)=='undefined') return;
|
||||
var fo_obj = xGetElementById("menu_fo");
|
||||
fo_obj.lang_code.value = name;
|
||||
var $form = jQuery("#menu_fo");
|
||||
$form[0].lang_code.value = name;
|
||||
for(var i in langs) {
|
||||
fo_obj[i].value = langs[i];
|
||||
$form[0][i].value = langs[i];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
<!--%import("./filter/insert_lang.xml")-->
|
||||
<!--%import("./js/module_admin.js")-->
|
||||
<!--%import("../../common/css/popup.css")-->
|
||||
|
||||
<div id="popHeader" class="wide">
|
||||
<div id="popHeader">
|
||||
<h3 class="xeAdmin">{$lang->lang_code}</h3>
|
||||
</div>
|
||||
|
||||
<div id="popBody" style="width:700px;">
|
||||
<table cellspacing="0" class="colTable" style="width:700px;">
|
||||
<div id="popBody">
|
||||
<table cellspacing="0" class="colTable">
|
||||
<col width="50%"/>
|
||||
<col width="50%"/>
|
||||
<tr>
|
||||
|
|
@ -60,5 +61,5 @@
|
|||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
xAddEventListener(window,'load', doFillLangName);
|
||||
jQuery(function(){ doFillLangName() });
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<!--%import("./js/module_admin.js")-->
|
||||
<!--%import("../../common/css/popup.css")-->
|
||||
|
||||
<div id="popHeader" class="wide">
|
||||
<div id="popHeader">
|
||||
<h3 class="xeAdmin">{$lang->module_selector}</h3>
|
||||
</div>
|
||||
|
||||
|
|
@ -74,5 +75,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue