- | {htmlspecialchars($val->source_filename, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)} |
+
+
+
+ {htmlspecialchars($val->source_filename, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)} |
{FileHandler::filesize($val->file_size)} |
{$val->download_count} |
From f95ab0a89da967de371ccd891dcb93b2b69922e0 Mon Sep 17 00:00:00 2001
From: sejin7940
Date: Wed, 9 Jul 2014 01:46:55 +0900
Subject: [PATCH 23/33] Update board.mobile.php
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
재저장 안 한 경우와의 호환을 위해 기존 PC 기준의 값을 참조하는 부분을 그대로 유지
---
modules/board/board.mobile.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/board/board.mobile.php b/modules/board/board.mobile.php
index 0e10a3ae5..6223d2d6a 100644
--- a/modules/board/board.mobile.php
+++ b/modules/board/board.mobile.php
@@ -11,8 +11,11 @@ class boardMobile extends boardView
$oSecurity->encodeHTML('document_srl', 'comment_srl', 'vid', 'mid', 'page', 'category', 'search_target', 'search_keyword', 'sort_index', 'order_type', 'trackback_srl');
if($this->module_info->list_count) $this->list_count = $this->module_info->list_count;
+ if($this->module_info->mobile_list_count) $this->list_count = $this->module_info->mobile_list_count;
if($this->module_info->search_list_count) $this->search_list_count = $this->module_info->search_list_count;
+ if($this->module_info->mobile_search_list_count) $this->list_count = $this->module_info->mobile_search_list_count;
if($this->module_info->page_count) $this->page_count = $this->module_info->page_count;
+ if($this->module_info->mobile_page_count) $this->page_count = $this->module_info->mobile_page_count;
$this->except_notice = $this->module_info->except_notice == 'N' ? false : true;
// $this->_getStatusNameListecret option backward compatibility
From ab0d5bdff0c0c51b536d52fd521da8c7f9ade916 Mon Sep 17 00:00:00 2001
From: sejin7940
Date: Wed, 9 Jul 2014 01:50:35 +0900
Subject: [PATCH 24/33] Update board_insert.html
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
기존의 목록수/검색목록수/페이지수 부분이 고급에 있던걸
PC 와 모바일용을 분리하기 위해, 위치를 각각 기본 과 모바일설정에 나눠서 배치
---
modules/board/tpl/board_insert.html | 63 +++++++++++++++++++----------
1 file changed, 42 insertions(+), 21 deletions(-)
diff --git a/modules/board/tpl/board_insert.html b/modules/board/tpl/board_insert.html
index 0ffb2ccfb..7230737e3 100644
--- a/modules/board/tpl/board_insert.html
+++ b/modules/board/tpl/board_insert.html
@@ -48,6 +48,27 @@
+
+
+
+
+ {$lang->about_list_count}
+
+
+
+
+
+
+ {$lang->about_search_list_count}
+
+
+
+
+
+
+ {$lang->about_page_count}
+
+
@@ -94,6 +115,27 @@
{$lang->about_skin}
+
+
+
+
+ {$lang->about_list_count}
+
+
+
+
+
+
+ {$lang->about_search_list_count}
+
+
+
+
+
+
+ {$lang->about_mobile_page_count}
+
+
{$lang->subtitle_advanced}
@@ -136,27 +178,6 @@
-
-
-
-
- {$lang->about_list_count}
-
-
-
-
-
-
- {$lang->about_search_list_count}
-
-
-
-
-
-
- {$lang->about_page_count}
-
-
From 8ac5101c2378a97ac986513c8d2feffdddc586ff Mon Sep 17 00:00:00 2001
From: sejin7940
Date: Wed, 9 Jul 2014 01:52:26 +0900
Subject: [PATCH 25/33] Update lang.xml
---
modules/module/lang/lang.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/modules/module/lang/lang.xml b/modules/module/lang/lang.xml
index fdf5e9ebb..63b0abd01 100644
--- a/modules/module/lang/lang.xml
+++ b/modules/module/lang/lang.xml
@@ -905,6 +905,18 @@
+ -
+
+
+
+
+
+
+
+
+
+
+
-
From c9b33c892b8270c05a3d1f51b7ffc6952b265280 Mon Sep 17 00:00:00 2001
From: Beom Jinhyeok
Date: Thu, 10 Jul 2014 21:41:37 +0900
Subject: [PATCH 26/33] =?UTF-8?q?rss10.html=20=EB=8C=80=EA=B4=84=ED=98=B8?=
=?UTF-8?q?=20=EB=88=84=EB=9D=BD=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/rss/tpl/rss10.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/rss/tpl/rss10.html b/modules/rss/tpl/rss10.html
index 4fd85fedb..38a6e7ca7 100644
--- a/modules/rss/tpl/rss10.html
+++ b/modules/rss/tpl/rss10.html
@@ -4,7 +4,7 @@
title}]]>
{$info->link}
- description}
+ description}]]>
From 99c872651a08e864a5de6b2d2d98dbb19854b157 Mon Sep 17 00:00:00 2001
From: akasima
Date: Fri, 11 Jul 2014 10:47:50 +0900
Subject: [PATCH 27/33] =?UTF-8?q?#839=20getRemoteResource=20=EC=97=90?=
=?UTF-8?q?=EC=84=9C=20=EC=97=B0=EA=B2=B0=20=EC=84=A4=EC=A0=95=EC=9D=84=20?=
=?UTF-8?q?=EC=88=98=EC=A0=95=ED=95=A0=20=EC=88=98=20=EC=9E=88=EB=8F=84?=
=?UTF-8?q?=EB=A1=9D=20=EC=B2=98=EB=A6=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
classes/file/FileHandler.class.php | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/classes/file/FileHandler.class.php b/classes/file/FileHandler.class.php
index 29d94eb7f..db1a82f62 100644
--- a/classes/file/FileHandler.class.php
+++ b/classes/file/FileHandler.class.php
@@ -515,7 +515,7 @@ class FileHandler
* @param string $post_data Request arguments array for POST method
* @return string If success, the content of the target file. Otherwise: none
*/
- function getRemoteResource($url, $body = null, $timeout = 3, $method = 'GET', $content_type = null, $headers = array(), $cookies = array(), $post_data = array())
+ function getRemoteResource($url, $body = null, $timeout = 3, $method = 'GET', $content_type = null, $headers = array(), $cookies = array(), $post_data = array(), $request_config = array())
{
try
{
@@ -533,6 +533,15 @@ class FileHandler
else
{
$oRequest = new HTTP_Request($url);
+
+ if(count($request_config) && method_exists($oRequest, 'setConfig'))
+ {
+ foreach($request_config as $key=>$val)
+ {
+ $oRequest->setConfig($key, $val);
+ }
+ }
+
if(count($headers) > 0)
{
foreach($headers as $key => $val)
From 1a0661c1d69eb39873c4840846b6e519dea6a40e Mon Sep 17 00:00:00 2001
From: sejin7940
Date: Fri, 11 Jul 2014 23:40:24 +0900
Subject: [PATCH 28/33] =?UTF-8?q?=20#840=20=EA=B4=80=EB=A6=AC=EC=9E=90?=
=?UTF-8?q?=EC=9D=98=20=EA=B2=BD=EC=9A=B0=20=EC=97=90=EB=94=94=ED=84=B0=20?=
=?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EC=84=A4=EC=A0=95=EC=97=90=20=EA=B4=80?=
=?UTF-8?q?=EA=B3=84=EC=97=86=EC=9D=B4=20=ED=95=AD=EC=83=81=20=EC=9E=91?=
=?UTF-8?q?=EB=8F=99=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/editor/editor.model.php | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/modules/editor/editor.model.php b/modules/editor/editor.model.php
index 551e02829..ded9da79c 100644
--- a/modules/editor/editor.model.php
+++ b/modules/editor/editor.model.php
@@ -379,7 +379,8 @@ class editorModel extends editor
$option->colorset = $config->sel_editor_colorset;
// Permission check for file upload
$option->allow_fileupload = false;
- if(count($config->upload_file_grant))
+ if($logged_info->is_admin=='Y') $option->allow_fileupload = true;
+ elseif(count($config->upload_file_grant))
{
foreach($group_list as $group_srl => $group_info)
{
@@ -393,7 +394,8 @@ class editorModel extends editor
else $option->allow_fileupload = true;
// Permission check for using default components
$option->enable_default_component = false;
- if(count($config->enable_default_component_grant))
+ if($logged_info->is_admin=='Y') $option->enable_default_component = true;
+ elseif(count($config->enable_default_component_grant))
{
foreach($group_list as $group_srl => $group_info)
{
@@ -407,7 +409,8 @@ class editorModel extends editor
else $option->enable_default_component = true;
// Permisshion check for using extended components
$option->enable_component = false;
- if(count($config->enable_component_grant))
+ if($logged_info->is_admin=='Y') $option->enable_component = true;
+ elseif(count($config->enable_component_grant))
{
foreach($group_list as $group_srl => $group_info)
{
@@ -421,7 +424,8 @@ class editorModel extends editor
else $option->enable_component = true;
// HTML editing privileges
$enable_html = false;
- if(count($config->enable_html_grant))
+ if($logged_info->is_admin=='Y') $option->enable_html = true;
+ elseif(count($config->enable_html_grant))
{
foreach($group_list as $group_srl => $group_info)
{
From 17eac15831c2d10629f8b906bce2f4675700b0db Mon Sep 17 00:00:00 2001
From: akasima
Date: Mon, 14 Jul 2014 13:47:07 +0900
Subject: [PATCH 29/33] =?UTF-8?q?#722=20=EA=B8=80=20=EC=88=98=EC=A0=95=20>?=
=?UTF-8?q?=20=ED=8C=8C=EC=9D=BC=EC=B2=A8=EB=B6=80=20=EC=82=AD=EC=A0=9C=20?=
=?UTF-8?q?=EC=8B=9C=20=ED=99=95=EC=9E=A5=EB=B3=80=EC=88=98=EA=B0=80=20?=
=?UTF-8?q?=EC=82=AD=EC=A0=9C=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?=
=?UTF-8?q?=ED=95=B4=EA=B2=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/document/document.controller.php | 39 +++++++++++++-----------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php
index 875c539a8..cbde9da9a 100644
--- a/modules/document/document.controller.php
+++ b/modules/document/document.controller.php
@@ -515,30 +515,33 @@ class documentController extends document
return $output;
}
// Remove all extra variables
- $this->deleteDocumentExtraVars($source_obj->get('module_srl'), $obj->document_srl, null, Context::getLangType());
- // Insert extra variables if the document successfully inserted.
- $extra_keys = $oDocumentModel->getExtraKeys($obj->module_srl);
- if(count($extra_keys))
+ if(Context::get('act')!='procFileDelete')
{
- foreach($extra_keys as $idx => $extra_item)
+ $this->deleteDocumentExtraVars($source_obj->get('module_srl'), $obj->document_srl, null, Context::getLangType());
+ // Insert extra variables if the document successfully inserted.
+ $extra_keys = $oDocumentModel->getExtraKeys($obj->module_srl);
+ if(count($extra_keys))
{
- $value = NULL;
- if(isset($obj->{'extra_vars'.$idx}))
+ foreach($extra_keys as $idx => $extra_item)
{
- $tmp = $obj->{'extra_vars'.$idx};
- if(is_array($tmp))
- $value = implode('|@|', $tmp);
- else
- $value = trim($tmp);
+ $value = NULL;
+ if(isset($obj->{'extra_vars'.$idx}))
+ {
+ $tmp = $obj->{'extra_vars'.$idx};
+ if(is_array($tmp))
+ $value = implode('|@|', $tmp);
+ else
+ $value = trim($tmp);
+ }
+ else if(isset($obj->{$extra_item->name})) $value = trim($obj->{$extra_item->name});
+ if($value == NULL) continue;
+ $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, $idx, $value, $extra_item->eid);
}
- else if(isset($obj->{$extra_item->name})) $value = trim($obj->{$extra_item->name});
- if($value == NULL) continue;
- $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, $idx, $value, $extra_item->eid);
}
+ // Inert extra vars for multi-language support of title and contents.
+ if($extra_content->title) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -1, $extra_content->title, 'title_'.Context::getLangType());
+ if($extra_content->content) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -2, $extra_content->content, 'content_'.Context::getLangType());
}
- // Inert extra vars for multi-language support of title and contents.
- if($extra_content->title) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -1, $extra_content->title, 'title_'.Context::getLangType());
- if($extra_content->content) $this->insertDocumentExtraVar($obj->module_srl, $obj->document_srl, -2, $extra_content->content, 'content_'.Context::getLangType());
// Update the category if the category_srl exists.
if($source_obj->get('category_srl') != $obj->category_srl || $source_obj->get('module_srl') == $logged_info->member_srl)
{
From 8c1b532e16049983a6253def3245ebcdd1662e59 Mon Sep 17 00:00:00 2001
From: akasima
Date: Mon, 14 Jul 2014 16:05:16 +0900
Subject: [PATCH 30/33] =?UTF-8?q?#842=20=EB=A0=88=EC=9D=B4=EC=95=84?=
=?UTF-8?q?=EC=9B=83=20=EC=BC=80=EC=8B=9C=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=20?=
=?UTF-8?q?pc,=20mobile=20=EA=B5=AC=EB=B6=84=EC=97=86=EC=9D=B4=20=EC=A0=80?=
=?UTF-8?q?=EC=9E=A5=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4?=
=?UTF-8?q?=EA=B2=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/layout/layout.model.php | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/modules/layout/layout.model.php b/modules/layout/layout.model.php
index 2680a4a10..858d37400 100644
--- a/modules/layout/layout.model.php
+++ b/modules/layout/layout.model.php
@@ -478,7 +478,7 @@ class layoutModel extends layout
// Include the cache file if it is valid and then return $layout_info variable
if(!$layout_srl)
{
- $cache_file = $this->getLayoutCache($layout, Context::getLangType());
+ $cache_file = $this->getLayoutCache($layout, Context::getLangType(), $layout_type);
}
else
{
@@ -896,9 +896,16 @@ class layoutModel extends layout
* @param string $lang_type
* @return string
*/
- function getLayoutCache($layout_name,$lang_type)
+ function getLayoutCache($layout_name,$lang_type,$layout_type='P')
{
- return sprintf("%sfiles/cache/layout/%s.%s.cache.php", _XE_PATH_, $layout_name,$lang_type);
+ if($layout_type=='P')
+ {
+ return sprintf("%sfiles/cache/layout/%s.%s.cache.php", _XE_PATH_, $layout_name,$lang_type);
+ }
+ else
+ {
+ return sprintf("%sfiles/cache/layout/m.%s.%s.cache.php", _XE_PATH_, $layout_name,$lang_type);
+ }
}
/**
From 69124bc02cfce8956b4e43a4b1b0097f9c1fd6ed Mon Sep 17 00:00:00 2001
From: sejin7940
Date: Thu, 17 Jul 2014 07:39:56 +0900
Subject: [PATCH 31/33] Update editor.model.php
---
modules/editor/editor.model.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/editor/editor.model.php b/modules/editor/editor.model.php
index ded9da79c..9234a1d5c 100644
--- a/modules/editor/editor.model.php
+++ b/modules/editor/editor.model.php
@@ -424,7 +424,7 @@ class editorModel extends editor
else $option->enable_component = true;
// HTML editing privileges
$enable_html = false;
- if($logged_info->is_admin=='Y') $option->enable_html = true;
+ if($logged_info->is_admin=='Y') $enable_html = true;
elseif(count($config->enable_html_grant))
{
foreach($group_list as $group_srl => $group_info)
From be89e4939d6ac190e34e5a2e6e16a2660a3d29dd Mon Sep 17 00:00:00 2001
From: akasima
Date: Thu, 17 Jul 2014 12:05:51 +0900
Subject: [PATCH 32/33] =?UTF-8?q?#849=20=EA=B2=8C=EC=8B=9C=ED=8C=90=20?=
=?UTF-8?q?=EC=84=A4=EC=A0=95=20'=EA=B3=A0=EA=B8=89'=ED=83=AD=EC=9D=B4=20?=
=?UTF-8?q?=EA=B8=B0=EB=B3=B8=20=ED=99=9C=EC=84=B1=ED=99=94=20=EB=90=98?=
=?UTF-8?q?=EB=A1=9D=20=EA=B0=9C=EC=84=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/board/tpl/board_insert.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/board/tpl/board_insert.html b/modules/board/tpl/board_insert.html
index 7230737e3..0a828fe11 100644
--- a/modules/board/tpl/board_insert.html
+++ b/modules/board/tpl/board_insert.html
@@ -137,7 +137,7 @@
-
+
{$lang->subtitle_advanced}
From 9368455292cc6fd1ae97cdfd98dbedc7c2fd72a8 Mon Sep 17 00:00:00 2001
From: akasima
Date: Thu, 17 Jul 2014 12:22:20 +0900
Subject: [PATCH 33/33] =?UTF-8?q?#850=20=EA=B4=80=EB=A6=AC=EC=9E=90=20?=
=?UTF-8?q?=EC=A2=8C=EC=B8=A1=20=EB=A9=94=EB=89=B4=EC=97=90=EC=84=9C=20'?=
=?UTF-8?q?=EC=84=A4=EC=A0=95',=20'=EA=B3=A0=EA=B8=89'=20=EB=A9=94?=
=?UTF-8?q?=EB=89=B4=20=ED=83=AD=EC=9D=B4=20=ED=95=AD=EC=83=81=20=EB=85=B8?=
=?UTF-8?q?=EC=B6=9C=EB=90=98=EB=8F=84=EB=A1=9D=20=EA=B0=9C=EC=84=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/admin/tpl/_header.html | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/admin/tpl/_header.html b/modules/admin/tpl/_header.html
index 947ee2759..71c100f49 100644
--- a/modules/admin/tpl/_header.html
+++ b/modules/admin/tpl/_header.html
@@ -24,7 +24,7 @@
|