mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
merge from branch 1.5.3.2 (~r11282)
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11380 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
9f5e25a15e
136 changed files with 414 additions and 317 deletions
|
|
@ -1,16 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="ko" xml:lang="ko" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<title>Autolink Addon Unit Test</title>
|
||||
<link rel="stylesheet" href="../../common/js/unittest/css/JSSpec.css" />
|
||||
<script src="../../common/js/jquery.js"></script>
|
||||
<script src="../../common/js/common.js"></script>
|
||||
<script src="../../common/js/js_app.js"></script>
|
||||
<script src="autolink.js"></script>
|
||||
<script src="../../common/js/unittest/JSSpec/diff_match_patch.js"></script>
|
||||
<script src="../../common/js/unittest/JSSpec/JSSpec.js"></script>
|
||||
<script>// <![CDATA[
|
||||
<link rel="stylesheet" type="text/css" href="../../common/js/unittest/css/JSSpec.css" />
|
||||
<script type="text/javascript" src="../../common/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../../common/js/common.js"></script>
|
||||
<script type="text/javascript" src="../../common/js/js_app.js"></script>
|
||||
<script type="text/javascript" src="autolink.js"></script>
|
||||
<script type="text/javascript" src="../../common/js/unittest/JSSpec/diff_match_patch.js"></script>
|
||||
<script type="text/javascript" src="../../common/js/unittest/JSSpec/JSSpec.js"></script>
|
||||
<script type="text/javascript">// <![CDATA[
|
||||
|
||||
var testParam = null;
|
||||
var TestSuite = xe.createPlugin("TestSuite", {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
$ModuleHandler->_setInputValueToSession();
|
||||
}
|
||||
} else {
|
||||
Context::addHtmlHeader('<script> var captchaTargetAct = new Array("'.implode('","',$target_acts).'"); </script>');
|
||||
Context::addHtmlHeader('<script type="text/javascript"> var captchaTargetAct = new Array("'.implode('","',$target_acts).'"); </script>');
|
||||
Context::loadFile(array('./addons/captcha/captcha.min.js', 'body', '', null), true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -845,6 +845,13 @@ class Context {
|
|||
elseif($this->getRequestMethod()=='POST'&&isset($_POST[$key])) $set_to_vars = true;
|
||||
else $set_to_vars = false;
|
||||
|
||||
if($set_to_vars)
|
||||
{
|
||||
$val = preg_replace('/<\?.*(\?>)?/iUsm', '', $val);
|
||||
$val = preg_replace('/<\%.*(\%>)?/iUsm', '', $val);
|
||||
$val = preg_replace('/<script(\s|\S)*language[\s]*=("|\')php("|\')(\s|\S)*>.*<[\s]*\/[\s]*script[\s]*>/iUsm', '', $val);
|
||||
}
|
||||
|
||||
$this->set($key, $val, $set_to_vars);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -407,6 +407,7 @@
|
|||
*/
|
||||
function executeQuery($query_id, $args = NULL, $arg_columns = NULL) {
|
||||
static $cache_file = array();
|
||||
|
||||
if(!$query_id) return new Object(-1, 'msg_invalid_queryid');
|
||||
if(!$this->db_type) return;
|
||||
|
||||
|
|
@ -414,7 +415,7 @@
|
|||
|
||||
$this->query_id = $query_id;
|
||||
|
||||
if(!isset($cache_file[$query_id])) {
|
||||
if(!isset($cache_file[$query_id]) || !file_exists($cache_file[$query_id])) {
|
||||
$id_args = explode('.', $query_id);
|
||||
if(count($id_args) == 2) {
|
||||
$target = 'modules';
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class VirtualXMLDisplayHandler {
|
|||
if($message != 'fail') $output->message = $message;
|
||||
}
|
||||
|
||||
$html = '<script>'."\n";
|
||||
$html = '<script type="text/javascript">'."\n";
|
||||
if($output->message) $html .= 'alert("'.$output->message.'");'."\n";
|
||||
if($output->url) {
|
||||
$url = preg_replace('/#(.+)$/i','',$output->url);
|
||||
|
|
|
|||
|
|
@ -344,7 +344,7 @@
|
|||
$buff .=
|
||||
'<input type="hidden" name="'.$column_name.'" value="'.$value.'" />'.
|
||||
'<input type="text" id="date_'.$column_name.'" value="'.zdate($value,'Y-m-d').'" class="date" /> <input type="button" value="' . Context::getLang('cmd_delete') . '" id="dateRemover_' . $column_name . '" />'."\n".
|
||||
'<script>'."\n".
|
||||
'<script type="text/javascript">'."\n".
|
||||
'(function($){'."\n".
|
||||
' $(function(){'."\n".
|
||||
' var option = { dateFormat: "yy-mm-dd", changeMonth:true, changeYear:true, gotoCurrent: false,yearRange:\'-100:+10\', onSelect:function(){'."\n".
|
||||
|
|
|
|||
|
|
@ -481,7 +481,7 @@
|
|||
if($type == "view" && $this->module_info->use_mobile == "Y" && Mobile::isMobileCheckByAgent())
|
||||
{
|
||||
global $lang;
|
||||
$header = '<style>div.xe_mobile{opacity:0.7;margin:1em 0;padding:.5em;background:#333;border:1px solid #666;border-left:0;border-right:0}p.xe_mobile{text-align:center;margin:1em 0}a.xe_mobile{color:#ff0;font-weight:bold;font-size:24px}@media only screen and (min-width:500px){a.xe_mobile{font-size:15px}}</style>';
|
||||
$header = '<style type="text/css">div.xe_mobile{opacity:0.7;margin:1em 0;padding:.5em;background:#333;border:1px solid #666;border-left:0;border-right:0}p.xe_mobile{text-align:center;margin:1em 0}a.xe_mobile{color:#ff0;font-weight:bold;font-size:24px}@media only screen and (min-width:500px){a.xe_mobile{font-size:15px}}</style>';
|
||||
$footer = '<div class="xe_mobile"><p class="xe_mobile"><a class="xe_mobile" href="'.getUrl('m', '1').'">'.$lang->msg_pc_to_mobile.'</a></p></div>';
|
||||
Context::addHtmlHeader($header);
|
||||
Context::addHtmlFooter($footer);
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ class TemplateHandler {
|
|||
$buff = preg_replace('@<!--//.*?-->@s', '', $buff);
|
||||
|
||||
// replace value of src in img/input/script tag
|
||||
$buff = preg_replace_callback('/<(?:img|input|script)(?:(?!["\'\/]\s*>).)* src="(?!https?:\/\/|[\/\{])([^"]+)"/is', array($this, '_replacePath'), $buff);
|
||||
$buff = preg_replace_callback('/<(?:img|input|script)[^<>]*src="(?!https?:\/\/|[\/\{])([^"]+)"/is', array($this, '_replacePath'), $buff);
|
||||
|
||||
// replace loop and cond template syntax
|
||||
$buff = $this->_parseInline($buff);
|
||||
|
|
@ -223,6 +223,7 @@ class TemplateHandler {
|
|||
* @param array $matches
|
||||
* @return string
|
||||
**/
|
||||
|
||||
function _compileFormAuthGeneration($matches)
|
||||
{
|
||||
// form ruleset attribute move to hidden tag
|
||||
|
|
|
|||
|
|
@ -1,5 +1,2 @@
|
|||
(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
|
||||
a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
|
||||
c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");
|
||||
var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,
|
||||
b){a||(a=f);if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
|
||||
/*! HTML5 Shiv pre3.5 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */
|
||||
(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){l.shivMethods||c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return b[a]=c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}function p(a){var b,c=a.getElementsByTagName("*"),d=c.length,e=RegExp("^(?:"+i().join("|")+")$","i"),f=[];while(d--)b=c[d],e.test(b.nodeName)&&f.push(b.applyElement(q(b)));return f}function q(a){var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(n+":"+a.nodeName);while(d--)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function r(a){var b,c=a.split("{"),d=c.length,e=RegExp("(^|[\\s,>+~])("+i().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),f="$1"+n+"\\:$2";while(d--)b=c[d]=c[d].split("}"),b[b.length-1]=b[b.length-1].replace(e,f),c[d]=b.join("}");return c.join("{")}function s(a){var b=a.length;while(b--)a[b].removeNode()}function t(a){var b,c,d=a.namespaces,e=a.parentWindow;return!o||a.printShived?a:(typeof d[n]=="undefined"&&d.add(n),e.attachEvent("onbeforeprint",function(){var d,e,f,g=a.styleSheets,i=[],j=g.length,k=Array(j);while(j--)k[j]=g[j];while(f=k.pop())if(!f.disabled&&m.test(f.media)){for(d=f.imports,j=0,e=d.length;j<e;j++)k.push(d[j]);try{i.push(f.cssText)}catch(l){}}i=r(i.reverse().join("")),c=p(a),b=h(a,i)}),e.attachEvent("onafterprint",function(){s(c),b.removeNode(!0)}),a.printShived=!0,a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea|object|iframe)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g;(function(){var c=b.createElement("a");c.innerHTML="<xyz></xyz>",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b);var m=/^$|\b(?:all|print)\b/,n="html5shiv",o=!g&&function(){var c=b.documentElement;return typeof b.namespaces!="undefined"&&typeof b.parentWindow!="undefined"&&typeof c.applyElement!="undefined"&&typeof c.removeNode!="undefined"&&typeof a.attachEvent!="undefined"}();l.type+=" print",l.shivPrint=t,t(b)})(this,document)
|
||||
|
|
@ -5,40 +5,49 @@
|
|||
$css_files=Context::getCssFile();
|
||||
$js_files=Context::getJsFile();
|
||||
}
|
||||
<!--@if($db_info->use_html5=='Y')-->
|
||||
<!DOCTYPE html>
|
||||
<html lang="{$lang_type}">
|
||||
<!--@else-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--@end-->
|
||||
<html lang="{$lang_type}" xmlns="http://www.w3.org/1999/xhtml"|cond="$db_info->use_html5!='Y'">
|
||||
<head>
|
||||
<!-- META -->
|
||||
<meta charset="utf-8" />
|
||||
<meta name="Generator" content="XpressEngine" />
|
||||
<meta charset="UTF-8" cond="$db_info->use_html5=='Y'"/><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" cond="$db_info->use_html5!='Y'" />
|
||||
|
||||
<meta name="Generator" content="XpressEngine" />
|
||||
<!-- TITLE -->
|
||||
<title>{Context::getBrowserTitle()}</title>
|
||||
<title>{Context::getBrowserTitle()}</title>
|
||||
<!-- CSS -->
|
||||
<block loop="$css_files=>$key,$css_file">
|
||||
<block cond="$css_file['targetie']"><!--[if {$css_file['targetie']}]></block>
|
||||
<link rel="stylesheet" href="{$css_file['file']}" media="{$css_file['media']}" />
|
||||
<link rel="stylesheet" href="{$css_file['file']}" type="text/css"|cond="$db_info->use_html5!='Y'" media="{$css_file['media']}" />
|
||||
<block cond="$css_file['targetie']"><![endif]--></block>
|
||||
</block>
|
||||
<!-- JS -->
|
||||
<block loop="$js_files=>$key,$js_file">
|
||||
<block cond="$js_file['targetie']"><!--[if {$js_file['targetie']}]></block>
|
||||
<script src="{$js_file['file']}"></script>
|
||||
<script type="text/javascript"|cond="$db_info->use_html5!='Y'" src="{$js_file['file']}"></script>
|
||||
<block cond="$js_file['targetie']"><![endif]--></block>
|
||||
</block>
|
||||
<!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]-->
|
||||
<block cond="$db_info->use_html5=='Y'"><!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]--></block>
|
||||
|
||||
<!-- RSS -->
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{$rss_url}" cond="$rss_url" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Site RSS" href="{$general_rss_url}" cond="$general_rss_url" />
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom" href="{$atom_url}" cond="$rss_url" />
|
||||
<link rel="alternate" type="application/atom+xml" title="Site Atom" href="{$general_atom_url}" cond="$general_rss_url" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{$rss_url}" cond="$rss_url" /><link rel="alternate" type="application/rss+xml" title="Site RSS" href="{$general_rss_url}" cond="$general_rss_url" />
|
||||
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom" href="{$atom_url}" cond="$rss_url" /><link rel="alternate" type="application/atom+xml" title="Site Atom" href="{$general_atom_url}" cond="$general_rss_url" />
|
||||
|
||||
<!-- ICON -->
|
||||
<link cond="$favicon_url" rel="shortcut icon" href="{$favicon_url}" />
|
||||
<link cond="$mobicon_url" rel="apple-touch-icon" href="{$mobicon_url}" />
|
||||
<link cond="$favicon_url" rel="shortcut icon" href="{$favicon_url}" />
|
||||
|
||||
<link cond="$mobicon_url" rel="apple-touch-icon" href="{$mobicon_url}" />
|
||||
{Context::getHtmlHeader()}
|
||||
<script>
|
||||
//<![CDATA[
|
||||
var current_url = "{$current_url}";
|
||||
var request_uri = "{$request_uri}";
|
||||
</head>
|
||||
<body{Context::getBodyClass()}>
|
||||
<script type="text/javascript"|cond="$db_info->use_html5!='Y'">
|
||||
//<![CDATA[
|
||||
var current_url = "{$current_url}";
|
||||
var request_uri = "{$request_uri}";
|
||||
<block cond="$vid">var xeVid = "{$vid}";</block>
|
||||
var current_mid = "{$mid}";
|
||||
var waiting_message = "{$lang->msg_call_server}";
|
||||
|
|
@ -47,19 +56,21 @@ var default_url = "{Context::getDefaultUrl()}";
|
|||
<block cond="Context::get('_http_port')">var http_port = {Context::get("_http_port")};</block>
|
||||
<block cond="Context::get('_https_port')">var https_port = {Context::get("_https_port")};</block>
|
||||
<block cond="Context::get('_use_ssl') && Context::get('_use_ssl') == 'always'">var enforce_ssl = true;</block>
|
||||
xe.current_lang = "{$lang_type}";
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<body{Context::getBodyClass()}>
|
||||
{Context::getBodyHeader()}
|
||||
{$content}
|
||||
{Context::getHtmlFooter()}
|
||||
xe.current_lang = "{$lang_type}";
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
{Context::getBodyHeader()}
|
||||
|
||||
{$content}
|
||||
|
||||
{Context::getHtmlFooter()}
|
||||
<!-- ETC -->
|
||||
<div class="wfsr"></div>
|
||||
<div class="wfsr"></div>
|
||||
{@ $js_body_files = Context::getJsFile('body') }
|
||||
<block loop="$js_body_files => $key, $js_file">
|
||||
<block cond="$js_file['targetie']"><!--[if {$js_file['targetie']}]></block><script src="{$js_file['file']}"></script><block cond="$js_file['targetie']"><![endif]--></block>
|
||||
<block cond="$js_file['targetie']"><!--[if {$js_file['targetie']}]></block><script type="text/javascript"|cond="$db_info->use_html5!='Y'" src="{$js_file['file']}"></script><block cond="$js_file['targetie']"><![endif]--></block>
|
||||
|
||||
</block>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,15 +1,19 @@
|
|||
<!--@if($db_info->use_html5=='Y')-->
|
||||
<!DOCTYPE html>
|
||||
<html lang="{Context::getLangType()}">
|
||||
<!--@else-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!--@end-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{Context::getLangType()}" xml:lang="{Context::getLangType()}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=yes, target-densitydpi=medium-dpi" />
|
||||
<title>{Context::getBrowserTitle()}</title>
|
||||
{@ $css_files = Context::getCssFile() }
|
||||
<!--@foreach($css_files as $key => $css_file)-->
|
||||
<!--@if($css_file['targetie'])-->
|
||||
<!--[if {$css_file['targetie']}]>
|
||||
<!--@end-->
|
||||
<link rel="stylesheet" href="{$css_file['file']}" media="{$css_file['media']}" />
|
||||
<link rel="stylesheet" href="{$css_file['file']}" type="text/css" charset="UTF-8" media="{$css_file['media']}" />
|
||||
<!--@if($css_file['targetie'])-->
|
||||
<![endif]-->
|
||||
<!--@end-->
|
||||
|
|
@ -19,7 +23,7 @@
|
|||
<!--@if($js_file['targetie'])-->
|
||||
<!--[if {$js_file['targetie']}]>
|
||||
<!--@end-->
|
||||
<script src="{$js_file['file']}"></script>
|
||||
<script type="text/javascript" src="{$js_file['file']}"></script>
|
||||
<!--@if($js_file['targetie'])-->
|
||||
<![endif]-->
|
||||
<!--@end-->
|
||||
|
|
@ -35,9 +39,11 @@
|
|||
|
||||
<link cond="$favicon_url" rel="shortcut icon" href="{$favicon_url}" />
|
||||
<link cond="$mobicon_url" rel="apple-touch-icon" href="{$mobicon_url}" />
|
||||
<!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]-->
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="../js/html5.js" cond="$db_info->use_html5=='Y'"></script>
|
||||
<![endif]-->
|
||||
{@ $ssl_actions = Context::getSSLActions() }
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var current_url = "{$current_url}";
|
||||
var request_uri = "{$request_uri}";
|
||||
<!--@if($vid)-->var xeVid = "{$vid}";<!--@end-->
|
||||
|
|
@ -63,7 +69,7 @@
|
|||
<!--@if($js_file['targetie'])-->
|
||||
<!--[if {$js_file['targetie']}]>
|
||||
<!--@end-->
|
||||
<script src="{$js_file['file']}"></script>
|
||||
<script type="text/javascript" src="{$js_file['file']}"></script>
|
||||
<!--@if($js_file['targetie'])-->
|
||||
<![endif]-->
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div class="x popup">
|
||||
{$content}
|
||||
</div>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(window).load(setFixedPopupSize);
|
||||
var _isPoped = true;
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
var idx = location.href.indexOf('?');
|
||||
var url = parent.location.href;
|
||||
if(idx > -1 ) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
top.location.reload();
|
||||
</script>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* Display XE's full version
|
||||
* Even The file should be revised when releasing altough no change is made
|
||||
*/
|
||||
define('__XE_VERSION__', '1.5.3.2');
|
||||
define('__XE_VERSION__', '1.5.3.3');
|
||||
|
||||
/**
|
||||
* @deprecated __ZBXE_VERSION__ will be removed. Use __XE_VERSION__ instead.
|
||||
|
|
|
|||
|
|
@ -1139,10 +1139,10 @@
|
|||
function htmlHeader()
|
||||
{
|
||||
echo <<<HTMLHEADER
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="ko" xml:lang="ko" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
<body>
|
||||
HTMLHEADER;
|
||||
|
|
@ -1167,7 +1167,7 @@ HTMLHEADER;
|
|||
function alertScript($msg)
|
||||
{
|
||||
if(!$msg) return;
|
||||
echo '<script>alert("'.$msg.'");</script>';
|
||||
echo '<script type="text/javascript">alert("'.$msg.'");</script>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1177,7 +1177,7 @@ HTMLHEADER;
|
|||
*/
|
||||
function closePopupScript()
|
||||
{
|
||||
echo '<script>window.close();</script>';
|
||||
echo '<script type="text/javascript">window.close();</script>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1190,5 +1190,5 @@ HTMLHEADER;
|
|||
{
|
||||
$reloadScript = $isOpener ? 'window.opener.location.reload()' : 'document.location.reload()';
|
||||
|
||||
echo '<script>'.$reloadScript.'</script>';
|
||||
echo '<script type="text/javascript">'.$reloadScript.'</script>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<load target="css/default.css" cond="$layout_info->colorset=='default' || !$layout_info->colorset" />
|
||||
<load target="css/white.css" cond="$layout_info->colorset=='white'" />
|
||||
<load target="css/black.css" cond="$layout_info->colorset=='black'" />
|
||||
<style cond="$layout_info->background_image">
|
||||
<style type="text/css" cond="$layout_info->background_image">
|
||||
body{background:url({$layout_info->background_image}) repeat-x left top;}
|
||||
</style>
|
||||
<!--@if(!$layout_info->colorset)-->{@$layout_info->colorset = "default"}<!--@end-->
|
||||
|
|
|
|||
|
|
@ -99,6 +99,10 @@ class tar {
|
|||
// PRIVATE ACCESS FUNCTION
|
||||
function __parseNullPaddedString($string) {
|
||||
$position = strpos($string,chr(0));
|
||||
if(!$position)
|
||||
{
|
||||
$position = strlen($string);
|
||||
}
|
||||
return substr($string,0,$position);
|
||||
}
|
||||
|
||||
|
|
@ -109,6 +113,7 @@ class tar {
|
|||
// Read Files from archive
|
||||
$tar_length = strlen($this->tar_file);
|
||||
$main_offset = 0;
|
||||
$flag_longlink = false;
|
||||
while($main_offset < $tar_length) {
|
||||
// If we read a block of 512 nulls, we are at the end of the archive
|
||||
if(substr($this->tar_file,$main_offset,512) == str_repeat(chr(0),512))
|
||||
|
|
@ -141,6 +146,8 @@ class tar {
|
|||
// Parse Group name
|
||||
$file_gname = $this->__parseNullPaddedString(substr($this->tar_file,$main_offset + 297,32));
|
||||
|
||||
$file_type = substr($this->tar_file,$main_offset + 156,1);
|
||||
|
||||
// Make sure our file is valid
|
||||
if($this->__computeUnsignedChecksum(substr($this->tar_file,$main_offset,512)) != $file_chksum)
|
||||
return false;
|
||||
|
|
@ -159,42 +166,67 @@ class tar {
|
|||
$activeFile["endheader"] = substr($this->tar_file,$main_offset + 500,12);
|
||||
*/
|
||||
|
||||
if($file_size > 0) {
|
||||
// Increment number of files
|
||||
$this->numFiles++;
|
||||
if(strtolower($file_type) == 'l' || $file_name == '././@LongLink')
|
||||
{
|
||||
$flag_longlink = true;
|
||||
$longlink_name = $this->__parseNullPaddedString($file_contents);
|
||||
}
|
||||
elseif($file_type == '0') {
|
||||
// Increment number of files
|
||||
$this->numFiles++;
|
||||
|
||||
// Create us a new file in our array
|
||||
$activeFile = &$this->files[];
|
||||
// Create us a new file in our array
|
||||
$activeFile = &$this->files[];
|
||||
|
||||
// Asign Values
|
||||
$activeFile["name"] = $file_name;
|
||||
$activeFile["mode"] = $file_mode;
|
||||
$activeFile["size"] = $file_size;
|
||||
$activeFile["time"] = $file_time;
|
||||
$activeFile["user_id"] = $file_uid;
|
||||
$activeFile["group_id"] = $file_gid;
|
||||
$activeFile["user_name"] = $file_uname;
|
||||
$activeFile["group_name"] = $file_gname;
|
||||
$activeFile["checksum"] = $file_chksum;
|
||||
$activeFile["file"] = $file_contents;
|
||||
// Asign Values
|
||||
if($flag_longlink)
|
||||
{
|
||||
$activeFile["name"] = $longlink_name;
|
||||
}
|
||||
else
|
||||
{
|
||||
$activeFile["name"] = $file_name;
|
||||
}
|
||||
$activeFile["type"] = $file_type;
|
||||
$activeFile["mode"] = $file_mode;
|
||||
$activeFile["size"] = $file_size;
|
||||
$activeFile["time"] = $file_time;
|
||||
$activeFile["user_id"] = $file_uid;
|
||||
$activeFile["group_id"] = $file_gid;
|
||||
$activeFile["user_name"] = $file_uname;
|
||||
$activeFile["group_name"] = $file_gname;
|
||||
$activeFile["checksum"] = $file_chksum;
|
||||
$activeFile["file"] = $file_contents;
|
||||
|
||||
} else {
|
||||
// Increment number of directories
|
||||
$this->numDirectories++;
|
||||
$flag_longlink = false;
|
||||
|
||||
// Create a new directory in our array
|
||||
$activeDir = &$this->directories[];
|
||||
} elseif($file_type == '5') {
|
||||
// Increment number of directories
|
||||
$this->numDirectories++;
|
||||
|
||||
// Assign values
|
||||
$activeDir["name"] = $file_name;
|
||||
$activeDir["mode"] = $file_mode;
|
||||
$activeDir["time"] = $file_time;
|
||||
$activeDir["user_id"] = $file_uid;
|
||||
$activeDir["group_id"] = $file_gid;
|
||||
$activeDir["user_name"] = $file_uname;
|
||||
$activeDir["group_name"] = $file_gname;
|
||||
$activeDir["checksum"] = $file_chksum;
|
||||
}
|
||||
// Create a new directory in our array
|
||||
$activeDir = &$this->directories[];
|
||||
|
||||
// Assign values
|
||||
if($flag_longlink)
|
||||
{
|
||||
$activeDir["name"] = $longlink_name;
|
||||
}
|
||||
else
|
||||
{
|
||||
$activeDir["name"] = $file_name;
|
||||
}
|
||||
$activeDir["type"] = $file_type;
|
||||
$activeDir["mode"] = $file_mode;
|
||||
$activeDir["time"] = $file_time;
|
||||
$activeDir["user_id"] = $file_uid;
|
||||
$activeDir["group_id"] = $file_gid;
|
||||
$activeDir["user_name"] = $file_uname;
|
||||
$activeDir["group_name"] = $file_gname;
|
||||
$activeDir["checksum"] = $file_chksum;
|
||||
|
||||
$flag_longlink = false;
|
||||
}
|
||||
|
||||
// Move our offset the number of blocks we have processed
|
||||
$main_offset += 512 + (ceil($file_size / 512) * 512);
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
</div>
|
||||
</form>
|
||||
</block>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$('#check_all')
|
||||
.bind('click', function(e){
|
||||
|
|
|
|||
|
|
@ -924,6 +924,25 @@
|
|||
<value xml:lang="zh-CN"><![CDATA[设置本地时间.]]></value>
|
||||
<value xml:lang="tr"><![CDATA[Yerel Zamanı ayarlayın.]]></value>
|
||||
</item>
|
||||
<item name="about_html_dtd">
|
||||
<value xml:lang="ko"><![CDATA[HTML 규격(DTD)을 선택하세요.]]></value>
|
||||
<value xml:lang="en"><![CDATA[Set HTML DTD.]]></value>
|
||||
<value xml:lang="jp"><![CDATA[HTML DTDを設定してください。]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[设置HTML DTD标签头.]]></value>
|
||||
<value xml:lang="tr"><![CDATA[HTML DTD ayarlayın.]]></value>
|
||||
</item>
|
||||
<item name="html5">
|
||||
<value xml:lang="ko"><![CDATA[HTML5]]></value>
|
||||
<value xml:lang="en"><![CDATA[HTML5]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[HTML5]]></value>
|
||||
<value xml:lang="tr"><![CDATA[HTML5]]></value>
|
||||
</item>
|
||||
<item name="xhtml_transitional">
|
||||
<value xml:lang="ko"><![CDATA[XHTML 1.0 Transitional]]></value>
|
||||
<value xml:lang="en"><![CDATA[XHTML 1.0 Transitional]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[XHTML 1.0 Transitional]]></value>
|
||||
<value xml:lang="tr"><![CDATA[XHTML 1.0 Transitional]]></value>
|
||||
</item>
|
||||
<item name="about_question_mobile_view">
|
||||
<value xml:lang="ko"><![CDATA[모바일 기기에서 접속할 때 모바일 페이지를 보여줄까요?]]></value>
|
||||
<value xml:lang="en"><![CDATA[Do you want to show the mobile page when users access the website with their mobile phone?]]></value>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.current_lang = '{$lang_type}';
|
||||
xe.lang.confirm_run = '{$lang->confirm_run}';
|
||||
xe.lang.confirm_reset_admin_menu = '{$lang->confirm_reset_admin_menu}';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
$('#favicon').change(function(){
|
||||
var re_favicon = /[^.]+\.ico$/
|
||||
|
|
@ -241,6 +241,13 @@ jQuery(function($){
|
|||
<input type="radio" name="qmail_compatibility" id="qmail_compatibility_n" value="N" <!--@if($qmail_compatibility!='Y')-->checked="checked" <!--@end-->/> <label for="qmail_compatibility_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q">{$lang->about_html_dtd}</p>
|
||||
<p class="a">
|
||||
<input type="radio" name="use_html5" id="xhtml" value="N" <!--@if($use_html5 != 'Y')-->checked="checked" <!--@end-->/> <label for="xhtml">{$lang->xhtml_transitional}</label>
|
||||
<input type="radio" name="use_html5" id="html5" value="Y" <!--@if($use_html5 == 'Y')-->checked="checked" <!--@end-->/> <label for="html5">{$lang->html5}</label>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<div class="btnArea">
|
||||
|
|
|
|||
4
modules/admin/tpl/css/admin.min.css
vendored
4
modules/admin/tpl/css/admin.min.css
vendored
File diff suppressed because one or more lines are too long
82
modules/admin/tpl/js/admin.min.js
vendored
82
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -1,46 +1,46 @@
|
|||
jQuery(function(a){a(".form li").find('>input:text:not(".notmulti"),>input:password,>textarea').filter('input[value!=""],textarea:not(:empty)').prev("label").css("visibility","hidden").end().end().prev("label").addClass("overlap").css({top:"15px",left:"5px"}).next().focus(function(){var b=a(this).prev().stop().animate({opacity:0,left:"25px"},"fast",function(){b.css("visibility","hidden")})}).blur(function(){var b=a(this);""==a.trim(b.val())&&b.prev().stop().css("visibility","visible").animate({opacity:1,
|
||||
left:"5px"},"fast")}).end().parent().css("position","relative");a(".form th>input:checkbox").change(function(){var b=a(this),e=b.data("name");b.closest("table").find("input:checkbox").filter(function(){var b=a(this);return!b.prop("disabled")&&(b.attr("name")==e||b.data("name")==e)}).prop("checked",b.prop("checked")).end().end().trigger("update.checkbox",[e,this.checked])});a.fn.xePagination=function(){this.not(".xe-pagination").addClass("xe-pagination").find("span.tgContent").css("whiteSpace","nowrap").end().find("a.tgAnchor").each(function(){var b=
|
||||
a(this);b.after(a(b.attr("href")))}).end();return this};a(".pagination").xePagination();a(".portlet .action").css({display:"none",position:"absolute"}).parent().mouseleave(function(){a(this).find(">.action").fadeOut(100)}).mouseenter(function(){a(this).find(">.action").fadeIn(100)}).focusin(function(){a(this).mouseenter()}).focusout(function(){var b=a(this),e;clearTimeout(b.data("timer"));e=setTimeout(function(){b.find(":focus").length||b.mouseleave()},10);b.data("timer",e)});a(window).resize(function(){1300>
|
||||
a(document).width()?(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:odd").after('<br style="clear:both" />')):(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:eq(2),.dashboard>.section>.portlet:eq(5)").after('<br style="clear:both" />'))});a(window).resize();a(".header>.siteTool>a.i").bind("before-open.tc",function(){a(this).addClass("active").next("div.tgContent").find(">.section:gt(0)").hide().end().find(">.btnArea>button").show()}).bind("after-close.tc",
|
||||
function(){a(this).removeClass("active")}).next("#siteMapList").find(">.section:last").after('<p class="btnArea"><button type="button">› more</button></p>').find("+p>button").click(function(){a(this).hide().parent().prevAll(".section").show()});a.fn.xeMask=function(){this.each(function(){var b=a(this),e=b.text();/^([\w\-\.]+?)@(([\w-]+\.)+[a-z]{2,})$/ig.test(e)&&b.html(e.replace(/(@.+)$/,'<span class="ellipsis">...</span><span class="cover">$1</span>')).find(">.ellipsis").css({position:"absolute",
|
||||
zIndex:1}).hover(function(){a(this).next(".cover").mouseover()},function(){a(this).next(".cover").mouseout()}).end().find(">.cover").css({zIndex:2,opacity:0}).hover(function(){a(this).css("opacity",1).prev("span").css("visibility","hidden")},function(){a(this).css("opacity",0).prev("span").css("visibility","visible")}).end()})};a(".masked").xeMask()});
|
||||
jQuery(function(a){a.fn.xeMenu=function(){this.attr("role","navigation").find(">.nav-gnb>li").attr("role","menuitem").filter(":has(>ul)").attr("aria-haspopup","true").end().end().find(">.nav-gnb").mouseover(function(){a(this).parent(".gnb").addClass("active").end().find(">li>ul").css("height","auto").end()}).mouseleave(function(){a(this).parent(".gnb").removeClass("active").end().find(">li>ul").css("height","0").end()}).focusout(function(){var b=a(this);setTimeout(function(){b.find(":focus").length||
|
||||
b.mouseleave()},1)}).delegate("a",{focus:function(){a(this).mouseover()}})};a("div.gnb").xeMenu();a(".gnb>.mnv").change(function(){window.location.href=a(this).find("option:selected").val()})});
|
||||
jQuery(function(a){a.fn.xeModalWindow=function(){this.not(".xe-modal-window").addClass("xe-modal-window").each(function(){a(a(this).attr("href")).addClass("x").hide()}).click(function(){var b=a(this),e,d;e=a(b.attr("href"));e.parent("body").length||(d=a('<button type="button" class="modalClose" title="Close this layer">X</button>'),d.click(function(){e.data("anchor").trigger("close.mw")}),e.prepend('<span class="bg"></span>').append('<\!--[if IE 6]><iframe class="ie6"></iframe><![endif]--\>').find(">.fg").prepend(d).append(d.clone(!0)).end().appendTo("body"));
|
||||
e.data("anchor",b);"showing"==e.data("state")?b.trigger("close.mw"):b.trigger("open.mw");return!1}).bind("open.mw",function(){var b=a(this),e,d;e=a.Event("before-open.mw");b.trigger(e);if(e.isDefaultPrevented())return!1;e=a(b.attr("href"));d=b.data("duration")||"fast";e.data("state","showing");a("html,body").addClass("modalContainer");a(document).bind("keydown.mw",function(a){if(27==a.which)return b.trigger("close.mw"),!1});e.fadeIn(d,function(){b.trigger("after-open.mw")}).find(">.bg").height(a(document).height()).end().find("button.modalClose:first").focus()}).bind("close.mw",
|
||||
function(){var b=a(this),e,d;e=a.Event("before-close.mw");b.trigger(e);if(e.isDefaultPrevented())return!1;e=a(b.attr("href"));d=b.data("duration")||"fast";e.data("state","hiding");a("html,body").removeClass("modalContainer");e.fadeOut(d,function(){b.trigger("after-close.mw")});b.focus()})};a("a.modalAnchor").xeModalWindow();a("div.modal").addClass("x").hide()});
|
||||
jQuery(function(a){var b=!1;a.fn.xeContentToggler=function(){this.not(".xe-content-toggler").addClass("xe-content-toggler").each(function(){var e=a(this);$layer=a(e.attr("href"));$layer.hide().not(".xe-toggling-content").addClass("xe-toggling-content").mousedown(function(){b=!0}).focusout(function(){setTimeout(function(){!b&&(!$layer.find(":focus").length&&"showing"==$layer.data("state"))&&e.trigger("close.tc");b=!1},1)})}).click(function(){var b=a(this),d;d=a(b.attr("href"));d.data("anchor",b);"showing"==
|
||||
d.data("state")?b.trigger("close.tc"):b.trigger("open.tc");return!1}).bind("open.tc",function(){function e(){d.trigger("after-open.tc")}var d=a(this),g,h,f;g=a(d.attr("href"));h=d.data("effect");f=d.data("duration")||"fast";g.data("state","showing");d.trigger("before-open.tc");b=!1;a(document).unbind("mousedown.tc keydown.tc").bind("mousedown.tc keydown.tc",function(b){if(b&&("keydown"==b.type&&27!=b.which||"mousedown"==b.type&&(b=a(b.target),b.is("html,.tgAnchor,.tgContent")||g.has(b).length)))return!0;
|
||||
d.trigger("close.tc");return!1});switch(h){case "slide":g.slideDown(f,e);break;case "slide-h":h=g.css({"overflow-x":"",width:""}).width();g.show().css({"overflow-x":"hidden",width:"0px"}).animate({width:h},f,function(){g.css({"overflow-x":"",width:""});e()});break;case "fade":g.fadeIn(f,e);break;default:g.show(),d.trigger("after-open.tc")}}).bind("close.tc",function(){function b(){d.trigger("after-close.tc")}var d=a(this),g,h,f;a(document).unbind("mousedown.tc keydown.tc");g=a(d.attr("href"));h=d.data("effect");
|
||||
f=d.data("duration")||"fast";g.data("state","hiding");d.trigger("before-close.tc");switch(h){case "slide":g.slideUp(f,b);break;case "slide-h":g.animate({width:0},f,function(){g.hide();b()});break;case "fade":g.fadeOut(f,b);break;default:g.hide(),d.trigger("after-close.tc")}});return this};a("a.tgAnchor").xeContentToggler()});
|
||||
jQuery(function(a){a.fn.xeModuleFinder=function(){this.not(".xe-module-finder").addClass("xe-module-finder").find("a.tgAnchor.findsite").bind("before-open.tc",function(){var b,e,d;b=a(this);e=a(b.attr("href")).find(">ul");d=b.prev("input:text").val();a.exec_json("admin.getSiteAllList",{domain:d},function(d){var h=d.site_list,f,k;e.empty();b.closest(".modulefinder").find(".moduleList,.moduleIdList").attr("disabled","disabled");if(d.error||!a.isArray(h))b.trigger("close.tc");else{f=0;for(k=h.length;f<
|
||||
k;f++)d=a("<li />").appendTo(e),a('<button type="button" />').text(h[f].domain).data("site_srl",h[f].site_srl).appendTo(d)}})}).end().find(".tgContent.suggestion").delegate("button","click",function(){var b,e;b=a(this);e=b.closest(".modulefinder");e.find("a.tgAnchor.findsite").trigger("close.tc");a.exec_json("module.procModuleAdminGetList",{site_srl:b.data("site_srl")},function(b){var g=b.module_list,h;if(!b.error&&g){b=e.find(".moduleList").data("module_list",g).removeAttr("disabled").empty();for(h in g)g.hasOwnProperty(h)&&
|
||||
a("<option />").attr("value",h).text(g[h].title).appendTo(b);b.prop("selectedIndex",0).change().focus();b.is(":visible")||b.slideDown(100,function(){e.find(".moduleIdList:not(:visible)").slideDown(100).trigger("show")}).trigger("show")}})}).end().find(".moduleList,.moduleIdList").hide().end().find(".moduleList").change(function(){var b,e,d;b=a(this);e=b.val();d=b.data("module_list");if(d[e]){d=d[e].list;b=b.closest(".modulefinder").find(".moduleIdList").removeAttr("disabled").empty();for(var g in d)d.hasOwnProperty(g)&&
|
||||
a("<option />").attr("value",d[g].module_srl).text(d[g].browser_title).appendTo(b);b.prop("selectedIndex",0).change()}});return this};a(".modulefinder").xeModuleFinder()});
|
||||
jQuery(function(a){_xeModuleSearch=function(){function b(a,b){var d;a.find("li div").width("");a.css("height","");a.css("overflow-y","");a.height()>b&&(d=a.find("li div"),d.width(d.width()-20+"px"),a.css("height",b+"px"),a.css("overflow-y","auto"))}function e(d){var e,g=RegExp(d,"ig"),f=q;j.empty();i=0;for(c=f.length;i<c;i++){e=f[i].domain;if(d){if(!e.match(g))continue;e=e.replace(g,function(a){return'<span class="highlight">'+a+"</span>"})}$li=a("<li />").appendTo(j);a("<a>").attr("href","#").html("<div>"+
|
||||
e+'</div><span class="icon-circle-arrow-right" style="display:inline-block;float:right;width:16px;height:16px;"></span>').data("site_srl",f[i].site_srl).appendTo($li)}b(j,x-l.parent("DIV").height())}var d=this,g=a(this),h=g.find(".moduleSearchWindow"),f=h.find(".siteList"),k=h.find(".moduleTypeList"),n=h.find(".moduleInstanceList"),j=f.find("UL"),o=k.find("UL"),m=n.find("SELECT"),l=h.find("INPUT.siteListSearchInput"),q,x=280;l.keyup(function(){e(l.val())});"undefined"==typeof console&&(console={log:function(){}});
|
||||
g.not(".xe-module-search").addClass("xe-module-search").find("a.tgAnchor.moduleSearch").bind("before-open.tc",function(){var b;b=a(this);j.empty();m.empty();k.hide();n.hide();a.exec_json("admin.getSiteAllList",{domain:""},function(d){var g=d.site_list;d.error||!a.isArray(g)?b.trigger("close.tc"):(q=g,e(l.val()),l.focus())})}).end().find(".tgContent .siteListUL").delegate("a","click",function(d){var e;e=a(this);e.closest(".modulefinder");o.empty();n.hide();a.exec_json("module.procModuleAdminGetList",
|
||||
{site_srl:e.data("site_srl")},function(d){var g=d.module_list,f;if(!d.error&&g){for(f in g)g.hasOwnProperty(f)&&($li=a("<li />").appendTo(o),a("<a>").attr("href","#").html("<div>"+g[f].title+'</div><span class="icon-circle-arrow-right" style="display:inline-block;float:right;width:16px;height:16px;"></span>').data("moduleInstanceList",g[f].list).appendTo($li));h.find(".moduleTypeList").show();b(o,x);j.find("li").removeClass("on");e.parent("li").addClass("on")}});d.preventDefault()}).end().find(".moduleTypeListUL").delegate("a",
|
||||
"click",function(e){var g,f;g=a(this);if(f=g.data("moduleInstanceList")){d.sSelectedModuleType=g.text();m.empty();for(var j in f)f.hasOwnProperty(j)&&($li=a("<option />").html(f[j].browser_title).appendTo(m).val(f[j].module_srl).data("mid",f[j].module_srl).data("module_srl",f[j].module_srl).data("layout_srl",f[j].layout_srl).data("browser_title",f[j].browser_title));n.show();b(m,x);o.find("li").removeClass("on");g.parent("li").addClass("on");e.preventDefault()}}).end().find(".moduleSearch_ok").click(function(b){var e=
|
||||
[];g.find(".moduleInstanceListSelect option:selected").each(function(){e.push({type:d.sSelectedModuleType,module_srl:a(this).data("module_srl"),layout_srl:a(this).data("layout_srl"),browser_title:a(this).data("browser_title")})});g.trigger("moduleSelect",[e]);a(".tgAnchor.moduleSearch").trigger("close.tc");b.preventDefault()});return this};a.fn.xeModuleSearch=function(){a(this).each(_xeModuleSearch)};a(".moduleSearch").xeModuleSearch()});
|
||||
jQuery(function(a){function b(a,b){for(var e=0,f=0;a&&a!=b;)e+=a.offsetTop,f+=a.offsetLeft,a=a.offsetParent;return{top:e,left:f}}var e=a('<tr class="placeholder"><td> </td></tr>');a.fn.xeSortableTable=function(){this.not(".xe-sortable-table").addClass("xe-sortable-table").delegate("button.dragBtn","mousedown.st",function(d){var g,h,f,k,n,j,o,m,l,q;if(1==d.which){h=a(this);f=h.closest("tr");k=h.closest("table");q=k.get(0).offsetParent;h=f.height();n=f.width();before_event=a.Event("before-drag.st");
|
||||
k.trigger(before_event);if(before_event.isDefaultPrevented())return!1;g=d.pageY;j=b(f.get(0),q);$clone=f.attr("target",!0).clone(!0).appendTo(k);l=(d=k.find("thead th")).length;d.filter("[colspan]").attr("colspan",function(a,b){l+=b-1});e.find("td").attr("colspan",l);o=[];k.find("tbody>tr:not([target],.sticky,:hidden)").each(function(){var e=a(this),d;d=b(this,q);o.push({top:d.top,bottom:d.top+e.height(),$item:e})});$clone.addClass("draggable").css({position:"absolute",opacity:0.6,width:n,height:h,
|
||||
left:j.left,top:j.top,zIndex:100});e.css({position:"absolute",opacity:0.6,width:n,height:"10px",left:j.left,top:j.top,backgroundColor:"#bbb",overflow:"hidden",zIndex:99}).appendTo(k);f.css("opacity",0.6);a(document).unbind("mousedown.st mouseup.st").bind("mousemove.st",function(a){var b,d,f;m=null;a=j.top-(g-a.pageY);b=0;for(d=o.length;b<d;b++)f=o[b],b&&f.top>a||b<d-1&&f.bottom<a||(m={element:f.$item},f.top>a-12?(m.state="before",e.css("top",f.top-5)):(m.state="after",e.css("top",f.bottom-5)));$clone.css({top:a})}).bind("mouseup.st",
|
||||
function(){var b;a(document).unbind("mousemove.st mouseup.st");f.removeAttr("target").css("opacity","");$clone.remove();e.remove();m&&(b=a(m.element),b[m.state](f),k.trigger("after-drag.st"))})}});return this};a("table.sortable").xeSortableTable()});
|
||||
jQuery(function(a){var b=null,e=null,d=0,g=null,h=!1,f=!1,k;a(".multiLangEdit").delegate("input.vLang:text,textarea.vLang",{textchange:function(){function b(){f.addClass("loading");l.parent().is(":visible")&&l.parent().hide();show_waiting_message=!1;a.exec_json("module.getLangListByLangcodeForAutoComplete",{search_keyword:g},function(b){return function(e){var g=e.results,j,h;f.removeClass("loading");if(!e.error&&g&&!(0===g.length||d!=b+1)){l.empty();j=0;for(h=g.length;j<h;j++)e=a('<button type="button" class="_btnLang" />').data("langkey",
|
||||
g[j].name).text(g[j].value),a("<li />").append(e).appendTo(l);k.trigger("show")}}}(d++));show_waiting_message=!0}var f=a(this),g=a.trim(f.val()),l;e&&(clearTimeout(e),e=null);f.data("mle-container");l=k.find(">ul");!g||h?(h=!1,l.parent().hide(),f.prev("input.vLang").val("")):(f.data("mle-langkey").val(""),f.prev("input.vLang").val(g),e=setTimeout(b,100))},keydown:function(b){var e,d,f=b.which;a(this);b=k.find(">ul");if(!k.is(":visible")||0>a.inArray(f,[38,40,13,27]))return!0;if(27==f)return k.trigger("hide"),
|
||||
!1;e=b.find("button.active");if(13==f){if(0===e.length)return!0;e.click();return!1}if(!e.length)return b.find("li>button:first").addClass("active"),!1;38==f?(d=e.parent().prev("li").find(">button"),d.length||(d=b.find(">li:last>button"))):40==f&&(d=e.parent().next("li").find(">button"),d.length||(d=b.find(">li:first>button")));e.removeClass("active");d.addClass("active");return!1},focus:function(){var e=a(this),d=a.trim(e.val()),f=e.closest(".multiLangEdit");e.after(k);e.data("mle-container")||e.data("mle-container",
|
||||
f);e.data("mle-langkey")||e.data("mle-langkey",f.find("input.vLang:first"));(function(){var f=a.trim(e.val());f!=d&&(d=f,e.trigger("textchange"));b=setTimeout(arguments.callee,50)})()},blur:function(){clearTimeout(b);b=null;a(this).closest(".multiLangEdit").focusout()},focusout:function(){var b=a(this);clearTimeout(g);g=setTimeout(function(){f?f=!1:b.find(":focus").is(".vLang,button._btnLang")||k.trigger("hide")},10)}}).delegate("a.tgAnchor.editUserLang",{"before-open.tc":function(){var b,e,d;b=a(this);
|
||||
e=a(b.attr("href")).insertBefore(b);d=b.closest(".multiLangEdit").find("input.vLang,textarea.vLang");b=d.eq(0).val();d=d.eq(1).val();var f=e,g=function(){var a=[];v.each(function(){a.push(this.value)});return a.join("\n")},h=function(){f.data("multilang-current-name")?f.find("h2").find("strong").text(p==y?t:z).end().find("a").text(p==y?z:t).show().end():f.find("h2").find("strong").text(t).end().find("a").hide()},r,v,w="",s=0,p,t,z,u=[],y=0;f.data("init-multilang-editor")||(f.data("init-multilang-editor",
|
||||
!0).bind("multilang-reset",function(){f.data("multilang-current-name","").find(".langInput li").find(">input:text,>textarea").val("").prev("label").css("visibility","visible");p=y;h()}).find("h2 a").click(function(){p=!p;h();return!1}).end().delegate("a.langItem","click",function(){var b=a(this),e,d,j;d=f.data("multilang-list");j=b.data("multilang-name");if(d&&d[j]){d=d[j];e=f.find(".langInput");f.trigger("multilang-reset").find(".langList li.active").removeClass("active").end().data("multilang-current-name",
|
||||
j);b.parent("li").addClass("active");for(var k in d)d.hasOwnProperty(k)&&e.find("li."+k).find(">input:text,>textarea").data("multilang-value",d[k]).val(d[k]).prev("label").css("visibility","hidden");w=g();s=0;r.val(u[s]);p=1;h();return!1}}).data("layer_index",n).find(".langInput").attr("id","langInput_"+n++),z=f.find("h2 strong").text(),t=f.find("h2 a").text(),v=f.find("input:text,textarea").change(function(){var a=g()==w?0:1;a!=s&&r.val(u[s=a])}),r=f.find("input[type=submit]").click(function(){function b(){f.hide().closest(".multiLangEdit").find(".vLang").eq(0).val("$user_lang->"+
|
||||
left:"5px"},"fast")}).end().parent().css("position","relative");var d=a("input:radio+label,input:checkbox+label").prev("input");d.change(function(){var b=a(this).attr("name");d.filter(function(){return this.name==b}).next("label").css("font-weight","normal").end().filter(":checked").next("label").css("font-weight","bold").end()}).change();a(".form th>input:checkbox").change(function(){var b=a(this),e=b.data("name");b.closest("table").find("input:checkbox").filter(function(){var b=a(this);return!b.prop("disabled")&&
|
||||
(b.attr("name")==e||b.data("name")==e)}).prop("checked",b.prop("checked")).end().end().trigger("update.checkbox",[e,this.checked])});a.fn.xePagination=function(){this.not(".xe-pagination").addClass("xe-pagination").find("span.tgContent").css("whiteSpace","nowrap").end().find("a.tgAnchor").each(function(){var b=a(this);b.after(a(b.attr("href")))}).end();return this};a(".pagination").xePagination();a(".portlet .action").css({display:"none",position:"absolute"}).parent().mouseleave(function(){a(this).find(">.action").fadeOut(100)}).mouseenter(function(){a(this).find(">.action").fadeIn(100)}).focusin(function(){a(this).mouseenter()}).focusout(function(){var b=
|
||||
a(this),e;clearTimeout(b.data("timer"));e=setTimeout(function(){b.find(":focus").length||b.mouseleave()},10);b.data("timer",e)});a(window).resize(function(){1300>a(document).width()?(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:odd").after('<br style="clear:both" />')):(a(".dashboard>.section>br").remove(),a(".dashboard>.section>.portlet:eq(2),.dashboard>.section>.portlet:eq(5)").after('<br style="clear:both" />'))});a(window).resize();a(".header>.siteTool>a.i").bind("before-open.tc",
|
||||
function(){a(this).addClass("active").next("div.tgContent").find(">.section:gt(0)").hide().end().find(">.btnArea>button").show()}).bind("after-close.tc",function(){a(this).removeClass("active")}).next("#siteMapList").find(">.section:last").after('<p class="btnArea"><button type="button">› more</button></p>').find("+p>button").click(function(){a(this).hide().parent().prevAll(".section").show()});a.fn.xeMask=function(){this.each(function(){var b=a(this),e=b.text();/^([\w\-\.]+?)@(([\w-]+\.)+[a-z]{2,})$/ig.test(e)&&
|
||||
b.html(e.replace(/(@.+)$/,'<span class="ellipsis">...</span><span class="cover">$1</span>')).find(">.ellipsis").css({position:"absolute",zIndex:1}).hover(function(){a(this).next(".cover").mouseover()},function(){a(this).next(".cover").mouseout()}).end().find(">.cover").css({zIndex:2,opacity:0}).hover(function(){a(this).css("opacity",1).prev("span").css("visibility","hidden")},function(){a(this).css("opacity",0).prev("span").css("visibility","visible")}).end()})};a(".masked").xeMask()});
|
||||
jQuery(function(a){a.fn.xeMenu=function(){this.attr("role","navigation").find(">.nav-gnb>li").attr("role","menuitem").filter(":has(>ul)").attr("aria-haspopup","true").end().end().find(">.nav-gnb").mouseover(function(){a(this).parent(".gnb").addClass("active").end().find(">li>ul").css("height","auto").end()}).mouseleave(function(){a(this).parent(".gnb").removeClass("active").end().find(">li>ul").css("height","0").end()}).focusout(function(){var d=a(this);setTimeout(function(){d.find(":focus").length||
|
||||
d.mouseleave()},1)}).delegate("a",{focus:function(){a(this).mouseover()}})};a("div.gnb").xeMenu();a(".gnb>.mnv").change(function(){window.location.href=a(this).find("option:selected").val()})});
|
||||
jQuery(function(a){a.fn.xeModalWindow=function(){this.not(".xe-modal-window").addClass("xe-modal-window").each(function(){a(a(this).attr("href")).addClass("x").hide()}).click(function(){var d=a(this),b,e;b=a(d.attr("href"));b.parent("body").length||(e=a('<button type="button" class="modalClose" title="Close this layer">X</button>'),e.click(function(){b.data("anchor").trigger("close.mw")}),b.prepend('<span class="bg"></span>').append('<\!--[if IE 6]><iframe class="ie6"></iframe><![endif]--\>').find(">.fg").prepend(e).append(e.clone(!0)).end().appendTo("body"));
|
||||
b.data("anchor",d);"showing"==b.data("state")?d.trigger("close.mw"):d.trigger("open.mw");return!1}).bind("open.mw",function(){var d=a(this),b,e;b=a.Event("before-open.mw");d.trigger(b);if(b.isDefaultPrevented())return!1;b=a(d.attr("href"));e=d.data("duration")||"fast";b.data("state","showing");a("html,body").addClass("modalContainer");a(document).bind("keydown.mw",function(a){if(27==a.which)return d.trigger("close.mw"),!1});b.fadeIn(e,function(){d.trigger("after-open.mw")}).find(">.bg").height(a(document).height()).end().find("button.modalClose:first").focus()}).bind("close.mw",
|
||||
function(){var d=a(this),b,e;b=a.Event("before-close.mw");d.trigger(b);if(b.isDefaultPrevented())return!1;b=a(d.attr("href"));e=d.data("duration")||"fast";b.data("state","hiding");a("html,body").removeClass("modalContainer");b.fadeOut(e,function(){d.trigger("after-close.mw")});d.focus()})};a("a.modalAnchor").xeModalWindow();a("div.modal").addClass("x").hide()});
|
||||
jQuery(function(a){var d=!1;a.fn.xeContentToggler=function(){this.not(".xe-content-toggler").addClass("xe-content-toggler").each(function(){var b=a(this);$layer=a(b.attr("href"));$layer.hide().not(".xe-toggling-content").addClass("xe-toggling-content").mousedown(function(){d=!0}).focusout(function(){setTimeout(function(){!d&&(!$layer.find(":focus").length&&"showing"==$layer.data("state"))&&b.trigger("close.tc");d=!1},1)})}).click(function(){var b=a(this),e;e=a(b.attr("href"));e.data("anchor",b);"showing"==
|
||||
e.data("state")?b.trigger("close.tc"):b.trigger("open.tc");return!1}).bind("open.tc",function(){function b(){e.trigger("after-open.tc")}var e=a(this),j,g,f;j=a(e.attr("href"));g=e.data("effect");f=e.data("duration")||"fast";j.data("state","showing");e.trigger("before-open.tc");d=!1;a(document).unbind("mousedown.tc keydown.tc").bind("mousedown.tc keydown.tc",function(b){if(b&&("keydown"==b.type&&27!=b.which||"mousedown"==b.type&&(b=a(b.target),b.is("html,.tgAnchor,.tgContent")||j.has(b).length)))return!0;
|
||||
e.trigger("close.tc");return!1});switch(g){case "slide":j.slideDown(f,b);break;case "slide-h":g=j.css({"overflow-x":"",width:""}).width();j.show().css({"overflow-x":"hidden",width:"0px"}).animate({width:g},f,function(){j.css({"overflow-x":"",width:""});b()});break;case "fade":j.fadeIn(f,b);break;default:j.show(),e.trigger("after-open.tc")}}).bind("close.tc",function(){function b(){e.trigger("after-close.tc")}var e=a(this),d,g,f;a(document).unbind("mousedown.tc keydown.tc");d=a(e.attr("href"));g=e.data("effect");
|
||||
f=e.data("duration")||"fast";d.data("state","hiding");e.trigger("before-close.tc");switch(g){case "slide":d.slideUp(f,b);break;case "slide-h":d.animate({width:0},f,function(){d.hide();b()});break;case "fade":d.fadeOut(f,b);break;default:d.hide(),e.trigger("after-close.tc")}});return this};a("a.tgAnchor").xeContentToggler()});
|
||||
jQuery(function(a){a.fn.xeModuleFinder=function(){this.not(".xe-module-finder").addClass("xe-module-finder").find("a.tgAnchor.findsite").bind("before-open.tc",function(){var d,b,e;d=a(this);b=a(d.attr("href")).find(">ul");e=d.prev("input:text").val();a.exec_json("admin.getSiteAllList",{domain:e},function(e){var g=e.site_list,f,k;b.empty();d.closest(".modulefinder").find(".moduleList,.moduleIdList").attr("disabled","disabled");if(e.error||!a.isArray(g))d.trigger("close.tc");else{f=0;for(k=g.length;f<
|
||||
k;f++)e=a("<li />").appendTo(b),a('<button type="button" />').text(g[f].domain).data("site_srl",g[f].site_srl).appendTo(e)}})}).end().find(".tgContent.suggestion").delegate("button","click",function(){var d,b;d=a(this);b=d.closest(".modulefinder");b.find("a.tgAnchor.findsite").trigger("close.tc");a.exec_json("module.procModuleAdminGetList",{site_srl:d.data("site_srl")},function(e){var d=e.module_list,g;if(!e.error&&d){e=b.find(".moduleList").data("module_list",d).removeAttr("disabled").empty();for(g in d)d.hasOwnProperty(g)&&
|
||||
a("<option />").attr("value",g).text(d[g].title).appendTo(e);e.prop("selectedIndex",0).change().focus();e.is(":visible")||e.slideDown(100,function(){b.find(".moduleIdList:not(:visible)").slideDown(100).trigger("show")}).trigger("show")}})}).end().find(".moduleList,.moduleIdList").hide().end().find(".moduleList").change(function(){var d,b,e;d=a(this);b=d.val();e=d.data("module_list");if(e[b]){e=e[b].list;d=d.closest(".modulefinder").find(".moduleIdList").removeAttr("disabled").empty();for(var j in e)e.hasOwnProperty(j)&&
|
||||
a("<option />").attr("value",e[j].module_srl).text(e[j].browser_title).appendTo(d);d.prop("selectedIndex",0).change()}});return this};a(".modulefinder").xeModuleFinder()});
|
||||
jQuery(function(a){_xeModuleSearch=function(){function d(a,b){var e;a.find("li div").width("");a.css("height","");a.css("overflow-y","");a.height()>b&&(e=a.find("li div"),e.width(e.width()-20+"px"),a.css("height",b+"px"),a.css("overflow-y","auto"))}function b(b){var e,f=RegExp(b,"ig"),g=q;h.empty();i=0;for(c=g.length;i<c;i++){e=g[i].domain;if(b){if(!e.match(f))continue;e=e.replace(f,function(a){return'<span class="highlight">'+a+"</span>"})}$li=a("<li />").appendTo(h);a("<a>").attr("href","#").html("<div>"+
|
||||
e+'</div><span class="icon-circle-arrow-right" style="display:inline-block;float:right;width:16px;height:16px;"></span>').data("site_srl",g[i].site_srl).appendTo($li)}d(h,x-l.parent("DIV").height())}var e=this,j=a(this),g=j.find(".moduleSearchWindow"),f=g.find(".siteList"),k=g.find(".moduleTypeList"),n=g.find(".moduleInstanceList"),h=f.find("UL"),o=k.find("UL"),m=n.find("SELECT"),l=g.find("INPUT.siteListSearchInput"),q,x=280;l.keyup(function(){b(l.val())});"undefined"==typeof console&&(console={log:function(){}});
|
||||
j.not(".xe-module-search").addClass("xe-module-search").find("a.tgAnchor.moduleSearch").bind("before-open.tc",function(){var e;e=a(this);h.empty();m.empty();k.hide();n.hide();a.exec_json("admin.getSiteAllList",{domain:""},function(d){var h=d.site_list;d.error||!a.isArray(h)?e.trigger("close.tc"):(q=h,b(l.val()),l.focus())})}).end().find(".tgContent .siteListUL").delegate("a","click",function(b){var e;e=a(this);e.closest(".modulefinder");o.empty();n.hide();a.exec_json("module.procModuleAdminGetList",
|
||||
{site_srl:e.data("site_srl")},function(b){var f=b.module_list,l;if(!b.error&&f){for(l in f)f.hasOwnProperty(l)&&($li=a("<li />").appendTo(o),a("<a>").attr("href","#").html("<div>"+f[l].title+'</div><span class="icon-circle-arrow-right" style="display:inline-block;float:right;width:16px;height:16px;"></span>').data("moduleInstanceList",f[l].list).appendTo($li));g.find(".moduleTypeList").show();d(o,x);h.find("li").removeClass("on");e.parent("li").addClass("on")}});b.preventDefault()}).end().find(".moduleTypeListUL").delegate("a",
|
||||
"click",function(b){var f,h;f=a(this);if(h=f.data("moduleInstanceList")){e.sSelectedModuleType=f.text();m.empty();for(var l in h)h.hasOwnProperty(l)&&($li=a("<option />").html(h[l].browser_title).appendTo(m).val(h[l].module_srl).data("mid",h[l].module_srl).data("module_srl",h[l].module_srl).data("layout_srl",h[l].layout_srl).data("browser_title",h[l].browser_title));n.show();d(m,x);o.find("li").removeClass("on");f.parent("li").addClass("on");b.preventDefault()}}).end().find(".moduleSearch_ok").click(function(b){var d=
|
||||
[];j.find(".moduleInstanceListSelect option:selected").each(function(){d.push({type:e.sSelectedModuleType,module_srl:a(this).data("module_srl"),layout_srl:a(this).data("layout_srl"),browser_title:a(this).data("browser_title")})});j.trigger("moduleSelect",[d]);a(".tgAnchor.moduleSearch").trigger("close.tc");b.preventDefault()});return this};a.fn.xeModuleSearch=function(){a(this).each(_xeModuleSearch)};a(".moduleSearch").xeModuleSearch()});
|
||||
jQuery(function(a){function d(a,b){for(var d=0,f=0;a&&a!=b;)d+=a.offsetTop,f+=a.offsetLeft,a=a.offsetParent;return{top:d,left:f}}var b=a('<tr class="placeholder"><td> </td></tr>');a.fn.xeSortableTable=function(){this.not(".xe-sortable-table").addClass("xe-sortable-table").delegate("button.dragBtn","mousedown.st",function(e){var j,g,f,k,n,h,o,m,l,q;if(1==e.which){g=a(this);f=g.closest("tr");k=g.closest("table");q=k.get(0).offsetParent;g=f.height();n=f.width();before_event=a.Event("before-drag.st");
|
||||
k.trigger(before_event);if(before_event.isDefaultPrevented())return!1;j=e.pageY;h=d(f.get(0),q);$clone=f.attr("target",!0).clone(!0).appendTo(k);l=(e=k.find("thead th")).length;e.filter("[colspan]").attr("colspan",function(a,b){l+=b-1});b.find("td").attr("colspan",l);o=[];k.find("tbody>tr:not([target],.sticky,:hidden)").each(function(){var b=a(this),e;e=d(this,q);o.push({top:e.top,bottom:e.top+b.height(),$item:b})});$clone.addClass("draggable").css({position:"absolute",opacity:0.6,width:n,height:g,
|
||||
left:h.left,top:h.top,zIndex:100});b.css({position:"absolute",opacity:0.6,width:n,height:"10px",left:h.left,top:h.top,backgroundColor:"#bbb",overflow:"hidden",zIndex:99}).appendTo(k);f.css("opacity",0.6);a(document).unbind("mousedown.st mouseup.st").bind("mousemove.st",function(a){var e,d,f;m=null;a=h.top-(j-a.pageY);e=0;for(d=o.length;e<d;e++)f=o[e],e&&f.top>a||e<d-1&&f.bottom<a||(m={element:f.$item},f.top>a-12?(m.state="before",b.css("top",f.top-5)):(m.state="after",b.css("top",f.bottom-5)));$clone.css({top:a})}).bind("mouseup.st",
|
||||
function(){var e;a(document).unbind("mousemove.st mouseup.st");f.removeAttr("target").css("opacity","");$clone.remove();b.remove();m&&(e=a(m.element),e[m.state](f),k.trigger("after-drag.st"))})}});return this};a("table.sortable").xeSortableTable()});
|
||||
jQuery(function(a){var d=null,b=null,e=0,j=null,g=!1,f=!1,k;a(".multiLangEdit").delegate("input.vLang:text,textarea.vLang",{textchange:function(){function d(){f.addClass("loading");l.parent().is(":visible")&&l.parent().hide();show_waiting_message=!1;a.exec_json("module.getLangListByLangcodeForAutoComplete",{search_keyword:m},function(b){return function(d){var h=d.results,g,m;f.removeClass("loading");if(!d.error&&h&&!(0===h.length||e!=b+1)){l.empty();g=0;for(m=h.length;g<m;g++)d=a('<button type="button" class="_btnLang" />').data("langkey",
|
||||
h[g].name).text(h[g].value),a("<li />").append(d).appendTo(l);k.trigger("show")}}}(e++));show_waiting_message=!0}var f=a(this),m=a.trim(f.val()),l;b&&(clearTimeout(b),b=null);f.data("mle-container");l=k.find(">ul");!m||g?(g=!1,l.parent().hide(),f.prev("input.vLang").val("")):(f.data("mle-langkey").val(""),f.prev("input.vLang").val(m),b=setTimeout(d,100))},keydown:function(b){var e,d,f=b.which;a(this);b=k.find(">ul");if(!k.is(":visible")||0>a.inArray(f,[38,40,13,27]))return!0;if(27==f)return k.trigger("hide"),
|
||||
!1;e=b.find("button.active");if(13==f){if(0===e.length)return!0;e.click();return!1}if(!e.length)return b.find("li>button:first").addClass("active"),!1;38==f?(d=e.parent().prev("li").find(">button"),d.length||(d=b.find(">li:last>button"))):40==f&&(d=e.parent().next("li").find(">button"),d.length||(d=b.find(">li:first>button")));e.removeClass("active");d.addClass("active");return!1},focus:function(){var b=a(this),e=a.trim(b.val()),f=b.closest(".multiLangEdit");b.after(k);b.data("mle-container")||b.data("mle-container",
|
||||
f);b.data("mle-langkey")||b.data("mle-langkey",f.find("input.vLang:first"));(function(){var f=a.trim(b.val());f!=e&&(e=f,b.trigger("textchange"));d=setTimeout(arguments.callee,50)})()},blur:function(){clearTimeout(d);d=null;a(this).closest(".multiLangEdit").focusout()},focusout:function(){var b=a(this);clearTimeout(j);j=setTimeout(function(){f?f=!1:b.find(":focus").is(".vLang,button._btnLang")||k.trigger("hide")},10)}}).delegate("a.tgAnchor.editUserLang",{"before-open.tc":function(){var b,e,d;b=a(this);
|
||||
e=a(b.attr("href")).insertBefore(b);d=b.closest(".multiLangEdit").find("input.vLang,textarea.vLang");b=d.eq(0).val();d=d.eq(1).val();var f=e,g=function(){var a=[];v.each(function(){a.push(this.value)});return a.join("\n")},j=function(){f.data("multilang-current-name")?f.find("h2").find("strong").text(p==y?t:z).end().find("a").text(p==y?z:t).show().end():f.find("h2").find("strong").text(t).end().find("a").hide()},r,v,w="",s=0,p,t,z,u=[],y=0;f.data("init-multilang-editor")||(f.data("init-multilang-editor",
|
||||
!0).bind("multilang-reset",function(){f.data("multilang-current-name","").find(".langInput li").find(">input:text,>textarea").val("").prev("label").css("visibility","visible");p=y;j()}).find("h2 a").click(function(){p=!p;j();return!1}).end().delegate("a.langItem","click",function(){var b=a(this),e,d,h;d=f.data("multilang-list");h=b.data("multilang-name");if(d&&d[h]){d=d[h];e=f.find(".langInput");f.trigger("multilang-reset").find(".langList li.active").removeClass("active").end().data("multilang-current-name",
|
||||
h);b.parent("li").addClass("active");for(var k in d)d.hasOwnProperty(k)&&e.find("li."+k).find(">input:text,>textarea").data("multilang-value",d[k]).val(d[k]).prev("label").css("visibility","hidden");w=g();s=0;r.val(u[s]);p=1;j();return!1}}).data("layer_index",n).find(".langInput").attr("id","langInput_"+n++),z=f.find("h2 strong").text(),t=f.find("h2 a").text(),v=f.find("input:text,textarea").change(function(){var a=g()==w?0:1;a!=s&&r.val(u[s=a])}),r=f.find("input[type=submit]").click(function(){function b(){f.hide().closest(".multiLangEdit").find(".vLang").eq(0).val("$user_lang->"+
|
||||
d).end().eq(1).val(f.find(".langInput li."+xe.current_lang).find(">input:text,>textarea").val()).end()}function e(a){a&&(!a.error&&a.name)&&(d=a.name,b())}var d=f.data("multilang-current-name");if(g()==w)b();else{var h={};d&&1==p&&(h.lang_name=d);v.each(function(){var b=a(this);h[b.parent("li").attr("class")]=b.val()});a.exec_json("module.procModuleAdminInsertLang",h,e)}return!1}),u=r.val().split("|"),r.val(u[0]));e.trigger("multilang-reset").removeClass("showChild").find(".langList").empty().end();
|
||||
e.find(".langInput li."+xe.current_lang).find(">input:text,>textarea").val(d).prev("label").css("visibility","hidden");k.trigger("hide");/^\$user_lang->(.+)$/.test(b)?(b="module.getModuleAdminLangListByName",d={lang_name:RegExp.$1}):(b="module.getModuleAdminLangListByValue",d={value:d});show_waiting_message=!1;a.exec_json(b,d,function(b){var d=b.lang_list,f;if(!b.error&&d){var b=d,g,h={},j,d=0;for(g=b.length;d<g;d++){j=b[d];h[j.name]||(h[j.name]={});h[j.name][j.lang_code]=j.value}d=h;e.data("multilang-list",
|
||||
d);f=e.find(".langList");a.each(d,function(b){var d=a("<li />").appendTo(f),g=e.data("layer_index"),h=this[xe.current_lang];if(!h)for(lang_code in this){h=this[lang_code];break}a('<a href="#langInput_'+g+'" class="langItem" />').text(h).data("multilang-name",b).appendTo(d)});var b=d,d=0,k;for(k in b)b.hasOwnProperty(k)&&d++;d>1&&e.addClass("showChild");e.find(".langList>li>a:first").click()}});show_waiting_message=!0}}).delegate("button._btnLang",{click:function(){var b=a(this);h=!0;k.trigger("hide");
|
||||
d);f=e.find(".langList");a.each(d,function(b){var d=a("<li />").appendTo(f),g=e.data("layer_index"),h=this[xe.current_lang];if(!h)for(lang_code in this){h=this[lang_code];break}a('<a href="#langInput_'+g+'" class="langItem" />').text(h).data("multilang-name",b).appendTo(d)});var b=d,d=0,k;for(k in b)b.hasOwnProperty(k)&&d++;d>1&&e.addClass("showChild");e.find(".langList>li>a:first").click()}});show_waiting_message=!0}}).delegate("button._btnLang",{click:function(){var b=a(this);g=!0;k.trigger("hide");
|
||||
b.closest(".multiLangEdit").find("input.vLang,textarea.vLang").eq(0).val(b.data("langkey")).end().eq(1).val(b.text()).end();return!1},mousedown:function(){f=!0},focus:function(){a(this).mouseover()},mouseover:function(){a(this).closest("ul").find("button.active").removeClass("active")}});k=a('<div class="suggestion"><ul></ul></div>').bind("show",function(){a(this).show()}).bind("hide",function(){a(this).hide()});var n=0});
|
||||
jQuery(function(a){a(".filebox").bind("before-open.mw",function(){function b(h){d.html(h.html);d.find(".lined .select").bind("click",function(){var b=a("input.select_checkbox:checked");0==b.length?(b=a(this).parent().find("img.filebox_item").attr("src"))?(e.trigger("filebox.selected",[b]),e.trigger("close.mw")):alert("None selected!"):(e.trigger("filebox.selected",[b]),e.trigger("close.mw"));return!1});d.find(".pagination").find("a").filter(function(){return a(this).hasClass("tgAnchor")?!1:!0}).bind("click",
|
||||
function(){var d=a(this).attr("page");a.exec_json("module.getFileBoxListHtml",{page:d},b);a(window).scrollTop(a(g).find(".modalClose").offset().top);return!1});a("#FileBoxGoTo").find("button").bind("click",function(){var d=a(this).prev("input").val();a.exec_json("module.getFileBoxListHtml",{page:d},b);a(window).scrollTop(a(g).find(".modalClose").offset().top);return!1})}var e,d,g;e=a(this);g=e.attr("href");d=a(g).find(".filebox_list");a.exec_json("module.getFileBoxListHtml",{page:"1"},b)})});
|
||||
function showWaitingFogLayer(){var a=jQuery('<span class="bg"></span>');a.height(jQuery(window).height());jQuery(".wfsr").wrap('<div class="wfsr_fog" />').before(a)}function hideWaitingFogLayer(){jQuery(".wfsr").prev("span").remove();jQuery(".wfsr").unwrap()}function doInstallModule(a){var b=[];b.module_name=a;exec_xml("install","procInstallAdminInstall",b,completeInstallModule);showWaitingFogLayer()}
|
||||
function doUpdateModule(a){var b=[];b.module_name=a;exec_xml("install","procInstallAdminUpdate",b,completeInstallModule);showWaitingFogLayer()}function completeInstallModule(a){alert(a.message);location.reload()}
|
||||
jQuery(function(a){a("body").ajaxComplete(function(){hideWaitingFogLayer()});0==a(".x>.body .lnb").length&&a(".x>.body").addClass("single");var b=a(".x .dsTg span.side>button.text");a(".x .dsTg td.title").each(function(){var b=a(this);0==b.find("p.update").length?b.addClass("tg").find(">p:not(:first-child)").hide():b.addClass("up")});var e=a(".x .dsTg td.tg>p:not(:first-child)");b.click(function(){b.toggleClass("details");e.slideToggle(200)});a(".x .content .h2, .x .content .h3").not(".portlet .h2, .modal .h2").each(function(){var b=
|
||||
jQuery(function(a){a(".filebox").bind("before-open.mw",function(){function d(g){e.html(g.html);e.find(".lined .select").bind("click",function(){var d=a("input.select_checkbox:checked");0==d.length?(d=a(this).parent().find("img.filebox_item").attr("src"))?(b.trigger("filebox.selected",[d]),b.trigger("close.mw")):alert("None selected!"):(b.trigger("filebox.selected",[d]),b.trigger("close.mw"));return!1});e.find(".pagination").find("a").filter(function(){return a(this).hasClass("tgAnchor")?!1:!0}).bind("click",
|
||||
function(){var b=a(this).attr("page");a.exec_json("module.getFileBoxListHtml",{page:b},d);a(window).scrollTop(a(j).find(".modalClose").offset().top);return!1});a("#FileBoxGoTo").find("button").bind("click",function(){var b=a(this).prev("input").val();a.exec_json("module.getFileBoxListHtml",{page:b},d);a(window).scrollTop(a(j).find(".modalClose").offset().top);return!1})}var b,e,j;b=a(this);j=b.attr("href");e=a(j).find(".filebox_list");a.exec_json("module.getFileBoxListHtml",{page:"1"},d)})});
|
||||
function showWaitingFogLayer(){var a=jQuery('<span class="bg"></span>');a.height(jQuery(window).height());jQuery(".wfsr").wrap('<div class="wfsr_fog" />').before(a)}function hideWaitingFogLayer(){jQuery(".wfsr").prev("span").remove();jQuery(".wfsr").unwrap()}function doInstallModule(a){var d=[];d.module_name=a;exec_xml("install","procInstallAdminInstall",d,completeInstallModule);showWaitingFogLayer()}
|
||||
function doUpdateModule(a){var d=[];d.module_name=a;exec_xml("install","procInstallAdminUpdate",d,completeInstallModule);showWaitingFogLayer()}function completeInstallModule(a){alert(a.message);location.reload()}
|
||||
jQuery(function(a){a("body").ajaxComplete(function(){hideWaitingFogLayer()});0==a(".x>.body .lnb").length&&a(".x>.body").addClass("single");var d=a(".x .dsTg span.side>button.text");a(".x .dsTg td.title").each(function(){var b=a(this);0==b.find("p.update").length?b.addClass("tg").find(">p:not(:first-child)").hide():b.addClass("up")});var b=a(".x .dsTg td.tg>p:not(:first-child)");d.click(function(){d.toggleClass("details");b.slideToggle(200)});a(".x .content .h2, .x .content .h3").not(".portlet .h2, .modal .h2").each(function(){var b=
|
||||
a('<button type="button" class="sTog" title="Open/Close"><i class="icon-chevron-up"></i></button>');a(this).append(b);b.click(function(){var b=a(this),d=b.parent().nextUntil(".h2, .h3").not(".langEdit, .tgContent, .modal");b.parent().next().is(":hidden")?(b.find("i").attr("class","icon-chevron-up"),d.slideDown(200)):(b.find("i").attr("class","icon-chevron-down"),d.slideUp(200))})})});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<load target="js/theme.js" type="body" usecdn="true" />
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
|
||||
var themes = {};
|
||||
|
|
|
|||
|
|
@ -671,7 +671,7 @@
|
|||
* @param int $document_srl
|
||||
* @return object
|
||||
*/
|
||||
function deleteComments($document_srl, &$obj = NULL) {
|
||||
function deleteComments($document_srl, $obj = NULL) {
|
||||
// create the document model object
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oCommentModel = &getModel('comment');
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!--#include("header.html")-->
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
|
||||
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
</select>
|
||||
<select name="editor_colorset" id="sel_editor_colorset" style="display:none">
|
||||
</select>
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
getEditorSkinColorList('{$communication_config->editor_skin}','{$communication_config->editor_colorset}');
|
||||
//]]></script>
|
||||
</td>
|
||||
|
|
@ -53,6 +53,6 @@
|
|||
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
|
||||
</div>
|
||||
</form>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function() { doGetSkinColorset("{$communication_config->skin}"); });
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<!--// datepicker javascript plugin load -->
|
||||
<!--%load_js_plugin("ui.datepicker")-->
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
function moveDate() {
|
||||
document.forms['calendar'].submit();
|
||||
return true;
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
<th scope="row">{$lang->total_counter}</th>
|
||||
<th scope="row"> <span id="str_selected_date">{zdate($selected_date, "Y-m-d")}</span>
|
||||
<input type="hidden" class="inputDate" value="{zdate($selected_date,'Y-m-d')}" />
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = {
|
||||
|
|
|
|||
|
|
@ -1330,7 +1330,7 @@ class documentController extends document {
|
|||
if(!count($extra_keys)) return;
|
||||
|
||||
$js_code = array();
|
||||
$js_code[] = '<script>//<![CDATA[';
|
||||
$js_code[] = '<script type="text/javascript">//<![CDATA[';
|
||||
$js_code[] = '(function($){';
|
||||
$js_code[] = 'var validator = xe.getApp("validator")[0];';
|
||||
$js_code[] = 'if(!validator) return false;';
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function(){
|
||||
jQuery('input.color-indicator').xe_colorpicker();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<load target="js/document_category.js" usecdn="true" />
|
||||
<!--%load_js_plugin("ui.colorpicker")-->
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
var category_title = "{$lang->category}";
|
||||
</script>
|
||||
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
<span style="float:right"><a href="#" onclick="doReloadTreeCategory('{$module_info->module_srl}');return false;" class="button black"><span>{$lang->cmd_remake_cache}</span></a></span>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
var simpleTreeCollection;
|
||||
var max_menu_depth = 999;
|
||||
var lang_confirm_delete = "{$lang->confirm_delete}";
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
<button type="button" onclick="doManageDocument('copy');">{$lang->cmd_copy}</button>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function() { doGetCategoryFromModule({$module_srl}); } );
|
||||
</script>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
|
||||
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
|
||||
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<!--@end-->
|
||||
<!--@end-->
|
||||
{$oDocument->getContent(false, false)}
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(window).load(function() { window.print(); } );
|
||||
//]]>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<load target="gallery.min.js" />
|
||||
<load target="list_gallery.min.js" />
|
||||
<!--@end-->
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
|
||||
var gallery = xe.getApp('gallery')[0];
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<th scope="row">{$lang->gallery_border_color}</th>
|
||||
<td>
|
||||
<div class="editor_color_box">
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
printColor("border", "{$tpl_path}/images/blank.gif");
|
||||
</script>
|
||||
</div>
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
<th scope="row">{$lang->gallery_bg_color}</th>
|
||||
<td>
|
||||
<div class="editor_color_box">
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
printColor("bg", "{$tpl_path}/images/blank.gif");
|
||||
</script>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<load target="slide_gallery.min.js" />
|
||||
<load target="slide_gallery.min.css" />
|
||||
<!--@end-->
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
|
||||
var gallery = xe.getApp('gallery')[0];
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<!--// datepicker javascript plugin load -->
|
||||
<!--%load_js_plugin("ui.datepicker")-->
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
var msg_poll_cannot_modify = "{$lang->msg_poll_cannot_modify}";
|
||||
</script>
|
||||
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
<input type="hidden" name="stop_date" id="stop_date" value="{date('Ymd',time()+60*60*24*30)}" />
|
||||
<input type="text" class="inputDate" value="{date('Y-m-d',time()+60*60*24*30)}" readonly="readonly" />
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = {
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@
|
|||
$content_font = $editor_config->content_font;
|
||||
$content_font_size = $editor_config->content_font_size;
|
||||
if($content_font || $content_font_size) {
|
||||
$buff = '<style> .xe_content { ';
|
||||
$buff = '<style type="text/css"> .xe_content { ';
|
||||
if($content_font) $buff .= 'font-family:'.$content_font.';';
|
||||
if($content_font_size) $buff .= 'font-size:'.$content_font_size.';';
|
||||
$buff .= ' }</style>';
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./css/editor.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="./css/editor.css" />
|
||||
<title>XpressEngine DrEditor</title>
|
||||
</head>
|
||||
<body class="xe_content editable">
|
||||
|
|
|
|||
|
|
@ -401,7 +401,7 @@
|
|||
<!--@if($allow_fileupload)-->
|
||||
<!--%import("js/uploader.js",optimized=false)-->
|
||||
<!--%import("../../tpl/js/swfupload.js",optimized=false)-->
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
uploaderSettings=
|
||||
{
|
||||
"editorSequence" : {$editor_sequence},
|
||||
|
|
@ -613,7 +613,7 @@
|
|||
</ul>
|
||||
|
||||
<!-- JS for Prototype -->
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($){
|
||||
$('.wToolbar button').slice(0,9).append('<span class="nx"></span>');
|
||||
|
|
@ -658,8 +658,9 @@
|
|||
<!-- /에디터 -->
|
||||
|
||||
<!-- 에디터 활성화 -->
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var editor_path = "{$editor_path}";
|
||||
|
||||
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||
var delete_dr_confirm_msg = "{$lang->edit->msg_dr_delete_confirm}";
|
||||
var no_selected_object_msg = "{$lang->edit->msg_no_selected_object}";
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<input type="hidden" id="htm_{$editor_sequence}" value="<!--@if($colorset == "white_text_nohtml" || $colorset == "black_text_nohtml")-->n<!--@end--><!--@if($colorset == "white_texteditor" || $colorset == "white_texteditor")-->br<!--@end-->" />
|
||||
<textarea id="editor_{$editor_sequence}" style="height:{$editor_height}px;" rows="8" cols="42" class="iTextArea"></textarea>
|
||||
</div>
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
editorStartTextarea({$editor_sequence}, "{$editor_content_key_name}", "{$editor_primary_key_name}");
|
||||
//]]></script>
|
||||
|
||||
|
|
@ -455,7 +455,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- 에디터 활성화 -->
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var editor_path = "{$editor_path}";
|
||||
var auto_saved_msg = "{$lang->msg_auto_saved}";
|
||||
var oEditor;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="editor.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="editor.css" />
|
||||
<title>XpressEngine</title>
|
||||
</head>
|
||||
<body class="xe_content editable">
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="editor.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="editor.css" />
|
||||
<title>XpressEngine</title>
|
||||
</head>
|
||||
<body class="xe_content editable">
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="editor.css" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="editor.css" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<title>XpressEngine</title>
|
||||
</head>
|
||||
<body class="xe_content editable">
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="editor.css" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" type="text/css" href="editor.css" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<title>XpressEngine</title>
|
||||
</head>
|
||||
<body class="xe_content editable">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<load target="js/editor_module_config.js" usecdn="true" />
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
var fontPreview = $('.fontPreview');
|
||||
var fontRadio = $('.fontSelector>:radio');
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
alert("{$message}");
|
||||
window.close();
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -128,10 +128,10 @@ function editorStart(editor_sequence, primary_key, content_key, editor_height, f
|
|||
// content 생성
|
||||
editor_path = editor_path.replace(/^\.\//ig, '');
|
||||
var contentHtml = ''+
|
||||
'<!DOCTYPE html>'+
|
||||
'<html><head><meta charset="utf-8"/>'+
|
||||
'<style>'+
|
||||
'body{font-size:.75em;line-height:1.6;font-family:Sans-serif;height:'+editor_height+'px;padding:0;margin:0;background-color:transparent;color:'+font_color+';}'+
|
||||
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'+
|
||||
'<html xmlns="http://www.w3.org/1999/xhtml><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/>'+
|
||||
'<style type="text/css">'+
|
||||
'body {font-size:.75em; line-height:1.6; font-family:Sans-serif; height:'+editor_height+'px; padding:0; margin:0; background-color:transparent; color:'+font_color+';}'+
|
||||
'</style>'+
|
||||
'</head><body editor_sequence="'+editor_sequence+'">'+
|
||||
content+
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
top.xAddEventListener(window, 'load', function() { top.showPreviewContent({$editor_sequence}); } );
|
||||
</script>
|
||||
{$content}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
|
||||
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>//<<![CDATA[
|
||||
<script type="text/javascript">//<<![CDATA[
|
||||
|
||||
var uploaded_fileinfo = {};
|
||||
<!--@if($uploaded_fileinfo->error==0)-->
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
parent.editor_upload_clear_list("{$editor_sequence}","{$upload_target_srl}");
|
||||
|
||||
<!--@foreach($file_list as $key => $file_info)-->
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@
|
|||
</p>
|
||||
</form>
|
||||
</div>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery('a.modalAnchor')
|
||||
.bind('before-close.mw', function(event){
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
var preProcessingMsg = "{$lang->preprocessing}";
|
||||
</script>
|
||||
<div id="process" style="display:none;">
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
</div>
|
||||
<script src="js/install.js"></script>
|
||||
<script type="text/javascript" src="js/install.js"></script>
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@
|
|||
// Videos
|
||||
} elseif(preg_match('/\.(swf|flv|wmv|avi|mpg|mpeg|asx|asf|mp3)$/i', $val->source_filename)) {
|
||||
$obj->type = 'multimedia';
|
||||
$obj->src = sprintf('<script>displayMultimedia("%s",120,120);</script>', $obj->download_url);
|
||||
$obj->src = sprintf('<script type="text/javascript">displayMultimedia("%s",120,120);</script>', $obj->download_url);
|
||||
// Others
|
||||
} else {
|
||||
$obj->type = 'binary';
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
<strong class="noKeyword">{$lang->msg_no_keyword}</strong>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){ $('#fo_is [name=is_keyword]').focus(); });
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module_srl')}" onclick="popopen(this.href, 'ModuleSelect');return false;" class="button blue"><span>{$lang->cmd_insert}</span></a>
|
||||
<a href="#" onclick="midRemove('target_module_srl');return false;" class="button red"><span>{$lang->cmd_delete}</span></a>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery( function() { getModuleSrlList('target_module_srl'); } );
|
||||
</script>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -443,7 +443,7 @@
|
|||
}
|
||||
|
||||
if(count($style)) {
|
||||
$script = '<script> var faceOffStyle = {'.implode(',',$style).'}; </script>';
|
||||
$script = '<script type="text/javascript"> var faceOffStyle = {'.implode(',',$style).'}; </script>';
|
||||
Context::addHtmlHeader($script);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
<!--@if($msg)-->
|
||||
alert('{$msg}');
|
||||
<!--@else-->
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
<!--@if($msg)-->
|
||||
alert('{$msg}');
|
||||
<!--@else-->
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
var addLang = '{$lang->cmd_insert}';
|
||||
</script>
|
||||
<load target="js/layout_admin.js" usecdn="true" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<style>
|
||||
<style type="text/css">
|
||||
#faceoff_migration_info img { border: 1px solid #ccc; padding: 5px; }
|
||||
</style>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<block cond="$use_multilang_textarea">
|
||||
<style>
|
||||
<style type="text/css">
|
||||
#langEditTextarea textarea { width: 258px; }
|
||||
</style>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.confirm_delete = '{$lang->confirm_delete}';
|
||||
</script>
|
||||
<include target="header.html" />
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<li loop="$layout_image_list => $no, $file">
|
||||
{@$ext=substr(strrchr($file,'.'),1)}
|
||||
<div class="a uploaded_image">
|
||||
<script cond="$ext == 'swf' || $ext == 'flv'">
|
||||
<script cond="$ext == 'swf' || $ext == 'flv'" type="text/javascript">
|
||||
//<![CDATA[
|
||||
displayMultimedia('{getUrl('')}{$layout_image_path}{$file}', '100px', '100px');
|
||||
//]]>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
{@$ext=substr(strrchr($file,'.'),1)}
|
||||
<div class="filebox_preview_{$val->module_filebox_srl}" style="width:100px;height:100px;float:left; position:relative;margin-right:10px; ">
|
||||
<!--@if($ext=='swf'||$ext=='flv')-->
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
displayMultimedia('{getUrl('')}{$layout_image_path}{$file}', '100%', '100%');
|
||||
//]]></script>
|
||||
<!--@elseif(in_array($ext,array('gif','png','jpg','jpeg')))-->
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<include target="header.html" />
|
||||
<load target="js/adminList.js" usecdn="true" />
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.confirm_delete = '{$lang->confirm_delete}';
|
||||
</script>
|
||||
<h2 class="h2">{$layout_info->title} ver {$layout_info->version} ({$layout_info->layout})</h2>
|
||||
|
|
|
|||
|
|
@ -163,8 +163,11 @@
|
|||
|
||||
<div class="btnArea">
|
||||
<span class="etc">
|
||||
<span class="btn"><a href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminAllInstanceList')}">{$lang->instance_layout} {$lang->cmd_list}</a></span>
|
||||
<span class="btn"><a href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminInstanceList', 'layout', $selected_layout->layout)}">{$selected_layout->title} ver {$selected_layout->version}({$selected_layout->layout}) {$lang->cmd_list}</a></span>
|
||||
<!--@if($layout)-->
|
||||
<span class="btn"><a href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminInstanceList', 'layout', $selected_layout->layout)}">{$lang->cmd_list}</a></span>
|
||||
<!--@else-->
|
||||
<span class="btn"><a href="{getUrl('', 'module', 'admin', 'act', 'dispLayoutAdminAllInstanceList')}">{$lang->cmd_list}</a></span>
|
||||
<!--@end-->
|
||||
</span>
|
||||
<span class="btn medium">
|
||||
<input type="submit" value="{$lang->cmd_insert}"|cond="$act == 'dispLayoutAdminInsert'" value="{$lang->cmd_save}"|cond="$act == 'dispLayoutAdminModify'" onclick="doSubmitConfig()"/>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
alert("{$lang->success_updated}");
|
||||
top.location.href = top.location.href;
|
||||
//]]></script>
|
||||
|
|
|
|||
|
|
@ -401,7 +401,7 @@
|
|||
<input type="text" name="%column_name%[]" id="krzip_address2_%column_name%" value="%addr_1%" />
|
||||
</div>
|
||||
</div>
|
||||
<script>jQuery(function($){ $.krzip('%column_name%') });</script>
|
||||
<script type="text/javascript">jQuery(function($){ $.krzip('%column_name%') });</script>
|
||||
EOD;
|
||||
}elseif($extendForm->column_type == 'jp_zip'){
|
||||
$template = '<input type="text" name="%column_name%" value="%value%" />';
|
||||
|
|
|
|||
|
|
@ -21,7 +21,15 @@
|
|||
/**
|
||||
* @brief Return member's configuration
|
||||
**/
|
||||
function getMemberConfig() {
|
||||
function getMemberConfig()
|
||||
{
|
||||
static $member_config;
|
||||
|
||||
if($member_config)
|
||||
{
|
||||
return $member_config;
|
||||
}
|
||||
|
||||
// Get member configuration stored in the DB
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('member');
|
||||
|
|
@ -65,6 +73,8 @@
|
|||
if (!$config->signature_editor_skin || $config->signature_editor_skin == 'default') $config->signature_editor_skin = 'xpresseditor';
|
||||
if (!$config->sel_editor_colorset) $config->sel_editor_colorset = 'white';
|
||||
|
||||
$member_config = $config;
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
$layout_info = $oLayoutModel->getLayout($this->member_config->layout_srl);
|
||||
if($layout_info)
|
||||
{
|
||||
$this->module_info->layout_srl = $this->member_config->layout_srl;
|
||||
$this->setLayoutPath($layout_info->path);
|
||||
}
|
||||
}
|
||||
|
|
@ -558,7 +559,7 @@
|
|||
$extraList = $oMemberModel->getUsedJoinFormList();
|
||||
|
||||
$js_code = array();
|
||||
$js_code[] = '<script>//<![CDATA[';
|
||||
$js_code[] = '<script type="text/javascript">//<![CDATA[';
|
||||
$js_code[] = '(function($){';
|
||||
$js_code[] = 'var validator = xe.getApp("validator")[0];';
|
||||
$js_code[] = 'if(!validator) return false;';
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
var keep_msg = $('#keep_msg');
|
||||
keep_msg.hide();
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<!--%load_js_plugin("ui")-->
|
||||
<!--%load_js_plugin("ui.datepicker")-->
|
||||
<h1 class="h1">{$lang->msg_update_member}</h1>
|
||||
<script>
|
||||
<script type="text/javascript" >
|
||||
xe.lang.deleteProfileImage = '{$lang->msg_delete_extend_form}';
|
||||
xe.lang.deleteImageMark = '{$lang->msg_delete_extend_form}';
|
||||
xe.lang.deleteImageName = '{$lang->msg_delete_extend_form}';
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
<span class="btn"><a href="{getUrl('act','dispMemberInfo','member_srl','')}">{$lang->cmd_cancel}</a></span>
|
||||
</div>
|
||||
</form>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){
|
||||
|
|
|
|||
|
|
@ -22,3 +22,4 @@
|
|||
<span class="btn"><a href="{getUrl('act','dispMemberInfo','member_srl','')}">{$lang->cmd_cancel}</a></span>
|
||||
</div>
|
||||
</form>
|
||||
<include target="./common_footer.html" />
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<span class="btn"><a href="{getUrl('act','','member_srl','')}">{$lang->cmd_cancel}</a></span>
|
||||
</div>
|
||||
</form>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<load target="js/member_admin_group.js" usecdn="true" />
|
||||
<script>
|
||||
<script type="text/javascript" >
|
||||
xe.lang.groupDeleteMessage = '{$lang->msg_group_delete}';
|
||||
xe.lang.multilingual = '{$lang->cmd_set_multilingual}';
|
||||
xe.lang.modify = '{$lang->cmd_modify}';
|
||||
xe.lang.deleteMSG = '{$lang->cmd_delete}';
|
||||
</script>
|
||||
<style>
|
||||
<style type="text/css">
|
||||
._imageMarkButton img { max-height:16px }
|
||||
.filebox_item { border: 1px solid #ccc!important; padding: 2px; max-height: 16px; }
|
||||
.x .multiLangEdit input.vLang { width:120px }
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@
|
|||
<input type="hidden" name="image_mark" value="{$selected_group->image_mark}" />
|
||||
<span class="button black"><button type="button" onclick="XE.filebox.open(jQuery('[name=image_mark]').get(0), 'jpg,jpeg,gif,png')">{$lang->cmd_select}</button></span>
|
||||
<span id="filebox_cancel_image_mark" class="button red"<!--@if(!$selected_group->image_mark)--> style="display:none" <!--@endif-->><button type="button" onclick="XE.filebox.cancel('image_mark')">{$lang->cmd_delete}</button></span>
|
||||
<script>//<![CDATA[
|
||||
XE.filebox.init('image_mark');
|
||||
//]]></script>
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
XE.filebox.init('image_mark');
|
||||
//]]></script>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<p class="q multiExample">{$lang->about_multi_type}</p>
|
||||
<p class="a multiExample"><textarea rows="8" cols="42" id="multiSelect" name="default_value"><block cond="$default_value">{implode('<enter>', $default_value)}</block></textarea></p>
|
||||
</li>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
var $ = jQuery;
|
||||
var typeSelect = $('.typeSelect');
|
||||
var multiOption = $('.typeSelect>option[value=checkbox], .typeSelect>option[value=radio], .typeSelect>option[value=selectM], .typeSelect>option[value=select]');
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<load target="js/member_admin.js" usecdn="true" />
|
||||
<load target="js/krzip_search.js" usecdn="true" />
|
||||
<!--%load_js_plugin("ui.datepicker")-->
|
||||
<script>
|
||||
<script type="text/javascript" >
|
||||
xe.lang.deleteProfileImage = '{$lang->msg_delete_extend_form}';
|
||||
xe.lang.deleteImageMark = '{$lang->msg_delete_extend_form}';
|
||||
xe.lang.deleteImageName = '{$lang->msg_delete_extend_form}';
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
</div>
|
||||
</table>
|
||||
</form>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
var keep_msg = $('#keep_msg');
|
||||
keep_msg.hide();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
<!--@if($redirect_url)-->
|
||||
location.href = "{$redirect_url}";
|
||||
<!--@else-->
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<load target="js/member_admin_config.js" usecdn="true" />
|
||||
<load target="../../editor/tpl/js/editor_module_config.js" usecdn="true" />
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.msg_delete_extend_form = '{$lang->msg_delete_extend_form}';
|
||||
xe.lang.confirm_delete = '{$lang->confirm_delete}';
|
||||
xe.lang.cmd_delete = '{$lang->cmd_delete}';
|
||||
|
|
@ -206,7 +206,7 @@
|
|||
</select>
|
||||
<select name="sel_editor_colorset" id="sel_editor_colorset" style="display:none">
|
||||
</select>
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
getEditorSkinColorList('{$config->signature_editor_skin}','{$config->sel_editor_colorset}');
|
||||
//]]></script>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<load target="js/member_admin_list.js" type="body" usecdn="true" />
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.msg_select_user = '{$lang->msg_select_user}';
|
||||
xe.lang.msg_delete_user = '{$lang->msg_delete_user}';
|
||||
</script>
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
<a href="{getUrl('search_target', '', 'search_keyword', '')}">{$lang->cmd_cancel}</a>
|
||||
</form>
|
||||
</div>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
var clickedBTN = '';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
<!--@if ($is_register == 'Y')-->
|
||||
alert("{$lang->msg_success_confirmed}");
|
||||
<!--@else-->
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
alert("{$lang->msg_success_modify_email_address}");
|
||||
location.href="{getUrl()}";
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
location.href = "{$redirect_url}";
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$(function(){
|
||||
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<!--@if($error_message)-->
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
alert("{$error_message}");
|
||||
</script>
|
||||
<!--@else-->
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
top.completeMenuUploadButton("{$target}", "{$filename}");
|
||||
</script>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
</div>
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
(function($){
|
||||
$("[name^=menu_name_]").bind("blur",function(e){
|
||||
if($("[name=ck_"+$(this).attr("name")+"]:checked").size()>0){
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<!--// tree javascript plugin load -->
|
||||
<!--%load_js_plugin("ui.tree")-->
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
var alertImageOnly = "{$lang->alert_image_only}";
|
||||
</script>
|
||||
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script>//<![CDATA[
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
//언어파일 로드용
|
||||
var lang_cmd_insert = "{htmlspecialchars($lang->cmd_insert)}";
|
||||
var lang_cmd_delete = "{htmlspecialchars($lang->cmd_delete)}";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script type="text/javascript">
|
||||
xe.lang.confirm_delete = "{$lang->confirm_delete}";
|
||||
xe.current_layout = {$current_layout};
|
||||
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowMenuGrantZone(); } ); doShowMenuGrantZone() } );
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<style>
|
||||
<style type="text/css">
|
||||
.sorry{width:50%;margin:2em auto;padding:2em 3em;border:4px solid #444;font-family:Tahoma, Geneva, sans-serif;background:#666;border-radius:10px;box-shadow:0 0 10px #999;overflow:hidden}
|
||||
.sorry .hx{float:left;margin:0 20px 0 0;color:#fff}
|
||||
.sorry .msg{float:left;border-left:1px solid #fff;padding:0 0 0 20px;color:#eee}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
jQuery(function($){
|
||||
var keep_msg = $('#keep_msg');
|
||||
keep_msg.hide();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<style>
|
||||
<style type="text/css">
|
||||
.sorry{width:50%;margin:2em auto;padding:2em 3em;border:4px solid #444;font-family:Tahoma, Geneva, sans-serif;background:#666;border-radius:10px;box-shadow:0 0 10px #999;overflow:hidden}
|
||||
.sorry .hx{float:left;margin:0 20px 0 0;color:#fff}
|
||||
.sorry .msg{float:left;border-left:1px solid #fff;padding:0 0 0 20px;color:#eee}
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
if(!$input_name) return new Object(-1, 'msg_not_permitted');
|
||||
|
||||
|
||||
$addscript = sprintf('<script>//<![CDATA[
|
||||
$addscript = sprintf('<script type="text/javascript">//<![CDATA[
|
||||
var selected_filebox_input_name = "%s";
|
||||
//]]></script>',$input_name);
|
||||
Context::addHtmlHeader($addscript);
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue