remove cdn feature

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13187 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
khongchi 2013-11-08 06:04:28 +00:00
parent bce0a0b6d4
commit 3581db5932
83 changed files with 137 additions and 225 deletions

View file

@ -1994,22 +1994,13 @@ class Context
* $args[1]: media,
* $args[2]: target IE,
* $args[3]: index
* @param bool $useCdn use cdn
* @param string $cdnPrefix cdn prefix
* @param string $cdnVersion cdn version
*
*/
function loadFile($args, $useCdn = false, $cdnPrefix = '', $cdnVersion = '')
function loadFile($args)
{
is_a($this, 'Context') ? $self = $this : $self = Context::getInstance();
if($useCdn && !$cdnPrefix)
{
$cdnPrefix = __XE_CDN_PREFIX__;
$cdnVersion = __XE_CDN_VERSION__;
}
$self->oFrontEndFileHandler->loadFile($args, $useCdn, $cdnPrefix, $cdnVersion);
$self->oFrontEndFileHandler->loadFile($args);
}
/**

View file

@ -87,28 +87,15 @@ class FrontEndFileHandler extends Handler
* $args[3]: index
* </pre>
*
* If $useCdn set true, use CDN instead local file.
* CDN path = $cdnPrefix . $cdnVersion . $args[0]<br />
* <br />
* i.e.<br />
* $cdnPrefix = 'http://static.xpressengine.com/core/';<br />
* $cdnVersion = 'ardent1';<br />
* $args[0] = './common/js/xe.js';<br />
* The CDN path is http://static.xprssengine.com/core/ardent1/common/js/xe.js.<br />
*
* @param array $args Arguments
* @param bool $useCdn If set true, use cdn instead local file
* @param string $cdnPrefix CDN url prefix. (http://static.xpressengine.com/core/)
* @param string $cdnVersion CDN version string (ardent1)
* @return void
* */
function loadFile($args, $useCdn = FALSE, $cdnPrefix = '', $cdnVersion = '')
function loadFile($args)
{
if(!is_array($args))
{
$args = array($args);
}
$file = $this->getFileInfo($args[0], $args[2], $args[1]);
$availableExtension = array('css' => 1, 'js' => 1);
@ -117,9 +104,6 @@ class FrontEndFileHandler extends Handler
return;
}
$file->useCdn = $useCdn;
$file->cdnPrefix = $cdnPrefix;
$file->cdnVersion = $cdnVersion;
$file->index = (int) $args[3];
if($file->fileExtension == 'css')
@ -294,23 +278,14 @@ class FrontEndFileHandler extends Handler
$this->_sortMap($map, $mapIndex);
$dbInfo = Context::getDBInfo();
$useCdn = $dbInfo->use_cdn;
$result = array();
foreach($map as $indexedMap)
{
foreach($indexedMap as $file)
{
if($this->isSsl() == FALSE && $useCdn == 'Y' && $file->useCdn && $file->cdnVersion != '%__XE_CDN_VERSION__%')
{
$fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName;
}
else
{
$noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : '';
$fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache;
}
$noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : '';
$fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache;
$result[] = array('file' => $fullFilePath, 'media' => $file->media, 'targetie' => $file->targetIe);
}
}
@ -339,23 +314,14 @@ class FrontEndFileHandler extends Handler
$this->_sortMap($map, $mapIndex);
$dbInfo = Context::getDBInfo();
$useCdn = $dbInfo->use_cdn;
$result = array();
foreach($map as $indexedMap)
{
foreach($indexedMap as $file)
{
if($this->isSsl() == FALSE && $useCdn == 'Y' && $file->useCdn && $file->cdnVersion != '%__XE_CDN_VERSION__%')
{
$fullFilePath = $file->cdnPrefix . $file->cdnVersion . '/' . substr($file->cdnPath, 2) . '/' . $file->fileName;
}
else
{
$noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : '';
$fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache;
}
$noneCache = (is_readable($file->cdnPath . '/' . $file->fileName)) ? '?' . date('YmdHis', filemtime($file->cdnPath . '/' . $file->fileName)) : '';
$fullFilePath = $file->filePath . '/' . $file->fileName . $noneCache;
$result[] = array('file' => $fullFilePath, 'targetie' => $file->targetIe);
}
}

View file

@ -675,7 +675,7 @@ class TemplateHandler
else
{
$metafile = $attr['target'];
$result = "\$__tmp=array('{$attr['target']}','{$attr['type']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp,'{$attr['usecdn']}','{$attr['cdnprefix']}','{$attr['cdnversion']}');unset(\$__tmp);";
$result = "\$__tmp=array('{$attr['target']}','{$attr['type']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp);unset(\$__tmp);";
}
break;
case 'css':
@ -686,7 +686,7 @@ class TemplateHandler
else
{
$metafile = $attr['target'];
$result = "\$__tmp=array('{$attr['target']}','{$attr['media']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp,'{$attr['usecdn']}','{$attr['cdnprefix']}','{$attr['cdnversion']}');unset(\$__tmp);";
$result = "\$__tmp=array('{$attr['target']}','{$attr['media']}','{$attr['targetie']}','{$attr['index']}');Context::loadFile(\$__tmp);unset(\$__tmp);";
}
break;
}

