diff --git a/modules/communication/conf/info.xml b/modules/communication/conf/info.xml
index ff6b94be0..49a6dbb0d 100644
--- a/modules/communication/conf/info.xml
+++ b/modules/communication/conf/info.xml
@@ -6,7 +6,7 @@
Communication
交流
회원들간의 쪽지, 친구기능을 담당하는 모듈입니다.
-
会員間にメッセージや友達管理などコミュニティ機能を持つモジュールです。
+
会員間にメッセージや友達管理などコミュニティ機能を提供するモジュールです。
管理在线会员间短信息及好友功能的模块。
This module is for managing message, friend functions.
管理線上會員間短訊及好友功能的模組。
diff --git a/modules/communication/lang/jp.lang.php b/modules/communication/lang/jp.lang.php
index 0c4a96b82..b140e6bee 100644
--- a/modules/communication/lang/jp.lang.php
+++ b/modules/communication/lang/jp.lang.php
@@ -6,7 +6,7 @@
**/
$lang->communication = 'コミュニケーション';
- $lang->about_communication = '会員間にメッセージや友達管理などコミュニティ機能を持つモジュールです。';
+ $lang->about_communication = '会員間にメッセージや友達管理などコミュニティ機能を提供するモジュールです。';
$lang->allow_message = 'メッセージの受信';
$lang->allow_message_type = array(
diff --git a/modules/document/conf/info.xml b/modules/document/conf/info.xml
index b4abddb41..5208488d3 100644
--- a/modules/document/conf/info.xml
+++ b/modules/document/conf/info.xml
@@ -11,7 +11,7 @@
Module for managing documents used in board, blog, etc.
Módulo para manejar los documentos en blog y en los tableros.
管理版面,博客等处主题的模块。
-
掲示板、ブログなどのモジュールで使用されるドキュメント(書き込み)を管理するモジュルです。
+
掲示板、ブログなどのモジュールで使用されるドキュメント(書き込み)を管理するモジュールです。
Модуль для управления документами в форуме, блоге и прочее.
管理討論板,部落格等主題的模組。
0.1
diff --git a/modules/document/document.item.php b/modules/document/document.item.php
index f85b255af..78eac4fd5 100644
--- a/modules/document/document.item.php
+++ b/modules/document/document.item.php
@@ -2,7 +2,7 @@
/**
* @class documentItem
* @author zero (zero@nzeo.com)
- * @brief document 객체
+ * @brief document 객체
**/
class documentItem extends Object {
@@ -93,7 +93,7 @@
$oModuleModel = &getModel('module');
$trackback_config = $oModuleModel->getModuleConfig('trackback');
if(!isset($trackback_config->enable_trackback)) $trackback_config->enable_trackback = 'Y';
- if($trackback_config->enable_trackback != 'Y') $allow_trackback_status = false;
+ if($trackback_config->enable_trackback != 'Y') $allow_trackback_status = false;
else {
$module_srl = $this->get('module_srl');
@@ -197,15 +197,15 @@
function getMemberSrl() {
return $this->get('member_srl');
}
-
+
function getUserID() {
return htmlspecialchars($this->get('user_id'));
}
-
+
function getUserName() {
return htmlspecialchars($this->get('user_name'));
}
-
+
function getNickName() {
return htmlspecialchars($this->get('nick_name'));
}
@@ -265,7 +265,7 @@
if($add_popup_menu) {
$content = sprintf(
'%s',
- $content,
+ $content,
$this->document_srl, Context::getLang('cmd_document_do')
);
}
@@ -273,11 +273,11 @@
// 컨텐츠에 대한 조작이 가능한 추가 정보를 설정하였을 경우
if($add_content_info) {
$content = sprintf(
- '
%s
',
- $this->document_srl, $this->get('member_srl'),
- $this->document_srl, $this->get('member_srl'),
- $content,
- $this->document_srl, $this->get('member_srl'),
+ '
%s
',
+ $this->document_srl, $this->get('member_srl'),
+ $this->document_srl, $this->get('member_srl'),
+ $content,
+ $this->document_srl, $this->get('member_srl'),
$this->document_srl, $this->get('member_srl')
);
// 컨텐츠에 대한 조작이 필요하지 않더라도 xe_content라는 클래스명을 꼭 부여
@@ -309,12 +309,18 @@
// 영문이나 숫자가 연결되어서 20개 이상으로 연결시에 강제 띄움 시도 - {20,}으로 길이를 정하면, 20개 이상 문자열 맨 마지막에 스페이스를 추가할 뿐 원하는 의도는 달성되지 못함
$content = preg_replace('/([a-z0-9\+:\/\.\~,\|\!\@\#\$\%\^\&\*\(\)\_]){20}/is',"$0-",$this->getContent(false,false));
+ // 줄바꿈이 있을 때, 공백문자 삽입
+ $content = preg_replace('!(
[\s]*)+!is', ' ', $content);
+
// 태그 제거
$content = preg_replace('!<([^>]*?)>!is','', $content);
// < , > , " 를 치환
$content = str_replace(array('<','>','"',' '), array('<','>','"',' '), $content);
+ // 연속된 공백문자 삭제
+ $content = preg_replace('/([\s]{2,})/is', ' ', $content);
+
// 문자열을 자름
$content = trim(cut_str($content, $str_size, '...'));
@@ -451,7 +457,7 @@
function getTrackbacks() {
if(!$this->document_srl) return;
-
+
if(!$this->allowTrackback() || !$this->get('trackback_count')) return;
$oTrackbackModel = &getModel('trackback');
@@ -485,7 +491,7 @@
$thumbnail_type = $config->thumbnail_type;
}
- // 썸네일 정보 정의
+ // 썸네일 정보 정의
$thumbnail_path = sprintf('files/cache/thumbnails/%s',getNumberingPath($this->document_srl, 3));
$thumbnail_file = sprintf('%s%dx%d.%s.jpg', $thumbnail_path, $width, $height, $thumbnail_type);
$thumbnail_url = Context::getRequestUri().$thumbnail_file;
@@ -601,7 +607,7 @@
return $buffs;
}
-
+
/**
* @brief getExtraImages로 구한 값을 이미지 태그를 씌워서 리턴
**/
@@ -696,7 +702,7 @@
// 회원모듈에서 서명 최고 높이 지정되었는지 검사
if(!isset($GLOBALS['__member_signature_max_height'])) {
- $oModuleModel = &getModel('module');
+ $oModuleModel = &getModel('module');
$member_config = $oModuleModel->getModuleConfig('member');
$GLOBALS['__member_signature_max_height'] = $member_config->signature_max_height;
}
diff --git a/modules/document/lang/jp.lang.php b/modules/document/lang/jp.lang.php
index beb5b2245..2b1292ef1 100644
--- a/modules/document/lang/jp.lang.php
+++ b/modules/document/lang/jp.lang.php
@@ -2,7 +2,7 @@
/**
* @file modules/document/lang/jp.lang.php
* @author zero
翻訳:RisaPapa、ミニミ
- * @brief ドキュメント(document)モジュルの基本言語パッケージ
+ * @brief ドキュメント(document)モジュールの基本言語パッケージ
**/
$lang->document_list = 'ドキュメントリスト';
diff --git a/modules/editor/components/quotation/info.xml b/modules/editor/components/quotation/info.xml
index 417c6f863..b77560923 100644
--- a/modules/editor/components/quotation/info.xml
+++ b/modules/editor/components/quotation/info.xml
@@ -8,7 +8,7 @@
Цитаты
引用
특정 범위를 인용문으로 꾸밀 수 있습니다. 외곽선의 종류나 색상, 굵기를 수정할 수 있으며 열기/닫기 기능을 가진 폴더기능을 만들 수 있습니다.
- 特定範囲を引用文として表示出来ます。ボーダーの種類、色、太さを修正することができ、「展開・折りたたみ」の機能も可能です。
+ 特定範囲を引用文として表示出来ます。ボーダーの種類、色、太さを修正することが出来、「展開・折りたたみ」の機能も可能です。
可以把要发表的主题特定范围用引用布置。可以修改外围线的种类或粗细,还支持展开/折叠功能。
You can decorate specific range as quotation. The style, color or thickness of outline can be modified and folder system which has open/close function can be made.
Puedes decorar rango específico como cita. El estilo, el color o el grosor de esquema puede ser modificado y carpeta de sistema que tiene abrir / cerrar la función se puede hacer.
diff --git a/modules/editor/editor.model.php b/modules/editor/editor.model.php
index 4c79b5eec..8d5134875 100644
--- a/modules/editor/editor.model.php
+++ b/modules/editor/editor.model.php
@@ -46,8 +46,8 @@
if(!$editor_config->comment_editor_height) $editor_config->comment_editor_height = 120;
if($editor_config->enable_autosave!='N') $editor_config->enable_autosave = "Y";
- if(!$editor_config->editor_skin) $editor_config->editor_skin = 'xpresseditor';
- if(!$editor_config->comment_editor_skin) $editor_config->comment_editor_skin = 'xpresseditor';
+ if(!$editor_config->editor_skin) $editor_config->editor_skin = 'default';
+ if(!$editor_config->comment_editor_skin) $editor_config->comment_editor_skin = 'default';
return $editor_config;
}
diff --git a/modules/editor/editor.view.php b/modules/editor/editor.view.php
index 33eb235ff..37826cf99 100644
--- a/modules/editor/editor.view.php
+++ b/modules/editor/editor.view.php
@@ -90,6 +90,13 @@
// 에디터 스킨 목록을 구함
$editor_skin_list = FileHandler::readDir('./modules/editor/skins');
Context::set('editor_skin_list', $editor_skin_list);
+
+ $oModuleModel = &getModel('module');
+
+ $skin_info = $oModuleModel->loadSkinInfo($this->module_path,$editor_config->editor_skin);
+ Context::set('editor_colorset_list', $skin_info->colorset);
+ $skin_info = $oModuleModel->loadSkinInfo($this->module_path,$editor_config->comment_editor_skin);
+ Context::set('editor_comment_colorset_list', $skin_info->colorset);
// 그룹 목록을 구함
diff --git a/modules/editor/skins/default/skin.xml b/modules/editor/skins/default/skin.xml
index bceb8cf27..634bbdcce 100644
--- a/modules/editor/skins/default/skin.xml
+++ b/modules/editor/skins/default/skin.xml
@@ -19,8 +19,8 @@
zero
Zero
zero
- zero
- zero
+ zero
+ zero
zero
diff --git a/modules/editor/skins/fckeditor/skin.xml b/modules/editor/skins/fckeditor/skin.xml
index 6a6686ccf..03e30a380 100644
--- a/modules/editor/skins/fckeditor/skin.xml
+++ b/modules/editor/skins/fckeditor/skin.xml
@@ -34,10 +34,10 @@
2008-11-25
sol
- sol
- sol
+ sol
+ sol
sol
- sol
+ sol
sol
\ No newline at end of file
diff --git a/modules/editor/skins/xpresseditor/blank.html b/modules/editor/skins/xpresseditor/blank.html
index 5635bcfdc..2aa433925 100644
--- a/modules/editor/skins/xpresseditor/blank.html
+++ b/modules/editor/skins/xpresseditor/blank.html
@@ -1,3 +1,4 @@
+
diff --git a/modules/editor/skins/xpresseditor/css/default.css b/modules/editor/skins/xpresseditor/css/default.css
index 300b983e5..f2aeb9f03 100644
--- a/modules/editor/skins/xpresseditor/css/default.css
+++ b/modules/editor/skins/xpresseditor/css/default.css
@@ -1,7 +1,7 @@
@charset "utf-8";
/* Type Selector */
-.xpress-editor *{margin:0; padding:0; font-style:normal; font-size:12px; font-family: 돋움, Dotum, 굴림, Gulim, AppleGothic, Sans-serif;}
+.xpress-editor *{margin:0; padding:0; font-style:normal; font-size:12px; }
.xpress-editor img,
.xpress-editor fieldset,
.xpress-editor button{ border:0;}
@@ -350,9 +350,11 @@
.xpress-editor .tool li.extensions .layer{ width:auto; white-space:nowrap; padding:5px 10px;}
.xpress-editor .tool li.extensions .layer li{ margin:2px 0;}
+.xpress-editor .tool li.extensions .layer li a { color:#000; text-decoration:none; }
+.xpress-editor .tool li.extensions .layer li a:hover { text-decoration:underline; }
/* File Uploader */
-.xpress-editor .fileUploader{ clear:both; position:relative; padding-top:5px; *zoom:1; *margin-bottom:5px;}
+.xpress-editor .fileUploader{ clear:both; padding-top:5px; margin-bottom:20px;}
.xpress-editor .fileUploader:after{ content:""; display:block; clear:both;}
.xpress-editor .fileUploader .preview{ float:left; width:64px; height:64px; border:1px solid #ccc;; padding:2px; margin:0 10px 5px 10px;}
.xpress-editor .fileUploader .preview.black { background-color:#000; border:1px solid #666;}
@@ -367,4 +369,4 @@
.xpress-editor .fileUploader .file_attach_info{ clear:right; margin:5px 0;}
/* Auto Save */
-.xpress-editor .autosave_message { display:none; background: #f6ffdb; padding:6px 10px; margin:0; line-height:1;}
\ No newline at end of file
+.xpress-editor .autosave_message { display:none; background: #f6ffdb; padding:6px 10px; margin:0; line-height:1;}
diff --git a/modules/editor/skins/xpresseditor/css/style.css b/modules/editor/skins/xpresseditor/css/style.css
index 6089b05c0..522bac462 100644
--- a/modules/editor/skins/xpresseditor/css/style.css
+++ b/modules/editor/skins/xpresseditor/css/style.css
@@ -2,7 +2,7 @@
/* NHN > UIT Center > Open UI Technology Team > Jeong Chan Myeong(dece24@nhncorp.com) 200812 */
html,
-body{ height:100%;}
+body{ height:100%; }
#xpressInput{ margin:0 10px 0 0;}
.xpressOutput{ font-size:12px; line-height:1.6; font-family:Dotum, AppleGothic, Sans-serif;}
diff --git a/modules/editor/skins/xpresseditor/editor.html b/modules/editor/skins/xpresseditor/editor.html
index 0c85edc37..b6b133e5a 100644
--- a/modules/editor/skins/xpresseditor/editor.html
+++ b/modules/editor/skins/xpresseditor/editor.html
@@ -491,4 +491,4 @@
var editor_path = "{$editor_path}";
var auto_saved_msg = "{$lang->msg_auto_saved}";
var oEditor = editorStart_xe("{$editor_sequence}", "{$editor_primary_key_name}", "{$editor_content_key_name}", "{$editor_height}");
-//]]>
\ No newline at end of file
+//]]>
diff --git a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js
index 73d6a8c3c..e38e3b38b 100644
--- a/modules/editor/skins/xpresseditor/js/Xpress_Editor.js
+++ b/modules/editor/skins/xpresseditor/js/Xpress_Editor.js
@@ -6,7 +6,7 @@ return this;}})(jQuery);if(typeof window.xe=='undefined')window.xe={};xe.XpressC
this.commandQueue=[];this.oCommandMap={};this.oDisabledCommand={};this.aPlugins=[];this.appStatus=xe.APP_STATUS["NOT_READY"];this.registerPlugin(this);},exec:function(msg,args,oEvent){if(this.appStatus==xe.APP_STATUS["NOT_READY"]){this.commandQueue[this.commandQueue.length]={'msg':msg,'args':args,'event':oEvent};return true;}
this.exec=this._exec;this.exec(msg,args,oEvent);},delayedExec:function(msg,args,nDelay,oEvent){var fExec=jQuery.fnBind(this.exec,this,msg,args,oEvent);setTimeout(fExec,nDelay);},_exec:function(msg,args,oEvent){return(this._exec=this.oDebugger?this._execWithDebugger:this._execWithoutDebugger).call(this,msg,args,oEvent);},_execWithDebugger:function(msg,args,oEvent){this.oDebugger.log_MessageStart(msg,args);var bResult=this._doExec(msg,args,oEvent);this.oDebugger.log_MessageEnd(msg,args);return bResult;},_execWithoutDebugger:function(msg,args,oEvent){return this._doExec(msg,args,oEvent);},_doExec:function(msg,args,oEvent){var bContinue=false;if(!this.oDisabledCommand[msg]){var allArgs=[];if(args&&args.length){var iLen=args.length;for(var i=0;i');
+ var iframe = jQuery('