issue 2033 fixed. HTML DTD choosing option is removed. Support only HTML5.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11012 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-08-09 07:36:25 +00:00
parent e62403ab10
commit b041550c53
126 changed files with 240 additions and 281 deletions

View file

@ -1,16 +1,16 @@
<!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">
<!DOCTYPE html>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta charset="utf-8" />
<title>Autolink Addon Unit Test</title>
<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[
<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[
var testParam = null;
var TestSuite = xe.createPlugin("TestSuite", {

View file

@ -57,7 +57,7 @@
$ModuleHandler->_setInputValueToSession();
}
} else {
Context::addHtmlHeader('<script type="text/javascript"> var captchaTargetAct = new Array("'.implode('","',$target_acts).'"); </script>');
Context::addHtmlHeader('<script> var captchaTargetAct = new Array("'.implode('","',$target_acts).'"); </script>');
Context::loadFile(array('./addons/captcha/captcha.min.js', 'body', '', null), true);
}
}

View file

@ -24,7 +24,7 @@ class VirtualXMLDisplayHandler {
if($message != 'fail') $output->message = $message;
}
$html = '<script type="text/javascript">'."\n";
$html = '<script>'."\n";
if($output->message) $html .= 'alert("'.$output->message.'");'."\n";
if($output->url) {
$url = preg_replace('/#(.+)$/i','',$output->url);

View file

@ -343,7 +343,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 type="text/javascript">'."\n".
'<script>'."\n".
'(function($){'."\n".
' $(function(){'."\n".
' var option = { dateFormat: "yy-mm-dd", changeMonth:true, changeYear:true, gotoCurrent: false,yearRange:\'-100:+10\', onSelect:function(){'."\n".

View file

@ -438,7 +438,7 @@
if($type == "view" && $this->module_info->use_mobile == "Y" && Mobile::isMobileCheckByAgent())
{
global $lang;
$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>';
$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>';
$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);

View file

@ -1,2 +1,5 @@
/*! 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)
(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);

View file

@ -2,74 +2,63 @@
$db_info = Context::getDBInfo();
$lang_type = Context::getLangType();
}
<!--@if($db_info->use_html5=='Y')-->
<!DOCTYPE html>
<!--@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'">
<html lang="{$lang_type}">
<head>
{@$css_files=Context::getCssFile()}
{@$js_files=Context::getJsFile()}
<!-- META -->
<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" />
<meta charset="utf-8" />
<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']}" type="text/css"|cond="$db_info->use_html5!='Y'" media="{$css_file['media']}" />
<link rel="stylesheet" href="{$css_file['file']}" 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 type="text/javascript"|cond="$db_info->use_html5!='Y'" src="{$js_file['file']}"></script>
<script src="{$js_file['file']}"></script>
<block cond="$js_file['targetie']"><![endif]--></block>
</block>
<block cond="$db_info->use_html5=='Y'"><!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]--></block>
<!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]-->
<!-- 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()}
</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}";
<script>
//<![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}";
var ssl_actions = new Array(<block cond="count($ssl_actions)">"{implode('","',$ssl_actions)}"</block>);
var default_url = "{Context::getDefaultUrl()}";
var current_mid = "{$mid}";
var waiting_message = "{$lang->msg_call_server}";
var ssl_actions = new Array(<block cond="count($ssl_actions)">"{implode('","',$ssl_actions)}"</block>);
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>
//]]>
</script>
{Context::getBodyHeader()}
{$content}
{Context::getHtmlFooter()}
//]]>
</script>
</head>
<body{Context::getBodyClass()}>
{Context::getBodyHeader()}
{$content}
{Context::getHtmlFooter()}
<!-- ETC -->
<div class="wfsr"></div>
<div class="wfsr"></div>
{@$ssl_actions=Context::getSSLActions()}
{@ $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 type="text/javascript"|cond="$db_info->use_html5!='Y'" src="{$js_file['file']}"></script><block cond="$js_file['targetie']"><![endif]--></block>
<block cond="$js_file['targetie']"><!--[if {$js_file['targetie']}]></block><script src="{$js_file['file']}"></script><block cond="$js_file['targetie']"><![endif]--></block>
</block>
</body>
</html>

View file

@ -1,19 +1,15 @@
<!--@if($db_info->use_html5=='Y')-->
<!DOCTYPE html>
<!--@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()}">
<html lang="{Context::getLangType()}">
<head>
<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" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<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']}" type="text/css" charset="UTF-8" media="{$css_file['media']}" />
<link rel="stylesheet" href="{$css_file['file']}" media="{$css_file['media']}" />
<!--@if($css_file['targetie'])-->
<![endif]-->
<!--@end-->
@ -23,7 +19,7 @@
<!--@if($js_file['targetie'])-->
<!--[if {$js_file['targetie']}]>
<!--@end-->
<script type="text/javascript" src="{$js_file['file']}"></script>
<script src="{$js_file['file']}"></script>
<!--@if($js_file['targetie'])-->
<![endif]-->
<!--@end-->
@ -39,11 +35,9 @@
<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 type="text/javascript" src="../js/html5.js" cond="$db_info->use_html5=='Y'"></script>
<![endif]-->
<!--[if lt IE 9]><script src="../js/html5.js"></script><![endif]-->
{@ $ssl_actions = Context::getSSLActions() }
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
var current_url = "{$current_url}";
var request_uri = "{$request_uri}";
<!--@if($vid)-->var xeVid = "{$vid}";<!--@end-->
@ -69,7 +63,7 @@
<!--@if($js_file['targetie'])-->
<!--[if {$js_file['targetie']}]>
<!--@end-->
<script type="text/javascript" src="{$js_file['file']}"></script>
<script src="{$js_file['file']}"></script>
<!--@if($js_file['targetie'])-->
<![endif]-->
<!--@end-->

View file

@ -2,7 +2,7 @@
<div class="x popup">
{$content}
</div>
<script type="text/javascript">
<script>
jQuery(window).load(setFixedPopupSize);
var _isPoped = true;
</script>

View file

@ -1,10 +1,10 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8" />
</head>
<body>
<script type="text/javascript">
<script>
var idx = location.href.indexOf('?');
var url = parent.location.href;
if(idx > -1 ) {

View file

@ -1,3 +1,3 @@
<script type="text/javascript">
<script>
top.location.reload();
</script>

View file

@ -1126,10 +1126,10 @@
function htmlHeader()
{
echo <<<HTMLHEADER
<!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">
<!DOCTYPE html>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8" />
</head>
<body>
HTMLHEADER;
@ -1154,7 +1154,7 @@ HTMLHEADER;
function alertScript($msg)
{
if(!$msg) return;
echo '<script type="text/javascript">alert("'.$msg.'");</script>';
echo '<script>alert("'.$msg.'");</script>';
}
/**
@ -1164,7 +1164,7 @@ HTMLHEADER;
*/
function closePopupScript()
{
echo '<script type="text/javascript">window.close();</script>';
echo '<script>window.close();</script>';
}
/**
@ -1177,5 +1177,5 @@ HTMLHEADER;
{
$reloadScript = $isOpener ? 'window.opener.location.reload()' : 'document.location.reload()';
echo '<script type="text/javascript">'.$reloadScript.'</script>';
echo '<script>'.$reloadScript.'</script>';
}

View file

@ -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 type="text/css" cond="$layout_info->background_image">
<style 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-->

View file

@ -64,7 +64,7 @@
</div>
</form>
</block>
<script type="text/javascript">
<script>
(function($){
$('#check_all')
.bind('click', function(e){

View file

@ -924,25 +924,6 @@
<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>

View file

@ -13,7 +13,7 @@
</p>
</div>
</div>
<script type="text/javascript">
<script>
xe.current_lang = '{$lang_type}';
xe.lang.confirm_run = '{$lang->confirm_run}';
xe.lang.confirm_reset_admin_menu = '{$lang->confirm_reset_admin_menu}';

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
jQuery(function($){
$('#favicon').change(function(){
var re_favicon = /[^.]+\.ico$/
@ -234,13 +234,6 @@ 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">

View file

@ -1,6 +1,6 @@
<load target="js/theme.js" type="body" usecdn="true" />
<script type="text/javascript">
<script>
jQuery(function($){
var themes = {};

View file

@ -1,5 +1,5 @@
<!--#include("header.html")-->
<script type="text/javascript">
<script>
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>

View file

@ -20,7 +20,7 @@
</select>
<select name="editor_colorset" id="sel_editor_colorset" style="display:none">
</select>
<script type="text/javascript">//<![CDATA[
<script>//<![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 type="text/javascript">
<script>
jQuery(function() { doGetSkinColorset("{$communication_config->skin}"); });
</script>

View file

@ -4,7 +4,7 @@
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui.datepicker")-->
<script type="text/javascript">
<script>
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 type="text/javascript">
<script>
(function($){
$(function(){
var option = {

View file

@ -1264,7 +1264,7 @@ class documentController extends document {
if(!count($extra_keys)) return;
$js_code = array();
$js_code[] = '<script type="text/javascript">//<![CDATA[';
$js_code[] = '<script>//<![CDATA[';
$js_code[] = '(function($){';
$js_code[] = 'var validator = xe.getApp("validator")[0];';
$js_code[] = 'if(!validator) return false;';

View file

@ -61,7 +61,7 @@
</table>
</div>
</div>
<script type="text/javascript">
<script>
jQuery(function(){
jQuery('input.color-indicator').xe_colorpicker();
});

View file

@ -6,7 +6,7 @@
<load target="js/document_category.js" usecdn="true" />
<!--%load_js_plugin("ui.colorpicker")-->
<script type="text/javascript">
<script>
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 type="text/javascript">
<script>
var simpleTreeCollection;
var max_menu_depth = 999;
var lang_confirm_delete = "{$lang->confirm_delete}";

View file

@ -51,7 +51,7 @@
<button type="button" onclick="doManageDocument('copy');">{$lang->cmd_copy}</button>
</div>
<script type="text/javascript">
<script>
jQuery(function() { doGetCategoryFromModule({$module_srl}); } );
</script>
<!--@end-->

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>

View file

@ -8,7 +8,7 @@
<!--@end-->
<!--@end-->
{$oDocument->getContent(false, false)}
<script type="text/javascript">
<script>
//<![CDATA[
jQuery(window).load(function() { window.print(); } );
//]]>

View file

@ -5,7 +5,7 @@
<load target="gallery.min.js" />
<load target="list_gallery.min.js" />
<!--@end-->
<script type="text/javascript">
<script>
(function(){
var gallery = xe.getApp('gallery')[0];

View file

@ -39,7 +39,7 @@
<th scope="row">{$lang->gallery_border_color}</th>
<td>
<div class="editor_color_box">
<script type="text/javascript">
<script>
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 type="text/javascript">
<script>
printColor("bg", "{$tpl_path}/images/blank.gif");
</script>
</div>

View file

@ -8,7 +8,7 @@
<load target="slide_gallery.min.js" />
<load target="slide_gallery.min.css" />
<!--@end-->
<script type="text/javascript">
<script>
(function(){
var gallery = xe.getApp('gallery')[0];

View file

@ -6,7 +6,7 @@
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui.datepicker")-->
<script type="text/javascript">
<script>
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 type="text/javascript">
<script>
(function($){
$(function(){
var option = {

View file

@ -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 type="text/css"> .xe_content { ';
$buff = '<style> .xe_content { ';
if($content_font) $buff .= 'font-family:'.$content_font.';';
if($content_font_size) $buff .= 'font-size:'.$content_font_size.';';
$buff .= ' }</style>';

View file

@ -1,8 +1,8 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="./css/editor.css" />
<meta charset="utf-8" />
<link rel="stylesheet" href="./css/editor.css" />
<title>XpressEngine DrEditor</title>
</head>
<body class="xe_content editable">

View file

@ -401,7 +401,7 @@
<!--@if($allow_fileupload)-->
<!--%import("js/uploader.js",optimized=false)-->
<!--%import("../../tpl/js/swfupload.js",optimized=false)-->
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
uploaderSettings=
{
"editorSequence" : {$editor_sequence},
@ -613,7 +613,7 @@
</ul>
<!-- JS for Prototype -->
<script type="text/javascript">
<script>
//<![CDATA[
jQuery(function($){
$('.wToolbar button').slice(0,9).append('<span class="nx"></span>');
@ -658,9 +658,8 @@
<!-- /에디터 -->
<!-- 에디터 활성화 -->
<script type="text/javascript">//<![CDATA[
<script>//<![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}";

View file

@ -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 type="text/javascript">//<![CDATA[
<script>//<![CDATA[
editorStartTextarea({$editor_sequence}, "{$editor_content_key_name}", "{$editor_primary_key_name}");
//]]></script>
@ -455,7 +455,7 @@
</div>
</div>
<!-- 에디터 활성화 -->
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
var editor_path = "{$editor_path}";
var auto_saved_msg = "{$lang->msg_auto_saved}";
var oEditor;

View file

@ -1,8 +1,8 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="editor.css" />
<meta charset="utf-8" />
<link rel="stylesheet" href="editor.css" />
<title>XpressEngine</title>
</head>
<body class="xe_content editable">

View file

@ -1,8 +1,8 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="editor.css" />
<meta charset="utf-8" />
<link rel="stylesheet" href="editor.css" />
<title>XpressEngine</title>
</head>
<body class="xe_content editable">

View file

@ -1,9 +1,9 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<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" />
<meta charset="utf-8" />
<link rel="stylesheet" href="editor.css" />
<link rel="stylesheet" href="style.css" />
<title>XpressEngine</title>
</head>
<body class="xe_content editable">

View file

@ -1,9 +1,9 @@
<!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">
<!DOCTYPE html>
<html>
<head>
<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" />
<meta charset="utf-8" />
<link rel="stylesheet" href="editor.css" />
<link rel="stylesheet" href="style.css" />
<title>XpressEngine</title>
</head>
<body class="xe_content editable">

View file

@ -1,5 +1,5 @@
<load target="js/editor_module_config.js" usecdn="true" />
<script type="text/javascript">
<script>
jQuery(function($){
var fontPreview = $('.fontPreview');
var fontRadio = $('.fontSelector>:radio');

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
alert("{$message}");
window.close();
</script>

View file

@ -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 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+';}'+
'<!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+';}'+
'</style>'+
'</head><body editor_sequence="'+editor_sequence+'">'+
content+

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
top.xAddEventListener(window, 'load', function() { top.showPreviewContent({$editor_sequence}); } );
</script>
{$content}

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript">//<<![CDATA[
<script>//<<![CDATA[
var uploaded_fileinfo = {};
<!--@if($uploaded_fileinfo->error==0)-->

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
parent.editor_upload_clear_list("{$editor_sequence}","{$upload_target_srl}");
<!--@foreach($file_list as $key => $file_info)-->

View file

@ -134,7 +134,7 @@
</p>
</form>
</div>
<script type="text/javascript">
<script>
jQuery('a.modalAnchor')
.bind('before-close.mw', function(event){
return false;

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
var preProcessingMsg = "{$lang->preprocessing}";
</script>
<div id="process" style="display:none;">

View file

@ -1,2 +1,2 @@
</div>
<script type="text/javascript" src="js/install.js"></script>
<script src="js/install.js"></script>

View file

@ -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 type="text/javascript">displayMultimedia("%s",120,120);</script>', $obj->download_url);
$obj->src = sprintf('<script>displayMultimedia("%s",120,120);</script>', $obj->download_url);
// Others
} else {
$obj->type = 'binary';

View file

@ -2,6 +2,6 @@
<strong class="noKeyword">{$lang->msg_no_keyword}</strong>
<script type="text/javascript">
<script>
jQuery(function($){ $('#fo_is [name=is_keyword]').focus(); });
</script>

View file

@ -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 type="text/javascript">
<script>
jQuery( function() { getModuleSrlList('target_module_srl'); } );
</script>
</td>

View file

@ -425,7 +425,7 @@
}
if(count($style)) {
$script = '<script type="text/javascript"> var faceOffStyle = {'.implode(',',$style).'}; </script>';
$script = '<script> var faceOffStyle = {'.implode(',',$style).'}; </script>';
Context::addHtmlHeader($script);
}

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
<!--@if($msg)-->
alert('{$msg}');
<!--@else-->

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
<!--@if($msg)-->
alert('{$msg}');
<!--@else-->

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
var addLang = '{$lang->cmd_insert}';
</script>
<load target="js/layout_admin.js" usecdn="true" />

View file

@ -1,4 +1,4 @@
<style type="text/css">
<style>
#faceoff_migration_info img { border: 1px solid #ccc; padding: 5px; }
</style>

View file

@ -1,5 +1,5 @@
<block cond="$use_multilang_textarea">
<style type="text/css">
<style>
#langEditTextarea textarea { width: 258px; }
</style>

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
xe.lang.confirm_delete = '{$lang->confirm_delete}';
</script>
<include target="header.html" />

View file

@ -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'" type="text/javascript">
<script cond="$ext == 'swf' || $ext == 'flv'">
//<![CDATA[
displayMultimedia('{getUrl('')}{$layout_image_path}{$file}', '100px', '100px');
//]]>

View file

@ -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 type="text/javascript">//<![CDATA[
<script>//<![CDATA[
displayMultimedia('{getUrl('')}{$layout_image_path}{$file}', '100%', '100%');
//]]></script>
<!--@elseif(in_array($ext,array('gif','png','jpg','jpeg')))-->

View file

@ -1,7 +1,7 @@
<include target="header.html" />
<load target="js/adminList.js" usecdn="true" />
<script type="text/javascript">
<script>
xe.lang.confirm_delete = '{$lang->confirm_delete}';
</script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
alert("{$lang->success_updated}");
top.location.href = top.location.href;
//]]></script>

View file

@ -383,7 +383,7 @@
<input type="text" name="%column_name%[]" id="krzip_address2_%column_name%" value="%addr_1%" />
</div>
</div>
<script type="text/javascript">jQuery(function($){ $.krzip('%column_name%') });</script>
<script>jQuery(function($){ $.krzip('%column_name%') });</script>
EOD;
}elseif($extendForm->column_type == 'jp_zip'){
$template = '<input type="text" name="%column_name%" value="%value%" />';

View file

@ -419,7 +419,7 @@
$extraList = $oMemberModel->getUsedJoinFormList();
$js_code = array();
$js_code[] = '<script type="text/javascript">//<![CDATA[';
$js_code[] = '<script>//<![CDATA[';
$js_code[] = '(function($){';
$js_code[] = 'var validator = xe.getApp("validator")[0];';
$js_code[] = 'if(!validator) return false;';

View file

@ -32,7 +32,7 @@
</span>
</div>
</form>
<script type="text/javascript">
<script>
jQuery(function($){
var keep_msg = $('#keep_msg');
keep_msg.hide();

View file

@ -4,7 +4,7 @@
<!--%load_js_plugin("ui")-->
<!--%load_js_plugin("ui.datepicker")-->
<h1 class="h1">{$lang->msg_update_member}</h1>
<script type="text/javascript" >
<script>
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 type="text/javascript">
<script>
(function($){
$(function(){
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){

View file

@ -63,7 +63,7 @@
<span class="btn"><a href="{getUrl('act','','member_srl','')}">{$lang->cmd_cancel}</a></span>
</div>
</form>
<script type="text/javascript">
<script>
(function($){
$(function(){
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){

View file

@ -1,11 +1,11 @@
<load target="js/member_admin_group.js" usecdn="true" />
<script type="text/javascript" >
<script>
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 type="text/css">
<style>
._imageMarkButton img { max-height:16px }
.filebox_item { border: 1px solid #ccc!important; padding: 2px; max-height: 16px; }
.x .multiLangEdit input.vLang { width:120px }

View file

@ -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 type="text/javascript">//<![CDATA[
XE.filebox.init('image_mark');
//]]></script>
<script>//<![CDATA[
XE.filebox.init('image_mark');
//]]></script>
</td>
</tr>
</table>

View file

@ -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 type="text/javascript">
<script>
var $ = jQuery;
var typeSelect = $('.typeSelect');
var multiOption = $('.typeSelect>option[value=checkbox], .typeSelect>option[value=radio], .typeSelect>option[value=selectM], .typeSelect>option[value=select]');

View file

@ -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 type="text/javascript" >
<script>
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 type="text/javascript">
<script>
(function($){
$(function(){
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){

View file

@ -29,7 +29,7 @@
</form>
</div>
<script type="text/javascript">
<script>
jQuery(function($){
var keep_msg = $('#keep_msg');
keep_msg.hide();

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
<!--@if($redirect_url)-->
location.href = "{$redirect_url}";
<!--@else-->

View file

@ -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 type="text/javascript">
<script>
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}';
@ -192,7 +192,7 @@
</select>
<select name="sel_editor_colorset" id="sel_editor_colorset" style="display:none">
</select>
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
getEditorSkinColorList('{$config->signature_editor_skin}','{$config->sel_editor_colorset}');
//]]></script>
</div>

View file

@ -1,5 +1,5 @@
<load target="js/member_admin_list.js" type="body" usecdn="true" />
<script type="text/javascript">
<script>
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 type="text/javascript">
<script>
jQuery(function($){
var clickedBTN = '';

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
<!--@if ($is_register == 'Y')-->
alert("{$lang->msg_success_confirmed}");
<!--@else-->

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
alert("{$lang->msg_success_modify_email_address}");
location.href="{getUrl()}";
</script>

View file

@ -1,3 +1,3 @@
<script type="text/javascript">
<script>
location.href = "{$redirect_url}";
</script>

View file

@ -61,7 +61,7 @@
</div>
</form>
</div>
<script type="text/javascript">
<script>
(function($){
$(function(){
var option = { changeMonth: true, changeYear: true, gotoCurrent: false,yearRange:'-100:+10', dateFormat:'yy-mm-dd', onSelect:function(){

View file

@ -1,9 +1,9 @@
<!--@if($error_message)-->
<script type="text/javascript">
<script>
alert("{$error_message}");
</script>
<!--@else-->
<script type="text/javascript">
<script>
top.completeMenuUploadButton("{$target}", "{$filename}");
</script>
<!--@end-->

View file

@ -105,7 +105,7 @@
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
</div>
<script type="text/javascript">
<script>
(function($){
$("[name^=menu_name_]").bind("blur",function(e){
if($("[name=ck_"+$(this).attr("name")+"]:checked").size()>0){

View file

@ -8,7 +8,7 @@
<!--// tree javascript plugin load -->
<!--%load_js_plugin("ui.tree")-->
<script type="text/javascript">
<script>
var alertImageOnly = "{$lang->alert_image_only}";
</script>
@ -79,7 +79,7 @@
</div>
</div>
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
//언어파일 로드용
var lang_cmd_insert = "{htmlspecialchars($lang->cmd_insert)}";
var lang_cmd_delete = "{htmlspecialchars($lang->cmd_delete)}";

View file

@ -1,4 +1,4 @@
<script type="text/javascript">
<script>
xe.lang.confirm_delete = "{$lang->confirm_delete}";
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowMenuGrantZone(); } ); doShowMenuGrantZone() } );
</script>

View file

@ -1,4 +1,4 @@
<style type="text/css">
<style>
.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}

View file

@ -69,7 +69,7 @@
</div>
</div>
<script type="text/javascript">
<script>
jQuery(function($){
var keep_msg = $('#keep_msg');
keep_msg.hide();

View file

@ -1,4 +1,4 @@
<style type="text/css">
<style>
.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}

View file

@ -124,7 +124,7 @@
if(!$input_name) return new Object(-1, 'msg_not_permitted');
$addscript = sprintf('<script type="text/javascript">//<![CDATA[
$addscript = sprintf('<script>//<![CDATA[
var selected_filebox_input_name = "%s";
//]]></script>',$input_name);
Context::addHtmlHeader($addscript);

View file

@ -32,7 +32,7 @@
<button>Go</button>
</span>
</div>
<script type="text/javascript">
<script>
jQuery('.pagination').xePagination();
jQuery('a.tgAnchor').xeContentToggler();
</script>

View file

@ -1,6 +1,6 @@
<load target="js/module_admin.js" usecdn="true" />
<script type="text/javascript">
<script>
xe.lang.favorite_on = '{$lang->favorite}({$lang->on})';
xe.lang.favorite_off = '{$lang->favorite}({$lang->off})';
</script>

View file

@ -1,5 +1,5 @@
<load target="js/module_admin.js" usecdn="true" />
<script type="text/javascript">
<script>
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowGrantZone(); } ); doShowGrantZone() } );
</script>

View file

@ -1,5 +1,5 @@
<block cond="$use_multilang_textarea">
<style type="text/css">
<style>
#langEditTextarea textarea { width: 258px; }
</style>

View file

@ -1,5 +1,5 @@
<load target="js/module_admin.js" usecdn="true" />
<script type="text/javascript">
<script>
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowGrantZone(); } ); doShowGrantZone() } );
</script>
<h1 class="h1">{$lang->bundle_grant_setup}</h1>

View file

@ -1,7 +1,7 @@
<!--%import("filter/insert_grant.xml")-->
<load target="js/module_admin.js" usecdn="true" />
<script type="text/javascript">
<script>
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowGrantZone(); } ); doShowGrantZone() } );
</script>

View file

@ -1,3 +1,3 @@
<script type="text/javascript">
<script>
top.location.href = "{$url}";
</script>

View file

@ -1,4 +1,4 @@
<script type="text/javascript">//<![CDATA[
<script>//<![CDATA[
top.location.href = top.location.href;
//]]>
</script>

View file

@ -41,7 +41,7 @@
<div class="widgetBoxRemove"></div>
</div>
<script type="text/javascript">
<script>
var confirm_delete_msg = "{$lang->confirm_delete}";
xAddEventListener(window,"load",function() { doStartPageModify('zonePageContent', '{$module_info->module_srl}'); jQuery('div.admin').css('background-color','transparent');});
</script>

View file

@ -141,7 +141,7 @@
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
</div>
</form>
<script type="text/javascript">
<script>
(function($){
$('.optionnalData').hide();
$('select[name=page_type]').change(function(){

View file

@ -44,7 +44,7 @@
<div class="widgetBoxRemove"></div>
</div>
<script type="text/javascript">
<script>
var confirm_delete_msg = "{$lang->confirm_delete}";
xAddEventListener(window,"load",function() { doStartPageModify('zonePageContent', '{$module_info->module_srl}'); jQuery('div.admin').css('background-color','transparent');});
</script>

Some files were not shown because too many files have changed in this diff Show more