View file

@ -100,8 +100,6 @@ else
* define('__OB_GZHANDLER_ENABLE__', 1);
* define('__ENABLE_PHPUNIT_TEST__', 0);
* define('__PROXY_SERVER__', 'http://domain:port/path');
* define('__XE_CDN_PREFIX__', 'http://yourCdnDomain.com/path/');
* define('__XE_CDN_VERSION__', 'yourCdnVersion');
*/
if(file_exists(_XE_PATH_ . 'config/config.user.inc.php'))
{
@ -234,22 +232,6 @@ if(!defined('__PROXY_SERVER__'))
define('__PROXY_SERVER__', NULL);
}
if(!defined('__XE_CDN_PREFIX__'))
{
/**
* CDN prefix
*/
define('__XE_CDN_PREFIX__', 'http://static.xpressengine.com/core/');
}
if(!defined('__XE_CDN_VERSION__'))
{
/**
* CDN version
*/
define('__XE_CDN_VERSION__', '%__XE_CDN_VERSION__%');
}
// Require specific files when using Firebug console output
if((__DEBUG_OUTPUT__ == 2) && version_compare(PHP_VERSION, '6.0.0') === -1)
{

View file

@ -59,7 +59,6 @@ class adminAdminView extends admin
Context::set('use_db_session', $db_info->use_db_session == 'N' ? 'N' : 'Y');
Context::set('use_mobile_view', $db_info->use_mobile_view == 'Y' ? 'Y' : 'N');
Context::set('use_ssl', $db_info->use_ssl ? $db_info->use_ssl : "none");
Context::set('use_cdn', $db_info->use_cdn ? $db_info->use_cdn : "none");
if($db_info->http_port)
{
Context::set('http_port', $db_info->http_port);

View file

@ -880,13 +880,6 @@
<value xml:lang="zh-CN"><![CDATA[执行]]></value>
<value xml:lang="tr"><![CDATA[Yürütme]]></value>
</item>
<item name="use_cdn">
<value xml:lang="ko"><![CDATA[CDN 사용]]></value>
<value xml:lang="en"><![CDATA[Use CDN]]></value>
<value xml:lang="jp"><![CDATA[CDN使用]]></value>
<value xml:lang="zh-CN"><![CDATA[开启CDN]]></value>
<value xml:lang="tr"><![CDATA[CDN Kullanımı]]></value>
</item>
<item name="use_rewrite">
<value xml:lang="ko"><![CDATA[짧은 주소 사용]]></value>
<value xml:lang="en"><![CDATA[Use Rewrite Mode]]></value>
@ -1017,13 +1010,6 @@
<value xml:lang="tr"><![CDATA[SSO kullanıcıları, geçreli ya da sanal siteye bir kere kayıt olmakla, ikisinden de yararlandıracaktır. Bu, size sadece sanal websiteler kullandığınız durumda lazım olacaktır.]]></value>
<value xml:lang="vi"><![CDATA[SSO will enable users to sign in just once for both default and virtual site. You will need this only if you are using virtual sites.]]></value>
</item>
<item name="about_cdn">
<value xml:lang="ko"><![CDATA[XE core의 css, js 파일을 CDN으로부터 제공받으려면 체크하세요.]]></value>
<value xml:lang="en"><![CDATA[Check this to get css and js files of XE core from CDN.]]></value>
<value xml:lang="jp"><![CDATA[XE coreのcss、jsファイルをCDNより取得するには、チェックしてください。]]></value>
<value xml:lang="zh-CN"><![CDATA[确认从CDN上获取XE core的css和js文件.]]></value>
<value xml:lang="tr"><![CDATA[CSS XE çekirdek, js dosyaları CDN teklif almak için deneyin.]]></value>
</item>
<item name="about_arrange_session">
<value xml:lang="ko"><![CDATA[세션을 정리하시겠습니까?]]></value>
<value xml:lang="en"><![CDATA[Do you want to clean up session?]]></value>

View file

@ -164,14 +164,6 @@
<label for="https_port" class="x_inline" style="margin-bottom:0;padding-top:0">HTTPS: <input type="number" name="https_port" id="https_port" size="5" value="{$https_port}" /></label>
</div>
</div>
<div class="x_control-group" cond="__XE_CDN_VERSION__!='%__XE_CDN_VERSION__%'">
<label class="x_control-label">{$lang->use_cdn}</label>
<div class="x_controls">
<label for="cdn_y" class="x_inline"><input type="radio" name="use_cdn" id="cdn_y" value="Y" checked="checked"|cond="$use_cdn=='Y'" /> {$lang->cmd_yes}</label>
<label for="cdn_n" class="x_inline"><input type="radio" name="use_cdn" id="cdn_n" value="N" checked="checked"|cond="$use_cdn!='Y'" /> {$lang->cmd_no}</label>
<p class="x_help-block">{$lang->about_cdn}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->use_rewrite}</label>
<div class="x_controls">

View file

@ -1,5 +1,5 @@
<load target="js/counter_admin.js" usecdn="true" />
<load target="counter.css" usecdn="true" />
<load target="js/counter_admin.js" />
<load target="counter.css" />
<!--// datepicker javascript plugin load -->
<!--%load_js_plugin("ui.datepicker")-->
@ -73,14 +73,14 @@
</li>
</ul>
<!-- 일자를 옮기는 form -->
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>湲곕<E6B9B2><EAB395> form -->
<form action="./" method="get" id="fo_counter">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="selected_date" value="{$selected_date}" />
</form>
<!-- unique visitor 그래프 -->
<!-- unique visitor 洹몃<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<table class="x_table x_table-striped x_table-hover">
<!--@foreach($detail_status->list as $key => $val)-->
<!--@if($detail_status->sum>0)-->
@ -91,7 +91,7 @@
{@$img_width = 1}
<!--@end-->
<tr>
<th scope="row" cond="Context::getLangType()=='en'"> <!--// 시간대별 -->
<th scope="row" cond="Context::getLangType()=='en'"> <!--// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<!--@if($type == 'year')-->
{$key}
<!--@elseif($type == 'month')-->
@ -102,7 +102,7 @@
{$key}
<!--@end-->
</th>
<th scope="row" cond="Context::getLangType()!='en'"> <!--// 시간대별 -->
<th scope="row" cond="Context::getLangType()!='en'"> <!--// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<!--@if($type == 'year')-->
{$key} {$lang->unit_year}
<!--@elseif($type == 'month')-->

View file

@ -4,7 +4,7 @@
<!--// tree javascript plugin load -->
<!--%load_js_plugin("ui.tree")-->
<load target="js/document_category.js" usecdn="true" />
<load target="js/document_category.js" />
<!--%load_js_plugin("ui.colorpicker")-->
<script>
var category_title = "{$lang->category}";

View file

@ -1,5 +1,5 @@
<!--%import("filter/manage_checked_document.xml")-->
<load target="js/document_admin.js" usecdn="true" />
<load target="js/document_admin.js" />
<form action="./" method="get" id="fo_management">
<input type="hidden" name="module" value="document" />
<input type="hidden" name="type" value="" />

View file

@ -2,7 +2,7 @@
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>
<load target="js/document_admin.js" usecdn="true" />
<load target="js/document_admin.js" />
<div class="x_page-header">
<h1>{$lang->document} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_document" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -2,7 +2,7 @@
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>
<load target="js/document_admin.js" usecdn="true" />
<load target="js/document_admin.js" />
<div class="x_page-header">
<h1>{$lang->document} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_document" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -1,4 +1,4 @@
<load target="js/document_admin.js" usecdn="true" />
<load target="js/document_admin.js" />
<!--%import("filter/insert_extra_var.xml")-->
<!--%import("filter/delete_extra_var.xml")-->

View file

@ -1,4 +1,4 @@
<load target="js/document_admin.js" usecdn="true" />
<load target="js/document_admin.js" />
<h1>{$lang->document} {$lang->cmd_management}</h1>
<p>
<a href="{getUrl('act','dispDocumentAdminList')}" class="active"|cond="$act=='dispDocumentAdminList'">{$lang->document_list}</a>

View file

@ -1,4 +1,4 @@
<load target="./js/document_admin.js" usecdn="true" />
<load target="./js/document_admin.js" />
{$content}
<div class="btnArea">
<button class="btn" type="button" onclick="window.close();return false;">{$lang->cmd_close}</button>

View file

@ -1,4 +1,4 @@
<load target="./js/document_admin.js" usecdn="true" />
<load target="./js/document_admin.js" />
<h1 class="h1">{$oDocument->getTitleText()}</h1>
<a href="#popup_menu_area" class="member_{$oDocument->get('member_srl')}">{$oDocument->get('nick_name')}</a>
{$oDocument->getRegdate()}

View file

@ -1,4 +1,4 @@
<load target="js/editor_module_config.js" usecdn="true" />
<load target="js/editor_module_config.js" />
<div class="x_page-header">
<h1>{$lang->editor} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_advanced_editor" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -1,5 +1,5 @@
<!--%import("filter/insert_editor_module_config.xml")-->
<load target="js/editor_module_config.js" usecdn="true" />
<load target="js/editor_module_config.js" />
<form action="./" method="post" class="section">
<input type="hidden" name="act" value="procEditorInsertModuleConfig" />
<input type="hidden" name="module" value="editor" />

View file

@ -1,6 +1,6 @@
<load target="css/editor.css" usecdn="true" />
<load target="css/editor_admin.css" usecdn="true" />
<load target="js/editor_admin.js" usecdn="true" />
<load target="css/editor.css" />
<load target="css/editor_admin.css" />
<load target="js/editor_admin.js" />
<div class="x_page-header">
<h1>{$lang->editor}</h1>
</div>

View file

@ -1,6 +1,6 @@
<load target="css/editor.css" usecdn="true" />
<load target="../../../modules/admin/tpl/css/admin.css" usecdn="true" />
<load target="../../../common/css/bootstrap.min.css" usecdn="true" />
<load target="css/editor.css" />
<load target="../../../modules/admin/tpl/css/admin.css" />
<load target="../../../common/css/bootstrap.min.css" />
<section class="section">
<h1>{$component->title} ver. {$component->version}</h1>

View file

@ -2,7 +2,7 @@
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>
<load target="js/file_admin.js" usecdn="true" />
<load target="js/file_admin.js" />
<form id="fo_list" action="./" method="post">
<input type="hidden" name="module" value="file" />
<div class="x_page-header">

View file

@ -1,4 +1,4 @@
<load target="js/file_admin.js" usecdn="true" />
<load target="js/file_admin.js" />
<h2 class="h2">{$lang->file} {$lang->cmd_management}</h2>
<p>
<a href="{getUrl('act','dispFileAdminList')}" class="active"|cond="$act=='dispFileAdminList'">{$lang->file_list}</a>

View file

@ -1,5 +1,5 @@
<load cond="__DEBUG__" target="js/importer_admin.js" usecdn="true" />
<load cond="!__DEBUG__" target="js/importer_admin.min.js" usecdn="true" />
<load cond="__DEBUG__" target="js/importer_admin.js" />
<load cond="!__DEBUG__" target="js/importer_admin.min.js" />
{@ $type_list = array('module'=>$lang->type_module, 'ttxml'=>$lang->type_ttxml, 'member'=>$lang->type_member, 'sync'=>$lang->type_syncmember, 'message'=>$lang->type_message) }
<div class="x_page-header">
<h1>{$lang->importer} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_importer" target="_blank">{$lang->help}</a></h1>

View file

@ -1,5 +1,5 @@
<include target="./header.html" />
<load target="js/importer_admin.js" usecdn="true" />
<load target="js/importer_admin.js" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/importer/tpl/index/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>

View file

@ -67,9 +67,6 @@ class installAdminController extends install
$http_port = Context::get('http_port');
$https_port = Context::get('https_port');
$use_cdn = Context::get('use_cdn');
if($use_cdn != 'Y') $use_cdn = 'N';
$use_rewrite = Context::get('use_rewrite');
if($use_rewrite!='Y') $use_rewrite = 'N';
@ -92,7 +89,6 @@ class installAdminController extends install
$db_info->use_rewrite = $use_rewrite;
$db_info->use_sso = $use_sso;
$db_info->use_ssl = $use_ssl;
$db_info->use_cdn = $use_cdn;
$db_info->use_html5 = $use_html5;
$db_info->admin_ip_list = $admin_ip_list;

View file

@ -1,4 +1,4 @@
<load target="js/integration_search_admin.js" usecdn="true" />
<load target="js/integration_search_admin.js" />
<div class="x_page-header">
<h1>{$lang->integration_search}</h1>

View file

@ -1,5 +1,5 @@
<include target="header.html" />
<load target="../../module/tpl/js/module_list.js" usecdn="true" />
<load target="../../module/tpl/js/module_list.js" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/integration_search/tpl/index/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>

View file

@ -3,7 +3,7 @@ var newTitle = '{$lang->new_title}';
var layoutTitle = '{$layout->layout_title}';
var addLang = '{$lang->cmd_insert}';
</script>
<load target="js/layout_admin.js" usecdn="true" />
<load target="js/layout_admin.js" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/layout/tpl/copy_layout/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>

View file

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

View file

@ -1,5 +1,5 @@
<include target="header.html" />
<load target="js/adminEdit.js" usecdn="true" />
<load target="js/adminEdit.js" />
<p>{nl2br($lang->about_layout_code)}</p>
<section class="section">
<h1>{$lang->layout_image_repository}</h1>

View file

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

View file

@ -1,6 +1,6 @@
<load target="./../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" usecdn="true" index="-1000000" />
<load target="css/msignup.css" usecdn="true" />
<load target="./../../../../common/js/jquery.min.js" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" index="-1000000" />
<load target="css/msignup.css" />
<div class="hx h2"><h2>{$lang->cmd_find_member_account_with_email}</h2></div>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/m.skin/default/find_member_account/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>

View file

@ -1,4 +1,4 @@
<load target="css/msignup.css" usecdn="true" />
<load target="css/msignup.css" />
<div>
<div class="hx h2"><h2>{$lang->cmd_find_member_account}</h2></div>
<p>{$lang->about_temp_password}</p>

View file

@ -1,6 +1,6 @@
<load target="./../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" usecdn="true" index="-1000000" />
<load target="css/msignup.css" usecdn="true" />
<load target="./../../../../common/js/jquery.min.js" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" index="-1000000" />
<load target="css/msignup.css" />
<h2 class="hx h2">{$member_title = $lang->msg_leave_member}</h2>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/m.skin/default/leave_form/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>

View file

@ -1,5 +1,5 @@
<load target="./../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="css/mlogin.css" usecdn="true" />
<load target="./../../../../common/js/jquery.min.js" index="-1000000" />
<load target="css/mlogin.css" />
<div class="bd">
<div class="hx h2">
<h2>{$lang->cmd_login}</h2>

View file

@ -1,6 +1,6 @@
<load target="./../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" usecdn="true" index="-1000000" />
<load target="css/msignup.css" usecdn="true" />
<load target="./../../../../common/js/jquery.min.js" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" index="-1000000" />
<load target="css/msignup.css" />
<h2 class="hx h2">{$lang->cmd_modify_member_email_address}</h2>
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/member/m.skin/default/modify_email_address/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>

View file

@ -6,7 +6,7 @@
<load target="../../tpl/js/signup_check.js" />
<load target="../../tpl/js/member_admin.js" />
<load target="css/msignup.css" usecdn="true" />
<load target="css/msignup.css" />
<script type="text/javascript" >
xe.lang.deleteProfileImage = '{$lang->msg_delete_extend_form}';

View file

@ -1,6 +1,6 @@
<load target="./../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" usecdn="true" index="-1000000" />
<load target="css/msignup.css" usecdn="true" />
<load target="./../../../../common/js/jquery.min.js" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" index="-1000000" />
<load target="css/msignup.css" />
<h2 class="hx h2">{$member_title = $lang->cmd_modify_member_password}</h2>
<form ruleset="modifyPassword" id="fo_insert_member" class="ff" action="./" method="post">
<input type="hidden" name="module" value="member" />

View file

@ -1,4 +1,4 @@
<load target="css/msignup.css" usecdn="true" />
<load target="css/msignup.css" />
<h2 class="hx h2">{$lang->msg_rechecked_password}</h2>
{@
$validator_ids = array(

View file

@ -1,6 +1,6 @@
<load target="./../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" usecdn="true" index="-1000000" />
<load target="css/msignup.css" usecdn="true" />
<load target="./../../../../common/js/jquery.min.js" index="-1000000" />
<load target="./../../../../common/js/xe.min.js" index="-1000000" />
<load target="css/msignup.css" />
<load target="../../tpl/js/signup_check.js" />
<div class="bd">
<div class="hx h2">

View file

@ -1,4 +1,4 @@
<load target="js/member_admin_group.js" usecdn="true" />
<load target="js/member_admin_group.js" />
<script>
xe.lang.groupDeleteMessage = '{$lang->msg_group_delete}';
xe.lang.multilingual = '{$lang->cmd_set_multilingual}';
@ -53,7 +53,7 @@
<button type="button" class="dragBtn">Move to</button>
<input type="hidden" name="group_srls[]" value="{$group_info->group_srl}" />
<input type="text" name="group_titles[]" value="{htmlspecialchars($group_info->title)}" class="lang_code" title="{$lang->group_title}" />
<a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_faq_administrator" target="_blank" cond="$group_info->title == '관리그룹'">{$lang->help}</a>
<a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_faq_administrator" target="_blank" cond="$group_info->title == '<EFBFBD>由ш렇猷<EFBFBD>'">{$lang->help}</a>
</div>
</td>
<td><input type="text" name="descriptions[]" value="{$group_info->description}" title="{$lang->description}" /></td>

View file

@ -1,4 +1,4 @@
<load target="js/krzip_search.js" usecdn="true" />
<load target="js/krzip_search.js" />
<load target="js/member_admin.js" />
<!--%load_js_plugin("ui.datepicker")-->
<script>

View file

@ -1,4 +1,4 @@
<load target="js/member_admin_list.js" type="body" usecdn="true" />
<load target="js/member_admin_list.js" type="body" />
<script>
xe.lang.msg_select_user = '{$lang->msg_select_user}';
xe.lang.msg_delete_user = '{$lang->msg_delete_user}';
@ -30,8 +30,8 @@
<tr>
<th scope="col" class="nowr">{$lang->email}</th>
<th scope="col" class="nowr" loop="$usedIdentifiers=>$name,$title">{$title}</th>
<th scope="col" class="nowr"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'sort_index', 'regdate', 'sort_order', ($sort_order == 'asc') ? 'desc' : 'asc')}">{$lang->signup_date}<block cond="$sort_index == 'regdate'"> <em cond="$sort_order=='asc'"></em><em cond="$sort_order != 'asc'"></em></block></a></th>
<th scope="col" class="nowr"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'sort_index', 'last_login', 'sort_order', ($sort_order == 'asc') ? 'desc' : 'asc')}">{$lang->last_login}<block cond="$sort_index == 'last_login'"> <em cond="$sort_order=='asc'"></em><em cond="$sort_order != 'asc'"></em></block></a></th>
<th scope="col" class="nowr"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'sort_index', 'regdate', 'sort_order', ($sort_order == 'asc') ? 'desc' : 'asc')}">{$lang->signup_date}<block cond="$sort_index == 'regdate'"> <em cond="$sort_order=='asc'"><EFBFBD><EFBFBD><EFBFBD></em><em cond="$sort_order != 'asc'"><EFBFBD><EFBFBD><EFBFBD></em></block></a></th>
<th scope="col" class="nowr"><a href="{getUrl('', 'module', 'admin', 'act', 'dispMemberAdminList', 'sort_index', 'last_login', 'sort_order', ($sort_order == 'asc') ? 'desc' : 'asc')}">{$lang->last_login}<block cond="$sort_index == 'last_login'"> <em cond="$sort_order=='asc'"><EFBFBD><EFBFBD><EFBFBD></em><em cond="$sort_order != 'asc'"><EFBFBD><EFBFBD><EFBFBD></em></block></a></th>
<th scope="col" class="nowr">{$lang->member_group}</th>
<th scope="col" class="nowr">{$lang->inquiry}/{$lang->cmd_modify}</th>
<th scope="col">

