1. Complete to write a script for the theme page

2. Add css files for korean and japanese
3. Modified some styles including theme setting page and language selector


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8712 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-08-02 02:01:22 +00:00
parent a1a14d4b76
commit b09bcabf20
6 changed files with 232 additions and 122 deletions

View file

@ -23,25 +23,28 @@ jQuery(function($){
$input_rc
.change(function(){
var name = $(this).attr('name');
$input_rc
.filter('[name="'+name+'"]:not(:checked)')
.next('label').css('font-weight', 'normal').end()
.end()
.next('label').css('font-weight', 'bold').end();
$input_rc.filter(function(){ return this.name == name })
.next('label').css('font-weight', 'normal').end()
.filter(':checked')
.next('label').css('font-weight', 'bold').end();
})
.change();
// Toogle checkbox all
$('.form th>:checkbox')
$('.form th>input:checkbox')
.change(function() {
var $this = $(this), self = this, name;
var $this = $(this), name = $this.data('name');
name = $this.data('target');
$this.closest('table').find('input:checkbox')
.filter(function(){ return (this.name == name) })
.prop('checked', $this.prop('checked'))
.filter(function(){ return (this.parentNode.nodeName != 'TH') })
.change();
$this.closest('table')
.find('input:checkbox')
.filter(function(){
var $this = $(this);
return ($this.attr('name') == name) || ($this.data('name') == name);
})
.prop('checked', $this.prop('checked'))
.end()
.end()
.trigger('update.checkbox', name, this.checked);
});
// Global Navigation Bar