diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index debc38151..415d34a23 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -379,6 +379,7 @@ if($val && iconv($charset,$charset,$val)!=$val) $flag = false; } if($flag == true) { + if($charset == 'UTF-8') return $obj; foreach($obj as $key => $val) $obj->{$key} = iconv($charset,'UTF-8',$val); return $obj; } diff --git a/classes/file/FileHandler.class.php b/classes/file/FileHandler.class.php index e6fa27e37..6138ea0b4 100644 --- a/classes/file/FileHandler.class.php +++ b/classes/file/FileHandler.class.php @@ -35,6 +35,10 @@ * @brief $buff의 내용을 파일에 쓰기 **/ function writeFile($file_name, $buff, $mode = "w") { + $pathinfo = pathinfo($file_name); + $path = $pathinfo['dirname']; + if(!is_dir($path)) FileHandler::makeDir($path); + $mode = strtolower($mode); if($mode != "a") $mode = "w"; if(@!$fp = fopen($file_name,$mode)) return false; diff --git a/classes/optimizer/Optimizer.class.php b/classes/optimizer/Optimizer.class.php index 6c5c01376..494919487 100644 --- a/classes/optimizer/Optimizer.class.php +++ b/classes/optimizer/Optimizer.class.php @@ -178,11 +178,10 @@ if(!$cached) { **/ function replaceCssPath($file, $str) { // css 파일의 위치를 구함 - $this->tmp_css_path = './'.preg_replace("/^\.\//is","",dirname($file))."/"; + $this->tmp_css_path = preg_replace("/^\.\//is","",dirname($file))."/"; // url() 로 되어 있는 css 파일의 경로를 변경 - $str = preg_replace_callback('!url\(("|\')?([^\)]+)("|\')?\)!is', array($this, '_replaceCssPath'), $str); - $str = preg_replace('!\/([^\/]*)\/\.\.\/!is','/', $str); + $str = preg_replace_callback('/url\(([^\)]*)\)/is', array($this, '_replaceCssPath'), $str); // charset 지정 문구를 제거 $str = preg_replace('!@charset([^;]*?);!is','',$str); @@ -191,8 +190,10 @@ if(!$cached) { } function _replaceCssPath($matches) { - if(preg_match("/^(http|\/|\.\/common\/)/is",$matches[2])) return $matches[0]; - return sprintf('url(%s%s)', $matches[1], $this->tmp_css_path.$matches[2]); + $path = str_replace(array('"',"'"),'',$matches[1]); + if(preg_match('/^http/i', $path) || preg_match('/\.htc$/i',$path) ) return $matches[0]; + + return 'url("../../../../'.$this->tmp_css_path.$path.'")'; } } diff --git a/modules/board/skins/xe_board/view_document.html b/modules/board/skins/xe_board/view_document.html index 944d52ae5..3fdc141c8 100644 --- a/modules/board/skins/xe_board/view_document.html +++ b/modules/board/skins/xe_board/view_document.html @@ -116,6 +116,7 @@
{$oDocument->getSignature()}
+ diff --git a/modules/board/skins/xe_guestbook/skin.xml b/modules/board/skins/xe_guestbook/skin.xml index 7680113b4..46d9f2b21 100644 --- a/modules/board/skins/xe_guestbook/skin.xml +++ b/modules/board/skins/xe_guestbook/skin.xml @@ -4,7 +4,7 @@ 留言本默认皮肤 ゲストブックのデフォルトスキン Zeroboard XE Basic Guestbook Skin - + 제로 Zero Zero diff --git a/modules/editor/components/colorpicker_bg/info.xml b/modules/editor/components/colorpicker_bg/info.xml index a920336f5..33851f099 100644 --- a/modules/editor/components/colorpicker_bg/info.xml +++ b/modules/editor/components/colorpicker_bg/info.xml @@ -4,17 +4,20 @@ 文字の背景色変更 背景颜色 Change the background color of article + Cambiar el color de fondo del artículo Изменение цвета фона статьи 제로 Zero zero zero + zero zero 글의 배경색을 변경합니다. 文字の背景色を変更します。 可修改字体背景颜色。 It will change the background color of article. + Se cambiará el color de fondo del artículo. Позволяет изменение цвета фона статьи. diff --git a/modules/editor/skins/default/editor.html b/modules/editor/skins/default/editor.html index 7630c4d5c..986112812 100644 --- a/modules/editor/skins/default/editor.html +++ b/modules/editor/skins/default/editor.html @@ -5,16 +5,6 @@ - - - @@ -186,3 +176,13 @@ + + + diff --git a/modules/editor/skins/msword2007/editor.html b/modules/editor/skins/msword2007/editor.html index 233d3443c..ff3cf0c45 100644 --- a/modules/editor/skins/msword2007/editor.html +++ b/modules/editor/skins/msword2007/editor.html @@ -6,15 +6,6 @@ - - - @@ -173,3 +164,13 @@ + + + + diff --git a/modules/editor/skins/textarea/editor.html b/modules/editor/skins/textarea/editor.html index ee11e631d..697011c71 100644 --- a/modules/editor/skins/textarea/editor.html +++ b/modules/editor/skins/textarea/editor.html @@ -5,11 +5,6 @@ - - -
@@ -17,3 +12,7 @@
+ + diff --git a/modules/editor/skins/xquared/editor.html b/modules/editor/skins/xquared/editor.html index af43d14ee..04f59715f 100644 --- a/modules/editor/skins/xquared/editor.html +++ b/modules/editor/skins/xquared/editor.html @@ -10,16 +10,6 @@ - - - @@ -92,3 +82,12 @@ + + + diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js index abb5cdb9e..b0606a866 100755 --- a/modules/editor/tpl/js/editor.js +++ b/modules/editor/tpl/js/editor.js @@ -117,9 +117,6 @@ function editorStart(editor_sequence, primary_key, content_key, editor_height) { var contentHtml = ''+ ''+ ''+ - //''+ - //''+ - //''+ ''+ diff --git a/modules/member/lang/en.lang.php b/modules/member/lang/en.lang.php index bee0fb9b6..7c5287174 100644 --- a/modules/member/lang/en.lang.php +++ b/modules/member/lang/en.lang.php @@ -46,8 +46,8 @@ $lang->enable_join = 'Allow Member Join'; $lang->limit_day = 'Temporary Limit Date'; $lang->limit_date = 'Limit Date'; - $lang->after_login_url = '로그인 후 이동할 URL'; - $lang->after_logout_url = '로그아웃 후 이동할 URL'; + $lang->after_login_url = 'URL after login'; + $lang->after_logout_url = 'URL after logout'; $lang->redirect_url = 'URL after Join'; $lang->agreement = 'Member Join Agreement'; $lang->accept_agreement = 'Agree'; @@ -62,7 +62,7 @@ $lang->webmaster_name = "Webmaster's Name"; $lang->webmaster_email = "Webmaster's Email"; - $lang->about_keep_signed = '브라우저를 닫더라도 로그인이 게속 유지될 수 있습니다.\n\n로그인 유지시 사용시 다음 접속부터는 로그인을 하실필요가 없습니다.\n\n단, 게임방, 학교등 공공장소에서 이용시 개인정보가 유출될수 있으니 꼭 로그아웃을 해주세요'; + $lang->about_keep_signed = 'Your login session will not be expired even browser is closed.\n\nYou would not have to login manually from next time.\n\nIt is strongly recommended not to use auto-login in PC room, school, or other commons areas where your private information could be stolen.'; $lang->about_webmaster_name = "Please input webmaster's name which will be used for authentication mails or other site administration. (default : webmaster)"; $lang->about_webmaster_email = "Please input webmaster's email address."; @@ -185,8 +185,8 @@ $lang->about_enable_join = 'Allow users to sign up'; $lang->about_limit_day = 'You can limit certification date after sign up'; $lang->about_limit_date = 'User cannot login until assigned date'; - $lang->about_after_login_url = '로그인 후 이동할 URL을 정하실 수 있습니다. 비어 있으면 해당 페이지가 유지됩니다.'; - $lang->about_after_logout_url = '로그아웃 후 이동할 URL을 정하실 수 있습니다. 비어 있으면 해당 페이지가 유지됩니다.'; + $lang->about_after_login_url = 'You can set URL after login. Blank means current page.'; + $lang->about_after_logout_url = 'You can set URL after logout. Blank means current page.'; $lang->about_redirect_url = 'Please input URL where users will go after sign up. When this is empty, it will be set as the previous page of sign up page.'; $lang->about_agreement = "Sign up agreement will only be displayed when it's not empty";