View file

@ -1,6 +1,6 @@
<include target="header.html" />
<load target="js/signup_config.js" />
<load target="../../editor/tpl/js/editor_module_config.js" usecdn="true" />
<load target="../../editor/tpl/js/editor_module_config.js" />
<script>
xe.lang.msg_delete_extend_form = '{$lang->msg_delete_extend_form}';
xe.lang.confirm_delete = '{$lang->confirm_delete}';

View file

@ -1,4 +1,4 @@
<load target="../../../../common/js/jquery.min.js" usecdn="true" index="-1000000" />
<load target="../../../../common/js/jquery.min.js" index="-1000000" />
<block cond="!$is_logged && $module == 'admin'">
<load target="../../../../common/css/bootstrap.min.css" index="1" />
</block>

View file

@ -1,4 +1,4 @@
<load target="js/module_admin.js" usecdn="true" />
<load target="js/module_admin.js" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/module/tpl/copy_module/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>

View file

@ -1,4 +1,4 @@
<load target="./js/module_admin.js" usecdn="true" />
<load target="./js/module_admin.js" />
<h1 class="h1">{$lang->filebox}</h1>
<form action="{getUrl('')}" method="post" enctype="multipart/form-data">
<input type="hidden" name="module" value="module" />

View file

@ -1,4 +1,4 @@
<load target="js/module_admin.js" usecdn="true" />
<load target="js/module_admin.js" />
<div class="x_page-header">
<h1>{$lang->installed_modules} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_advanced_installed_module" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -1,4 +1,4 @@
<load target="js/manage_selected_module.js" usecdn="true" />
<load target="js/manage_selected_module.js" />
<section id="manageSelectedModule" class="x_modal x">
<div class="x_modal-header">
<h1>{$lang->do_selected}</h1>

