mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
issue 2531 update theme of member groups.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11513 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
05c184d6e2
commit
f1650f5391
4 changed files with 331 additions and 17 deletions
|
|
@ -261,3 +261,12 @@ to{-o-transform:rotate(360deg)}
|
|||
.x .multilingual_item>.mn{background:url(../img/flag.mn.gif) no-repeat right center}
|
||||
.x .multilingual_item>input[type="text"]{margin-bottom:-1px}
|
||||
.x .multilingual_item>.x_alert{margin-top:8px}
|
||||
|
||||
/* Up-Down Dragable */
|
||||
.x .uDrag .wrap{position:relative;padding-left:20px}
|
||||
.x .uDrag li>.wrap{margin:0 0 0 8px}
|
||||
.x .uDrag .dragActive{background:#FFD}
|
||||
.x .uDrag .dragActive th,
|
||||
.x .uDrag .dragActive td{background:none !important}
|
||||
.x .uDrag .dragBtn{position:absolute;width:8px;height:100%;padding:0;overflow:hidden;background:url(../img/bgDragable.gif);top:1px;left:0;text-indent:12px;border:0;cursor:n-resize;white-space:nowrap}
|
||||
|
||||
|
|
|
|||
|
|
@ -254,3 +254,296 @@ $('a.modalAnchor').xeModalWindow();
|
|||
$('div.x_modal').addClass('x').hide();
|
||||
|
||||
});
|
||||
|
||||
// Content Toggler
|
||||
jQuery(function($){
|
||||
|
||||
var dont_close_this_time = false;
|
||||
var ESC = 27;
|
||||
|
||||
$.fn.xeContentToggler = function(){
|
||||
this
|
||||
.not('.xe-content-toggler')
|
||||
.addClass('xe-content-toggler')
|
||||
.each(function(){
|
||||
var $anchor = $(this); $layer = $($anchor.attr('href'));
|
||||
|
||||
$layer.hide()
|
||||
.not('.xe-toggling-content')
|
||||
.addClass('xe-toggling-content')
|
||||
.mousedown(function(event){ dont_close_this_time = true })
|
||||
.focusout(function(event){
|
||||
setTimeout(function(){
|
||||
if(!dont_close_this_time && !$layer.find(':focus').length && $layer.data('state') == 'showing') $anchor.trigger('close.tc');
|
||||
dont_close_this_time = false;
|
||||
}, 1);
|
||||
});
|
||||
})
|
||||
.click(function(){
|
||||
var $this = $(this), $layer;
|
||||
|
||||
// get content container
|
||||
$layer = $( $this.attr('href') );
|
||||
|
||||
// set anchor object
|
||||
$layer.data('anchor', $this);
|
||||
|
||||
if($layer.data('state') == 'showing') {
|
||||
$this.trigger('close.tc');
|
||||
} else {
|
||||
$this.trigger('open.tc');
|
||||
}
|
||||
|
||||
return false;
|
||||
})
|
||||
.bind('open.tc', function(){
|
||||
var $this = $(this), $layer, effect, duration;
|
||||
|
||||
// get content container
|
||||
$layer = $( $this.attr('href') );
|
||||
|
||||
// get effeect
|
||||
effect = $this.data('effect');
|
||||
|
||||
// get duration
|
||||
duration = $this.data('duration') || 'fast';
|
||||
|
||||
// set state : showing
|
||||
$layer.data('state', 'showing');
|
||||
|
||||
// before event trigger
|
||||
$this.trigger('before-open.tc');
|
||||
|
||||
dont_close_this_time = false;
|
||||
|
||||
// When mouse button is down or when ESC key is pressed close this layer
|
||||
$(document)
|
||||
.unbind('mousedown.tc keydown.tc')
|
||||
.bind('mousedown.tc keydown.tc',
|
||||
function(event){
|
||||
if(event) {
|
||||
if(event.type == 'keydown' && event.which != ESC) return true;
|
||||
if(event.type == 'mousedown') {
|
||||
var $t = $(event.target);
|
||||
if($t.is('html,.tgAnchor,.tgContent') || $layer.has($t).length) return true;
|
||||
}
|
||||
}
|
||||
|
||||
$this.trigger('close.tc');
|
||||
|
||||
return false;
|
||||
}
|
||||
);
|
||||
|
||||
// triggering after
|
||||
function trigger_after(){ $this.trigger('after-open.tc') }
|
||||
|
||||
switch(effect) {
|
||||
case 'slide':
|
||||
$layer.slideDown(duration, trigger_after);
|
||||
break;
|
||||
case 'slide-h':
|
||||
var w = $layer.css({'overflow-x':'',width:''}).width();
|
||||
$layer
|
||||
.show()
|
||||
.css({'overflow-x':'hidden',width:'0px'})
|
||||
.animate({width:w}, duration, function(){ $layer.css({'overflow-x':'',width:''}); trigger_after(); });
|
||||
break;
|
||||
case 'fade':
|
||||
$layer.fadeIn(duration, trigger_after);
|
||||
break;
|
||||
default:
|
||||
$layer.show();
|
||||
$this.trigger('after-open.tc');
|
||||
}
|
||||
})
|
||||
.bind('close.tc', function(){
|
||||
var $this = $(this), $layer, effect, duration;
|
||||
|
||||
// unbind document's event handlers
|
||||
$(document).unbind('mousedown.tc keydown.tc');
|
||||
|
||||
// get content container
|
||||
$layer = $( $this.attr('href') );
|
||||
|
||||
// get effeect
|
||||
effect = $this.data('effect');
|
||||
|
||||
// get duration
|
||||
duration = $this.data('duration') || 'fast';
|
||||
|
||||
// set state : hiding
|
||||
$layer.data('state', 'hiding');
|
||||
|
||||
// before event trigger
|
||||
$this.trigger('before-close.tc');
|
||||
|
||||
// triggering after
|
||||
function trigger_after(){ $this.trigger('after-close.tc') };
|
||||
|
||||
// close this layer
|
||||
switch(effect) {
|
||||
case 'slide':
|
||||
$layer.slideUp(duration, trigger_after);
|
||||
break;
|
||||
case 'slide-h':
|
||||
$layer.animate({width:0}, duration, function(){ $layer.hide(); trigger_after(); });
|
||||
break;
|
||||
case 'fade':
|
||||
$layer.fadeOut(duration, trigger_after);
|
||||
break;
|
||||
default:
|
||||
$layer.hide();
|
||||
$this.trigger('after-close.tc');
|
||||
}
|
||||
});
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
$('a.tgAnchor').xeContentToggler();
|
||||
|
||||
});
|
||||
// Sortable table
|
||||
jQuery(function($){
|
||||
|
||||
var
|
||||
dragging = false,
|
||||
$holder = $('<tr class="placeholder"><td> </td></tr>');
|
||||
|
||||
$.fn.xeSortableTable = function(){
|
||||
this
|
||||
.not('.xe-sortable-table')
|
||||
.addClass('xe-sortable-table')
|
||||
.delegate('button.dragBtn', 'mousedown.st', function(event){
|
||||
var $this, $tr, $table, $th, height, width, offset, position, offsets, i, dropzone, cols, ofspar;
|
||||
|
||||
if(event.which != 1) return;
|
||||
|
||||
$this = $(this);
|
||||
$tr = $this.closest('tr');
|
||||
$table = $this.closest('table');
|
||||
ofspar = $table.get(0).offsetParent;
|
||||
height = $tr.height();
|
||||
width = $tr.width();
|
||||
|
||||
// before event trigger
|
||||
before_event = $.Event('before-drag.st');
|
||||
$table.trigger(before_event);
|
||||
|
||||
// is event canceled?
|
||||
if(before_event.isDefaultPrevented()) return false;
|
||||
|
||||
position = {x:event.pageX, y:event.pageY};
|
||||
offset = getOffset($tr.get(0), ofspar);
|
||||
|
||||
$clone = $tr.attr('target', true).clone(true).appendTo($table);
|
||||
|
||||
// get colspan
|
||||
cols = ($th=$table.find('thead th')).length;
|
||||
$th.filter('[colspan]').attr('colspan', function(idx,attr){ cols += attr - 1; });
|
||||
$holder.find('td').attr('colspan', cols);
|
||||
|
||||
// get offsets of all list-item elements
|
||||
offsets = [];
|
||||
$table.find('tbody>tr:not([target],.sticky,:hidden)').each(function() {
|
||||
var $this = $(this), o;
|
||||
|
||||
o = getOffset(this, ofspar);
|
||||
offsets.push({top:o.top, bottom:o.top+$this.height(), $item:$this});
|
||||
});
|
||||
|
||||
$clone
|
||||
.addClass('draggable')
|
||||
.css({
|
||||
position: 'absolute',
|
||||
opacity : .6,
|
||||
width : width,
|
||||
height : height,
|
||||
left : offset.left,
|
||||
top : offset.top,
|
||||
zIndex : 100
|
||||
});
|
||||
|
||||
// Set a place holder
|
||||
$holder
|
||||
.css({
|
||||
position:'absolute',
|
||||
opacity : .6,
|
||||
width : width,
|
||||
height : '10px',
|
||||
left : offset.left,
|
||||
top : offset.top,
|
||||
backgroundColor : '#bbb',
|
||||
overflow: 'hidden',
|
||||
zIndex : 99
|
||||
})
|
||||
.appendTo($table);
|
||||
|
||||
$tr.css('opacity', .6);
|
||||
|
||||
$(document)
|
||||
.unbind('mousedown.st mouseup.st')
|
||||
.bind('mousemove.st', function(event) {
|
||||
var diff, nTop, item, i, c, o;
|
||||
|
||||
dropzone = null;
|
||||
|
||||
diff = {x:position.x-event.pageX, y:position.y-event.pageY};
|
||||
nTop = offset.top - diff.y;
|
||||
|
||||
for(i=0,c=offsets.length; i < c; i++) {
|
||||
o = offsets[i];
|
||||
if( (i && o.top > nTop) || ((i < c-1) && o.bottom < nTop)) continue;
|
||||
|
||||
dropzone = {element:o.$item};
|
||||
if(o.top > nTop - 12) {
|
||||
dropzone.state = 'before';
|
||||
$holder.css('top', o.top-5);
|
||||
} else {
|
||||
dropzone.state = 'after';
|
||||
$holder.css('top', o.bottom-5);
|
||||
}
|
||||
}
|
||||
|
||||
$clone.css({top:nTop});
|
||||
})
|
||||
.bind('mouseup.st', function(event) {
|
||||
var $dropzone;
|
||||
|
||||
dragging = false;
|
||||
|
||||
$(document).unbind('mousemove.st mouseup.st');
|
||||
$tr.removeAttr('target').css('opacity', '');
|
||||
$clone.remove();
|
||||
$holder.remove();
|
||||
|
||||
if(!dropzone) return;
|
||||
$dropzone = $(dropzone.element);
|
||||
|
||||
// use the clone for animation
|
||||
$dropzone[dropzone.state]($tr);
|
||||
|
||||
$table.trigger('after-drag.st');
|
||||
});
|
||||
})
|
||||
|
||||
return this;
|
||||
};
|
||||
$('table.sortable').xeSortableTable();
|
||||
|
||||
|
||||
function getOffset(elem, offsetParent) {
|
||||
var top = 0, left = 0;
|
||||
|
||||
while(elem && elem != offsetParent) {
|
||||
top += elem.offsetTop;
|
||||
left += elem.offsetLeft;
|
||||
|
||||
elem = elem.offsetParent;
|
||||
}
|
||||
|
||||
return {top:top, left:left};
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
20
modules/admin/tpl/js/admin.min.js
vendored
20
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -1,9 +1,17 @@
|
|||
jQuery(function(a){function c(){f.width("99.99%");setTimeout(function(){f.removeAttr("style")},0)}function b(){g.each(function(){var b=a(this),c=b.parent("label"),d=c.siblings('input[type="text"]:first'),e=c.siblings("select:first"),f=b.closest(".multilingual").siblings(".multilingual_item:first");b.is(":checked")?(d.hide(),e.show(),c.addClass("checked"),f.show()):(d.show(),e.hide(),c.removeClass("checked"),f.hide())})}window.top.scrollTo(0,0);a(".x .skipNav>a").click(function(){a(a(this).attr("href")).attr("tabindex",
|
||||
jQuery(function(a){function d(){g.width("99.99%");setTimeout(function(){g.removeAttr("style")},0)}function c(){h.each(function(){var c=a(this),b=c.parent("label"),d=b.siblings('input[type="text"]:first'),g=b.siblings("select:first"),e=c.closest(".multilingual").siblings(".multilingual_item:first");c.is(":checked")?(d.hide(),g.show(),b.addClass("checked"),e.show()):(d.show(),g.hide(),b.removeClass("checked"),e.hide())})}window.top.scrollTo(0,0);a(".x .skipNav>a").click(function(){a(a(this).attr("href")).attr("tabindex",
|
||||
"0").css("outline","0").focus()});a(".x [data-toggle]").click(function(){a(a(this).attr("data-toggle")).toggle();return!1});a(".x [data-show]").click(function(){a(a(this).attr("data-show")).show();return!1});a(".x [data-hide]").click(function(){a(a(this).attr("data-hide")).hide();return!1});a('.x .x_tab-content>.x_tab-pane:not(".x_active")').hide();a(".x .x_nav-tabs").find('>li>a[href^="#"]').click(function(){var b=a(this);b.parent("li").addClass("x_active").siblings().removeClass("x_active");b.closest(".x_nav-tabs").next(".x_tab-content").find(b.attr("href")).addClass("x_active").show().siblings().removeClass("x_active").hide();
|
||||
return!1});var d=a(".x>.body"),f=d.find(">.content"),e=d.find(">.gnb"),h=e.find(">ul>li");a(window).resize(function(){setTimeout(function(){980>=a(window).width()||1240<a(window).width()?d.removeClass("wide"):d.addClass("wide")},100)}).resize();h.find("ul").prev("a").bind("click focus",function(){var b=a(this);h.not(b.parent("li")).removeClass("open");a(this).parent("li").toggleClass("open");e.trigger("mouseenter");return!1});e.mouseenter(function(){980<=a(window).width()&&(d.removeClass("wide"),
|
||||
c())}).mouseleave(function(){980<=a(window).width()&&1240>a(window).width()&&(d.addClass("wide"),c())});e.find('>a[href="#gnbNav"]').click(function(){a(this).parent(".gnb").toggleClass("open");return!1});e.prepend('<button type="button" class="close before" />').append('<button type="button" class="close after" />');e.find(">.close").focus(function(){d.addClass("wide");c()});var g=a('.x .multilingual>label>input[type="checkbox"]');b();g.change(b);a('.x th>input[type="checkbox"]').change(function(){var b=
|
||||
return!1});var b=a(".x>.body"),g=b.find(">.content"),f=b.find(">.gnb"),e=f.find(">ul>li");a(window).resize(function(){setTimeout(function(){980>=a(window).width()||1240<a(window).width()?b.removeClass("wide"):b.addClass("wide")},100)}).resize();e.find("ul").prev("a").bind("click focus",function(){var b=a(this);e.not(b.parent("li")).removeClass("open");a(this).parent("li").toggleClass("open");f.trigger("mouseenter");return!1});f.mouseenter(function(){980<=a(window).width()&&(b.removeClass("wide"),
|
||||
d())}).mouseleave(function(){980<=a(window).width()&&1240>a(window).width()&&(b.addClass("wide"),d())});f.find('>a[href="#gnbNav"]').click(function(){a(this).parent(".gnb").toggleClass("open");return!1});f.prepend('<button type="button" class="close before" />').append('<button type="button" class="close after" />');f.find(">.close").focus(function(){b.addClass("wide");d()});var h=a('.x .multilingual>label>input[type="checkbox"]');c();h.change(c);a('.x th>input[type="checkbox"]').change(function(){var b=
|
||||
a(this),c=b.data("name");b.closest("table").find("input:checkbox").filter(function(){var b=a(this);return!b.prop("disabled")&&(b.attr("name")==c||b.data("name")==c)}).prop("checked",b.prop("checked")).end().end().trigger("update.checkbox",[c,this.checked])});a(".x .x_pagination .x_disabled, .x .x_pagination .x_active").click(function(){return!1});a(".x .section>h1").append('<button type="button" class="snToggle x_icon-chevron-up">Toggle this section</button>');a(".x .section>h1>.snToggle").click(function(){var b=
|
||||
a(this),c=b.closest(".section");c.hasClass("collapse")?(c.removeClass("collapse").children("h1:first").siblings().show(),b.removeClass("x_icon-chevron-down").addClass("x_icon-chevron-up")):(c.addClass("collapse").children("h1:first").siblings().hide(),b.removeClass("x_icon-chevron-up").addClass("x_icon-chevron-down"))})});
|
||||
jQuery(function(a){a.fn.xeModalWindow=function(){this.not(".xe-modal-window").addClass("xe-modal-window").each(function(){a(a(this).attr("href")).addClass("x").hide()}).click(function(){var c=a(this),b,d;b=a(c.attr("href"));b.parent("body").length||(d=a('<button type="button" class="x_close">×</button>'),d.click(function(){b.data("anchor").trigger("close.mw")}),b.find("[data-hide]").click(function(){b.data("anchor").trigger("close.mw")}),a("body").append('<div class="x_modal-backdrop"></div>').append(b),
|
||||
b.prepend(d));b.data("anchor",c);"showing"==b.data("state")?c.trigger("close.mw"):c.trigger("open.mw");return!1}).bind("open.mw",function(){var c=a(this),b,d;b=a.Event("before-open.mw");c.trigger(b);if(b.isDefaultPrevented())return!1;b=a(c.attr("href"));d=c.data("duration")||"fast";b.data("state","showing");a("html,body").addClass("modalContainer");a(document).bind("keydown.mw",function(a){if(27==a.which)return c.trigger("close.mw"),!1});b.fadeIn(d,function(){c.trigger("after-open.mw")}).find("button.x_close:first").focus();
|
||||
a(".x_modal-backdrop").show()}).bind("close.mw",function(){var c=a(this),b,d;b=a.Event("before-close.mw");c.trigger(b);if(b.isDefaultPrevented())return!1;b=a(c.attr("href"));d=c.data("duration")||"fast";b.data("state","hiding");a("html,body").removeClass("modalContainer");b.fadeOut(d,function(){c.trigger("after-close.mw")});a(".x_modal-backdrop").hide();c.focus()})};a("a.modalAnchor").xeModalWindow();a("div.x_modal").addClass("x").hide()});
|
||||
jQuery(function(a){a.fn.xeModalWindow=function(){this.not(".xe-modal-window").addClass("xe-modal-window").each(function(){a(a(this).attr("href")).addClass("x").hide()}).click(function(){var d=a(this),c,b;c=a(d.attr("href"));c.parent("body").length||(b=a('<button type="button" class="x_close">×</button>'),b.click(function(){c.data("anchor").trigger("close.mw")}),c.find("[data-hide]").click(function(){c.data("anchor").trigger("close.mw")}),a("body").append('<div class="x_modal-backdrop"></div>').append(c),
|
||||
c.prepend(b));c.data("anchor",d);"showing"==c.data("state")?d.trigger("close.mw"):d.trigger("open.mw");return!1}).bind("open.mw",function(){var d=a(this),c,b;c=a.Event("before-open.mw");d.trigger(c);if(c.isDefaultPrevented())return!1;c=a(d.attr("href"));b=d.data("duration")||"fast";c.data("state","showing");a("html,body").addClass("modalContainer");a(document).bind("keydown.mw",function(a){if(27==a.which)return d.trigger("close.mw"),!1});c.fadeIn(b,function(){d.trigger("after-open.mw")}).find("button.x_close:first").focus();
|
||||
a(".x_modal-backdrop").show()}).bind("close.mw",function(){var d=a(this),c,b;c=a.Event("before-close.mw");d.trigger(c);if(c.isDefaultPrevented())return!1;c=a(d.attr("href"));b=d.data("duration")||"fast";c.data("state","hiding");a("html,body").removeClass("modalContainer");c.fadeOut(b,function(){d.trigger("after-close.mw")});a(".x_modal-backdrop").hide();d.focus()})};a("a.modalAnchor").xeModalWindow();a("div.x_modal").addClass("x").hide()});
|
||||
jQuery(function(a){var d=!1;a.fn.xeContentToggler=function(){this.not(".xe-content-toggler").addClass("xe-content-toggler").each(function(){var c=a(this);$layer=a(c.attr("href"));$layer.hide().not(".xe-toggling-content").addClass("xe-toggling-content").mousedown(function(){d=!0}).focusout(function(){setTimeout(function(){!d&&(!$layer.find(":focus").length&&"showing"==$layer.data("state"))&&c.trigger("close.tc");d=!1},1)})}).click(function(){var c=a(this),b;b=a(c.attr("href"));b.data("anchor",c);"showing"==
|
||||
b.data("state")?c.trigger("close.tc"):c.trigger("open.tc");return!1}).bind("open.tc",function(){function c(){b.trigger("after-open.tc")}var b=a(this),g,f,e;g=a(b.attr("href"));f=b.data("effect");e=b.data("duration")||"fast";g.data("state","showing");b.trigger("before-open.tc");d=!1;a(document).unbind("mousedown.tc keydown.tc").bind("mousedown.tc keydown.tc",function(c){if(c&&("keydown"==c.type&&27!=c.which||"mousedown"==c.type&&(c=a(c.target),c.is("html,.tgAnchor,.tgContent")||g.has(c).length)))return!0;
|
||||
b.trigger("close.tc");return!1});switch(f){case "slide":g.slideDown(e,c);break;case "slide-h":f=g.css({"overflow-x":"",width:""}).width();g.show().css({"overflow-x":"hidden",width:"0px"}).animate({width:f},e,function(){g.css({"overflow-x":"",width:""});c()});break;case "fade":g.fadeIn(e,c);break;default:g.show(),b.trigger("after-open.tc")}}).bind("close.tc",function(){function c(){b.trigger("after-close.tc")}var b=a(this),d,f,e;a(document).unbind("mousedown.tc keydown.tc");d=a(b.attr("href"));f=b.data("effect");
|
||||
e=b.data("duration")||"fast";d.data("state","hiding");b.trigger("before-close.tc");switch(f){case "slide":d.slideUp(e,c);break;case "slide-h":d.animate({width:0},e,function(){d.hide();c()});break;case "fade":d.fadeOut(e,c);break;default:d.hide(),b.trigger("after-close.tc")}});return this};a("a.tgAnchor").xeContentToggler()});
|
||||
jQuery(function(a){function d(a,c){for(var d=0,e=0;a&&a!=c;)d+=a.offsetTop,e+=a.offsetLeft,a=a.offsetParent;return{top:d,left:e}}var c=a('<tr class="placeholder"><td> </td></tr>');a.fn.xeSortableTable=function(){this.not(".xe-sortable-table").addClass("xe-sortable-table").delegate("button.dragBtn","mousedown.st",function(b){var g,f,e,h,m,j,k,i,l,n;if(1==b.which){f=a(this);e=f.closest("tr");h=f.closest("table");n=h.get(0).offsetParent;f=e.height();m=e.width();before_event=a.Event("before-drag.st");
|
||||
h.trigger(before_event);if(before_event.isDefaultPrevented())return!1;g=b.pageY;j=d(e.get(0),n);$clone=e.attr("target",!0).clone(!0).appendTo(h);l=(b=h.find("thead th")).length;b.filter("[colspan]").attr("colspan",function(a,c){l+=c-1});c.find("td").attr("colspan",l);k=[];h.find("tbody>tr:not([target],.sticky,:hidden)").each(function(){var c=a(this),b;b=d(this,n);k.push({top:b.top,bottom:b.top+c.height(),$item:c})});$clone.addClass("draggable").css({position:"absolute",opacity:0.6,width:m,height:f,
|
||||
left:j.left,top:j.top,zIndex:100});c.css({position:"absolute",opacity:0.6,width:m,height:"10px",left:j.left,top:j.top,backgroundColor:"#bbb",overflow:"hidden",zIndex:99}).appendTo(h);e.css("opacity",0.6);a(document).unbind("mousedown.st mouseup.st").bind("mousemove.st",function(a){var b,d,e;i=null;a=j.top-(g-a.pageY);b=0;for(d=k.length;b<d;b++)e=k[b],b&&e.top>a||b<d-1&&e.bottom<a||(i={element:e.$item},e.top>a-12?(i.state="before",c.css("top",e.top-5)):(i.state="after",c.css("top",e.bottom-5)));$clone.css({top:a})}).bind("mouseup.st",
|
||||
function(){var b;a(document).unbind("mousemove.st mouseup.st");e.removeAttr("target").css("opacity","");$clone.remove();c.remove();i&&(b=a(i.element),b[i.state](e),h.trigger("after-drag.st"))})}});return this};a("table.sortable").xeSortableTable()});
|
||||
|
|
|
|||
|
|
@ -14,19 +14,23 @@
|
|||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<h1 class="h1">{$lang->member_group}</h1>
|
||||
<form action="" class="form" method="post" ruleset="insertGroupConfig">
|
||||
<div class="x_page-header">
|
||||
<h1>{$lang->member_group}</h1>
|
||||
</div>
|
||||
<form action="" method="post" ruleset="insertGroupConfig">
|
||||
<input type="hidden" name="module" value="member" />
|
||||
<input type="hidden" name="act" value="procMemberAdminGroupConfig" />
|
||||
<div class="table even">
|
||||
<table width="100%" border="1" cellspacing="0" class="sortable">
|
||||
<div>
|
||||
<div class="x_clearfix" style="margin-bottom:-55px">
|
||||
<div class="x_pull-right">
|
||||
{$lang->use_group_image_mark}:
|
||||
<label for="yes" class="x_inline"><input type="radio" name="group_image_mark" id="yes" value="Y" checked="checked"|cond="$config->group_image_mark == 'Y'" /> {$lang->cmd_yes}</label>
|
||||
<label for="no" class="x_inline"><input type="radio" name="group_image_mark" id="no" value="N" checked="checked"|cond="$config->group_image_mark != 'Y'" /> {$lang->cmd_no}</label>
|
||||
</div>
|
||||
</div>
|
||||
<table class="sortable x_table x_table-striped x_table-hover">
|
||||
<caption>
|
||||
<strong>{count($group_list)}</strong> {$lang->msg_groups_exist}
|
||||
<span class="side">
|
||||
{$lang->use_group_image_mark}:
|
||||
<input type="radio" name="group_image_mark" id="yes" value="Y" checked="checked"|cond="$config->group_image_mark == 'Y'" /> <label for="yes">{$lang->cmd_yes}</label>
|
||||
<input type="radio" name="group_image_mark" id="no" value="N" checked="checked"|cond="$config->group_image_mark != 'Y'" /> <label for="no">{$lang->cmd_no}</label>
|
||||
</span>
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -85,8 +89,8 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="btnArea">
|
||||
<span class="btn medium"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
<div class="x_clearfix">
|
||||
<span class="x_pull-right"><input class="x_btn x_btn-primary" type="submit" value="{$lang->cmd_save}" /></span>
|
||||
</div>
|
||||
|
||||
<!-- Multilingual -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue