Issue 2444. multilingual layer added.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11455 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
|
@ -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}
|
||||
|
|
|
|||
13
modules/admin/tpl/css/admin.min.css
vendored
|
|
@ -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}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 587 B |
|
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 579 B |
BIN
modules/admin/tpl/img/flag.en.gif
Normal file
|
After Width: | Height: | Size: 583 B |
|
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 577 B |
|
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 587 B |
|
Before Width: | Height: | Size: 366 B After Width: | Height: | Size: 582 B |
BIN
modules/admin/tpl/img/flag.ko.gif
Normal file
|
After Width: | Height: | Size: 605 B |
|
Before Width: | Height: | Size: 385 B |
|
Before Width: | Height: | Size: 368 B After Width: | Height: | Size: 585 B |
|
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 581 B |
|
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 590 B |
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 585 B |
|
Before Width: | Height: | Size: 367 B |
BIN
modules/admin/tpl/img/flag.vi.gif
Normal file
|
After Width: | Height: | Size: 589 B |
|
Before Width: | Height: | Size: 370 B |
|
|
@ -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);
|
||||
});
|
||||
18
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -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);
|
||||
});
|
||||