View file

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

View file

@ -1,4 +1,4 @@
<load target="css/mlang.css" usecdn="true" />
<load target="css/mlang.css" />
<div class="bd">
<div class="hx h2">
<h2>Select Your Language</h2>

View file

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

View file

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

View file

@ -1,4 +1,4 @@
<load target="./js/module_admin.js" usecdn="true" />
<load target="./js/module_admin.js" />
<div class="x_modal-header">
<h1>{$lang->module_selector}</h1>
</div>

View file

@ -1,4 +1,4 @@
<load target="./js/module_admin.js" usecdn="true" />
<load target="./js/module_admin.js" />
<form ruleset="insertModuleSetup" action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal" style="margin:0">
<input type="hidden" name="module" value="module" />
<input type="hidden" name="act" value="procModuleAdminModuleSetup" />

View file

@ -1,4 +1,4 @@
<load target="../../admin/tpl/css/admin.css" usecdn="true" />
<load target="../../admin/tpl/css/admin.css" />
<h1>{$skin_info->title}</h1>
<table class="x_table x_table-striped x_table-hover">
<col width="100" />

View file

@ -1,4 +1,4 @@
<load target="js/page_admin.js" usecdn="true" />
<load target="js/page_admin.js" />
<form action="./" method="post" onsubmit="return procFilter(this, insert_article)" id="fo_write">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />

