Issue 2444. multilingual layer added.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11455 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-09-24 04:05:29 +00:00
parent 8d3add0cc5
commit 5e0b44f821
20 changed files with 140 additions and 24 deletions

View file

@ -187,4 +187,15 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
.x .dashboard>section:nth-child(odd),
.x .dashboard>section:nth-child(even){float:none;width:auto}
}
.x .multilingual_item>.en{background:url(../img/flag.en.gif) no-repeat right center}
.x .multilingual_item>.ko{background:url(../img/flag.ko.gif) no-repeat right center}
.x .multilingual_item>.jp{background:url(../img/flag.jp.gif) no-repeat right center}
.x .multilingual_item>.zh-CN{background:url(../img/flag.cn.gif) no-repeat right center}
.x .multilingual_item>.zh-TW{background:url(../img/flag.cn.gif) no-repeat right center}
.x .multilingual_item>.fr{background:url(../img/flag.fr.gif) no-repeat right center}
.x .multilingual_item>.de{background:url(../img/flag.de.gif) no-repeat right center}
.x .multilingual_item>.ru{background:url(../img/flag.ru.gif) no-repeat right center}
.x .multilingual_item>.es{background:url(../img/flag.es.gif) no-repeat right center}
.x .multilingual_item>.tr{background:url(../img/flag.tr.gif) no-repeat right center}
.x .multilingual_item>.vi{background:url(../img/flag.vi.gif) no-repeat right center}
.x .multilingual_item>.mn{background:url(../img/flag.mn.gif) no-repeat right center}

View file

@ -187,4 +187,15 @@ body>.x,.x table,.x input,.x textarea,.x select,.x button{font-size:13px}
.x .dashboard>section:nth-child(odd),
.x .dashboard>section:nth-child(even){float:none;width:auto}
}
.x .multilingual_item>.en{background:url(../img/flag.en.gif) no-repeat right center}
.x .multilingual_item>.ko{background:url(../img/flag.ko.gif) no-repeat right center}
.x .multilingual_item>.jp{background:url(../img/flag.jp.gif) no-repeat right center}
.x .multilingual_item>.zh-CN{background:url(../img/flag.cn.gif) no-repeat right center}
.x .multilingual_item>.zh-TW{background:url(../img/flag.cn.gif) no-repeat right center}
.x .multilingual_item>.fr{background:url(../img/flag.fr.gif) no-repeat right center}
.x .multilingual_item>.de{background:url(../img/flag.de.gif) no-repeat right center}
.x .multilingual_item>.ru{background:url(../img/flag.ru.gif) no-repeat right center}
.x .multilingual_item>.es{background:url(../img/flag.es.gif) no-repeat right center}
.x .multilingual_item>.tr{background:url(../img/flag.tr.gif) no-repeat right center}
.x .multilingual_item>.vi{background:url(../img/flag.vi.gif) no-repeat right center}
.x .multilingual_item>.mn{background:url(../img/flag.mn.gif) no-repeat right center}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 587 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

After

Width:  |  Height:  |  Size: 579 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 577 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 587 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 582 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 368 B

After

Width:  |  Height:  |  Size: 585 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 581 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 590 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 585 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

View file

@ -46,7 +46,6 @@ jQuery(function($){
}, 100);
}).resize();
// GNB Click toggle
// Virtual click
$xGnb_li.find('ul').prev('a')
.bind('click focus', function(){
var $this = $(this);
@ -89,4 +88,21 @@ jQuery(function($){
$xBody.addClass('wide');
contentBugFix();
});
// Multilingual
function multilingual(){
$('.multilingual').each(function(){
var $this = $(this);
var $input = $this.parent('label').prev('input, textarea');
var $fieldset = $this.parent('label').next('fieldset');
if($this.is(':checked')){
$input.hide();
$fieldset.show();
} else {
$input.show();
$fieldset.hide();
}
});
}
multilingual();
$('.multilingual').change(multilingual);
});

View file

@ -46,7 +46,6 @@ jQuery(function($){
}, 100);
}).resize();
// GNB Click toggle
// Virtual click
$xGnb_li.find('ul').prev('a')
.bind('click focus', function(){
var $this = $(this);
@ -89,4 +88,21 @@ jQuery(function($){
$xBody.addClass('wide');
contentBugFix();
});
// Multilingual
function multilingual(){
$('.multilingual').each(function(){
var $this = $(this);
var $input = $this.parent('label').prev('input, textarea');
var $fieldset = $this.parent('label').next('fieldset');
if($this.is(':checked')){
$input.hide();
$fieldset.show();
} else {
$input.show();
$fieldset.hide();
}
});
}
multilingual();
$('.multilingual').change(multilingual);
});