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);
});

View file

@ -87,8 +87,31 @@
<li>
<label for="menuName1">메뉴이름(브라우저 제목)</label>
<input id="menuName1" type="text" required />
<label><input type="checkbox" class="multilingual"> 다국어 사용</label>
<fieldset class="multilingual_item">
<select title="사용 가능한 다국어 목록">
<option>[새로 입력]</option>
<option>...</option>
<option>...</option>
</select><br>
<input type="text" class="en" title="English"><br>
<input type="text" class="ko" title="한국어"><br>
<input type="text" class="jp" title="日本語"><br>
<input type="text" class="zh-CN" title="中文(中国)"><br>
<input type="text" class="zh-TW" title="中文(臺灣)"><br>
<input type="text" class="fr" title="Français"><br>
<input type="text" class="de" title="Deutsch"><br>
<input type="text" class="ru" title="Русский"><br>
<input type="text" class="es" title="Español"><br>
<input type="text" class="tr" title="Türkçe"><br>
<input type="text" class="vi" title="Tiếng Việt"><br>
<input type="text" class="mn" title="Mongolian">
<p class="x_alert x_alert-info" style="width:169px">
지원하는 다국어 목록은 [<a href="{getUrl('','module','admin','act','dispAdminConfigGeneral')}">설정>일반</a>]에서 편집 가능
</p>
</fieldset>
</li>
<li>
<li style="border-top:1px solid #ddd;padding-top:8px;margin-top:8px">
<label for="mid1">메뉴 아이디 <a href="#help_menuId" class="x_icon-question-sign" data-toggle="#mid1_help">?</a></label>
<div id="mid1_help" class="x_alert x_alert-info" style="display:none;width:169px">
<button type="button" class="x_close" data-hide="#mid1_help">×</button>
@ -110,8 +133,31 @@
<li>
<label for="menuName2">메뉴이름(브라우저 제목)</label>
<input id="menuName2" type="text" required />
<label><input type="checkbox" class="multilingual"> 다국어 사용</label>
<fieldset class="multilingual_item">
<select title="사용 가능한 다국어 목록">
<option>[새로 입력]</option>
<option>...</option>
<option>...</option>
</select><br>
<input type="text" class="en" title="English"><br>
<input type="text" class="ko" title="한국어"><br>
<input type="text" class="jp" title="日本語"><br>
<input type="text" class="zh-CN" title="中文(中国)"><br>
<input type="text" class="zh-TW" title="中文(臺灣)"><br>
<input type="text" class="fr" title="Français"><br>
<input type="text" class="de" title="Deutsch"><br>
<input type="text" class="ru" title="Русский"><br>
<input type="text" class="es" title="Español"><br>
<input type="text" class="tr" title="Türkçe"><br>
<input type="text" class="vi" title="Tiếng Việt"><br>
<input type="text" class="mn" title="Mongolian">
<p class="x_alert x_alert-info" style="width:169px">
지원하는 다국어 목록은 [<a href="{getUrl('','module','admin','act','dispAdminConfigGeneral')}">설정>일반</a>]에서 편집 가능
</p>
</fieldset>
</li>
<li>
<li style="border-top:1px solid #ddd;margin-top:8px">
<div class="x_tabbable">
<ul class="x_nav x_nav-tabs">
<li class="x_active"><a href="#linkUrl">URL 링크</a></li>
@ -169,12 +215,31 @@
<li>
<label for="menuName">메뉴 이름</label>
<input type="text" id="menuName">
<label><input type="checkbox" class="multilingual"> 다국어 사용</label>
<fieldset class="multilingual_item">
<select title="사용 가능한 다국어 목록">
<option>[새로 입력]</option>
<option>...</option>
<option>...</option>
</select><br>
<input type="text" class="en" title="English"><br>
<input type="text" class="ko" title="한국어"><br>
<input type="text" class="jp" title="日本語"><br>
<input type="text" class="zh-CN" title="中文(中国)"><br>
<input type="text" class="zh-TW" title="中文(臺灣)"><br>
<input type="text" class="fr" title="Français"><br>
<input type="text" class="de" title="Deutsch"><br>
<input type="text" class="ru" title="Русский"><br>
<input type="text" class="es" title="Español"><br>
<input type="text" class="tr" title="Türkçe"><br>
<input type="text" class="vi" title="Tiếng Việt"><br>
<input type="text" class="mn" title="Mongolian">
<p class="x_alert x_alert-info" style="width:169px">
지원하는 다국어 목록은 [<a href="{getUrl('','module','admin','act','dispAdminConfigGeneral')}">설정>일반</a>]에서 편집 가능
</p>
</fieldset>
</li>
<!--li>
<label for="pageTitle">페이지 제목</label>
<input type="text" id="pageTitle">
</li-->
<li>
<li style="padding-top:8px;margin-top:8px;border-top:1px solid #ddd">
<label for="mid2">메뉴 아이디 <a href="#help_menuId" class="x_icon-question-sign" data-toggle="#mid2_help">?</a></label>
<div id="mid2_help" class="x_alert x_alert-info" style="display:none;width:169px">
<button type="button" class="x_close" data-hide="#mid2_help">×</button>
@ -1198,19 +1263,16 @@ setTimeout(function(){
$('.fileRemover').click(function(){
$(this).remove();
});
function fileRemoverDisplay(){
setTimeout(function(){
$('.fileRemover').each(function(){
var $this = $(this);
if($this.closest('form').find('>figure>img').length){
$this.show(); // Show remover
} else {
$this.hide(); // Hide remover
}
});
}, 1000);
}
$(window).load(fileRemoverDisplay);
setTimeout(function(){
$('.fileRemover').each(function(){
var $this = $(this);
if($this.closest('form').find('>figure>img').length){
$this.show(); // Show remover
} else {
$this.hide(); // Hide remover
}
});
}, 1000);
// Theme(layout | skin) list toggle
$('.theme .list').each(function(){
var $this = $(this);