Merge from 1.5.2.2
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10519 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
|
@ -82,6 +82,9 @@
|
|||
$cubrid_version = $cubrid_version_elem[0] . '.' . $cubrid_version_elem[1] . '.' . $cubrid_version_elem[2];
|
||||
define('__CUBRID_VERSION__', $cubrid_version);
|
||||
}
|
||||
|
||||
if(__CUBRID_VERSION__ >= '8.4.0')
|
||||
cubrid_set_autocommit($result, CUBRID_AUTOCOMMIT_TRUE);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
|
@ -127,7 +130,12 @@
|
|||
**/
|
||||
function _begin()
|
||||
{
|
||||
return true;
|
||||
if(__CUBRID_VERSION__ >= '8.4.0')
|
||||
{
|
||||
$connection = $this->_getConnection('master');
|
||||
cubrid_set_autocommit($connection, CUBRID_AUTOCOMMIT_FALSE);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -135,9 +143,9 @@
|
|||
**/
|
||||
function _rollback()
|
||||
{
|
||||
$connection = $this->_getConnection('master');
|
||||
$connection = $this->_getConnection('master');
|
||||
@cubrid_rollback ($connection);
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -145,9 +153,9 @@
|
|||
**/
|
||||
function _commit()
|
||||
{
|
||||
$connection = $this->_getConnection('master');
|
||||
$connection = $this->_getConnection('master');
|
||||
@cubrid_commit($connection);
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -192,19 +192,26 @@ jQuery(function($) {
|
|||
|
||||
});
|
||||
|
||||
(function(){ // String extension methods
|
||||
|
||||
function isSameUrl(a,b) {
|
||||
return (a.replace(/#.*$/, '') === b.replace(/#.*$/, ''));
|
||||
}
|
||||
|
||||
var isArray = Array.isArray || function(obj){ return Object.prototype.toString.call(obj)=='[object Array]' };
|
||||
|
||||
/**
|
||||
* @brief location.href에서 특정 key의 값을 return
|
||||
**/
|
||||
String.prototype.getQuery = function(key) {
|
||||
var idx = this.indexOf('?');
|
||||
var loc = isSameUrl(this, window.location.href) ? current_url : this;
|
||||
var idx = loc.indexOf('?');
|
||||
if(idx == -1) return null;
|
||||
var query_string = this.substr(idx+1, this.length);
|
||||
var args = {};
|
||||
var query_string = loc.substr(idx+1, this.length), args = {};
|
||||
query_string.replace(/([^=]+)=([^&]*)(&|$)/g, function() { args[arguments[1]] = arguments[2]; });
|
||||
|
||||
var q = args[key];
|
||||
if(typeof(q)=="undefined") q = "";
|
||||
if(typeof(q)=='undefined') q = '';
|
||||
|
||||
return q;
|
||||
}
|
||||
|
|
@ -213,67 +220,58 @@ String.prototype.getQuery = function(key) {
|
|||
* @brief location.href에서 특정 key의 값을 return
|
||||
**/
|
||||
String.prototype.setQuery = function(key, val) {
|
||||
var idx = this.indexOf('?');
|
||||
var uri = this.replace(/#$/, '');
|
||||
var loc = isSameUrl(this, window.location.href) ? current_url : this;
|
||||
var idx = loc.indexOf('?');
|
||||
var uri = loc.replace(/#$/, '');
|
||||
var act, re, v;
|
||||
|
||||
if(idx != -1) {
|
||||
var query_string = uri.substr(idx+1, this.length), args = {}, q_list = [];
|
||||
uri = this.substr(0, idx);
|
||||
if (typeof(val)=='undefined') val = '';
|
||||
|
||||
if (idx != -1) {
|
||||
var query_string = uri.substr(idx+1, loc.length), args = {}, q_list = [];
|
||||
uri = loc.substr(0, idx);
|
||||
query_string.replace(/([^=]+)=([^&]*)(&|$)/g, function(all,key,val) { args[key] = val; });
|
||||
|
||||
args[key] = val;
|
||||
|
||||
jQuery.each(args, function(key,val){
|
||||
if (!jQuery.trim(val)) return;
|
||||
q_list.push(key+'='+decodeURI(val));
|
||||
});
|
||||
for (var prop in args) {
|
||||
if (!args.hasOwnProperty(prop)) continue;
|
||||
if (!(v = String(args[prop]).trim())) continue;
|
||||
q_list.push(prop+'='+decodeURI(v));
|
||||
}
|
||||
|
||||
query_string = q_list.join('&');
|
||||
uri = uri+(query_string?'?'+query_string:'');
|
||||
} else {
|
||||
if(val.toString().trim()) uri = uri+"?"+key+"="+val;
|
||||
if (String(val).trim()) uri = uri+'?'+key+'='+val;
|
||||
}
|
||||
|
||||
var re = /https:\/\/([^:\/]+)(:\d+|)/i;
|
||||
var check = re.exec(uri);
|
||||
if(check)
|
||||
{
|
||||
var toReplace = "http://"+check[1];
|
||||
if(typeof(http_port)!='undefined' && http_port != 80)
|
||||
{
|
||||
toReplace += ":" + http_port;
|
||||
}
|
||||
uri = uri.replace(re,toReplace);
|
||||
re = /^https:\/\/([^:\/]+)(:\d+|)/i;
|
||||
if (re.test(uri)) {
|
||||
var toReplace = 'http://'+RegExp.$1;
|
||||
if (window.http_port && http_port != 80) toReplace += ':' + http_port;
|
||||
uri = uri.replace(re, toReplace);
|
||||
}
|
||||
var bUseSSL = false;
|
||||
if(typeof(enforce_ssl)!='undefined' && enforce_ssl)
|
||||
{
|
||||
bUseSSL = true;
|
||||
}
|
||||
else if(typeof(ssl_actions)!='undefined' && typeof(ssl_actions.length)!='undefined' && uri.getQuery('act')) {
|
||||
var act = uri.getQuery('act');
|
||||
for(i=0;i<ssl_actions.length;i++) {
|
||||
if(ssl_actions[i]==act) {
|
||||
|
||||
var bUseSSL = !!window.enforce_ssl;
|
||||
if (!bUseSSL && isArray(window.ssl_actions) && (act=uri.getQuery('act'))) {
|
||||
for (var i=0,c=ssl_actions.length; i < c; i++) {
|
||||
if (ssl_actions[i] === act) {
|
||||
bUseSSL = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(bUseSSL)
|
||||
{
|
||||
var re = /http:\/\/([^:\/]+)(:\d+|)/i;
|
||||
var check = re.exec(uri);
|
||||
if(check)
|
||||
{
|
||||
var toReplace = "https://"+check[1];
|
||||
if(typeof(https_port)!='undefined' && https_port != 443)
|
||||
{
|
||||
toReplace += ":" + https_port;
|
||||
}
|
||||
uri = uri.replace(re,toReplace);
|
||||
}
|
||||
}
|
||||
re = /http:\/\/([^:\/]+)(:\d+|)/i;
|
||||
if (bUseSSL && re.test(uri)) {
|
||||
var toReplace = 'https://'+RegExp.$1
|
||||
if (window.https_port && https_port != 443) toReplace += ':' + https_port;
|
||||
uri = uri.replace(re, toReplace);
|
||||
}
|
||||
|
||||
// insert index.php if it isn't included
|
||||
uri = uri.replace(/\/(index\.php)?\?/, '/index.php?');
|
||||
|
||||
return encodeURI(uri);
|
||||
}
|
||||
|
|
@ -285,6 +283,8 @@ String.prototype.trim = function() {
|
|||
return this.replace(/(^\s*)|(\s*$)/g, "");
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
/**
|
||||
* @brief xSleep(micro time)
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -476,19 +476,26 @@ jQuery(function($) {
|
|||
|
||||
});
|
||||
|
||||
(function(){ // String extension methods
|
||||
|
||||
function isSameUrl(a,b) {
|
||||
return (a.replace(/#.*$/, '') === b.replace(/#.*$/, ''));
|
||||
}
|
||||
|
||||
var isArray = Array.isArray || function(obj){ return Object.prototype.toString.call(obj)=='[object Array]' };
|
||||
|
||||
/**
|
||||
* @brief location.href에서 특정 key의 값을 return
|
||||
**/
|
||||
String.prototype.getQuery = function(key) {
|
||||
var idx = this.indexOf('?');
|
||||
var loc = isSameUrl(this, window.location.href) ? current_url : this;
|
||||
var idx = loc.indexOf('?');
|
||||
if(idx == -1) return null;
|
||||
var query_string = this.substr(idx+1, this.length);
|
||||
var args = {};
|
||||
var query_string = loc.substr(idx+1, this.length), args = {};
|
||||
query_string.replace(/([^=]+)=([^&]*)(&|$)/g, function() { args[arguments[1]] = arguments[2]; });
|
||||
|
||||
var q = args[key];
|
||||
if(typeof(q)=="undefined") q = "";
|
||||
if(typeof(q)=='undefined') q = '';
|
||||
|
||||
return q;
|
||||
}
|
||||
|
|
@ -497,67 +504,58 @@ String.prototype.getQuery = function(key) {
|
|||
* @brief location.href에서 특정 key의 값을 return
|
||||
**/
|
||||
String.prototype.setQuery = function(key, val) {
|
||||
var idx = this.indexOf('?');
|
||||
var uri = this.replace(/#$/, '');
|
||||
var loc = isSameUrl(this, window.location.href) ? current_url : this;
|
||||
var idx = loc.indexOf('?');
|
||||
var uri = loc.replace(/#$/, '');
|
||||
var act, re, v;
|
||||
|
||||
if(idx != -1) {
|
||||
var query_string = uri.substr(idx+1, this.length), args = {}, q_list = [];
|
||||
uri = this.substr(0, idx);
|
||||
if (typeof(val)=='undefined') val = '';
|
||||
|
||||
if (idx != -1) {
|
||||
var query_string = uri.substr(idx+1, loc.length), args = {}, q_list = [];
|
||||
uri = loc.substr(0, idx);
|
||||
query_string.replace(/([^=]+)=([^&]*)(&|$)/g, function(all,key,val) { args[key] = val; });
|
||||
|
||||
args[key] = val;
|
||||
|
||||
jQuery.each(args, function(key,val){
|
||||
if (!jQuery.trim(val)) return;
|
||||
q_list.push(key+'='+decodeURI(val));
|
||||
});
|
||||
for (var prop in args) {
|
||||
if (!args.hasOwnProperty(prop)) continue;
|
||||
if (!(v = String(args[prop]).trim())) continue;
|
||||
q_list.push(prop+'='+decodeURI(v));
|
||||
}
|
||||
|
||||
query_string = q_list.join('&');
|
||||
uri = uri+(query_string?'?'+query_string:'');
|
||||
} else {
|
||||
if(val.toString().trim()) uri = uri+"?"+key+"="+val;
|
||||
if (String(val).trim()) uri = uri+'?'+key+'='+val;
|
||||
}
|
||||
|
||||
var re = /https:\/\/([^:\/]+)(:\d+|)/i;
|
||||
var check = re.exec(uri);
|
||||
if(check)
|
||||
{
|
||||
var toReplace = "http://"+check[1];
|
||||
if(typeof(http_port)!='undefined' && http_port != 80)
|
||||
{
|
||||
toReplace += ":" + http_port;
|
||||
}
|
||||
uri = uri.replace(re,toReplace);
|
||||
re = /^https:\/\/([^:\/]+)(:\d+|)/i;
|
||||
if (re.test(uri)) {
|
||||
var toReplace = 'http://'+RegExp.$1;
|
||||
if (window.http_port && http_port != 80) toReplace += ':' + http_port;
|
||||
uri = uri.replace(re, toReplace);
|
||||
}
|
||||
var bUseSSL = false;
|
||||
if(typeof(enforce_ssl)!='undefined' && enforce_ssl)
|
||||
{
|
||||
bUseSSL = true;
|
||||
}
|
||||
else if(typeof(ssl_actions)!='undefined' && typeof(ssl_actions.length)!='undefined' && uri.getQuery('act')) {
|
||||
var act = uri.getQuery('act');
|
||||
for(i=0;i<ssl_actions.length;i++) {
|
||||
if(ssl_actions[i]==act) {
|
||||
|
||||
var bUseSSL = !!window.enforce_ssl;
|
||||
if (!bUseSSL && isArray(window.ssl_actions) && (act=uri.getQuery('act'))) {
|
||||
for (var i=0,c=ssl_actions.length; i < c; i++) {
|
||||
if (ssl_actions[i] === act) {
|
||||
bUseSSL = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(bUseSSL)
|
||||
{
|
||||
var re = /http:\/\/([^:\/]+)(:\d+|)/i;
|
||||
var check = re.exec(uri);
|
||||
if(check)
|
||||
{
|
||||
var toReplace = "https://"+check[1];
|
||||
if(typeof(https_port)!='undefined' && https_port != 443)
|
||||
{
|
||||
toReplace += ":" + https_port;
|
||||
}
|
||||
uri = uri.replace(re,toReplace);
|
||||
}
|
||||
}
|
||||
re = /http:\/\/([^:\/]+)(:\d+|)/i;
|
||||
if (bUseSSL && re.test(uri)) {
|
||||
var toReplace = 'https://'+RegExp.$1
|
||||
if (window.https_port && https_port != 443) toReplace += ':' + https_port;
|
||||
uri = uri.replace(re, toReplace);
|
||||
}
|
||||
|
||||
// insert index.php if it isn't included
|
||||
uri = uri.replace(/\/(index\.php)?\?/, '/index.php?');
|
||||
|
||||
return encodeURI(uri);
|
||||
}
|
||||
|
|
@ -569,6 +567,8 @@ String.prototype.trim = function() {
|
|||
return this.replace(/(^\s*)|(\s*$)/g, "");
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
/**
|
||||
* @brief xSleep(micro time)
|
||||
**/
|
||||
|
|
|
|||
67
common/js/xe.min.js
vendored
|
|
@ -4,26 +4,27 @@
|
|||
* @brief XE Common JavaScript
|
||||
**/
|
||||
(function(a){function b(){return function(){var g=this;a.isArray(this._plugins)&&(this._plugins=[]);this._messages?this._messages={}:this._binded_fn={};a.each(this,function(c,b){if(!a.isFunction(b)||!/^API_([A-Z0-9_]+)$/.test(c))return true;var d=RegExp.$1,e=function(a,b){return g[c](a,b)};g._messages?g._messages[d]=[e]:g._binded_fn[d]=e});a.isFunction(this.init)&&this.init.apply(this,arguments)}}var d,c,e=[];d={_plugins:[],_messages:{},getPlugin:function(g){g=g.toLowerCase();return a.isArray(this._plugins[g])?
|
||||
this._plugins[g]:[]},registerPlugin:function(g){var c=this,b=g.getName().toLowerCase();if(0<=a.inArray(g,this._plugins))return!1;this._plugins.push(g);a.isArray(this._plugins[b])||(this._plugins[b]=[]);this._plugins[b].push(g);a.each(g._binded_fn,function(a,g){c.registerHandler(a,g)});g.oApp=this;a.isFunction(g.activate)&&g.activate();return!0},registerHandler:function(g,c){var b=this._messages,g=g.toUpperCase();a.isArray(b[g])||(b[g]=[]);b[g].push(c)},cast:function(a,b){return this._cast(this,a,
|
||||
b||[])},broadcast:function(a,b,c){this.parent&&this.parent._broadcast&&this.parent._broadcast(a,b,c)},_cast:function(g,b,c){var d,e=this._messages,b=b.toUpperCase();if(!e["BEFORE_"+b]&&!this["API_BEFORE_"+b]||this._cast(g,"BEFORE_"+b,c)){var h=[];if(a.isArray(e[b]))for(d=0;d<e[b].length;d++)h.push(e[b][d](g,c));2>h.length&&(h=h[0]);(e["AFTER_"+b]||this["API_AFTER_"+b])&&this._cast(g,"AFTER_"+b,c);return!/^(?:AFTER|BEFORE)_/.test(b)?h:a.isArray(h)?0>a.inArray(!1,h):"undefined"==typeof h?!0:!!h}}};
|
||||
c={oApp:null,cast:function(a,b){if(this.oApp&&this.oApp._cast)return this.oApp._cast(this,a,b||[])},broadcast:function(a,b){this.oApp&&this.oApp.broadcast&&this.oApp.broadcast(this,mag,b||[])}};window.xe=a.extend(d,{getName:function(){return"Core"},createApp:function(g,c){var e=b();a.extend(e.prototype,d,c);e.prototype.getName=function(){return g};return e},createPlugin:function(g,d){var e=b();a.extend(e.prototype,c,d);e.prototype.getName=function(){return g};return e},getApps:function(){return a.makeArray(e)},
|
||||
getApp:function(a){a=(a||"").toLowerCase();return"undefined"!=typeof e[a]?e[a]:null},registerApp:function(b){var c=b.getName().toLowerCase();e.push(b);a.isArray(e[c])||(e[c]=[]);e[c].push(b);b.parent=this;a.isFunction(b.activate)&&b.activate()},unregisterApp:function(b){var c=b.getName().toLowerCase(),d=a.inArray(b,e);0<=d&&(e=e.splice(d,1));a.isArray(e[c])&&(d=a.inArray(b,e[c]),0<=d&&(e[c]=e[c].splice(d,1)));a.isFunction(b.deactivate)&&b.deactivate()},broadcast:function(a,b){this._broadcast(this,
|
||||
a,b)},_broadcast:function(a,b,c){for(var d=0;d<e.length;d++)e[d]._cast(a,b,c);this._cast(a,b,c)}});window.xe.lang={};a(function(){xe.broadcast("ONREADY")});a(window).load(function(){xe.broadcast("ONLOAD")})})(jQuery);jQuery&&jQuery.noConflict();
|
||||
this._plugins[g]:[]},registerPlugin:function(g){var c=this,b=g.getName().toLowerCase();if(0<=a.inArray(g,this._plugins))return!1;this._plugins.push(g);a.isArray(this._plugins[b])||(this._plugins[b]=[]);this._plugins[b].push(g);a.each(g._binded_fn,function(a,g){c.registerHandler(a,g)});g.oApp=this;a.isFunction(g.activate)&&g.activate();return!0},registerHandler:function(g,b){var c=this._messages,g=g.toUpperCase();a.isArray(c[g])||(c[g]=[]);c[g].push(b)},cast:function(a,c){return this._cast(this,a,
|
||||
c||[])},broadcast:function(a,c,b){this.parent&&this.parent._broadcast&&this.parent._broadcast(a,c,b)},_cast:function(g,c,b){var d,e=this._messages,c=c.toUpperCase();if(!e["BEFORE_"+c]&&!this["API_BEFORE_"+c]||this._cast(g,"BEFORE_"+c,b)){var h=[];if(a.isArray(e[c]))for(d=0;d<e[c].length;d++)h.push(e[c][d](g,b));2>h.length&&(h=h[0]);(e["AFTER_"+c]||this["API_AFTER_"+c])&&this._cast(g,"AFTER_"+c,b);return!/^(?:AFTER|BEFORE)_/.test(c)?h:a.isArray(h)?0>a.inArray(!1,h):"undefined"==typeof h?!0:!!h}}};
|
||||
c={oApp:null,cast:function(a,c){if(this.oApp&&this.oApp._cast)return this.oApp._cast(this,a,c||[])},broadcast:function(a,c){this.oApp&&this.oApp.broadcast&&this.oApp.broadcast(this,mag,c||[])}};window.xe=a.extend(d,{getName:function(){return"Core"},createApp:function(g,c){var e=b();a.extend(e.prototype,d,c);e.prototype.getName=function(){return g};return e},createPlugin:function(g,d){var e=b();a.extend(e.prototype,c,d);e.prototype.getName=function(){return g};return e},getApps:function(){return a.makeArray(e)},
|
||||
getApp:function(a){a=(a||"").toLowerCase();return"undefined"!=typeof e[a]?e[a]:null},registerApp:function(c){var b=c.getName().toLowerCase();e.push(c);a.isArray(e[b])||(e[b]=[]);e[b].push(c);c.parent=this;a.isFunction(c.activate)&&c.activate()},unregisterApp:function(c){var b=c.getName().toLowerCase(),d=a.inArray(c,e);0<=d&&(e=e.splice(d,1));a.isArray(e[b])&&(d=a.inArray(c,e[b]),0<=d&&(e[b]=e[b].splice(d,1)));a.isFunction(c.deactivate)&&c.deactivate()},broadcast:function(a,c){this._broadcast(this,
|
||||
a,c)},_broadcast:function(a,c,b){for(var d=0;d<e.length;d++)e[d]._cast(a,c,b);this._cast(a,c,b)}});window.xe.lang={};a(function(){xe.broadcast("ONREADY")});a(window).load(function(){xe.broadcast("ONLOAD")})})(jQuery);jQuery&&jQuery.noConflict();
|
||||
(function(a){var b=navigator.userAgent.toLowerCase();a.os={Linux:/linux/.test(b),Unix:/x11/.test(b),Mac:/mac/.test(b),Windows:/win/.test(b)};a.os.name=a.os.Windows?"Windows":a.os.Linux?"Linux":a.os.Unix?"Unix":a.os.Mac?"Mac":"";window.XE={loaded_popup_menus:[],addedDocument:[],checkboxToggleAll:function(b){is_def(b)||(b="cart");var c={wrap:null,checked:"toggle",doClick:!1};switch(arguments.length){case 1:"string"==typeof arguments[0]?b=arguments[0]:(a.extend(c,arguments[0]||{}),b="cart");break;case 2:b=
|
||||
arguments[0],a.extend(c,arguments[1]||{})}!0==c.doClick&&(c.checked=null);"string"==typeof c.wrap&&(c.wrap="#"+c.wrap);var e=c.wrap?a(c.wrap).find("input[name="+b+"]:checkbox"):a("input[name="+b+"]:checkbox");"toggle"==c.checked?e.each(function(){a(this).attr("checked",a(this).attr("checked")?false:true)}):!0==c.doClick?e.click():e.attr("checked",c.checked)},displayPopupMenu:function(b,c,e){var c=e.menu_id,g=b.menus,b="";if(this.loaded_popup_menus[c])b=this.loaded_popup_menus[c];else{if(g){g=g.item;
|
||||
if("undefined"==typeof g.length||1>g.length)g=Array(g);if(g.length)for(var j=0;j<g.length;j++){var k=g[j].url,m=g[j].str,l=g[j].icon,h=g[j].target,r="",s="";l&&(r=" style=\"background-image:url('"+l+"')\" ");switch(h){case "popup":s=" onclick=\"popopen(this.href,'"+h+"'); return false;\"";break;case "javascript":s=' onclick="'+k+'; return false; "';k="#";break;default:s=' onclick="window.open(this.href); return false;"'}b+="<li "+r+'><a href="'+k+'"'+s+">"+m+"</a></li> "}}this.loaded_popup_menus[c]=
|
||||
if("undefined"==typeof g.length||1>g.length)g=Array(g);if(g.length)for(var i=0;i<g.length;i++){var j=g[i].url,k=g[i].str,l=g[i].icon,h=g[i].target,t="",n="";l&&(t=" style=\"background-image:url('"+l+"')\" ");switch(h){case "popup":n=" onclick=\"popopen(this.href,'"+h+"'); return false;\"";break;case "javascript":n=' onclick="'+j+'; return false; "';j="#";break;default:n=' onclick="window.open(this.href); return false;"'}b+="<li "+t+'><a href="'+j+'"'+n+">"+k+"</a></li> "}}this.loaded_popup_menus[c]=
|
||||
b}b&&(c=a("#popup_menu_area").html("<ul>"+b+"</ul>"),b=e.page_y,e=e.page_x,c.outerHeight()+b>a(window).height()+a(window).scrollTop()&&(b=a(window).height()-c.outerHeight()+a(window).scrollTop()),c.outerWidth()+e>a(window).width()+a(window).scrollLeft()&&(e=a(window).width()-c.outerWidth()+a(window).scrollLeft()),c.css({top:b,left:e}).show())}}})(jQuery);
|
||||
jQuery(function(a){a.browser.msie&&a("select").each(function(a,b){for(var g=!1,d=[],k=0;k<b.options.length;k++)b.options[k].disabled?(b.options[k].style.color="#CCCCCC",g=!0):d[a]=-1<d[a]?d[a]:k;if(g&&(b.oldonchange=b.onchange,b.onchange=function(){this.options[this.selectedIndex].disabled?this.selectedIndex=d[a]:this.oldonchange&&this.oldonchange()},0<=b.selectedIndex&&b.options[b.selectedIndex].disabled))b.onchange()});var b=a(".xe_content .fold_button");if(b.size()){var d=a("div.fold_container",
|
||||
b);a("button.more",b).click(function(){a(this).hide().next("button").show().parent().next(d).show()});a("button.less",b).click(function(){a(this).hide().prev("button").show().parent().next(d).hide()})}});String.prototype.getQuery=function(a){var b=this.indexOf("?");if(-1==b)return null;var d={};this.substr(b+1,this.length).replace(/([^=]+)=([^&]*)(&|$)/g,function(a,b,g){d[b]=g});a=d[a];"undefined"==typeof a&&(a="");return a};
|
||||
String.prototype.setQuery=function(a,b){var d=this.indexOf("?"),c=this.replace(/#$/,"");if(-1!=d){var e=c.substr(d+1,this.length),g={},j=[],c=this.substr(0,d);e.replace(/([^=]+)=([^&]*)(&|$)/g,function(a,b,c){g[b]=c});g[a]=b;jQuery.each(g,function(a,b){jQuery.trim(b)&&j.push(a+"="+decodeURI(b))});e=j.join("&");c+=e?"?"+e:""}else b.toString().trim()&&(c=c+"?"+a+"="+b);d=/https:\/\/([^:\/]+)(:\d+|)/i;if(e=d.exec(c))e="http://"+e[1],"undefined"!=typeof http_port&&80!=http_port&&(e+=":"+http_port),c=
|
||||
c.replace(d,e);d=!1;if("undefined"!=typeof enforce_ssl&&enforce_ssl)d=!0;else if("undefined"!=typeof ssl_actions&&"undefined"!=typeof ssl_actions.length&&c.getQuery("act")){e=c.getQuery("act");for(i=0;i<ssl_actions.length;i++)if(ssl_actions[i]==e){d=!0;break}}if(d&&(d=/http:\/\/([^:\/]+)(:\d+|)/i,e=d.exec(c)))e="https://"+e[1],"undefined"!=typeof https_port&&443!=https_port&&(e+=":"+https_port),c=c.replace(d,e);return encodeURI(c)};
|
||||
String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")};function xSleep(a){for(var a=a/1E3,b=new Date,d=new Date;d.getTime()-b.getTime()<a;)d=new Date}function isDef(){for(var a=0;a<arguments.length;++a)if("undefined"==typeof arguments[a])return!1;return!0}var winopen_list=[];
|
||||
jQuery(function(a){a.browser.msie&&a("select").each(function(a,b){for(var g=!1,d=[],j=0;j<b.options.length;j++)b.options[j].disabled?(b.options[j].style.color="#CCCCCC",g=!0):d[a]=-1<d[a]?d[a]:j;if(g&&(b.oldonchange=b.onchange,b.onchange=function(){this.options[this.selectedIndex].disabled?this.selectedIndex=d[a]:this.oldonchange&&this.oldonchange()},0<=b.selectedIndex&&b.options[b.selectedIndex].disabled))b.onchange()});var b=a(".xe_content .fold_button");if(b.size()){var d=a("div.fold_container",
|
||||
b);a("button.more",b).click(function(){a(this).hide().next("button").show().parent().next(d).show()});a("button.less",b).click(function(){a(this).hide().prev("button").show().parent().next(d).hide()})}});
|
||||
(function(){var a=Array.isArray||function(a){return"[object Array]"==Object.prototype.toString.call(a)};String.prototype.getQuery=function(a){var d=this.replace(/#.*$/,"")===window.location.href.replace(/#.*$/,"")?current_url:this,c=d.indexOf("?");if(-1==c)return null;var e={};d.substr(c+1,this.length).replace(/([^=]+)=([^&]*)(&|$)/g,function(a,b,c){e[b]=c});a=e[a];"undefined"==typeof a&&(a="");return a};String.prototype.setQuery=function(b,d){var c=this.replace(/#.*$/,"")===window.location.href.replace(/#.*$/,
|
||||
"")?current_url:this,e=c.indexOf("?"),g=c.replace(/#$/,""),i,j;"undefined"==typeof d&&(d="");if(-1!=e){var k=g.substr(e+1,c.length),l={},h=[],g=c.substr(0,e);k.replace(/([^=]+)=([^&]*)(&|$)/g,function(a,b,c){l[b]=c});l[b]=d;for(var t in l)l.hasOwnProperty(t)&&(j=(""+l[t]).trim())&&h.push(t+"="+decodeURI(j));k=h.join("&");g+=k?"?"+k:""}else(""+d).trim()&&(g=g+"?"+b+"="+d);e=/^https:\/\/([^:\/]+)(:\d+|)/i;e.test(g)&&(c="http://"+RegExp.$1,window.http_port&&80!=http_port&&(c+=":"+http_port),g=g.replace(e,
|
||||
c));c=!!window.enforce_ssl;if(!c&&a(window.ssl_actions)&&(i=g.getQuery("act"))){e=0;for(j=ssl_actions.length;e<j;e++)if(ssl_actions[e]===i){c=!0;break}}e=/http:\/\/([^:\/]+)(:\d+|)/i;c&&e.test(g)&&(c="https://"+RegExp.$1,window.https_port&&443!=https_port&&(c+=":"+https_port),g=g.replace(e,c));g=g.replace(/\/(index\.php)?\?/,"/index.php?");return encodeURI(g)};String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"")}})();
|
||||
function xSleep(a){for(var a=a/1E3,b=new Date,d=new Date;d.getTime()-b.getTime()<a;)d=new Date}function isDef(){for(var a=0;a<arguments.length;++a)if("undefined"==typeof arguments[a])return!1;return!0}var winopen_list=[];
|
||||
function winopen(a,b,d){"undefined"!=typeof xeVid&&-1<a.indexOf(request_uri)&&!a.getQuery("vid")&&(a=a.setQuery("vid",xeVid));try{"_blank"!=b&&winopen_list[b]&&(winopen_list[b].close(),winopen_list[b]=null)}catch(c){}"undefined"==typeof b&&(b="_blank");"undefined"==typeof d&&(d="");a=window.open(a,b,d);a.focus();"_blank"!=b&&(winopen_list[b]=a)}
|
||||
function popopen(a,b){"undefined"==typeof b&&(b="_blank");"undefined"!=typeof xeVid&&-1<a.indexOf(request_uri)&&!a.getQuery("vid")&&(a=a.setQuery("vid",xeVid));winopen(a,b,"width=650,height=500,scrollbars=yes,resizable=yes,toolbars=no")}function sendMailTo(a){location.href="mailto:"+a}function move_url(a,b){if(!a)return!1;"undefined"==typeof b&&(b="N");b="N"==b?!1:!0;/^\./.test(a)&&(a=request_uri+a);b?winopen(a):location.href=a;return!1}
|
||||
function displayMultimedia(a,b,d,c){(a=_displayMultimedia(a,b,d,c))&&document.writeln(a)}
|
||||
function _displayMultimedia(a,b,d,c){0==a.indexOf("files")&&(a=request_uri+a);var c=jQuery.extend({wmode:"transparent",allowScriptAccess:"sameDomain",quality:"high",flashvars:"",autostart:!1},c||{}),e=c.autostart&&"false"!=c.autostart?"true":"false";delete c.autostart;var g="";if(/\.(gif|jpg|jpeg|bmp|png)$/i.test(a))g='<img src="'+a+'" width="'+b+'" height="'+d+'" />';else if(/\.flv$/i.test(a)||/\.mov$/i.test(a)||/\.moov$/i.test(a)||/\.m4v$/i.test(a))g='<embed src="'+request_uri+'common/img/flvplayer.swf" allowfullscreen="true" autostart="'+
|
||||
e+'" width="'+b+'" height="'+d+'" flashvars="&file='+a+"&width="+b+"&height="+d+"&autostart="+e+'" wmode="'+c.wmode+'" />';else if(/\.swf/i.test(a)){var g='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+("undefined"!=typeof enforce_ssl&&enforce_ssl?"https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0":"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0")+'" width="'+b+'" height="'+d+'" flashvars="'+c.flashvars+
|
||||
'">',g=g+('<param name="movie" value="'+a+'" />'),j;for(j in c)"undefined"!=c[j]&&""!=c[j]&&(g+='<param name="'+j+'" value="'+c[j]+'" />');g+='<embed src="'+a+'" autostart="'+e+'" width="'+b+'" height="'+d+'" flashvars="'+c.flashvars+'" wmode="'+c.wmode+'"></embed></object>'}else{if(jQuery.browser.mozilla||jQuery.browser.opera)e=c.autostart&&"false"!=c.autostart?"1":"0";g='<embed src="'+a+'" autostart="'+e+'" width="'+b+'" height="'+d+'"';"transparent"==c.wmode&&(g+=' windowlessvideo="1"');g+="></embed>"}return g}
|
||||
'">',g=g+('<param name="movie" value="'+a+'" />'),i;for(i in c)"undefined"!=c[i]&&""!=c[i]&&(g+='<param name="'+i+'" value="'+c[i]+'" />');g+='<embed src="'+a+'" autostart="'+e+'" width="'+b+'" height="'+d+'" flashvars="'+c.flashvars+'" wmode="'+c.wmode+'"></embed></object>'}else{if(jQuery.browser.mozilla||jQuery.browser.opera)e=c.autostart&&"false"!=c.autostart?"1":"0";g='<embed src="'+a+'" autostart="'+e+'" width="'+b+'" height="'+d+'"';"transparent"==c.wmode&&(g+=' windowlessvideo="1"');g+="></embed>"}return g}
|
||||
function zbxe_folder_open(a){jQuery("#folder_open_"+a).hide();jQuery("#folder_close_"+a).show();jQuery("#folder_"+a).show()}function zbxe_folder_close(a){jQuery("#folder_open_"+a).show();jQuery("#folder_close_"+a).hide();jQuery("#folder_"+a).hide()}
|
||||
function setFixedPopupSize(){var a=jQuery,b=a(window),a=a("body>.popup"),d,c,e,g;g=a.css({overflow:"scroll"}).offset();d=a.width(10).height(1E4).get(0).scrollWidth+2*g.left;c=a.height(10).width(1E4).get(0).scrollHeight+2*g.top;600>d&&(d=600+2*g.left);e=b.width();b=b.height();d!=e&&window.resizeBy(d-e,0);c!=b&&window.resizeBy(0,c-b);a.width(d-2*g.left).css({overflow:"",height:""})}
|
||||
function doCallModuleAction(a,b,d){exec_xml(a,b,{target_srl:d,cur_mid:current_mid,mid:current_mid},completeCallModuleAction)}function completeCallModuleAction(a){"success"!=a.message&&alert(a.message);location.reload()}function completeMessage(a){alert(a.message);location.reload()}function doChangeLangType(a){"string"==typeof a?setLangType(a):setLangType(a.options[a.selectedIndex].value);location.href=location.href.setQuery("l","")}
|
||||
|
|
@ -36,8 +37,8 @@ function doDocumentSelect(a){opener&&opener.objForSavedDoc&&(opener.location.hre
|
|||
function callAddDocumentCart(a){1>addedDocument.length||a!=addedDocument.length||(a=[],a.srls=addedDocument.join(","),exec_xml("document","procDocumentAddCart",a,null),addedDocument=[])}
|
||||
function transRGB2Hex(a){if(!a)return a;if(-1<a.indexOf("#"))return a.replace(/^#/,"");if(0>a.toLowerCase().indexOf("rgb"))return a;a=a.replace(/^rgb\(/i,"").replace(/\)$/,"");value_list=a.split(",");for(var a="",b=0;b<value_list.length;b++){var d=parseInt(value_list[b],10).toString(16);1==d.length&&(d="0"+d);a+=d}return a}function toggleSecuritySignIn(){var a=location.href;location.href=/https:\/\//i.test(a)?a.replace(/^https/i,"http"):a.replace(/^http/i,"https")}
|
||||
function reloadDocument(){location.reload()}
|
||||
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a){for(var b="",d,c,e,g,j,k,m=0,a=Base64._utf8_encode(a);m<a.length;)d=a.charCodeAt(m++),c=a.charCodeAt(m++),e=a.charCodeAt(m++),g=d>>2,d=(d&3)<<4|c>>4,j=(c&15)<<2|e>>6,k=e&63,isNaN(c)?j=k=64:isNaN(e)&&(k=64),b=b+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(j)+this._keyStr.charAt(k);return b},decode:function(a){for(var b="",d,c,e,g,j,k=0,a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");k<
|
||||
a.length;)d=this._keyStr.indexOf(a.charAt(k++)),c=this._keyStr.indexOf(a.charAt(k++)),g=this._keyStr.indexOf(a.charAt(k++)),j=this._keyStr.indexOf(a.charAt(k++)),d=d<<2|c>>4,c=(c&15)<<4|g>>2,e=(g&3)<<6|j,b+=String.fromCharCode(d),64!=g&&(b+=String.fromCharCode(c)),64!=j&&(b+=String.fromCharCode(e));return b=Base64._utf8_decode(b)},_utf8_encode:function(a){for(var a=a.replace(/\r\n/g,"\n"),b="",d=0;d<a.length;d++){var c=a.charCodeAt(d);128>c?b+=String.fromCharCode(c):(127<c&&2048>c?b+=String.fromCharCode(c>>
|
||||
var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a){for(var b="",d,c,e,g,i,j,k=0,a=Base64._utf8_encode(a);k<a.length;)d=a.charCodeAt(k++),c=a.charCodeAt(k++),e=a.charCodeAt(k++),g=d>>2,d=(d&3)<<4|c>>4,i=(c&15)<<2|e>>6,j=e&63,isNaN(c)?i=j=64:isNaN(e)&&(j=64),b=b+this._keyStr.charAt(g)+this._keyStr.charAt(d)+this._keyStr.charAt(i)+this._keyStr.charAt(j);return b},decode:function(a){for(var b="",d,c,e,g,i,j=0,a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");j<
|
||||
a.length;)d=this._keyStr.indexOf(a.charAt(j++)),c=this._keyStr.indexOf(a.charAt(j++)),g=this._keyStr.indexOf(a.charAt(j++)),i=this._keyStr.indexOf(a.charAt(j++)),d=d<<2|c>>4,c=(c&15)<<4|g>>2,e=(g&3)<<6|i,b+=String.fromCharCode(d),64!=g&&(b+=String.fromCharCode(c)),64!=i&&(b+=String.fromCharCode(e));return b=Base64._utf8_decode(b)},_utf8_encode:function(a){for(var a=a.replace(/\r\n/g,"\n"),b="",d=0;d<a.length;d++){var c=a.charCodeAt(d);128>c?b+=String.fromCharCode(c):(127<c&&2048>c?b+=String.fromCharCode(c>>
|
||||
6|192):(b+=String.fromCharCode(c>>12|224),b+=String.fromCharCode(c>>6&63|128)),b+=String.fromCharCode(c&63|128))}return b},_utf8_decode:function(a){for(var b="",d=0,c=c1=c2=0;d<a.length;)c=a.charCodeAt(d),128>c?(b+=String.fromCharCode(c),d++):191<c&&224>c?(c2=a.charCodeAt(d+1),b+=String.fromCharCode((c&31)<<6|c2&63),d+=2):(c2=a.charCodeAt(d+1),c3=a.charCodeAt(d+2),b+=String.fromCharCode((c&15)<<12|(c2&63)<<6|c3&63),d+=3);return b}};
|
||||
if("undefined"==typeof resizeImageContents)var resizeImageContents=function(){};if("undefined"==typeof activateOptionDisabled)var activateOptionDisabled=function(){};objectExtend=jQuery.extend;function toggleDisplay(a){jQuery("#"+a).toggle()}function checkboxSelectAll(a,b,d){var c={};"undefined"!=typeof a&&(c.wrap=a);"undefined"!=typeof d&&(c.checked=d);XE.checkboxToggleAll(b,c)}function clickCheckBoxAll(a,b){var d={doClick:!0};"undefined"!=typeof a&&(d.wrap=a);XE.checkboxToggleAll(b,d)}
|
||||
function svc_folder_open(a){jQuery("#_folder_open_"+a).hide();jQuery("#_folder_close_"+a).show();jQuery("#_folder_"+a).show()}function svc_folder_close(a){jQuery("#_folder_open_"+a).show();jQuery("#_folder_close_"+a).hide();jQuery("#_folder_"+a).hide()}function open_calendar(a,b,d){"undefined"==typeof b&&(b="");var c="./common/tpl/calendar.php?";a&&(c+="fo_id="+a);b&&(c+="&day_str="+b);d&&(c+="&callback_func="+d);popopen(c,"Calendar")}var loaded_popup_menus=XE.loaded_popup_menus;
|
||||
|
|
@ -46,29 +47,29 @@ function getCookie(a){if(a=document.cookie.match(RegExp(a+"=(.*?)(?:;|$)")))retu
|
|||
jQuery(function(a){a(".lang_code").each(function(){var b=a(this),d=b.attr("id");"undefined"==typeof d&&(d=b.attr("name"));"undefined"!=typeof d&&b.after("<a href='"+request_uri.setQuery("module","module").setQuery("act","dispModuleAdminLangcode").setQuery("target",d)+"' class='buttonSet buttonSetting' onclick='popopen(this.href);return false;'><span>find_langcode</span></a>")});a(document).click(function(b){var d=a("#popup_menu_area");d.length||(d=a('<div id="popup_menu_area" style="display:none;z-index:9999" />').appendTo(document.body));
|
||||
d.hide();d=a(b.target).filter("a,div,span");d.length||(d=a(b.target).closest("a,div,span"));if(d.length){var d=d.attr("class"),c;d&&(c=d.match(/(?:^| )((document|comment|member)_([1-9]\d*))(?: |$)/));if(c){d="get"+ucfirst(c[2])+"Menu";c={mid:current_mid,cur_mid:current_mid,menu_id:c[1],target_srl:c[3],cur_act:current_url.getQuery("act"),page_x:b.pageX,page_y:b.pageY};var e=["error","message","menus"];b.preventDefault();b.stopPropagation();is_def(window.xeVid)&&(c.vid=xeVid);if(is_def(XE.loaded_popup_menus[c.menu_id]))return XE.displayPopupMenu(c,
|
||||
e,c);show_waiting_message=!1;exec_xml("member",d,c,XE.displayPopupMenu,e,c);show_waiting_message=!0}}});a("a._xe_popup").click(function(){var b=a(this),d=b.attr("name"),b=b.attr("href");d||(d="_xe_popup_"+Math.floor(1E3*Math.random()));(d=window.open(b,d,"left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no"))&&d.focus();return!1});a.datepicker&&a.datepicker.setDefaults({dateFormat:"yy-mm-dd"})});var show_waiting_message=!0;
|
||||
function xml2json(a,b,d){var c={toObj:function(a){var b={};if(1==a.nodeType){if(d&&a.attributes.length)for(var e=0;e<a.attributes.length;e++)b["@"+a.attributes[e].nodeName]=(a.attributes[e].nodeValue||"").toString();if(a.firstChild){for(var m=e=0,l=!1,h=a.firstChild;h;h=h.nextSibling)1==h.nodeType?l=!0:3==h.nodeType&&h.nodeValue.match(/[^ \f\n\r\t\v]/)?e++:4==h.nodeType&&m++;if(l)if(2>e&&2>m){c.removeWhite(a);for(h=a.firstChild;h;h=h.nextSibling)3==h.nodeType?b=c.escape(h.nodeValue):4==h.nodeType?
|
||||
b=c.escape(h.nodeValue):b[h.nodeName]?b[h.nodeName]instanceof Array?b[h.nodeName][b[h.nodeName].length]=c.toObj(h):b[h.nodeName]=[b[h.nodeName],c.toObj(h)]:b[h.nodeName]=c.toObj(h)}else a.attributes.length?b["#text"]=c.escape(c.innerXml(a)):b=c.escape(c.innerXml(a));else if(e)a.attributes.length?b["#text"]=c.escape(c.innerXml(a)):b=c.escape(c.innerXml(a));else if(m)if(1<m)b=c.escape(c.innerXml(a));else for(h=a.firstChild;h;h=h.nextSibling)b=c.escape(h.nodeValue)}!a.attributes.length&&!a.firstChild&&
|
||||
function xml2json(a,b,d){var c={toObj:function(a){var b={};if(1==a.nodeType){if(d&&a.attributes.length)for(var e=0;e<a.attributes.length;e++)b["@"+a.attributes[e].nodeName]=(a.attributes[e].nodeValue||"").toString();if(a.firstChild){for(var k=e=0,l=!1,h=a.firstChild;h;h=h.nextSibling)1==h.nodeType?l=!0:3==h.nodeType&&h.nodeValue.match(/[^ \f\n\r\t\v]/)?e++:4==h.nodeType&&k++;if(l)if(2>e&&2>k){c.removeWhite(a);for(h=a.firstChild;h;h=h.nextSibling)3==h.nodeType?b=c.escape(h.nodeValue):4==h.nodeType?
|
||||
b=c.escape(h.nodeValue):b[h.nodeName]?b[h.nodeName]instanceof Array?b[h.nodeName][b[h.nodeName].length]=c.toObj(h):b[h.nodeName]=[b[h.nodeName],c.toObj(h)]:b[h.nodeName]=c.toObj(h)}else a.attributes.length?b["#text"]=c.escape(c.innerXml(a)):b=c.escape(c.innerXml(a));else if(e)a.attributes.length?b["#text"]=c.escape(c.innerXml(a)):b=c.escape(c.innerXml(a));else if(k)if(1<k)b=c.escape(c.innerXml(a));else for(h=a.firstChild;h;h=h.nextSibling)b=c.escape(h.nodeValue)}!a.attributes.length&&!a.firstChild&&
|
||||
(b=null)}else 9==a.nodeType?b=c.toObj(a.documentElement):alert("unhandled node type: "+a.nodeType);return b},toJson:function(a,b,d){var e=b?'"'+b+'"':"";if(a instanceof Array){for(var l=0,h=a.length;l<h;l++)a[l]=c.toJson(a[l],"",d+"\t");e+=(b?":[":"[")+(1<a.length?"\n"+d+"\t"+a.join(",\n"+d+"\t")+"\n"+d:a.join(""))+"]"}else if(null==a)e+=(b&&":")+"null";else if("object"==typeof a){l=[];for(h in a)l[l.length]=c.toJson(a[h],h,d+"\t");e+=(b?":{":"{")+(1<l.length?"\n"+d+"\t"+l.join(",\n"+d+"\t")+"\n"+
|
||||
d:l.join(""))+"}"}else e="string"==typeof a?e+((b&&":")+'"'+a.toString()+'"'):e+((b&&":")+a.toString());return e},innerXml:function(a){var b="";if("innerHTML"in a)b=a.innerHTML;else for(var c=function(a){var b="";if(1==a.nodeType){for(var b=b+("<"+a.nodeName),d=0;d<a.attributes.length;d++)b+=" "+a.attributes[d].nodeName+'="'+(a.attributes[d].nodeValue||"").toString()+'"';if(a.firstChild){b+=">";for(d=a.firstChild;d;d=d.nextSibling)b+=c(d);b+="</"+a.nodeName+">"}else b+="/>"}else 3==a.nodeType?b+=
|
||||
a.nodeValue:4==a.nodeType&&(b+="<![CDATA["+a.nodeValue+"]]\>");return b},a=a.firstChild;a;a=a.nextSibling)b+=c(a);return b},escape:function(a){return a.replace(/[\\]/g,"\\\\").replace(/[\"]/g,'\\"').replace(/[\n]/g,"\\n").replace(/[\r]/g,"\\r")},removeWhite:function(a){a.normalize();for(var b=a.firstChild;b;)if(3==b.nodeType)if(b.nodeValue.match(/[^ \f\n\r\t\v]/))b=b.nextSibling;else{var d=b.nextSibling;a.removeChild(b);b=d}else 1==b.nodeType&&c.removeWhite(b),b=b.nextSibling;return a}};9==a.nodeType&&
|
||||
(a=a.documentElement);var e=c.toObj(c.removeWhite(a));"object"==typeof JSON&&jQuery.isFunction(JSON.stringify);a=c.toJson(e,a.nodeName,"");return"{"+(b?a.replace(/\t/g,b):a.replace(/\t|\n/g,""))+"}"}
|
||||
(function(a){function b(b,c){a("#xeTmpIframe").length||a('<iframe name="%id%" id="%id%" style="position:absolute;left:-1px;top:1px;width:1px;height:1px"></iframe>'.replace(/%id%/g,"xeTmpIframe")).appendTo(document.body);a("#xeVirtualForm").remove();var d=a('<form id="%id%"></form>'.replace(/%id%/g,"xeVirtualForm")).attr({id:"xeVirtualForm",method:"post",action:b,target:"xeTmpIframe"});c.xeVirtualRequestMethod="xml";c.xeRequestURI=location.href.replace(/#(.*)$/i,"");c.xeVirtualRequestUrl=request_uri;
|
||||
a.each(c,function(b,c){a('<input type="hidden">').attr("name",b).attr("value",c).appendTo(d)});d.appendTo(document.body).submit()}function d(a){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}function c(){return""}a.exec_xml=window.exec_xml=function(c,g,j,k,m,l,h){function r(b){var b=a(b).find("response")[0],d,s="",r=[],j={};d="";t.css("display","none").trigger("cancel_confirm");if(!b)return alert(v.responseText),null;d=xml2json(b,!1,!1);d="object"==typeof JSON&&a.isFunction(JSON.parse)?
|
||||
JSON.parse(d):eval("("+d+")");d=d.response;if("undefined"==typeof d){r.error=-1;r.message="Unexpected error occured.";try{if("undefined"!=typeof(s=b.childNodes[0].firstChild.data))r.message+="\r\n"+s}catch(n){}return r}a.each(m,function(a,b){j[b]=!0});j.redirect_url=!0;j.act=!0;a.each(d,function(a,b){j[a]&&(r[a]=b)});if(0!=r.error){if(a.isFunction(a.exec_xml.onerror))return a.exec_xml.onerror(c,g,r,k,m,l,h);alert((r.message||"An unknown error occured while loading ["+c+"."+g+"]").replace(/\\n/g,"\n"));
|
||||
return null}if(r.redirect_url)return location.href=r.redirect_url.replace(/&/g,"&"),null;a.isFunction(k)&&k(r,m,l,h)}var s=request_uri+"index.php";j||(j={});a.isArray(j)&&(j=d(j));j.module=c;j.act=g;"undefined"!=typeof xeVid&&(j.vid=xeVid);"undefined"==typeof m||1>m.length?m=["error","message"]:m.push("error","message");if(a.isArray(ssl_actions)&&j.act&&0<=a.inArray(j.act,ssl_actions)){var s=window.https_port||443,n=a("<a>").attr("href",default_url||request_uri)[0],w="https://"+n.hostname.replace(/:\d+$/,
|
||||
"");443!=s&&(w+=":"+s);"/"!=n.pathname[0]&&(w+="/");w+=n.pathname;s=w.replace(/\/$/,"")+"/index.php"}n=a("<a>").attr("href",location.href)[0];w=a("<a>").attr("href",s)[0];if(n.protocol!=w.protocol||n.port!=w.port)return b(s,j);var x=[],o=0;x[o++]='<?xml version="1.0" encoding="utf-8" ?>';x[o++]="<methodCall>";x[o++]="<params>";a.each(j,function(a,b){x[o++]="<"+a+"><![CDATA["+b+"]]\></"+a+">"});x[o++]="</params>";x[o++]="</methodCall>";var v=null;v&&0!=v.readyState&&v.abort();try{a.ajax({url:s,type:"POST",
|
||||
dataType:"xml",data:x.join("\n"),contentType:"text/plain",beforeSend:function(a){v=a},success:r,error:function(a,b){t.css("display","none");var c="";if("parsererror"==b){if(""==a.responseText)return;c="The result is not valid XML :\n-------------------------------------\n"+a.responseText.replace(/<[^>]+>/g,"")}else c=b;try{console.log(c)}catch(d){}}})}catch(A){alert(A);return}var t=a(".wfsr");show_waiting_message&&t.length&&t.html(waiting_message).show()};a.exec_json=function(b,c,d){"undefined"==
|
||||
typeof c&&(c={});b=b.split(".");2==b.length&&(show_waiting_message&&a(".wfsr").html(waiting_message).show(),a.extend(c,{module:b[0],act:b[1]}),"undefined"!=typeof xeVid&&a.extend(c,{vid:xeVid}),a.ajax({type:"POST",dataType:"json",url:request_uri,contentType:"application/json",data:a.param(c),success:function(b){a(".wfsr").hide().trigger("cancel_confirm");0<b.error&&alert(b.message);a.isFunction(d)&&d(b)}}))};a.fn.exec_html=function(b,c,d,k,m){"undefined"==typeof c&&(c={});a.inArray(d,["html","append",
|
||||
"prepend"])||(d="html");var l=a(this),b=b.split(".");2==b.length&&(show_waiting_message&&a(".wfsr").html(waiting_message).show(),a.extend(c,{module:b[0],act:b[1]}),a.ajax({type:"POST",dataType:"html",url:request_uri,data:a.param(c),success:function(b){a(".wfsr").hide().trigger("cancel_confirm");l[d](b);a.isFunction(k)&&k(m)}}))};a(function(a){a(".wfsr").ajaxStart(function(){a(window).bind("beforeunload",c)}).bind("ajaxStop cancel_confirm",function(){a(window).unbind("beforeunload",c)})})})(jQuery);
|
||||
(function(a){function b(a){var b=[];return a.is(":radio")?a.filter(":checked").val():a.is(":checkbox")?(a.filter(":checked").each(function(){b.push(this.value)}),b.join("|@|")):a.val()}function d(a){a+="";if(!a.length)return 0;var a=encodeURI(a),b=a.split("%").length-1;return a.length-2*b}var c=[],e=[],g={},j=[],k={},m=new (xe.createApp("Validator",{init:function(){var a=/^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/;this.cast("ADD_RULE",["email",a]);this.cast("ADD_RULE",["email_address",a]);a=/^[a-z]+[\w-]*[a-z0-9_]+$/i;
|
||||
a.each(c,function(b,c){a('<input type="hidden">').attr("name",b).attr("value",c).appendTo(d)});d.appendTo(document.body).submit()}function d(a){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b}function c(){return""}a.exec_xml=window.exec_xml=function(c,g,i,j,k,l,h){function t(b){var b=a(b).find("response")[0],d,t="",n=[],i={};d="";r.css("display","none").trigger("cancel_confirm");if(!b)return alert(u.responseText),null;d=xml2json(b,!1,!1);d="object"==typeof JSON&&a.isFunction(JSON.parse)?
|
||||
JSON.parse(d):eval("("+d+")");d=d.response;if("undefined"==typeof d){n.error=-1;n.message="Unexpected error occured.";try{if("undefined"!=typeof(t=b.childNodes[0].firstChild.data))n.message+="\r\n"+t}catch(m){}return n}a.each(k,function(a,b){i[b]=!0});i.redirect_url=!0;i.act=!0;a.each(d,function(a,b){i[a]&&(n[a]=b)});if(0!=n.error){if(a.isFunction(a.exec_xml.onerror))return a.exec_xml.onerror(c,g,n,j,k,l,h);alert((n.message||"An unknown error occured while loading ["+c+"."+g+"]").replace(/\\n/g,"\n"));
|
||||
return null}if(n.redirect_url)return location.href=n.redirect_url.replace(/&/g,"&"),null;a.isFunction(j)&&j(n,k,l,h)}var n=request_uri+"index.php";i||(i={});a.isArray(i)&&(i=d(i));i.module=c;i.act=g;"undefined"!=typeof xeVid&&(i.vid=xeVid);"undefined"==typeof k||1>k.length?k=["error","message"]:k.push("error","message");if(a.isArray(ssl_actions)&&i.act&&0<=a.inArray(i.act,ssl_actions)){var n=window.https_port||443,m=a("<a>").attr("href",default_url||request_uri)[0],v="https://"+m.hostname.replace(/:\d+$/,
|
||||
"");443!=n&&(v+=":"+n);"/"!=m.pathname[0]&&(v+="/");v+=m.pathname;n=v.replace(/\/$/,"")+"/index.php"}m=a("<a>").attr("href",location.href)[0];v=a("<a>").attr("href",n)[0];if(m.protocol!=v.protocol||m.port!=v.port)return b(n,i);var w=[],o=0;w[o++]='<?xml version="1.0" encoding="utf-8" ?>';w[o++]="<methodCall>";w[o++]="<params>";a.each(i,function(a,b){w[o++]="<"+a+"><![CDATA["+b+"]]\></"+a+">"});w[o++]="</params>";w[o++]="</methodCall>";var u=null;u&&0!=u.readyState&&u.abort();try{a.ajax({url:n,type:"POST",
|
||||
dataType:"xml",data:w.join("\n"),contentType:"text/plain",beforeSend:function(a){u=a},success:t,error:function(a,b){r.css("display","none");var c="";if("parsererror"==b){if(""==a.responseText)return;c="The result is not valid XML :\n-------------------------------------\n"+a.responseText.replace(/<[^>]+>/g,"")}else c=b;try{console.log(c)}catch(d){}}})}catch(z){alert(z);return}var r=a(".wfsr");show_waiting_message&&r.length&&r.html(waiting_message).show()};a.exec_json=function(b,c,d){"undefined"==
|
||||
typeof c&&(c={});b=b.split(".");2==b.length&&(show_waiting_message&&a(".wfsr").html(waiting_message).show(),a.extend(c,{module:b[0],act:b[1]}),"undefined"!=typeof xeVid&&a.extend(c,{vid:xeVid}),a.ajax({type:"POST",dataType:"json",url:request_uri,contentType:"application/json",data:a.param(c),success:function(b){a(".wfsr").hide().trigger("cancel_confirm");0<b.error&&alert(b.message);a.isFunction(d)&&d(b)}}))};a.fn.exec_html=function(b,c,d,j,k){"undefined"==typeof c&&(c={});a.inArray(d,["html","append",
|
||||
"prepend"])||(d="html");var l=a(this),b=b.split(".");2==b.length&&(show_waiting_message&&a(".wfsr").html(waiting_message).show(),a.extend(c,{module:b[0],act:b[1]}),a.ajax({type:"POST",dataType:"html",url:request_uri,data:a.param(c),success:function(b){a(".wfsr").hide().trigger("cancel_confirm");l[d](b);a.isFunction(j)&&j(k)}}))};a(function(a){a(".wfsr").ajaxStart(function(){a(window).bind("beforeunload",c)}).bind("ajaxStop cancel_confirm",function(){a(window).unbind("beforeunload",c)})})})(jQuery);
|
||||
(function(a){function b(a){var b=[];return a.is(":radio")?a.filter(":checked").val():a.is(":checkbox")?(a.filter(":checked").each(function(){b.push(this.value)}),b.join("|@|")):a.val()}function d(a){a+="";if(!a.length)return 0;var a=encodeURI(a),b=a.split("%").length-1;return a.length-2*b}var c=[],e=[],g={},i=[],j={},k=new (xe.createApp("Validator",{init:function(){var a=/^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/;this.cast("ADD_RULE",["email",a]);this.cast("ADD_RULE",["email_address",a]);a=/^[a-z]+[\w-]*[a-z0-9_]+$/i;
|
||||
this.cast("ADD_RULE",["userid",a]);this.cast("ADD_RULE",["user_id",a]);a=/^(https?|ftp|mms):\/\/[0-9a-z-]+(\.[_0-9a-z-]+)+(:\d+)?/;this.cast("ADD_RULE",["url",a]);this.cast("ADD_RULE",["homepage",a]);this.cast("ADD_RULE",["korean",RegExp("^[\uac00-\ud7a3]*$")]);this.cast("ADD_RULE",["korean_number",RegExp("^[\uac00-\ud7a30-9]*$")]);this.cast("ADD_RULE",["alpha",/^[a-z]*$/i]);this.cast("ADD_RULE",["alpha_number",/^[a-z][a-z0-9_]*$/i]);this.cast("ADD_RULE",["number",/^[0-9]*$/])},run:function(a){var b=
|
||||
"";a._filter&&(b=a._filter.value);a=this.cast("VALIDATE",[a,b]);"undefined"==typeof a&&(a=!1);return a},API_ONREADY:function(){var b=this;a("form").each(function(){this.onsubmit&&(this["xe:onsubmit"]=this.onsubmit,this.onsubmit=null)}).submit(function(c){var d=this["xe:onsubmit"];(d=a.isFunction(d)?d.apply(this):b.run(this))||c.stopImmediatePropagation();return d})},API_VALIDATE:function(c,e){function s(a){return a.replace(/([\.\+\-\[\]\{\}\(\)\\])/g,"\\$1")}var n=!0,m=e[0],l=m.elements,o,v,A,t,q,
|
||||
p,B,u,y,z;l.ruleset?o=m.elements.ruleset.value:l._filter&&(o=m.elements._filter.value);if(!o)return!0;a.isFunction(j[o])&&(A=j[o]);o=a.extend({},g[o.toLowerCase()]||{},k);t=[];p=0;for(u=m.elements.length;p<u;p++)n=l[p],(q=n.name)&&l[q]&&(!l[q].length||l[q][0]===n)&&t.push(q);t=t.join("\n");v={};for(q in o)if(o.hasOwnProperty(q)&&(n=[],"^"==q.substr(0,1))){(n=t.match(RegExp("^"+s(q.substr(1))+".*$","gm")))||(n=[]);p=0;for(u=n.length;p<u;p++)v[n[p]]=o[q];o[q]=null;delete o[q]}o=a.extend(o,v);for(q in o)if(o.hasOwnProperty(q)&&
|
||||
(f=o[q],(n=l[q])||(n=l[q+"[]"]),t=n?a.trim(b(a(n))):"",v=(f.modifier||"")+",",n&&!n.disabled)){if(f["if"]){a.isArray(f["if"])||(f["if"]=[f["if"]]);for(p=0;p<f["if"].length;p++)u=f["if"][p],n=new Function("el","return !!("+u.test.replace(/\$(\w+)/g,'el["$1"].value')+")"),n(l)&&(f[u.attr]=u.value)}if(t){n=parseInt(f.minlength)||0;u=parseInt(f.maxlength)||0;z=/b$/.test(f.minlength||"");y=/b$/.test(f.maxlength||"");p=t.length;if(z||y)B=d(t);if(n&&n>(z?B:p)||u&&u<(y?B:p))return this.cast("ALERT",[m,q,
|
||||
"outofrange",n,u])&&!1;if(f.equalto&&(u=(p=l[f.equalto])?a.trim(b(a(p))):"",p&&u!==t))return this.cast("ALERT",[m,q,"equalto"])&&!1;y=(f.rule||"").split(",");p=0;for(u=y.length;p<u;p++)if(z=y[p])if(n=this.cast("APPLY_RULE",[z,t]),-1<v.indexOf("not,")&&(n=!n),!n)return this.cast("ALERT",[m,q,"invalid_"+z])&&!1}else if(f["default"]&&(t=f["default"]),f.required)return this.cast("ALERT",[m,q,"isnull"])&&!1}return a.isFunction(A)?A(m):!0},API_ADD_RULE:function(a,b){var c=b[0].toLowerCase();e[c]=b[1]},
|
||||
API_DEL_RULE:function(a,b){var c=b[0].toLowerCase();delete e[c]},API_GET_RULE:function(a,b){var c=b[0].toLowerCase();return e[c]?e[c]:null},API_ADD_FILTER:function(a,b){var c=b[0].toLowerCase();g[c]=b[1]},API_DEL_FILTER:function(a,b){var c=b[0].toLowerCase();delete g[c]},API_GET_FILTER:function(a,b){var c=b[0].toLowerCase();return g[c]?g[c]:null},API_ADD_EXTRA_FIELD:function(a,b){var c=b[0].toLowerCase();k[c]=b[1]},API_GET_EXTRA_FIELD:function(a,b){var c=b[0].toLowerCase();return k[c]},API_DEL_EXTRA_FIELD:function(a,
|
||||
b){var c=b[0].toLowerCase();delete k[c]},API_APPLY_RULE:function(b,c){var d=c[0],g=c[1];return"undefined"==typeof e[d]?!0:a.isFunction(e[d])?e[d](g):e[d]instanceof RegExp?e[d].test(g):a.isArray(e[d])?-1<a.inArray(g,e[d]):!0},API_ALERT:function(b,c){var d=c[0],e=c[1],g=c[2],j=c[3],l=c[4],m=this.cast("GET_MESSAGE",[e]),k=this.cast("GET_MESSAGE",[g]);k!=g&&(k=0>k.indexOf("%s")?m+k:k.replace("%s",m));if(j||l)k+="("+(j||"")+"~"+(l||"")+")";this.cast("SHOW_ALERT",[k]);a(d.elements[e]).focus()},API_SHOW_ALERT:function(a,
|
||||
b){alert(b[0])},API_ADD_MESSAGE:function(a,b){c[b[0]]=b[1]},API_GET_MESSAGE:function(a,b){var d=b[0];return c[d]||d},API_ADD_CALLBACK:function(a,b){j[b[0]]=b[1]},API_REMOVE_CALLBACK:function(a,b){delete j[b[0]]}}));xe.registerApp(m);var l=xe.createPlugin("editor_stub",{API_BEFORE_VALIDATE:function(a,b){var c=b[0].getAttribute("editor_sequence");c&&"object"==typeof c&&(c=c.value);if(c)try{editorRelKeys[c].content.value=editorRelKeys[c].func(c)||""}catch(d){}}});m.registerPlugin(new l)})(jQuery);
|
||||
"";a._filter&&(b=a._filter.value);a=this.cast("VALIDATE",[a,b]);"undefined"==typeof a&&(a=!1);return a},API_ONREADY:function(){var b=this;a("form").each(function(){this.onsubmit&&(this["xe:onsubmit"]=this.onsubmit,this.onsubmit=null)}).submit(function(c){var d=this["xe:onsubmit"];(d=a.isFunction(d)?d.apply(this):b.run(this))||c.stopImmediatePropagation();return d})},API_VALIDATE:function(c,e){function n(a){return a.replace(/([\.\+\-\[\]\{\}\(\)\\])/g,"\\$1")}var m=!0,l=e[0],k=l.elements,o,u,z,r,q,
|
||||
p,A,s,x,y;k.ruleset?o=l.elements.ruleset.value:k._filter&&(o=l.elements._filter.value);if(!o)return!0;a.isFunction(i[o])&&(z=i[o]);o=a.extend({},g[o.toLowerCase()]||{},j);r=[];p=0;for(s=l.elements.length;p<s;p++)m=k[p],(q=m.name)&&k[q]&&(!k[q].length||k[q][0]===m)&&r.push(q);r=r.join("\n");u={};for(q in o)if(o.hasOwnProperty(q)&&(m=[],"^"==q.substr(0,1))){(m=r.match(RegExp("^"+n(q.substr(1))+".*$","gm")))||(m=[]);p=0;for(s=m.length;p<s;p++)u[m[p]]=o[q];o[q]=null;delete o[q]}o=a.extend(o,u);for(q in o)if(o.hasOwnProperty(q)&&
|
||||
(f=o[q],(m=k[q])||(m=k[q+"[]"]),r=m?a.trim(b(a(m))):"",u=(f.modifier||"")+",",m&&!m.disabled)){if(f["if"]){a.isArray(f["if"])||(f["if"]=[f["if"]]);for(p=0;p<f["if"].length;p++)s=f["if"][p],m=new Function("el","return !!("+s.test.replace(/\$(\w+)/g,'el["$1"].value')+")"),m(k)&&(f[s.attr]=s.value)}if(r){m=parseInt(f.minlength)||0;s=parseInt(f.maxlength)||0;y=/b$/.test(f.minlength||"");x=/b$/.test(f.maxlength||"");p=r.length;if(y||x)A=d(r);if(m&&m>(y?A:p)||s&&s<(x?A:p))return this.cast("ALERT",[l,q,
|
||||
"outofrange",m,s])&&!1;if(f.equalto&&(s=(p=k[f.equalto])?a.trim(b(a(p))):"",p&&s!==r))return this.cast("ALERT",[l,q,"equalto"])&&!1;x=(f.rule||"").split(",");p=0;for(s=x.length;p<s;p++)if(y=x[p])if(m=this.cast("APPLY_RULE",[y,r]),-1<u.indexOf("not,")&&(m=!m),!m)return this.cast("ALERT",[l,q,"invalid_"+y])&&!1}else if(f["default"]&&(r=f["default"]),f.required)return this.cast("ALERT",[l,q,"isnull"])&&!1}return a.isFunction(z)?z(l):!0},API_ADD_RULE:function(a,b){var c=b[0].toLowerCase();e[c]=b[1]},
|
||||
API_DEL_RULE:function(a,b){var c=b[0].toLowerCase();delete e[c]},API_GET_RULE:function(a,b){var c=b[0].toLowerCase();return e[c]?e[c]:null},API_ADD_FILTER:function(a,b){var c=b[0].toLowerCase();g[c]=b[1]},API_DEL_FILTER:function(a,b){var c=b[0].toLowerCase();delete g[c]},API_GET_FILTER:function(a,b){var c=b[0].toLowerCase();return g[c]?g[c]:null},API_ADD_EXTRA_FIELD:function(a,b){var c=b[0].toLowerCase();j[c]=b[1]},API_GET_EXTRA_FIELD:function(a,b){var c=b[0].toLowerCase();return j[c]},API_DEL_EXTRA_FIELD:function(a,
|
||||
b){var c=b[0].toLowerCase();delete j[c]},API_APPLY_RULE:function(b,c){var d=c[0],g=c[1];return"undefined"==typeof e[d]?!0:a.isFunction(e[d])?e[d](g):e[d]instanceof RegExp?e[d].test(g):a.isArray(e[d])?-1<a.inArray(g,e[d]):!0},API_ALERT:function(b,c){var d=c[0],e=c[1],g=c[2],i=c[3],k=c[4],l=this.cast("GET_MESSAGE",[e]),j=this.cast("GET_MESSAGE",[g]);j!=g&&(j=0>j.indexOf("%s")?l+j:j.replace("%s",l));if(i||k)j+="("+(i||"")+"~"+(k||"")+")";this.cast("SHOW_ALERT",[j]);a(d.elements[e]).focus()},API_SHOW_ALERT:function(a,
|
||||
b){alert(b[0])},API_ADD_MESSAGE:function(a,b){c[b[0]]=b[1]},API_GET_MESSAGE:function(a,b){var d=b[0];return c[d]||d},API_ADD_CALLBACK:function(a,b){i[b[0]]=b[1]},API_REMOVE_CALLBACK:function(a,b){delete i[b[0]]}}));xe.registerApp(k);var l=xe.createPlugin("editor_stub",{API_BEFORE_VALIDATE:function(a,b){var c=b[0].getAttribute("editor_sequence");c&&"object"==typeof c&&(c=c.value);if(c)try{editorRelKeys[c].content.value=editorRelKeys[c].func(c)||""}catch(d){}}});k.registerPlugin(new l)})(jQuery);
|
||||
function filterAlertMessage(a){var b=a.message,d=a.act,a=a.redirect_url,c=location.href;"undefined"!=typeof b&&b&&"success"!=b&&alert(b);"undefined"!=typeof d&&d?c=current_url.setQuery("act",d):"undefined"!=typeof a&&a&&(c=a);c==location.href&&(c=c.replace(/#(.*)$/,""));location.href=c}function procFilter(a,b){b(a);return!1}
|
||||
function legacy_filter(a,b,d,c,e,g,j,k){var m=xe.getApp("Validator")[0],l=jQuery,h=[];if(!m)return!1;b.elements._filter||l(b).prepend('<input type="hidden" name="_filter" />');b.elements._filter.value=a;h[0]=a;h[1]=function(a){var h={},a=l(a).serializeArray();l.each(a,function(a,b){var c=l.trim(b.value),d=b.name;if(!c||!d)return!0;k[d]&&(d=k[d]);/\[\]$/.test(d)&&(d=d.replace(/\[\]$/,""));h[d]=h[d]?h[d]+("|@|"+c):b.value});if(j&&!confirm(j))return!1;exec_xml(d,c,h,e,g,h,b)};m.cast("ADD_CALLBACK",h);
|
||||
m.cast("VALIDATE",[b,a]);return!1};
|
||||
function legacy_filter(a,b,d,c,e,g,i,j){var k=xe.getApp("Validator")[0],l=jQuery,h=[];if(!k)return!1;b.elements._filter||l(b).prepend('<input type="hidden" name="_filter" />');b.elements._filter.value=a;h[0]=a;h[1]=function(a){var h={},a=l(a).serializeArray();l.each(a,function(a,b){var c=l.trim(b.value),d=b.name;if(!c||!d)return!0;j[d]&&(d=j[d]);/\[\]$/.test(d)&&(d=d.replace(/\[\]$/,""));h[d]=h[d]?h[d]+("|@|"+c):b.value});if(i&&!confirm(i))return!1;exec_xml(d,c,h,e,g,h,b)};k.cast("ADD_CALLBACK",h);
|
||||
k.cast("VALIDATE",[b,a]);return!1};
|
||||
|
|
|
|||
|
|
@ -462,7 +462,7 @@
|
|||
<value xml:lang="mn"><![CDATA[Доош]]></value>
|
||||
</item>
|
||||
<item name="cmd_add_indent">
|
||||
<value xml:lang="ko"><![CDATA[들이기]]></value>
|
||||
<value xml:lang="ko"><![CDATA[들여쓰기]]></value>
|
||||
<value xml:lang="en"><![CDATA[Indent]]></value>
|
||||
<value xml:lang="jp"><![CDATA[インデント]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[拉长]]></value>
|
||||
|
|
@ -476,7 +476,7 @@
|
|||
<value xml:lang="mn"><![CDATA[Нэмж оруулах]]></value>
|
||||
</item>
|
||||
<item name="cmd_remove_indent">
|
||||
<value xml:lang="ko"><![CDATA[빼내기]]></value>
|
||||
<value xml:lang="ko"><![CDATA[내어쓰기]]></value>
|
||||
<value xml:lang="en"><![CDATA[Outdent]]></value>
|
||||
<value xml:lang="jp"><![CDATA[逆インデント]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[缩短]]></value>
|
||||
|
|
@ -1679,7 +1679,7 @@
|
|||
<value xml:lang="tr"><![CDATA[Hareketli Yerleşim düzeni]]></value>
|
||||
</item>
|
||||
<item name="widget">
|
||||
<value xml:lang="ko"><![CDATA[위젯 ]]></value>
|
||||
<value xml:lang="ko"><![CDATA[위젯]]></value>
|
||||
<value xml:lang="en"><![CDATA[Widget]]></value>
|
||||
<value xml:lang="jp"><![CDATA[ウィジェット]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[控件 ]]></value>
|
||||
|
|
@ -2769,7 +2769,7 @@ Xin vui lòng kiểm tra lại thông tin Database.]]></value>
|
|||
<value xml:lang="mn"><![CDATA[Хүсэлт гаргасан үйлдлийг хэрэгжүүлэх эрх байхгүй.]]></value>
|
||||
</item>
|
||||
<item name="msg_module_is_not_exists">
|
||||
<value xml:lang="ko"><![CDATA[요청하신 모듈을 찾을 수 없습니다. 사이트 관리자에게 모듈 점검 요청 바랍니다]]></value>
|
||||
<value xml:lang="ko"><![CDATA[요청하신 모듈을 찾을 수 없습니다. 사이트 관리자에게 모듈 점검 요청 바랍니다]]></value>
|
||||
<value xml:lang="en"><![CDATA[Cannot find the module you requested. Ask your Site Admin to check the module.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[モジュールが見つかりません。 サイトマネージャへモジュールの点検をお問い合わせください。]]></value>
|
||||
<value xml:lang="zh-TW"><![CDATA[找不到所登錄的模組。 請詢問網站管理員檢查模組。]]></value>
|
||||
|
|
@ -2811,6 +2811,7 @@ Xin vui lòng kiểm tra lại thông tin Database.]]></value>
|
|||
<value xml:lang="en"><![CDATA[搜尋不到關鍵字]]></value>
|
||||
</item>
|
||||
<item name="comment_to_be_approved">
|
||||
<value xml:lang="ko"><![CDATA[관리자의 확인이 필요한 댓글입니다.]]></value>
|
||||
<value xml:lang="en"><![CDATA[Your comment must be approved by admin before being published.]]></value>
|
||||
</item>
|
||||
<item name="success_registed">
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
* @brief display XE's full version
|
||||
* Even The file should be revised when releasing altough no change is made
|
||||
**/
|
||||
define('__XE_VERSION__', '1.5.2.1');
|
||||
define('__XE_VERSION__', '1.5.2.2');
|
||||
define('__ZBXE_VERSION__', __XE_VERSION__); // deprecated : __ZBXE_VERSION__ will be removed. Use __XE_VERSION__ instead.
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -692,7 +692,7 @@
|
|||
* Remove codes to abuse the admin session in src by tags of imaages and video postings
|
||||
* - Issue reported by Sangwon Kim
|
||||
**/
|
||||
$content = preg_replace_callback('@<(/?)([a-z]+[0-9]?)((?>"[^"]*"|\'[^\']*\'|[^>])*?\b(?:on[a-z]+|data|style|background|href|(?:dyn|low)?src)\s*=[\s\S]*?)(/?)>@i', 'removeSrcHack', $content);
|
||||
$content = preg_replace_callback('@<(/?)([a-z]+[0-9]?)((?>"[^"]*"|\'[^\']*\'|[^>])*?\b(?:on[a-z]+|data|style|background|href|(?:dyn|low)?src)\s*=[\s\S]*?)(/?)($|>|<)@i', 'removeSrcHack', $content);
|
||||
|
||||
// xmp tag 확인 및 추가
|
||||
$content = checkXmpTag($content);
|
||||
|
|
|
|||
143
m.layouts/colorCode/conf/info.xml
Normal file
|
|
@ -0,0 +1,143 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<layout version="0.2">
|
||||
<title xml:lang="ko">XE Color Code 모바일 레이아웃</title>
|
||||
<title xml:lang="en">XE Color Code Mobile layout</title>
|
||||
<title xml:lang="jp">XE Color Code レイアウト</title>
|
||||
<title xml:lang="zh-CN">XE Color Code 移动布局</title>
|
||||
<title xml:lang="zh-TW">XE Color Code 移动布局</title>
|
||||
<description xml:lang="ko">
|
||||
XE Color Code 모바일 레이아웃입니다.
|
||||
NHN (developers@xpressengine.com)
|
||||
</description>
|
||||
<description xml:lang="jp">
|
||||
XEの Color Code レイアウトです。
|
||||
제작 : NHN
|
||||
</description>
|
||||
<description xml:lang="en">
|
||||
This layout is the XE Color Code Mobile layout for XE.
|
||||
NHN (developers@xpressengine.com)
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
XE Color Code 移动布局
|
||||
NHN (developers@xpressengine.com)
|
||||
</description>
|
||||
<description xml:lang="zh-TW">
|
||||
XE Color Code 官方網站版面。
|
||||
NHN (developers@xpressengine.com)
|
||||
</description>
|
||||
<version>0.1</version>
|
||||
<date>2012-03-14</date>
|
||||
<link>http://xpressengine.com/</link>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
</author>
|
||||
<extra_vars>
|
||||
<var name="index_title" type="text">
|
||||
<title xml:lang="ko">홈페이지 Title</title>
|
||||
<title xml:lang="en">Homepage Title</title>
|
||||
<title xml:lang="jp">ホームページタイトル</title>
|
||||
<title xml:lang="zh-CN">网站标题</title>
|
||||
<title xml:lang="zh-TW">首頁標題</title>
|
||||
</var>
|
||||
|
||||
<var name="footer_title" type="text">
|
||||
<title xml:lang="ko">하단 텍스트</title>
|
||||
<title xml:lang="jp">下端 Text</title>
|
||||
<title xml:lang="en">Footer Text</title>
|
||||
<title xml:lang="zh-CN">底部文本</title>
|
||||
<title xml:lang="zh-TW">底部文本</title>
|
||||
</var>
|
||||
|
||||
<var name="colorset" type="select">
|
||||
<title xml:lang="ko">컬러셋</title>
|
||||
<title xml:lang="jp">カラーセット</title>
|
||||
<title xml:lang="zh-CN">颜色</title>
|
||||
<title xml:lang="zh-TW">顏色設定</title>
|
||||
<title xml:lang="en">Colorset</title>
|
||||
<description xml:lang="ko">원하시는 컬러셋을 선택해주세요.</description>
|
||||
<description xml:lang="jp">希望するカラーセットを選択して下さい。</description>
|
||||
<description xml:lang="zh-CN">请选择颜色。</description>
|
||||
<description xml:lang="zh-TW">請選擇顏色。</description>
|
||||
<description xml:lang="en">Please select the colorset you want.</description>
|
||||
<options value="blue">
|
||||
<title xml:lang="ko">블루</title>
|
||||
<title xml:lang="jp">ブルー[青]</title>
|
||||
<title xml:lang="en">Blue</title>
|
||||
<title xml:lang="zh-CN">蓝色</title>
|
||||
<title xml:lang="zh-TW">藍色</title>
|
||||
</options>
|
||||
<options value="gray">
|
||||
<title xml:lang="ko">그레이</title>
|
||||
<title xml:lang="jp">グレー[灰色]</title>
|
||||
<title xml:lang="en">Gray</title>
|
||||
<title xml:lang="zh-CN">灰色</title>
|
||||
<title xml:lang="zh-TW">灰色</title>
|
||||
</options>
|
||||
<options value="red">
|
||||
<title xml:lang="ko">빨간색</title>
|
||||
<title xml:lang="jp">レッド[赤]</title>
|
||||
<title xml:lang="en">Red</title>
|
||||
<title xml:lang="zh-CN">红色</title>
|
||||
<title xml:lang="zh-TW">红色</title>
|
||||
</options>
|
||||
<options value="orange">
|
||||
<title xml:lang="ko">오렌지</title>
|
||||
<title xml:lang="jp">オレンジ</title>
|
||||
<title xml:lang="en">Orange</title>
|
||||
<title xml:lang="zh-CN">橙色</title>
|
||||
<title xml:lang="zh-TW">橙色</title>
|
||||
</options>
|
||||
<options value="ngreena">
|
||||
<title xml:lang="ko">네이버 그린 A</title>
|
||||
<title xml:lang="jp">NAVER グリーン A</title>
|
||||
<title xml:lang="en">nGreenA</title>
|
||||
<title xml:lang="zh-CN">NAVER绿 A</title>
|
||||
<title xml:lang="zh-TW">NAVER綠 A</title>
|
||||
</options>
|
||||
<options value="ngreenb">
|
||||
<title xml:lang="ko">네이버 그린 B</title>
|
||||
<title xml:lang="jp">NAVER グリーン B</title>
|
||||
<title xml:lang="en">nGreenB</title>
|
||||
<title xml:lang="zh-CN">NAVER绿 B</title>
|
||||
<title xml:lang="zh-TW">NAVER綠 B</title>
|
||||
</options>
|
||||
</var>
|
||||
<var name="logo_image" type="image">
|
||||
<title xml:lang="ko">로고이미지</title>
|
||||
<title xml:lang="jp">ロゴイメージ</title>
|
||||
<title xml:lang="zh-CN">LOGO图片</title>
|
||||
<title xml:lang="zh-TW">Logo圖片</title>
|
||||
<title xml:lang="en">Logo image</title>
|
||||
<description xml:lang="ko">레이아웃의 상단에 표시될 로고이미지를 입력하세요. (세로길이가 28px인 투명 이미지가 가장 어울립니다)</description>
|
||||
<description xml:lang="jp">レイアウトの上段に表示されるロゴイメージを入力して下さい。 (縦幅が28pxである透明イメージをお勧めします。。)</description>
|
||||
<description xml:lang="zh-CN">请输入显示在布局顶部的LOGO图片(高度为28px的透明图片为适)。</description>
|
||||
<description xml:lang="zh-TW">請輸入要顯示在版面上端的 Logo 圖片。(適當高度為 28px 的透明圖片。)</description>
|
||||
<description xml:lang="en">Please input a logo image which will be displayed on the top of the layout. (A transparent image with height of 28px is recommended.)</description>
|
||||
</var>
|
||||
<var name="index_url" type="text">
|
||||
<title xml:lang="ko">홈 페이지 URL</title>
|
||||
<title xml:lang="jp">ホームページURL</title>
|
||||
<title xml:lang="zh-CN">主页地址</title>
|
||||
<title xml:lang="zh-TW">主頁網址</title>
|
||||
<title xml:lang="en">Homepage URL</title>
|
||||
<description xml:lang="ko">로고를 클릭시에 이동할 홈 페이지 URL을 입력해 주세요.</description>
|
||||
<description xml:lang="jp">ロゴをクリックした時に移動するホームページのURLを入力して下さい。</description>
|
||||
<description xml:lang="zh-CN">点击网站LOGO时要移动的页面URL。</description>
|
||||
<description xml:lang="zh-TW">請輸入當用戶按了網站 Logo 後,要前往的頁面網址。</description>
|
||||
<description xml:lang="en">Please input the URL to redirect when user clicks the logo</description>
|
||||
</var>
|
||||
</extra_vars>
|
||||
<menus>
|
||||
<menu name="main_menu" maxdepth="3" default="true">
|
||||
<title xml:lang="ko">상단 메뉴</title>
|
||||
<title xml:lang="jp">上段用メニュー</title>
|
||||
<title xml:lang="zh-CN">主菜单</title>
|
||||
<title xml:lang="zh-TW">主選單</title>
|
||||
<title xml:lang="en">Top menu</title>
|
||||
</menu>
|
||||
</menus>
|
||||
</layout>
|
||||
65
m.layouts/colorCode/css/Blue/layout.css
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
@charset "utf-8";
|
||||
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select,hr {margin: 0;padding: 0;font-family:Helvetica;}
|
||||
body {font-size: 14px;line-height: 1.25em;-webkit-text-size-adjust:none;}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
|
||||
audio, canvas, video {display:inline-block;}
|
||||
audio:not([controls]) {display: none;}
|
||||
input, textarea, select, button, table {font-family: inherit;font-size: inherit;line-height: inherit;}
|
||||
img, fieldset {border: 0 none;}
|
||||
button, input, select, textarea {margin: 0;vertical-align: middle;}
|
||||
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
|
||||
sup {top: -0.5em;}
|
||||
sub {bottom: -0.25em;}
|
||||
ul, ol {list-style: none outside none;}
|
||||
em, address {font-style: normal;}
|
||||
a {color: inherit;text-decoration: none;}
|
||||
.blind{font-size: 0;height: 0;line-height: 0;overflow: hidden;position: absolute;width: 0;}
|
||||
|
||||
.skip{font-size: 0;height: 0;left: -1000em;line-height: 0;overflow: hidden;position: absolute;visibility: hidden;width: 0;}
|
||||
.lo_head{width:100%;height:39px;border-bottom:1px solid #01518d;padding-top:16px;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#0c5d94), to(#003d6a));
|
||||
background:-webkit-linear-gradient(top,#0c5d94,#003d6a);
|
||||
background:-moz-linear-gradient(top,#0c5d94,#003d6a);
|
||||
background:-ms-linear-gradient(top,#0c5d94,#003d6a);
|
||||
background:-o-linear-gradient(top,#0c5d94,#003d6a);
|
||||
background:linear-gradient(top,#0c5d94,#003d6a);}
|
||||
.lo_head:after{content:'';display:block;clear:both}
|
||||
.lo_head a[class^="btn_"]{width:51px;height:38px;position:absolute;top:11px;overflow:hidden;}
|
||||
.btn_home{left:5px;text-indent:-999em;background:url('../../img/Blue/btn_home_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
.btn_menu{right:5px;text-indent:-999em;background:url('../../img/Blue/btn_menu_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
h1.title{font-size:25px;padding:0 60px;line-height:25px;text-align:center;color:rgba(255,255,255,1);text-shadow:0px 1px 1px rgba(0,0,0,1);}
|
||||
.head_hr{height:0;position: relative;border:none;border-top:1px solid black}
|
||||
|
||||
.lo_foot{width:100%;height:69px;position:relative;border-top:1px solid #163d58;border-bottom:1px solid #001728;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#4f7b99), to(#2f6387));
|
||||
background:-webkit-linear-gradient(top,#4f7b99,#2f6387);
|
||||
background:-moz-linear-gradient(top,#4f7b99,#2f6387);
|
||||
background:-ms-linear-gradient(top,#4f7b99,#2f6387);
|
||||
background:-o-linear-gradient(top,#4f7b99,#2f6387);
|
||||
background:linear-gradient(top,#4f7b99,#2f6387);}
|
||||
.lo_foot:before{content:'';width:100%;height:1px;position:absolute;background:#6f9ec0;}
|
||||
.lo_foot:after{content:'';width:100%;height:1px;position:absolute;background:#467493;}
|
||||
ul.link{height:25px;padding-top:10px;text-align:center;background:transparent}
|
||||
ul.link>li{display:inline-block;position:relative;margin-left:-4px}
|
||||
ul.link>li:before{display:inline-block;position:absolute;top:9px;right:1px;width:1px;height:7px;background:#23445b;content:'';}
|
||||
ul.link>li:after{display:inline-block;position:absolute;top:9px;right:2px;width:1px;height:7px;background:#538fb9;content:'';}
|
||||
ul.link>li>a{display:block;height:19px;padding:6px 11px 0 8px;line-height:13px;color: #efefef;font-size:13px;}
|
||||
ul.link>li:last-child:before,ul.link li:last-child:after{display:none;}
|
||||
ul.link .lang{position:relative;height:25px;margin-left:6px;}
|
||||
ul.link .lang>a{position:relative;width:71px;text-align:left;padding: 6px 8px 0px 11px;}
|
||||
ul.link .lang>a:focus{outline:none}
|
||||
ul.link .lang.off>a{background:url('../../img/Blue/btn_lang_off_tp.png') no-repeat 100% 0px;background-size:90px 25px}
|
||||
ul.link .lang.on>a{background:url('../../img/Blue/btn_lang_on.png') no-repeat left top;background-size:90px 25px}
|
||||
ul.link .lang_lst{display:none;position:absolute;left:0px;bottom:24px;}
|
||||
.icon_arr_draw{display:inline-block;position:absolute;top:5px;right:6px;width:0px;height:0px;margin-left:2px;border-width:5px;border-style:solid;border-color:transparent transparent #cdcdcd transparent;}
|
||||
|
||||
|
||||
ul.link .lang_lst:before{display:block;width:90px;height:4px;background:url('../../img/Blue/bg_lang_t.png') no-repeat left top;background-size:90px 4px;content:''}
|
||||
ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Blue/bg_lang_body.png') repeat-y top left;background-size:90px 1px;}
|
||||
.lang_lst li a{display:block;width:88px;height:18px;padding-top:5px;border-top:1px solid #4a6c85;border-bottom:1px solid #71a3c7;font-size:13px;line-height:13px;color:#efefef;}
|
||||
.lang_lst li:first-child a{border-top:none}
|
||||
p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#a5b9c7}
|
||||
|
||||
|
||||
.lo_foot.fixed{position:fixed;bottom:0;}
|
||||
.lo_foot.static{position:static;}
|
||||
65
m.layouts/colorCode/css/Gray/layout.css
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
@charset "utf-8";
|
||||
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select,hr {margin: 0;padding: 0;font-family:Helvetica;}
|
||||
body {font-size: 14px;line-height: 1.25em;-webkit-text-size-adjust:none;}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
|
||||
audio, canvas, video {display:inline-block;}
|
||||
audio:not([controls]) {display: none;}
|
||||
input, textarea, select, button, table {font-family: inherit;font-size: inherit;line-height: inherit;}
|
||||
img, fieldset {border: 0 none;}
|
||||
button, input, select, textarea {margin: 0;vertical-align: middle;}
|
||||
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
|
||||
sup {top: -0.5em;}
|
||||
sub {bottom: -0.25em;}
|
||||
ul, ol {list-style: none outside none;}
|
||||
em, address {font-style: normal;}
|
||||
a {color: inherit;text-decoration: none;}
|
||||
.blind{font-size: 0;height: 0;line-height: 0;overflow: hidden;position: absolute;width: 0;}
|
||||
|
||||
.skip{font-size: 0;height: 0;left: -1000em;line-height: 0;overflow: hidden;position: absolute;visibility: hidden;width: 0;}
|
||||
.lo_head{width:100%;height:39px;border-bottom:1px solid #414141;padding-top:16px;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#454545), to(#292929));
|
||||
background:-webkit-linear-gradient(top,#454545,#292929);
|
||||
background:-moz-linear-gradient(top,#454545,#292929);
|
||||
background:-ms-linear-gradient(top,#454545,#292929);
|
||||
background:-o-linear-gradient(top,#454545,#292929);
|
||||
background:linear-gradient(top,#454545,#292929);}
|
||||
.lo_head:after{content:'';display:block;clear:both}
|
||||
.lo_head a[class^="btn_"]{width:51px;height:38px;position:absolute;top:11px;overflow:hidden;}
|
||||
.btn_home{left:5px;text-indent:-999em;background:url('../../img/Gray/btn_home_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
.btn_menu{right:5px;text-indent:-999em;background:url('../../img/Gray/btn_menu_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
h1.title{font-size:25px;padding:0 60px;line-height:25px;text-align:center;color:rgba(255,255,255,1);text-shadow:0px 1px 1px rgba(20,20,20,.75);}
|
||||
.head_hr{height:0;position: relative;border:none;border-top:1px solid black}
|
||||
|
||||
.lo_foot{width:100%;height:69px;position:relative;border-top:1px solid #000000;border-bottom:1px solid #202020;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#3f3f3f), to(#272727));
|
||||
background:-webkit-linear-gradient(top,#3f3f3f,#272727);
|
||||
background:-moz-linear-gradient(top,#3f3f3f,#272727);
|
||||
background:-ms-linear-gradient(top,#3f3f3f,#272727);
|
||||
background:-o-linear-gradient(top,#3f3f3f,#272727);
|
||||
background:linear-gradient(top,#3f3f3f,#272727);}
|
||||
.lo_foot:before{content:'';width:100%;height:1px;position:absolute;background:#545454;}
|
||||
.lo_foot:after{content:'';width:100%;height:1px;position:absolute;background:#3f3f3f;}
|
||||
ul.link{height:25px;padding-top:10px;text-align:center;background:transparent}
|
||||
ul.link>li{display:inline-block;position:relative;margin-left:-4px}
|
||||
ul.link>li:before{display:inline-block;position:absolute;top:9px;right:1px;width:1px;height:7px;background:#484848;content:'';}
|
||||
ul.link>li:after{display:inline-block;position:absolute;top:9px;right:2px;width:1px;height:7px;background:#161616;content:'';}
|
||||
ul.link>li>a{display:block;height:19px;padding:6px 11px 0 8px;line-height:13px;color: #efefef;font-size:13px;}
|
||||
ul.link>li:last-child:before,ul.link li:last-child:after{display:none;}
|
||||
ul.link .lang{position:relative;height:25px;margin-left:6px;}
|
||||
ul.link .lang>a{position:relative;width:71px;text-align:left;padding: 6px 8px 0px 11px;}
|
||||
ul.link .lang>a:focus{outline:none}
|
||||
ul.link .lang.off>a{background:url('../../img/Gray/btn_lang_off_tp.png') no-repeat 100% 0px;background-size:90px 25px}
|
||||
ul.link .lang.on>a{background:url('../../img/Gray/btn_lang_on.png') no-repeat left top;background-size:90px 25px}
|
||||
ul.link .lang_lst{display:none;position:absolute;left:0px;bottom:24px;}
|
||||
.icon_arr_draw{display:inline-block;position:absolute;top:5px;right:6px;width:0px;height:0px;margin-left:2px;border-width:5px;border-style:solid;border-color:transparent transparent #cdcdcd transparent;}
|
||||
|
||||
|
||||
ul.link .lang_lst:before{display:block;width:90px;height:4px;background:url('../../img/Gray/bg_lang_t.png') no-repeat left top;background-size:90px 4px;content:''}
|
||||
ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Gray/bg_lang_body.png') repeat-y top left;background-size:90px 1px;}
|
||||
.lang_lst li a{display:block;width:88px;height:18px;padding-top:5px;border-top:1px solid #454545;border-bottom:1px solid #767676;font-size:13px;line-height:13px;color:#efefef;}
|
||||
.lang_lst li:first-child a{border-top:none}
|
||||
p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#bababa}
|
||||
|
||||
|
||||
.lo_foot.fixed{position:fixed;bottom:0;}
|
||||
.lo_foot.static{position:static;}
|
||||
65
m.layouts/colorCode/css/Orange/layout.css
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
@charset "utf-8";
|
||||
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select,hr {margin: 0;padding: 0;font-family:Helvetica;}
|
||||
body {font-size: 14px;line-height: 1.25em;-webkit-text-size-adjust:none;}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
|
||||
audio, canvas, video {display:inline-block;}
|
||||
audio:not([controls]) {display: none;}
|
||||
input, textarea, select, button, table {font-family: inherit;font-size: inherit;line-height: inherit;}
|
||||
img, fieldset {border: 0 none;}
|
||||
button, input, select, textarea {margin: 0;vertical-align: middle;}
|
||||
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
|
||||
sup {top: -0.5em;}
|
||||
sub {bottom: -0.25em;}
|
||||
ul, ol {list-style: none outside none;}
|
||||
em, address {font-style: normal;}
|
||||
a {color: inherit;text-decoration: none;}
|
||||
.blind{font-size: 0;height: 0;line-height: 0;overflow: hidden;position: absolute;width: 0;}
|
||||
|
||||
.skip{font-size: 0;height: 0;left: -1000em;line-height: 0;overflow: hidden;position: absolute;visibility: hidden;width: 0;}
|
||||
.lo_head{width:100%;height:39px;border-bottom:1px solid #983e08;padding-top:16px;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#da6016), to(#c8540d));
|
||||
background:-webkit-linear-gradient(top,#da6016,#c8540d);
|
||||
background:-moz-linear-gradient(top,#da6016,#c8540d);
|
||||
background:-ms-linear-gradient(top,#da6016,#c8540d);
|
||||
background:-o-linear-gradient(top,#da6016,#c8540d);
|
||||
background:linear-gradient(top,#da6016,#c8540d);}
|
||||
.lo_head:after{content:'';display:block;clear:both}
|
||||
.lo_head a[class^="btn_"]{width:51px;height:38px;position:absolute;top:11px;overflow:hidden;}
|
||||
.btn_home{left:5px;text-indent:-999em;background:url('../../img/Orange/btn_home_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
.btn_menu{right:5px;text-indent:-999em;background:url('../../img/Orange/btn_menu_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
h1.title{font-size:25px;padding:0 60px;line-height:25px;text-align:center;color:rgba(255,255,255,1);text-shadow:0px 1px 1px rgba(20,20,20,.75);}
|
||||
.head_hr{height:0;position: relative;border:none;border-top:1px solid black}
|
||||
|
||||
.lo_foot{width:100%;height:69px;position:relative;border-top:1px solid #340c00;border-bottom:1px solid #001728;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#c35b1c), to(#ae4d12));
|
||||
background:-webkit-linear-gradient(top,#c35b1c,#ae4d12);
|
||||
background:-moz-linear-gradient(top,#c35b1c,#ae4d12);
|
||||
background:-ms-linear-gradient(top,#c35b1c,#ae4d12);
|
||||
background:-o-linear-gradient(top,#c35b1c,#ae4d12);
|
||||
background:linear-gradient(top,#c35b1c,#ae4d12);}
|
||||
.lo_foot:before{content:'';width:100%;height:1px;position:absolute;background:#dc7638;}
|
||||
.lo_foot:after{content:'';width:100%;height:1px;position:absolute;background:#b6602c;}
|
||||
ul.link{height:25px;padding-top:10px;text-align:center;background:transparent}
|
||||
ul.link>li{display:inline-block;position:relative;margin-left:-4px}
|
||||
ul.link>li:before{display:inline-block;position:absolute;top:9px;right:1px;width:1px;height:7px;background:#d86b2a;content:'';}
|
||||
ul.link>li:after{display:inline-block;position:absolute;top:9px;right:2px;width:1px;height:7px;background:#4c1100;content:'';}
|
||||
ul.link>li>a{display:block;height:19px;padding:6px 11px 0 8px;line-height:13px;color: #efefef;font-size:13px;}
|
||||
ul.link>li:last-child:before,ul.link li:last-child:after{display:none;}
|
||||
ul.link .lang{position:relative;height:25px;margin-left:6px;}
|
||||
ul.link .lang>a{position:relative;width:71px;text-align:left;padding: 6px 8px 0px 11px;}
|
||||
ul.link .lang>a:focus{outline:none}
|
||||
ul.link .lang.off>a{background:url('../../img/Orange/btn_lang_off_tp.png') no-repeat 100% 0px;background-size:90px 25px}
|
||||
ul.link .lang.on>a{background:url('../../img/Orange/btn_lang_on.png') no-repeat left top;background-size:90px 25px}
|
||||
ul.link .lang_lst{display:none;position:absolute;left:0px;bottom:24px;}
|
||||
.icon_arr_draw{display:inline-block;position:absolute;top:5px;right:6px;width:0px;height:0px;margin-left:2px;border-width:5px;border-style:solid;border-color:transparent transparent #cdcdcd transparent;}
|
||||
|
||||
|
||||
ul.link .lang_lst:before{display:block;width:90px;height:4px;background:url('../../img/Orange/bg_lang_t.png') no-repeat left top;background-size:90px 4px;content:''}
|
||||
ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Orange/bg_lang_body.png') repeat-y top left;background-size:90px 1px;}
|
||||
.lang_lst li a{display:block;width:88px;height:18px;padding-top:5px;border-top:1px solid #783e05;border-bottom:1px solid #e57938;font-size:13px;line-height:13px;color:#efefef;}
|
||||
.lang_lst li:first-child a{border-top:none}
|
||||
p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#dbb7a7}
|
||||
|
||||
|
||||
.lo_foot.fixed{position:fixed;bottom:0;}
|
||||
.lo_foot.static{position:static;}
|
||||
65
m.layouts/colorCode/css/Red/layout.css
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
@charset "utf-8";
|
||||
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select,hr {margin: 0;padding: 0;font-family:Helvetica;}
|
||||
body {font-size: 14px;line-height: 1.25em;-webkit-text-size-adjust:none;}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
|
||||
audio, canvas, video {display:inline-block;}
|
||||
audio:not([controls]) {display: none;}
|
||||
input, textarea, select, button, table {font-family: inherit;font-size: inherit;line-height: inherit;}
|
||||
img, fieldset {border: 0 none;}
|
||||
button, input, select, textarea {margin: 0;vertical-align: middle;}
|
||||
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
|
||||
sup {top: -0.5em;}
|
||||
sub {bottom: -0.25em;}
|
||||
ul, ol {list-style: none outside none;}
|
||||
em, address {font-style: normal;}
|
||||
a {color: inherit;text-decoration: none;}
|
||||
.blind{font-size: 0;height: 0;line-height: 0;overflow: hidden;position: absolute;width: 0;}
|
||||
|
||||
.skip{font-size: 0;height: 0;left: -1000em;line-height: 0;overflow: hidden;position: absolute;visibility: hidden;width: 0;}
|
||||
.lo_head{width:100%;height:39px;border-bottom:1px solid #8d0101;padding-top:16px;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#8b0b0b), to(#5f0000));
|
||||
background:-webkit-linear-gradient(top,#8b0b0b,#5f0000);
|
||||
background:-moz-linear-gradient(top,#8b0b0b,#5f0000);
|
||||
background:-ms-linear-gradient(top,#8b0b0b,#5f0000);
|
||||
background:-o-linear-gradient(top,#8b0b0b,#5f0000);
|
||||
background:linear-gradient(top,#8b0b0b,#5f0000);}
|
||||
.lo_head:after{content:'';display:block;clear:both}
|
||||
.lo_head a[class^="btn_"]{width:51px;height:38px;position:absolute;top:11px;overflow:hidden;}
|
||||
.btn_home{left:5px;text-indent:-999em;background:url('../../img/Red/btn_home_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
.btn_menu{right:5px;text-indent:-999em;background:url('../../img/Red/btn_menu_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
h1.title{font-size:25px;padding:0 60px;line-height:25px;text-align:center;color:rgba(255,255,255,1);text-shadow:0px 1px 1px rgba(20,20,20,.75);}
|
||||
.head_hr{height:0;position: relative;border:none;border-top:1px solid black}
|
||||
|
||||
.lo_foot{width:100%;height:69px;position:relative;border-top:1px solid #581616;border-bottom:1px solid #202020;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#880d0e), to(#670607));
|
||||
background:-webkit-linear-gradient(top,#880d0e,#670607);
|
||||
background:-moz-linear-gradient(top,#880d0e,#670607);
|
||||
background:-ms-linear-gradient(top,#880d0e,#670607);
|
||||
background:-o-linear-gradient(top,#880d0e,#670607);
|
||||
background:linear-gradient(top,#880d0e,#670607);}
|
||||
.lo_foot:before{content:'';width:100%;height:1px;position:absolute;background:#cb2929;}
|
||||
.lo_foot:after{content:'';width:100%;height:1px;position:absolute;background:#5b080b;}
|
||||
ul.link{height:25px;padding-top:10px;text-align:center;background:transparent}
|
||||
ul.link>li{display:inline-block;position:relative;margin-left:-4px}
|
||||
ul.link>li:before{display:inline-block;position:absolute;top:9px;right:1px;width:1px;height:7px;background:#a61d1d;content:'';}
|
||||
ul.link>li:after{display:inline-block;position:absolute;top:9px;right:2px;width:1px;height:7px;background:#4b0606;content:'';}
|
||||
ul.link>li>a{display:block;height:19px;padding:6px 11px 0 8px;line-height:13px;color: #efefef;font-size:13px;}
|
||||
ul.link>li:last-child:before,ul.link li:last-child:after{display:none;}
|
||||
ul.link .lang{position:relative;height:25px;margin-left:6px;}
|
||||
ul.link .lang>a{position:relative;width:71px;text-align:left;padding: 6px 8px 0px 11px;}
|
||||
ul.link .lang>a:focus{outline:none}
|
||||
ul.link .lang.off>a{background:url('../../img/Red/btn_lang_off_tp.png') no-repeat 100% 0px;background-size:90px 25px}
|
||||
ul.link .lang.on>a{background:url('../../img/Red/btn_lang_on.png') no-repeat left top;background-size:90px 25px}
|
||||
ul.link .lang_lst{display:none;position:absolute;left:0px;bottom:24px;}
|
||||
.icon_arr_draw{display:inline-block;position:absolute;top:5px;right:6px;width:0px;height:0px;margin-left:2px;border-width:5px;border-style:solid;border-color:transparent transparent #cdcdcd transparent;}
|
||||
|
||||
|
||||
ul.link .lang_lst:before{display:block;width:90px;height:4px;background:url('../../img/Red/bg_lang_t.png') no-repeat left top;background-size:90px 4px;content:''}
|
||||
ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/Red/bg_lang_body.png') repeat-y top left;background-size:90px 1px;}
|
||||
.lang_lst li a{display:block;width:88px;height:18px;padding-top:5px;border-top:1px solid #710f0f;border-bottom:1px solid #b82d2d;font-size:13px;line-height:13px;color:#efefef;}
|
||||
.lang_lst li:first-child a{border-top:none}
|
||||
p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#efefef}
|
||||
|
||||
|
||||
.lo_foot.fixed{position:fixed;bottom:0;}
|
||||
.lo_foot.static{position:static;}
|
||||
65
m.layouts/colorCode/css/nGreenA/layout.css
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
@charset "utf-8";
|
||||
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select,hr {margin: 0;padding: 0;font-family:Helvetica;}
|
||||
body {font-size: 14px;line-height: 1.25em;-webkit-text-size-adjust:none;}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
|
||||
audio, canvas, video {display:inline-block;}
|
||||
audio:not([controls]) {display: none;}
|
||||
input, textarea, select, button, table {font-family: inherit;font-size: inherit;line-height: inherit;}
|
||||
img, fieldset {border: 0 none;}
|
||||
button, input, select, textarea {margin: 0;vertical-align: middle;}
|
||||
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
|
||||
sup {top: -0.5em;}
|
||||
sub {bottom: -0.25em;}
|
||||
ul, ol {list-style: none outside none;}
|
||||
em, address {font-style: normal;}
|
||||
a {color: inherit;text-decoration: none;}
|
||||
.blind{font-size: 0;height: 0;line-height: 0;overflow: hidden;position: absolute;width: 0;}
|
||||
|
||||
.skip{font-size: 0;height: 0;left: -1000em;line-height: 0;overflow: hidden;position: absolute;visibility: hidden;width: 0;}
|
||||
.lo_head{width:100%;height:39px;border-bottom:1px solid #37b700;padding-top:16px;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#dfdfdf));
|
||||
background:-webkit-linear-gradient(top,#fafafa,#dfdfdf);
|
||||
background:-moz-linear-gradient(top,#fafafa,#dfdfdf);
|
||||
background:-ms-linear-gradient(top,#fafafa,#dfdfdf);
|
||||
background:-o-linear-gradient(top,#fafafa,#dfdfdf);
|
||||
background:linear-gradient(top,#fafafa,#dfdfdf);}
|
||||
.lo_head:after{content:'';display:block;clear:both}
|
||||
.lo_head a[class^="btn_"]{width:51px;height:39px;position:absolute;top:11px;overflow:hidden;}
|
||||
.btn_home{left:5px;text-indent:-999em;background:url('../../img/nGreenA/btn_home.png') no-repeat left top;background-size:50px 39px;}
|
||||
.btn_menu{right:5px;text-indent:-999em;background:url('../../img/nGreenA/btn_menu.png') no-repeat left top;background-size:50px 39px;}
|
||||
h1.title{font-size:25px;padding:0 60px;line-height:25px;text-align:center;color:rgba(255,255,255,1);text-shadow:0px 1px 1px rgba(20,20,20,.75);color:#37b700}
|
||||
.head_hr{height:0;position: relative;border:none;border-top:1px solid #2a8b00}
|
||||
|
||||
.lo_foot{width:100%;height:69px;position:relative;border-top:1px solid #808080;border-bottom:1px solid #001728;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#eaeaea), to(#dbdbdb));
|
||||
background:-webkit-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:-moz-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:-ms-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:-o-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:linear-gradient(top,#eaeaea,#dbdbdb);}
|
||||
.lo_foot:before{content:'';width:100%;height:1px;position:absolute;background:#ffffff;}
|
||||
.lo_foot:after{content:'';width:100%;height:1px;position:absolute;background:#dfdfdf;}
|
||||
ul.link{height:25px;padding-top:10px;text-align:center;background:transparent}
|
||||
ul.link>li{display:inline-block;position:relative;margin-left:-4px}
|
||||
ul.link>li:before{display:inline-block;position:absolute;top:9px;right:1px;width:1px;height:7px;background:#f4f4f4;content:'';}
|
||||
ul.link>li:after{display:inline-block;position:absolute;top:9px;right:2px;width:1px;height:7px;background:#808080;content:'';}
|
||||
ul.link>li>a{display:block;height:19px;padding:6px 11px 0 8px;line-height:13px;color: #585858;font-size:13px;}
|
||||
ul.link>li:last-child:before,ul.link li:last-child:after{display:none;}
|
||||
ul.link .lang{position:relative;height:25px;margin-left:6px}
|
||||
ul.link .lang>a{position:relative;width:71px;text-align:left;padding: 6px 8px 0px 11px;}
|
||||
ul.link .lang>a:focus{outline:none}
|
||||
ul.link .lang.off>a{background:url('../../img/nGreenA/btn_lang_off_tp.png') no-repeat 100% 0px;background-size:90px 25px}
|
||||
ul.link .lang.on>a{background:url('../../img/nGreenA/btn_lang_on.png') no-repeat left top;background-size:90px 25px}
|
||||
ul.link .lang_lst{display:none;position:absolute;left:0px;bottom:24px;}
|
||||
.icon_arr_draw{display:inline-block;position:absolute;top:5px;right:6px;width:0px;height:0px;margin-left:2px;border-width:5px;border-style:solid;border-color:transparent transparent #848484 transparent;}
|
||||
|
||||
|
||||
ul.link .lang_lst:before{display:block;width:90px;height:4px;background:url('../../img/nGreenA/bg_lang_t.png') no-repeat left top;background-size:90px 4px;content:''}
|
||||
ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/nGreenA/bg_lang_body.png') repeat-y top left;background-size:90px 1px;}
|
||||
.lang_lst li a{display:block;width:88px;height:18px;padding-top:5px;border-top:1px solid #a4a4a4;border-bottom:1px solid #fff;font-size:13px;line-height:13px;color:#585858;}
|
||||
.lang_lst li:first-child a{border-top:none}
|
||||
p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#848484}
|
||||
|
||||
|
||||
.lo_foot.fixed{position:fixed;bottom:0;}
|
||||
.lo_foot.static{position:static;}
|
||||
59
m.layouts/colorCode/css/nGreenB/layout.css
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
@charset "utf-8";
|
||||
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select,hr {margin: 0;padding: 0;font-family:Helvetica;}
|
||||
body {font-size: 14px;line-height: 1.25em;-webkit-text-size-adjust:none;}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {display: block;}
|
||||
audio, canvas, video {display:inline-block;}
|
||||
audio:not([controls]) {display: none;}
|
||||
input, textarea, select, button, table {font-family: inherit;font-size: inherit;line-height: inherit;}
|
||||
img, fieldset {border: 0 none;}
|
||||
button, input, select, textarea {margin: 0;vertical-align: middle;}
|
||||
sub, sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;}
|
||||
sup {top: -0.5em;}
|
||||
sub {bottom: -0.25em;}
|
||||
ul, ol {list-style: none outside none;}
|
||||
em, address {font-style: normal;}
|
||||
a {color: inherit;text-decoration: none;}
|
||||
.blind{font-size: 0;height: 0;line-height: 0;overflow: hidden;position: absolute;width: 0;}
|
||||
|
||||
.skip{font-size: 0;height: 0;left: -1000em;line-height: 0;overflow: hidden;position: absolute;visibility: hidden;width: 0;}
|
||||
.lo_head{width:100%;height:39px;border-bottom:1px solid #148e0f;padding-top:16px;background:#11b504}
|
||||
.lo_head:after{content:'';display:block;clear:both}
|
||||
.lo_head a[class^="btn_"]{width:51px;height:38px;position:absolute;top:11px;overflow:hidden;}
|
||||
.btn_home{left:5px;text-indent:-999em;background:url('../../img/nGreenB/btn_home_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
.btn_menu{right:5px;text-indent:-999em;background:url('../../img/nGreenB/btn_menu_fda.png') no-repeat left top;background-size:51px 38px;}
|
||||
h1.title{font-size:25px;padding:0 60px;line-height:25px;text-align:center;color:rgba(255,255,255,1);text-shadow:0px 1px 1px rgba(20,20,20,.75);}
|
||||
.head_hr{height:0;position: relative;border:none;border-top:1px solid black}
|
||||
|
||||
.lo_foot{width:100%;height:69px;position:relative;border-top:1px solid #808080;border-bottom:1px solid #001728;
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#eaeaea), to(#dbdbdb));
|
||||
background:-webkit-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:-moz-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:-ms-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:-o-linear-gradient(top,#eaeaea,#dbdbdb);
|
||||
background:linear-gradient(top,#eaeaea,#dbdbdb);}
|
||||
.lo_foot:before{content:'';width:100%;height:1px;position:absolute;background:#ffffff;}
|
||||
.lo_foot:after{content:'';width:100%;height:1px;position:absolute;background:#dfdfdf;}
|
||||
ul.link{height:25px;padding-top:10px;text-align:center;background:transparent}
|
||||
ul.link>li{display:inline-block;position:relative;margin-left:-4px}
|
||||
ul.link>li:before{display:inline-block;position:absolute;top:9px;right:1px;width:1px;height:7px;background:#f4f4f4;content:'';}
|
||||
ul.link>li:after{display:inline-block;position:absolute;top:9px;right:2px;width:1px;height:7px;background:#808080;content:'';}
|
||||
ul.link>li>a{display:block;height:19px;padding:6px 11px 0 8px;line-height:13px;color: #585858;font-size:13px;}
|
||||
ul.link>li:last-child:before,ul.link li:last-child:after{display:none;}
|
||||
ul.link .lang{position:relative;height:25px;margin-left:6px}
|
||||
ul.link .lang>a{position:relative;width:71px;text-align:left;padding: 6px 8px 0px 11px;}
|
||||
ul.link .lang>a:focus{outline:none}
|
||||
ul.link .lang.off>a{background:url('../../img/nGreenB/btn_lang_off_tp.png') no-repeat 100% 0px;background-size:90px 25px}
|
||||
ul.link .lang.on>a{background:url('../../img/nGreenB/btn_lang_on.png') no-repeat left top;background-size:90px 25px}
|
||||
ul.link .lang_lst{display:none;position:absolute;left:0px;bottom:24px;}
|
||||
.icon_arr_draw{display:inline-block;position:absolute;top:5px;right:6px;width:0px;height:0px;margin-left:2px;border-width:5px;border-style:solid;border-color:transparent transparent #848484 transparent;}
|
||||
|
||||
|
||||
ul.link .lang_lst:before{display:block;width:90px;height:4px;background:url('../../img/nGreenB/bg_lang_t.png') no-repeat left top;background-size:90px 4px;content:''}
|
||||
ul.link .lang_lst li{width:90px;padding-left:1px;background:url('../../img/nGreenB/bg_lang_body.png') repeat-y top left;background-size:90px 1px;}
|
||||
.lang_lst li a{display:block;width:88px;height:18px;padding-top:5px;border-top:1px solid #a4a4a4;border-bottom:1px solid #fff;font-size:13px;line-height:13px;color:#585858;}
|
||||
.lang_lst li:first-child a{border-top:none}
|
||||
p.cr{height:20px;padding:11px 0 2px;text-align:center;font-size:12px;line-height:12px;color:#848484}
|
||||
|
||||
|
||||
.lo_foot.fixed{position:fixed;bottom:0;}
|
||||
.lo_foot.static{position:static;}
|
||||
BIN
m.layouts/colorCode/img/Blue/bg_lang_body.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
m.layouts/colorCode/img/Blue/bg_lang_t.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_home.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_home_fda.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_lang_off.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_lang_off_tp.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_lang_on.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_lang_on_tp.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_menu.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
m.layouts/colorCode/img/Blue/btn_menu_fda.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
m.layouts/colorCode/img/Gray/bg_lang_body.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
m.layouts/colorCode/img/Gray/bg_lang_t.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_home.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_home_fda.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_lang_off.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_lang_off_tp.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_lang_on.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_lang_on_tp.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_menu.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
m.layouts/colorCode/img/Gray/btn_menu_fda.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
m.layouts/colorCode/img/Orange/bg_lang_body.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
m.layouts/colorCode/img/Orange/bg_lang_t.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_home.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_home_fda.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_lang_off.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_lang_off_tp.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_lang_on.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_lang_on_tp.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_menu.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
m.layouts/colorCode/img/Orange/btn_menu_fda.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
m.layouts/colorCode/img/Red/bg_lang_body.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
m.layouts/colorCode/img/Red/bg_lang_t.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
m.layouts/colorCode/img/Red/btn_home.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
m.layouts/colorCode/img/Red/btn_home_fda.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
m.layouts/colorCode/img/Red/btn_lang_off.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
m.layouts/colorCode/img/Red/btn_lang_off_tp.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
m.layouts/colorCode/img/Red/btn_lang_on.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
m.layouts/colorCode/img/Red/btn_lang_on_tp.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
m.layouts/colorCode/img/Red/btn_menu.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
m.layouts/colorCode/img/Red/btn_menu_fda.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
m.layouts/colorCode/img/nGreenA/bg_lang_body.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
m.layouts/colorCode/img/nGreenA/bg_lang_t.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_home.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_home_fda.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_lang_off.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_lang_off_tp.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_lang_on.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_lang_on_tp.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_menu.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
m.layouts/colorCode/img/nGreenA/btn_menu_fda.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
m.layouts/colorCode/img/nGreenB/bg_lang_body.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
m.layouts/colorCode/img/nGreenB/bg_lang_t.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_home.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_home_fda.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_lang_off.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_lang_off_tp.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_lang_on.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_lang_on_tp.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_menu.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
m.layouts/colorCode/img/nGreenB/btn_menu_fda.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
9
m.layouts/colorCode/js/jquery.ba-resize.min.js
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* jQuery resize event - v1.1 - 3/14/2010
|
||||
* http://benalman.com/projects/jquery-resize-plugin/
|
||||
*
|
||||
* Copyright (c) 2010 "Cowboy" Ben Alman
|
||||
* Dual licensed under the MIT and GPL licenses.
|
||||
* http://benalman.com/about/license/
|
||||
*/
|
||||
(function($,h,c){var a=$([]),e=$.resize=$.extend($.resize,{}),i,k="setTimeout",j="resize",d=j+"-special-event",b="delay",f="throttleWindow";e[b]=250;e[f]=true;$.event.special[j]={setup:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.add(l);$.data(this,d,{w:l.width(),h:l.height()});if(a.length===1){g()}},teardown:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.not(l);l.removeData(d);if(!a.length){clearTimeout(i)}},add:function(l){if(!e[f]&&this[k]){return false}var n;function m(s,o,p){var q=$(this),r=$.data(this,d);r.w=o!==c?o:q.width();r.h=p!==c?p:q.height();n.apply(this,arguments)}if($.isFunction(l)){n=l;return m}else{n=l.handler;l.handler=m}}};function g(){i=h[k](function(){a.each(function(){var n=$(this),m=n.width(),l=n.height(),o=$.data(this,d);if(m!==o.w||l!==o.h){n.trigger(j,[o.w=m,o.h=l])}});g()},e[b])}})(jQuery,this);
|
||||
26
m.layouts/colorCode/js/layout.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
jQuery(function($){
|
||||
var lang = $('.link .lang');
|
||||
var lang_lst = $('.lang .lang_lst')
|
||||
lang.click(function(){
|
||||
if(lang.hasClass('on')){
|
||||
lang.removeClass('on').addClass('off');
|
||||
lang_lst.hide();
|
||||
}else if(lang.hasClass('off')){
|
||||
lang.removeClass('off').addClass('on');
|
||||
lang_lst.show();
|
||||
}
|
||||
})
|
||||
var lo_foot = $('.lo_foot');
|
||||
var lo_head = $('.lo_head');
|
||||
var ct = $('.ct');
|
||||
function footPosition(){
|
||||
if((lo_head.outerHeight() + ct.outerHeight() + 71) > $(window).height()){
|
||||
lo_foot.removeClass('fixed').addClass('static');
|
||||
}else if((lo_head.outerHeight() + ct.outerHeight() + 71) < $(window).height()){
|
||||
lo_foot.removeClass('static').addClass('fixed');
|
||||
}
|
||||
}
|
||||
footPosition();
|
||||
ct.resize(footPosition);
|
||||
|
||||
}); // end of ready
|
||||
51
m.layouts/colorCode/layout.html
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
<load target="css/Blue/layout.css" cond="$layout_info->colorset=='blue' || !$layout_info->colorset" />
|
||||
<load target="css/Gray/layout.css" cond="$layout_info->colorset=='gray'" />
|
||||
<load target="css/Red/layout.css" cond="$layout_info->colorset=='red'" />
|
||||
<load target="css/Orange/layout.css" cond="$layout_info->colorset=='orange'" />
|
||||
<load target="css/nGreenA/layout.css" cond="$layout_info->colorset=='ngreena'" />
|
||||
<load target="css/nGreenB/layout.css" cond="$layout_info->colorset=='ngreenb'" />
|
||||
<load target="../../common/js/jquery.min.js" index="-1" />
|
||||
<load target="js/jquery.ba-resize.min.js" />
|
||||
<load target="js/layout.js" />
|
||||
<div class="skip"><a href="#ct">Skip to Content</a></div>
|
||||
<header class="lo_head">
|
||||
<a href="{$layout_info->index_url}" class="btn_home">Home</a>
|
||||
|
||||
<!--@if($layout_info->menu->main_menu->menu_srl)-->
|
||||
<!--@if($act=='dispMenuMenu')-->
|
||||
<a class="btn_menu" href="#" onclick="history.back(); return false;" title="돌아가기"><span class="b">Back</span></a>
|
||||
<!--@else-->
|
||||
<a class="btn_menu" href="{getUrl('act','dispMenuMenu','menu_srl',$layout_info->menu->main_menu->menu_srl)}" title="메뉴"><span class="m">Menu</span></a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<h1 cond="$layout_info->logo_image" class="title"><a href="{$layout_info->index_url}" class="img"><img src="img/@xe_logo.png"></a></h1>
|
||||
<h1 cond="$layout_info->index_title" class="title"><a href="{$layout_info->index_url}" class="txt">{$layout_info->index_title}</a></h1>
|
||||
|
||||
</header>
|
||||
<hr class="head_hr" />
|
||||
<section id="ct" class="ct">
|
||||
{$content}
|
||||
</section>
|
||||
<footer class="lo_foot">
|
||||
<ul class="link">
|
||||
<!--@if($is_logged)-->
|
||||
<li><a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a></li>
|
||||
<!--@elseif($act!='dispMemberLoginForm')-->
|
||||
<li><a href="{getUrl('act','dispMemberLoginForm')}" >{$lang->cmd_login}</a></li>
|
||||
<!--@end-->
|
||||
<li><a href="{getUrl('m',0)}">PC</a></li>
|
||||
<li class="lang off">
|
||||
<a href="#" onclick="return false;" title="{$lang_type}">{$lang_supported[$lang_type]} <i class="icon_arr_draw"></i></a>
|
||||
<ul class="lang_lst">
|
||||
<!--@foreach($lang_supported as $key=>$val)-->
|
||||
|
||||
<li cond="$key != $lang_type"><a href="{getUrl('act',$oldact,'l',$key)}">{$val}</a></li>
|
||||
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="cr">{$layout_info->footer_title}</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -541,7 +541,7 @@ body.modalContainer{_height:100%;_width:100%} /* IE6 only */
|
|||
.x #skin .showAll.hideAll{background-position:right 0}
|
||||
/* Favorite On | Off */
|
||||
.x .fvOff,
|
||||
.x .fvOn{display:inline-block;width:16px;height:16px;overflow:hidden;text-indent:16px;background:url(../img/iconFavorite.gif) no-repeat}
|
||||
.x .fvOn{display:inline-block;width:16px;height:16px;overflow:hidden;text-indent:16px;background:transparent url(../img/iconFavorite.gif) no-repeat;border:0}
|
||||
.x .fvOn{background-position:0 -16px}
|
||||
/* Up-Down Dragable */
|
||||
.x .uDrag .wrap{position:relative;padding-left:20px}
|
||||
|
|
|
|||
2
modules/admin/tpl/css/admin.min.css
vendored
|
|
@ -282,7 +282,8 @@
|
|||
<value xml:lang="jp"><![CDATA[このFTP情報ではログインできません。FTP情報を確認してください。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[FTP登录失败。请确认输入的FTP信息。]]></value>
|
||||
<value xml:lang="zh-TW"><![CDATA[FTP登入失敗。請確認輸入的 FTP 資訊。]]></value>
|
||||
<value xml:lang="fr"><![CDATA[입력하신 FTP 정보로 로그인을 하지 못했습니다. FTP정보를 확인해주세요]]></valuevalue xml:lang="de"><![CDATA[Anmeldungsfehler mit der Angabe des FTPs Bitte die Angabe des FTPs festlegen.]]></value>
|
||||
<value xml:lang="fr"><![CDATA[입력하신 FTP 정보로 로그인을 하지 못했습니다. FTP정보를 확인해주세요]]></value>
|
||||
<value xml:lang="de"><![CDATA[Anmeldungsfehler mit der Angabe des FTPs Bitte die Angabe des FTPs festlegen.]]></value>
|
||||
<value xml:lang="es"><![CDATA[Los datos de login para el FTP no son correctos. Veriféquelos.]]></value>
|
||||
<value xml:lang="tr"><![CDATA[Kimlik doğrulama başarısız oldu. Lütfen kullanıcı adını ve şifreyi kontrol ediniz.]]></value>
|
||||
<value xml:lang="vi"><![CDATA[Xác nhận thất bại. Xin vui lòng kiểm tra lại tên sử dụng và mật khẩu.]]></value>
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ class documentController extends document {
|
|||
{
|
||||
return new Object(-1, 'msg_not_permitted');
|
||||
}
|
||||
if(!$category_list[$obj->category_srl]) $obj->category_srl = 0;
|
||||
if(count($category_list) > 0 && !$category_list[$obj->category_srl]) $obj->category_srl = 0;
|
||||
}
|
||||
// Set the read counts and update order.
|
||||
if(!$obj->readed_count) $obj->readed_count = 0;
|
||||
|
|
@ -722,11 +722,14 @@ class documentController extends document {
|
|||
return $output;
|
||||
}
|
||||
|
||||
$output = $oDB->executeQuery('document.updateDocumentExtraKeyIdxOrder', $obj);
|
||||
if(!$output->toBool())
|
||||
if($var_idx != NULL)
|
||||
{
|
||||
$oDB->rollback();
|
||||
return $output;
|
||||
$output = $oDB->executeQuery('document.updateDocumentExtraKeyIdxOrder', $obj);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
$oDB->rollback();
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
$output = executeQuery('document.deleteDocumentExtraVars', $obj);
|
||||
|
|
@ -736,11 +739,14 @@ class documentController extends document {
|
|||
return $output;
|
||||
}
|
||||
|
||||
$output = $oDB->executeQuery('document.updateDocumentExtraVarIdxOrder', $obj);
|
||||
if(!$output->toBool())
|
||||
if($var_idx != NULL)
|
||||
{
|
||||
$oDB->rollback();
|
||||
return $output;
|
||||
$output = $oDB->executeQuery('document.updateDocumentExtraVarIdxOrder', $obj);
|
||||
if(!$output->toBool())
|
||||
{
|
||||
$oDB->rollback();
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
$oDB->commit();
|
||||
|
|
|
|||
|
|
@ -34,7 +34,11 @@
|
|||
if(file_exists($install_config_file)){
|
||||
include $install_config_file;
|
||||
if(is_array($install_config)){
|
||||
foreach($install_config as $k => $v) Context::set($k,$v,true);
|
||||
foreach($install_config as $k => $v)
|
||||
{
|
||||
$v = ($k == 'db_table_prefix') ? $v.'_' : $v;
|
||||
Context::set($k,$v,true);
|
||||
}
|
||||
unset($GLOBALS['__DB__']);
|
||||
Context::set('install_config', true, true);
|
||||
$oInstallController = &getController('install');
|
||||
|
|
|
|||
|
|
@ -91,12 +91,12 @@
|
|||
}
|
||||
|
||||
if(!$sort_order) {
|
||||
$sort_order = 'desc';
|
||||
$sort_order = 'asc';
|
||||
}
|
||||
|
||||
if($sort_order != 'desc')
|
||||
if($sort_order != 'asc')
|
||||
{
|
||||
$sort_order = 'asc';
|
||||
$sort_order = 'desc';
|
||||
}
|
||||
|
||||
if($args->selected_group_srl) {
|
||||
|
|
|
|||
|
|
@ -171,6 +171,12 @@
|
|||
</form>
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<select name="selected_group_srl">
|
||||
<option value="0">그룹 전체</option>
|
||||
<!--@foreach($group_list as $key => $val)-->
|
||||
<option value="{$val->group_srl}" <!--@if($selected_group_srl==$val->group_srl)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<select name="search_target">
|
||||
<option value="">{$lang->search_target}</option>
|
||||
{@$lang->search_target_list = array_merge($lang->search_target_list, $usedIdentifiers)}
|
||||
|
|
|
|||
|
|
@ -173,6 +173,14 @@
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
$output = executeQuery('module.insertModuleConfig', $args);
|
||||
|
||||
//remove from cache
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
if($oCacheHandler->isSupport())
|
||||
{
|
||||
$cache_key = 'object:module_config:module_'.$module.'_site_srl_'.$site_srl;
|
||||
$oCacheHandler->delete($cache_key);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
<tr>
|
||||
<td class="nowr">
|
||||
<!--@if(in_array($val->module,$favoriteModuleList))-->
|
||||
<a href="#" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->on})</a>
|
||||
<button type="button" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->on})</button>
|
||||
<!--@else-->
|
||||
<a href="#" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->off})</a>
|
||||
<button type="button" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->off})</button>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="title">
|
||||
|
|
|
|||