View file

@ -1,6 +1,6 @@
{$page_content}
<!--@if($grant->manager)-->
<load target="./js/page_admin.js" usecdn="true" />
<load target="./js/page_admin.js" />
<div class="btnArea">
<span class="btn-group">
<button class="btn" type="button" onclick="doRemoveWidgetCache({$module_info->module_srl}); return false;">{$lang->cmd_remake_cache}</button>

View file

@ -1,4 +1,4 @@
<load target="js/page_admin.js" usecdn="true" />
<load target="js/page_admin.js" />
<div class="x_page-header">
<h1>
{$lang->page_management}

View file

@ -1,11 +1,11 @@
<load target="js/page_admin.js" usecdn="true" />
<load target="js/page_admin.js" />
<include target="header.html" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/module/tpl/manage_selected'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<!-- 검색 -->
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD> -->
<form action="./" method="get" class="search x_input-append x_pull-right" style="margin-bottom:-28px">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="mid" value="{$mid}" />
@ -36,7 +36,7 @@ jQuery(function($){
});
</script>
<!-- 목록 -->
<!-- 紐⑸<EFBFBD><EFBFBD> -->
<form action="./" method="get" id="fo_list">
<table class="x_table x_table-striped x_table-hover">
<caption><strong>Total: {number_format($total_count)}, Page: {number_format($page)}/{number_format($total_page)}</strong></caption>
@ -92,7 +92,7 @@ jQuery(function($){
</form>
<!-- 페이지 네비게이션 -->
<!-- <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><E385BB><EFBFBD><E5AF83><EFBFBD><EFBFBD><EB8C81> -->
<form cond="$page_navigation" action="./" class="x_pagination" no-error-return-url="true" style="margin:-36px 0 0 0">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />

View file

@ -1,6 +1,6 @@
{$page_content}
<!--@if($grant->manager)-->
<load target="./js/page_admin.js" usecdn="true" />
<load target="./js/page_admin.js" />
<div class="btnArea">
<p class="etc">{$lang->about_mcontent}</p>
<span class="btn-group">

View file

@ -1,4 +1,4 @@
<load target="css/mpage.css" usecdn="true" />
<load target="css/mpage.css" />
<div class="bd">
{$page_content}
</div>

View file

@ -1,8 +1,8 @@
<!--%import("filter/insert_page_content.xml")-->
<load target="js/page_admin.js" usecdn="true" />
<load target="css/page.css" usecdn="true" />
<load target="../../widget/tpl/js/widget.js" usecdn="true" />
<load target="../../widget/tpl/css/widget.css" usecdn="true" />
<load target="js/page_admin.js" />
<load target="css/page.css" />
<load target="../../widget/tpl/js/widget.js" />
<load target="../../widget/tpl/css/widget.css" />
<div id="zonePageContent">{$page_content}</div>
<form action="./" method="post" id="pageFo" onsubmit="return doSubmitPageContent(this);">
<input type="hidden" name="mid" value="{$module_info->mid}" />

View file

@ -1,4 +1,4 @@
<load target="js/page_admin.js" usecdn="true" />
<load target="js/page_admin.js" />
<!--#include("header.html")-->
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/page/tpl/page_delete/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">

View file

@ -1,8 +1,8 @@
<!--%import("filter/insert_mpage_content.xml")-->
<load target="js/page_admin.js" usecdn="true" />
<load target="css/page.css" usecdn="true" />
<load target="../../widget/tpl/js/widget.js" usecdn="true" />
<load target="../../widget/tpl/css/widget.css" usecdn="true" />
<load target="js/page_admin.js" />
<load target="css/page.css" />
<load target="../../widget/tpl/js/widget.js" />
<load target="../../widget/tpl/css/widget.css" />
<div id="zonePageContent">{$page_content}</div>
<form action="./" method="post" id="pageFo" onsubmit="return doSubmitMPageContent(this);">
<input type="hidden" name="mid" value="{$module_info->mid}" />

View file

@ -1,4 +1,4 @@
<load target="js/point_admin.js" usecdn="true" />
<load target="js/point_admin.js" />
<div class="x_page-header">
<h1>{$lang->point} {$lang->cmd_management} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_member_point" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -1,5 +1,5 @@
<include target="header.html" />
<load target="js/point_admin.js" usecdn="true" />
<load target="js/point_admin.js" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/point/tpl/member_list/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>

View file

@ -1,4 +1,4 @@
<load target="js/point_admin.js" usecdn="true" />
<load target="js/point_admin.js" />
<section class="section">
<h1>{$lang->point}</h1>

View file

@ -1,4 +1,4 @@
<load target="js/poll_admin.js" usecdn="true" />
<load target="js/poll_admin.js" />
<!--#include("./header.html")-->
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/poll/tpl/config/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">

View file

@ -4,7 +4,7 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
xe.lang.msg_select_poll = '{$lang->msg_poll_is_null}';
xe.lang.confirm_poll_delete = '{$lang->confirm_poll_delete}';
</script>
<load target="js/poll_admin.js" usecdn="true" />
<load target="js/poll_admin.js" />
<div class="x_page-header">
<h1>{$lang->poll} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_poll" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -1,4 +1,4 @@
<load target="css/poll.css" usecdn="true" />
<load target="css/poll.css" />
<h1 class="h1">{$lang->poll_stop_date} : {zdate($poll->stop_date, "Y-m-d H:i")} {$lang->poll_join_count} : {number_format($poll->poll_count)}</h1>
<!--@foreach($poll->poll as $poll_srl_index => $val)-->
<div class="poll_detail_box">

View file

@ -1,4 +1,4 @@
<load target="js/session.js" usecdn="true" />
<load target="js/session.js" />
<div class="x_page-header">
<h1>{$lang->session} {$lang->cmd_management}</h1>
</div>

View file

@ -1,4 +1,4 @@
<load target="js/spamfilter_admin.js" usecdn="true" />
<load target="js/spamfilter_admin.js" />
<div class="x_page-header">
<h1>{$lang->spamfilter} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_spamfilter" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -2,7 +2,7 @@
xe.lang.msg_empty_search_target = '{$lang->msg_empty_search_target}';
xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
</script>
<load target="js/trackback_admin.js" usecdn="true" />
<load target="js/trackback_admin.js" />
<form action="">
<div class="x_page-header">
<h1>{$lang->trackback} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_trackback" target="_blank">{$lang->help}</a></h1>

View file

@ -1,2 +1,2 @@
<load target="js/trash_admin.js" usecdn="true" />
<load target="js/trash_admin.js" />
<h3 class="xeAdmin">{$lang->cmd_trash} <span class="gray">{$lang->cmd_management}</span></h3>

View file

@ -2,7 +2,7 @@
var confirm_restore_msg = '{$lang->confirm_restore}';
var no_text_comment = '{$lang->no_text_comment}';
</script>
<load target="js/trash_admin.js" usecdn="true" />
<load target="js/trash_admin.js" />
<div class="x_page-header">
<h1>{$lang->trash} <a class="x_icon-question-sign" href="./admin/help/index.html#UMAN_content_trash" target="_blank">{$lang->help}</a></h1>
</div>

View file

@ -1,5 +1,5 @@
<load target="js/widget.js" usecdn="true" />
<load target="css/widget.css" usecdn="true" />
<load target="js/widget.js" />
<load target="css/widget.css" />
<form action="./" method="get" onsubmit="return addContentWidget(this); return false;" id="content_fo">
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
<input type="hidden" name="mid" value="{$module_info->mid}" />

View file

@ -1,4 +1,4 @@
<load target="../../admin/tpl/css/admin.css" usecdn="true" />
<load target="../../admin/tpl/css/admin.css" />
<h1>{$skin_info->title}</h1>
<table class="x_table x_table-striped x_table-hover">
<col width="100" />

View file

@ -1,5 +1,5 @@
<load target="css/widget.css" usecdn="true" />
<load target="../../admin/tpl/css/admin.css" usecdn="true" />
<load target="css/widget.css" />
<load target="../../admin/tpl/css/admin.css" />
<h1>{$lang->widget}</h1>
<h2>{$lang->widget_maker}</h2>

View file

@ -1,5 +1,5 @@
<include cond="$in_admin" target="header.html" />
<load target="js/generate_code.js" usecdn="true" />
<load target="js/generate_code.js" />
<div class="x_alert x_alert-info" id="widgetInfo" hidden><p>{$widget_info->description}</p></div>
<div class="x_alert x_alert-info" id="codeHelp" hidden><p>{$lang->about_widget_code}</p></div>
<form id="widget_code_form" class="x_form-horizontal" action="./" method="post">

View file

@ -1,6 +1,6 @@
<load target="../../module/tpl/js/multi_order.js" usecdn="true" />
<load target="../../module/tpl/js/module_list.js" usecdn="true" />
<load target="../../module/tpl/js/mid.js" usecdn="true" />
<load target="../../module/tpl/js/multi_order.js" />
<load target="../../module/tpl/js/module_list.js" />
<load target="../../module/tpl/js/mid.js" />
<!--%load_js_plugin("ui.colorpicker")-->
<div class="x_control-group">
<label class="x_control-label" for="skin">{$lang->skin}</label>

View file

@ -1,11 +1,11 @@
<load target="../../admin/tpl/css/admin.bootstrap.css" usecdn="true" />
<load target="../../admin/tpl/css/admin.css" usecdn="true" />
<load cond="$lang_type=='ko'" target="../../admin/tpl/css/admin_ko.css" usecdn="true" />
<load cond="$lang_type=='en'" target="../../admin/tpl/css/admin_en.css" usecdn="true" />
<load target="../../admin/tpl/js/admin.js" usecdn="true" />
<load target="js/generate_code.js" usecdn="true" />
<load target="../../admin/tpl/js/jquery.tmpl.js" usecdn="true" />
<load target="../../admin/tpl/js/jquery.jstree.js" usecdn="true" />
<load target="../../admin/tpl/css/admin.bootstrap.css" />
<load target="../../admin/tpl/css/admin.css" />
<load cond="$lang_type=='ko'" target="../../admin/tpl/css/admin_ko.css" />
<load cond="$lang_type=='en'" target="../../admin/tpl/css/admin_en.css" />
<load target="../../admin/tpl/js/admin.js" />
<load target="js/generate_code.js" />
<load target="../../admin/tpl/js/jquery.tmpl.js" />
<load target="../../admin/tpl/js/jquery.jstree.js" />
<script>
xe.lang.cmd_delete = '{$lang->cmd_delete}';

View file

@ -1,11 +1,11 @@
<load target="../../admin/tpl/css/admin.bootstrap.css" usecdn="true" />
<load target="../../admin/tpl/css/admin.css" usecdn="true" />
<load cond="$lang_type=='ko'" target="../../admin/tpl/css/admin_ko.css" usecdn="true" />
<load cond="$lang_type=='en'" target="../../admin/tpl/css/admin_en.css" usecdn="true" />
<load target="css/widget.css" usecdn="true" />
<load target="../../admin/tpl/js/admin.js" usecdn="true" />
<load target="../../admin/tpl/js/jquery.tmpl.js" usecdn="true" />
<load target="js/generate_code.js" usecdn="true" />
<load target="../../admin/tpl/css/admin.bootstrap.css" />
<load target="../../admin/tpl/css/admin.css" />
<load cond="$lang_type=='ko'" target="../../admin/tpl/css/admin_ko.css" />
<load cond="$lang_type=='en'" target="../../admin/tpl/css/admin_en.css" />
<load target="css/widget.css" />
<load target="../../admin/tpl/js/admin.js" />
<load target="../../admin/tpl/js/jquery.tmpl.js" />
<load target="js/generate_code.js" />
<!--%load_js_plugin("ui.colorpicker")-->
<script>
jQuery(function(){