mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
set svn property - svn:eol-style LF
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8253 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9802eaa60a
commit
620b03d184
763 changed files with 114595 additions and 114595 deletions
|
|
@ -1,36 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="0.2">
|
||||
<title xml:lang="ko">문서</title>
|
||||
<title xml:lang="en">Document</title>
|
||||
<title xml:lang="vi">Bài viết</title>
|
||||
<title xml:lang="es">Documento</title>
|
||||
<title xml:lang="zh-CN">主题管理</title>
|
||||
<title xml:lang="jp">ドキュメント</title>
|
||||
<title xml:lang="ru">Документы</title>
|
||||
<title xml:lang="zh-TW">主題</title>
|
||||
<title xml:lang="tr">Belge</title>
|
||||
<description xml:lang="ko">게시판, 블로그등의 모듈에서 사용되는 문서를 관리하는 모듈입니다. </description>
|
||||
<description xml:lang="en">Module for managing documents used in board, blog, etc.</description>
|
||||
<description xml:lang="vi">Module quản lý bài viết trên Board, Sổ lưu niệm và những mục khác.</description>
|
||||
<description xml:lang="es">Módulo para manejar los documentos en blog y en los tableros.</description>
|
||||
<description xml:lang="zh-CN">管理版面,博客等处主题的模块。 </description>
|
||||
<description xml:lang="jp">掲示板、ブログなどのモジュールで使用されるドキュメント(書き込み)を管理します。</description>
|
||||
<description xml:lang="ru">Модуль для управления документами в форуме, блоге и прочее.</description>
|
||||
<description xml:lang="zh-TW">管理討論板,部落格等主題的模組。 </description>
|
||||
<description xml:lang="tr">Panoda, blogda, vb., kullanılan belgeleri yönetmek için olan modüldür.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
<category>content</category>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</module>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="0.2">
|
||||
<title xml:lang="ko">문서</title>
|
||||
<title xml:lang="en">Document</title>
|
||||
<title xml:lang="vi">Bài viết</title>
|
||||
<title xml:lang="es">Documento</title>
|
||||
<title xml:lang="zh-CN">主题管理</title>
|
||||
<title xml:lang="jp">ドキュメント</title>
|
||||
<title xml:lang="ru">Документы</title>
|
||||
<title xml:lang="zh-TW">主題</title>
|
||||
<title xml:lang="tr">Belge</title>
|
||||
<description xml:lang="ko">게시판, 블로그등의 모듈에서 사용되는 문서를 관리하는 모듈입니다. </description>
|
||||
<description xml:lang="en">Module for managing documents used in board, blog, etc.</description>
|
||||
<description xml:lang="vi">Module quản lý bài viết trên Board, Sổ lưu niệm và những mục khác.</description>
|
||||
<description xml:lang="es">Módulo para manejar los documentos en blog y en los tableros.</description>
|
||||
<description xml:lang="zh-CN">管理版面,博客等处主题的模块。 </description>
|
||||
<description xml:lang="jp">掲示板、ブログなどのモジュールで使用されるドキュメント(書き込み)を管理します。</description>
|
||||
<description xml:lang="ru">Модуль для управления документами в форуме, блоге и прочее.</description>
|
||||
<description xml:lang="zh-TW">管理討論板,部落格等主題的模組。 </description>
|
||||
<description xml:lang="tr">Panoda, blogda, vb., kullanılan belgeleri yönetmek için olan modüldür.</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
<category>content</category>
|
||||
|
||||
<author email_address="developers@xpressengine.com" link="http://xpressengine.com/">
|
||||
<name xml:lang="ko">NHN</name>
|
||||
<name xml:lang="en">NHN</name>
|
||||
<name xml:lang="vi">NHN</name>
|
||||
<name xml:lang="es">NHN</name>
|
||||
<name xml:lang="zh-CN">NHN</name>
|
||||
<name xml:lang="jp">NHN</name>
|
||||
<name xml:lang="ru">NHN</name>
|
||||
<name xml:lang="zh-TW">NHN</name>
|
||||
<name xml:lang="tr">NHN</name>
|
||||
</author>
|
||||
</module>
|
||||
|
|
|
|||
|
|
@ -1,87 +1,87 @@
|
|||
<?php
|
||||
/**
|
||||
* @class documentAdminModel
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @version 0.1
|
||||
* @brief document 모듈의 admin model class
|
||||
**/
|
||||
|
||||
class documentAdminModel extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 휴지통에 존재하는 문서 목록을 가져옴
|
||||
**/
|
||||
function getDocumentTrashList($obj) {
|
||||
// 정렬 대상과 순서 체크
|
||||
if (!in_array($obj->sort_index, array('list_order','delete_date','title'))) $obj->sort_index = 'list_order';
|
||||
if (!in_array($obj->order_type, array('desc','asc'))) $obj->order_type = 'asc';
|
||||
|
||||
// module_srl 대신 mid가 넘어왔을 경우는 직접 module_srl을 구해줌
|
||||
if ($obj->mid) {
|
||||
$oModuleModel = &getModel('module');
|
||||
$obj->module_srl = $oModuleModel->getModuleSrlByMid($obj->mid);
|
||||
unset($obj->mid);
|
||||
}
|
||||
|
||||
// 넘어온 module_srl은 array일 수도 있기에 array인지를 체크
|
||||
if (is_array($obj->module_srl)) $args->module_srl = implode(',', $obj->module_srl);
|
||||
else $args->module_srl = $obj->module_srl;
|
||||
|
||||
// 변수 체크
|
||||
$args->sort_index = $obj->sort_index;
|
||||
$args->order_type = $obj->order_type;
|
||||
$args->page = $obj->page?$obj->page:1;
|
||||
$args->list_count = $obj->list_count?$obj->list_count:20;
|
||||
$args->page_count = $obj->page_count?$obj->page_count:10;
|
||||
$args->member_srl = $obj->member_srl;
|
||||
|
||||
// query_id 지정
|
||||
$query_id = 'document.getTrashList';
|
||||
|
||||
// query 실행
|
||||
$output = executeQueryArray($query_id, $args);
|
||||
|
||||
// 결과가 없거나 오류 발생시 그냥 return
|
||||
if (!$output->toBool() || !count($output->data)) return $output;
|
||||
|
||||
$idx = 0;
|
||||
$data = $output->data;
|
||||
unset($output->data);
|
||||
|
||||
$keys = array_keys($data);
|
||||
$virtual_number = $keys[0];
|
||||
|
||||
foreach($data as $key => $attribute) {
|
||||
$oDocument = null;
|
||||
$oDocument = new documentItem();
|
||||
$oDocument->setAttribute($attribute, false);
|
||||
if ($is_admin) $oDocument->setGrant();
|
||||
|
||||
$output->data[$virtual_number] = $oDocument;
|
||||
$virtual_number--;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief trash_srl값을 가지는 휴지통 문서를 가져옴
|
||||
**/
|
||||
function getDocumentTrash($trash_srl) {
|
||||
$args->trash_srl = $trash_srl;
|
||||
$output = executeQuery('document.getTrash', $args);
|
||||
|
||||
$node = $output->data;
|
||||
if (!$node) return;
|
||||
|
||||
return $node;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class documentAdminModel
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @version 0.1
|
||||
* @brief document 모듈의 admin model class
|
||||
**/
|
||||
|
||||
class documentAdminModel extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 휴지통에 존재하는 문서 목록을 가져옴
|
||||
**/
|
||||
function getDocumentTrashList($obj) {
|
||||
// 정렬 대상과 순서 체크
|
||||
if (!in_array($obj->sort_index, array('list_order','delete_date','title'))) $obj->sort_index = 'list_order';
|
||||
if (!in_array($obj->order_type, array('desc','asc'))) $obj->order_type = 'asc';
|
||||
|
||||
// module_srl 대신 mid가 넘어왔을 경우는 직접 module_srl을 구해줌
|
||||
if ($obj->mid) {
|
||||
$oModuleModel = &getModel('module');
|
||||
$obj->module_srl = $oModuleModel->getModuleSrlByMid($obj->mid);
|
||||
unset($obj->mid);
|
||||
}
|
||||
|
||||
// 넘어온 module_srl은 array일 수도 있기에 array인지를 체크
|
||||
if (is_array($obj->module_srl)) $args->module_srl = implode(',', $obj->module_srl);
|
||||
else $args->module_srl = $obj->module_srl;
|
||||
|
||||
// 변수 체크
|
||||
$args->sort_index = $obj->sort_index;
|
||||
$args->order_type = $obj->order_type;
|
||||
$args->page = $obj->page?$obj->page:1;
|
||||
$args->list_count = $obj->list_count?$obj->list_count:20;
|
||||
$args->page_count = $obj->page_count?$obj->page_count:10;
|
||||
$args->member_srl = $obj->member_srl;
|
||||
|
||||
// query_id 지정
|
||||
$query_id = 'document.getTrashList';
|
||||
|
||||
// query 실행
|
||||
$output = executeQueryArray($query_id, $args);
|
||||
|
||||
// 결과가 없거나 오류 발생시 그냥 return
|
||||
if (!$output->toBool() || !count($output->data)) return $output;
|
||||
|
||||
$idx = 0;
|
||||
$data = $output->data;
|
||||
unset($output->data);
|
||||
|
||||
$keys = array_keys($data);
|
||||
$virtual_number = $keys[0];
|
||||
|
||||
foreach($data as $key => $attribute) {
|
||||
$oDocument = null;
|
||||
$oDocument = new documentItem();
|
||||
$oDocument->setAttribute($attribute, false);
|
||||
if ($is_admin) $oDocument->setGrant();
|
||||
|
||||
$output->data[$virtual_number] = $oDocument;
|
||||
$virtual_number--;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief trash_srl값을 가지는 휴지통 문서를 가져옴
|
||||
**/
|
||||
function getDocumentTrash($trash_srl) {
|
||||
$args->trash_srl = $trash_srl;
|
||||
$output = executeQuery('document.getTrash', $args);
|
||||
|
||||
$node = $output->data;
|
||||
if (!$node) return;
|
||||
|
||||
return $node;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,159 +1,159 @@
|
|||
<?php
|
||||
/**
|
||||
* @class documentAdminView
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 admin view 클래스
|
||||
**/
|
||||
|
||||
class documentAdminView extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 목록 출력 (관리자용)
|
||||
**/
|
||||
function dispDocumentAdminList() {
|
||||
// 목록을 구하기 위한 옵션
|
||||
$args->page = Context::get('page'); ///< 페이지
|
||||
$args->list_count = 30; ///< 한페이지에 보여줄 글 수
|
||||
$args->page_count = 10; ///< 페이지 네비게이션에 나타날 페이지의 수
|
||||
|
||||
$args->search_target = Context::get('search_target'); ///< 검색 대상 (title, contents...)
|
||||
$args->search_keyword = Context::get('search_keyword'); ///< 검색어
|
||||
|
||||
$args->sort_index = 'list_order'; ///< 소팅 값
|
||||
|
||||
$args->module_srl = Context::get('module_srl');
|
||||
|
||||
// 목록 구함, document->getDocumentList 에서 걍 알아서 다 해버리는 구조이다... (아.. 이거 나쁜 버릇인데.. ㅡ.ㅜ 어쩔수 없다)
|
||||
$oDocumentModel = &getModel('document');
|
||||
$output = $oDocumentModel->getDocumentList($args);
|
||||
|
||||
// 템플릿에 쓰기 위해서 document_model::getDocumentList() 의 return object에 있는 값들을 세팅
|
||||
Context::set('total_count', $output->total_count);
|
||||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('document_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
// 템플릿에서 사용할 검색옵션 세팅
|
||||
$count_search_option = count($this->search_option);
|
||||
for($i=0;$i<$count_search_option;$i++) {
|
||||
$search_option[$this->search_option[$i]] = Context::getLang($this->search_option[$i]);
|
||||
}
|
||||
Context::set('search_option', $search_option);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_list');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 문서 모듈 설정
|
||||
**/
|
||||
function dispDocumentAdminConfig() {
|
||||
$oDocumentModel = &getModel('document');
|
||||
$config = $oDocumentModel->getDocumentConfig();
|
||||
Context::set('config',$config);
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_config');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자 페이지의 신고 목록 보기
|
||||
**/
|
||||
function dispDocumentAdminDeclared() {
|
||||
// 목록을 구하기 위한 옵션
|
||||
$args->page = Context::get('page'); ///< 페이지
|
||||
$args->list_count = 30; ///< 한페이지에 보여줄 글 수
|
||||
$args->page_count = 10; ///< 페이지 네비게이션에 나타날 페이지의 수
|
||||
|
||||
$args->sort_index = 'document_declared.declared_count'; ///< 소팅 값
|
||||
$args->order_type = 'desc'; ///< 소팅 정렬 값
|
||||
|
||||
// 목록을 구함
|
||||
$declared_output = executeQuery('document.getDeclaredList', $args);
|
||||
|
||||
if($declared_output->data && count($declared_output->data)) {
|
||||
$document_list = array();
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
foreach($declared_output->data as $key => $document) {
|
||||
$document_list[$key] = new documentItem();
|
||||
$document_list[$key]->setAttribute($document);
|
||||
}
|
||||
$declared_output->data = $document_list;
|
||||
}
|
||||
|
||||
// 템플릿에 쓰기 위해서 document_model::getDocumentList() 의 return object에 있는 값들을 세팅
|
||||
Context::set('total_count', $declared_output->total_count);
|
||||
Context::set('total_page', $declared_output->total_page);
|
||||
Context::set('page', $declared_output->page);
|
||||
Context::set('document_list', $declared_output->data);
|
||||
Context::set('page_navigation', $declared_output->page_navigation);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('declared_list');
|
||||
}
|
||||
|
||||
function dispDocumentAdminAlias() {
|
||||
$args->document_srl = Context::get('document_srl');
|
||||
if(!$args->document_srl) return $this->dispDocumentAdminList();
|
||||
|
||||
$oModel = &getModel('document');
|
||||
$oDocument = $oModel->getDocument($args->document_srl);
|
||||
if(!$oDocument->isExists()) return $this->dispDocumentAdminList();
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
||||
$output = executeQueryArray('document.getAliases', $args);
|
||||
if(!$output->data)
|
||||
{
|
||||
$aliases = array();
|
||||
}
|
||||
else
|
||||
{
|
||||
$aliases = $output->data;
|
||||
}
|
||||
|
||||
|
||||
Context::set('aliases', $aliases);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_alias');
|
||||
}
|
||||
|
||||
function dispDocumentAdminTrashList() {
|
||||
// 목록을 구하기 위한 옵션
|
||||
$args->page = Context::get('page'); ///< 페이지
|
||||
$args->list_count = 30; ///< 한페이지에 보여줄 글 수
|
||||
$args->page_count = 10; ///< 페이지 네비게이션에 나타날 페이지의 수
|
||||
|
||||
$args->sort_index = 'list_order'; ///< 소팅 값
|
||||
$args->order_type = 'desc'; ///< 소팅 정렬 값
|
||||
|
||||
$args->module_srl = Context::get('module_srl');
|
||||
|
||||
// 목록을 구함
|
||||
$oDocumentAdminModel = &getAdminModel('document');
|
||||
$output = $oDocumentAdminModel->getDocumentTrashList($args);
|
||||
|
||||
// 템플릿에 쓰기 위해서 document_admin_model::getDocumentTrashList() 의 return object에 있는 값들을 세팅
|
||||
Context::set('total_count', $output->total_count);
|
||||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('document_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_trash_list');
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class documentAdminView
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 admin view 클래스
|
||||
**/
|
||||
|
||||
class documentAdminView extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 목록 출력 (관리자용)
|
||||
**/
|
||||
function dispDocumentAdminList() {
|
||||
// 목록을 구하기 위한 옵션
|
||||
$args->page = Context::get('page'); ///< 페이지
|
||||
$args->list_count = 30; ///< 한페이지에 보여줄 글 수
|
||||
$args->page_count = 10; ///< 페이지 네비게이션에 나타날 페이지의 수
|
||||
|
||||
$args->search_target = Context::get('search_target'); ///< 검색 대상 (title, contents...)
|
||||
$args->search_keyword = Context::get('search_keyword'); ///< 검색어
|
||||
|
||||
$args->sort_index = 'list_order'; ///< 소팅 값
|
||||
|
||||
$args->module_srl = Context::get('module_srl');
|
||||
|
||||
// 목록 구함, document->getDocumentList 에서 걍 알아서 다 해버리는 구조이다... (아.. 이거 나쁜 버릇인데.. ㅡ.ㅜ 어쩔수 없다)
|
||||
$oDocumentModel = &getModel('document');
|
||||
$output = $oDocumentModel->getDocumentList($args);
|
||||
|
||||
// 템플릿에 쓰기 위해서 document_model::getDocumentList() 의 return object에 있는 값들을 세팅
|
||||
Context::set('total_count', $output->total_count);
|
||||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('document_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
// 템플릿에서 사용할 검색옵션 세팅
|
||||
$count_search_option = count($this->search_option);
|
||||
for($i=0;$i<$count_search_option;$i++) {
|
||||
$search_option[$this->search_option[$i]] = Context::getLang($this->search_option[$i]);
|
||||
}
|
||||
Context::set('search_option', $search_option);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_list');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 문서 모듈 설정
|
||||
**/
|
||||
function dispDocumentAdminConfig() {
|
||||
$oDocumentModel = &getModel('document');
|
||||
$config = $oDocumentModel->getDocumentConfig();
|
||||
Context::set('config',$config);
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_config');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자 페이지의 신고 목록 보기
|
||||
**/
|
||||
function dispDocumentAdminDeclared() {
|
||||
// 목록을 구하기 위한 옵션
|
||||
$args->page = Context::get('page'); ///< 페이지
|
||||
$args->list_count = 30; ///< 한페이지에 보여줄 글 수
|
||||
$args->page_count = 10; ///< 페이지 네비게이션에 나타날 페이지의 수
|
||||
|
||||
$args->sort_index = 'document_declared.declared_count'; ///< 소팅 값
|
||||
$args->order_type = 'desc'; ///< 소팅 정렬 값
|
||||
|
||||
// 목록을 구함
|
||||
$declared_output = executeQuery('document.getDeclaredList', $args);
|
||||
|
||||
if($declared_output->data && count($declared_output->data)) {
|
||||
$document_list = array();
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
foreach($declared_output->data as $key => $document) {
|
||||
$document_list[$key] = new documentItem();
|
||||
$document_list[$key]->setAttribute($document);
|
||||
}
|
||||
$declared_output->data = $document_list;
|
||||
}
|
||||
|
||||
// 템플릿에 쓰기 위해서 document_model::getDocumentList() 의 return object에 있는 값들을 세팅
|
||||
Context::set('total_count', $declared_output->total_count);
|
||||
Context::set('total_page', $declared_output->total_page);
|
||||
Context::set('page', $declared_output->page);
|
||||
Context::set('document_list', $declared_output->data);
|
||||
Context::set('page_navigation', $declared_output->page_navigation);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('declared_list');
|
||||
}
|
||||
|
||||
function dispDocumentAdminAlias() {
|
||||
$args->document_srl = Context::get('document_srl');
|
||||
if(!$args->document_srl) return $this->dispDocumentAdminList();
|
||||
|
||||
$oModel = &getModel('document');
|
||||
$oDocument = $oModel->getDocument($args->document_srl);
|
||||
if(!$oDocument->isExists()) return $this->dispDocumentAdminList();
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
||||
$output = executeQueryArray('document.getAliases', $args);
|
||||
if(!$output->data)
|
||||
{
|
||||
$aliases = array();
|
||||
}
|
||||
else
|
||||
{
|
||||
$aliases = $output->data;
|
||||
}
|
||||
|
||||
|
||||
Context::set('aliases', $aliases);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_alias');
|
||||
}
|
||||
|
||||
function dispDocumentAdminTrashList() {
|
||||
// 목록을 구하기 위한 옵션
|
||||
$args->page = Context::get('page'); ///< 페이지
|
||||
$args->list_count = 30; ///< 한페이지에 보여줄 글 수
|
||||
$args->page_count = 10; ///< 페이지 네비게이션에 나타날 페이지의 수
|
||||
|
||||
$args->sort_index = 'list_order'; ///< 소팅 값
|
||||
$args->order_type = 'desc'; ///< 소팅 정렬 값
|
||||
|
||||
$args->module_srl = Context::get('module_srl');
|
||||
|
||||
// 목록을 구함
|
||||
$oDocumentAdminModel = &getAdminModel('document');
|
||||
$output = $oDocumentAdminModel->getDocumentTrashList($args);
|
||||
|
||||
// 템플릿에 쓰기 위해서 document_admin_model::getDocumentTrashList() 의 return object에 있는 값들을 세팅
|
||||
Context::set('total_count', $output->total_count);
|
||||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('document_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
// 템플릿 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('document_trash_list');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,262 +1,262 @@
|
|||
<?php
|
||||
/**
|
||||
* @class document
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 high 클래스
|
||||
**/
|
||||
|
||||
require_once(_XE_PATH_.'modules/document/document.item.php');
|
||||
|
||||
class document extends ModuleObject {
|
||||
|
||||
// 관리자페이지에서 사용할 검색 옵션
|
||||
var $search_option = array('title','content','title_content','user_name',); ///< 검색 옵션
|
||||
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
$oDB = &DB::getInstance();
|
||||
$oDB->addIndex("documents","idx_module_list_order", array("module_srl","list_order"));
|
||||
$oDB->addIndex("documents","idx_module_update_order", array("module_srl","update_order"));
|
||||
$oDB->addIndex("documents","idx_module_readed_count", array("module_srl","readed_count"));
|
||||
$oDB->addIndex("documents","idx_module_voted_count", array("module_srl","voted_count"));
|
||||
$oDB->addIndex("documents","idx_module_notice", array("module_srl","is_notice"));
|
||||
$oDB->addIndex("documents","idx_module_document_srl", array("module_srl","document_srl"));
|
||||
$oDB->addIndex("documents","idx_module_blamed_count", array("module_srl","blamed_count"));
|
||||
$oDB->addIndex("document_aliases", "idx_module_title", array("module_srl","alias_title"), true);
|
||||
$oDB->addIndex("document_extra_vars", "unique_extra_vars", array("module_srl","document_srl","var_idx","lang_code"), true);
|
||||
|
||||
// 2007. 10. 17 모듈이 삭제될때 등록된 글도 모두 삭제하는 트리거 추가
|
||||
$oModuleController->insertTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after');
|
||||
|
||||
// 2009. 01. 29 Added a trigger for additional setup
|
||||
$oModuleController->insertTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
$oDB = &DB::getInstance();
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
/**
|
||||
* 2007. 7. 25 : 알림 필드(notify_message) 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","notify_message")) return true;
|
||||
|
||||
/**
|
||||
* 2007. 8. 23 : document테이블에 결합 인덱스 적용
|
||||
**/
|
||||
if(!$oDB->isIndexExists("documents","idx_module_list_order")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_update_order")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_readed_count")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_voted_count")) return true;
|
||||
|
||||
// 2007. 10. 17 모듈이 삭제될때 등록된 글도 모두 삭제하는 트리거 추가
|
||||
if(!$oModuleModel->getTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after')) return true;
|
||||
|
||||
// 2007. 10. 25 문서 분류에 parent_srl, expand를 추가
|
||||
if(!$oDB->isColumnExists("document_categories","parent_srl")) return true;
|
||||
if(!$oDB->isColumnExists("document_categories","expand")) return true;
|
||||
if(!$oDB->isColumnExists("document_categories","group_srls")) return true;
|
||||
|
||||
// 2007. 11. 20 게시글에 module_srl + is_notice 복합인덱스 만들기
|
||||
if(!$oDB->isIndexExists("documents","idx_module_notice")) return true;
|
||||
|
||||
// 2008. 02. 18 게시글에 module_srl + document_srl 복합인덱스 만들기 (manian님 확인)
|
||||
if(!$oDB->isIndexExists("documents","idx_module_document_srl")) return true;
|
||||
|
||||
/**
|
||||
* 2007. 12. 03 : 확장변수(extra_vars) 컬럼이 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","extra_vars")) return true;
|
||||
|
||||
// 2008. 04. 23 blamed count 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents", "blamed_count")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_blamed_count")) return true;
|
||||
if(!$oDB->isColumnExists("document_voted_log", "point")) return true;
|
||||
|
||||
// 2008-12-15 문서 분류에 color를 추가
|
||||
if(!$oDB->isColumnExists("document_categories", "color")) return true;
|
||||
|
||||
/**
|
||||
* 2009. 01. 29 : 확장변수 값 테이블에 lang_code가 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_vars","lang_code")) return true;
|
||||
|
||||
if(!$oModuleModel->getTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before')) return true;
|
||||
|
||||
// 2009. 03. 09 documents에 lang_code 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents","lang_code")) return true;
|
||||
|
||||
// 2009. 03. 11 확장변수 값 테이블의 인덱스 점검
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "unique_extra_vars")) return true;
|
||||
|
||||
/**
|
||||
* 2009. 03. 19 : 확장변수 값 테이블에 eid가 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_keys","eid")) return true;
|
||||
if(!$oDB->isColumnExists("document_extra_vars","eid")) return true;
|
||||
|
||||
// 2011. 03. 30 Cubrid index 추가 요청
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "idx_document_list_order")) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
$oDB = &DB::getInstance();
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
/**
|
||||
* 2007. 7. 25 : 알림 필드(notify_message) 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","notify_message")) {
|
||||
$oDB->addColumn('documents',"notify_message","char",1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 2007. 8. 23 : document테이블에 결합 인덱스 적용
|
||||
**/
|
||||
if(!$oDB->isIndexExists("documents","idx_module_list_order")) {
|
||||
$oDB->addIndex("documents","idx_module_list_order", array("module_srl","list_order"));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_update_order")) {
|
||||
$oDB->addIndex("documents","idx_module_update_order", array("module_srl","update_order"));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_readed_count")) {
|
||||
$oDB->addIndex("documents","idx_module_readed_count", array("module_srl","readed_count"));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_voted_count")) {
|
||||
$oDB->addIndex("documents","idx_module_voted_count", array("module_srl","voted_count"));
|
||||
}
|
||||
|
||||
// 2007. 10. 17 모듈이 삭제될때 등록된 글도 모두 삭제하는 트리거 추가
|
||||
if(!$oModuleModel->getTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after'))
|
||||
$oModuleController->insertTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after');
|
||||
|
||||
// 2007. 10. 25 문서 분류에 parent_srl, expand를 추가
|
||||
if(!$oDB->isColumnExists("document_categories","parent_srl")) $oDB->addColumn('document_categories',"parent_srl","number",12,0);
|
||||
if(!$oDB->isColumnExists("document_categories","expand")) $oDB->addColumn('document_categories',"expand","char",1,"N");
|
||||
if(!$oDB->isColumnExists("document_categories","group_srls")) $oDB->addColumn('document_categories',"group_srls","text");
|
||||
|
||||
// 2007. 11. 20 게시글에 module_srl + is_notice 복합인덱스 만들기
|
||||
if(!$oDB->isIndexExists("documents","idx_module_notice")) $oDB->addIndex("documents","idx_module_notice", array("module_srl","is_notice"));
|
||||
|
||||
/**
|
||||
* 2007. 12. 03 : 확장변수(extra_vars) 컬럼이 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","extra_vars")) $oDB->addColumn('documents','extra_vars','text');
|
||||
|
||||
/**
|
||||
* 2008. 02. 18 게시글에 module_srl + document_srl 복합인덱스 만들기 (manian님 확인)
|
||||
**/
|
||||
if(!$oDB->isIndexExists("documents","idx_module_document_srl")) $oDB->addIndex("documents","idx_module_document_srl", array("module_srl","document_srl"));
|
||||
|
||||
// 2008. 04. 23 blamed count 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents", "blamed_count")) {
|
||||
$oDB->addColumn('documents', 'blamed_count', 'number', 11, 0, true);
|
||||
$oDB->addIndex('documents', 'idx_blamed_count', array('blamed_count'));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_blamed_count")) {
|
||||
$oDB->addIndex('documents', 'idx_module_blamed_count', array('module_srl', 'blamed_count'));
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists("document_voted_log", "point"))
|
||||
$oDB->addColumn('document_voted_log', 'point', 'number', 11, 0, true);
|
||||
|
||||
|
||||
if(!$oDB->isColumnExists("document_categories","color")) $oDB->addColumn('document_categories',"color","char",7);
|
||||
|
||||
/**
|
||||
* 2009. 01. 29 : 확장변수 값 테이블에 lang_code가 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_vars","lang_code")) $oDB->addColumn('document_extra_vars',"lang_code","varchar",10);
|
||||
|
||||
// 2009. 01. 29 Added a trigger for additional setup
|
||||
if(!$oModuleModel->getTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before'))
|
||||
$oModuleController->insertTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before');
|
||||
|
||||
// 2009. 03. 09 documents에 lang_code 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents","lang_code")) {
|
||||
$db_info = Context::getDBInfo();
|
||||
$oDB->addColumn('documents',"lang_code","varchar",10, $db_info->lang_code);
|
||||
$obj->lang_code = $db_info->lang_type;
|
||||
executeQuery('document.updateDocumentsLangCode', $obj);
|
||||
}
|
||||
|
||||
// 2009. 03. 11 확장변수 값 테이블의 인덱스 점검
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "unique_extra_vars")) {
|
||||
$oDB->addIndex("document_extra_vars", "unique_extra_vars", array("module_srl","document_srl","var_idx","lang_code"), true);
|
||||
}
|
||||
|
||||
if($oDB->isIndexExists("document_extra_vars", "unique_module_vars")) {
|
||||
$oDB->dropIndex("document_extra_vars", "unique_module_vars", true);
|
||||
}
|
||||
|
||||
/**
|
||||
* 2009. 03. 19 : 확장변수 값 테이블에 eid 없을 경우 추가
|
||||
* 2009. 04. 12 : eid를 등록할 때 다른 필드 값이 변경되는 문제 수정 #17922959
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_keys","eid")) {
|
||||
$oDB->addColumn("document_extra_keys","eid","varchar",40);
|
||||
|
||||
$output = executeQuery('document.getGroupsExtraKeys', $obj);
|
||||
if($output->toBool() && $output->data && count($output->data)) {
|
||||
foreach($output->data as $extra_keys) {
|
||||
$args->module_srl = $extra_keys->module_srl;
|
||||
$args->var_idx = $extra_keys->idx;
|
||||
$args->new_eid = "extra_vars".$extra_keys->idx;
|
||||
$output = executeQuery('document.updateDocumentExtraKeyEid', $args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists("document_extra_vars","eid")) {
|
||||
$oDB->addColumn("document_extra_vars","eid","varchar",40);
|
||||
$obj->var_idx = '-1,-2';
|
||||
$output = executeQuery('document.getGroupsExtraVars', $obj);
|
||||
if($output->toBool() && $output->data && count($output->data)) {
|
||||
foreach($output->data as $extra_vars) {
|
||||
$args->module_srl = $extra_vars->module_srl;
|
||||
$args->var_idx = $extra_vars->idx;
|
||||
$args->new_eid = "extra_vars".$extra_vars->idx;
|
||||
$output = executeQuery('document.updateDocumentExtraVarEid', $args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 2011. 03. 30 Cubrid index 추가 요청
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "idx_document_list_order")) {
|
||||
$oDB->addIndex("document_extra_vars", "idx_document_list_order", array("document_srl","module_srl","var_idx"), false);
|
||||
}
|
||||
|
||||
return new Object(0,'success_updated');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 캐시 파일 재생성
|
||||
**/
|
||||
function recompileCache() {
|
||||
// 게시글 분류 캐시 파일 삭제
|
||||
FileHandler::removeFilesInDir(_XE_PATH_."files/cache/document_category");
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class document
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 high 클래스
|
||||
**/
|
||||
|
||||
require_once(_XE_PATH_.'modules/document/document.item.php');
|
||||
|
||||
class document extends ModuleObject {
|
||||
|
||||
// 관리자페이지에서 사용할 검색 옵션
|
||||
var $search_option = array('title','content','title_content','user_name',); ///< 검색 옵션
|
||||
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
**/
|
||||
function moduleInstall() {
|
||||
// action forward에 등록 (관리자 모드에서 사용하기 위함)
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
$oDB = &DB::getInstance();
|
||||
$oDB->addIndex("documents","idx_module_list_order", array("module_srl","list_order"));
|
||||
$oDB->addIndex("documents","idx_module_update_order", array("module_srl","update_order"));
|
||||
$oDB->addIndex("documents","idx_module_readed_count", array("module_srl","readed_count"));
|
||||
$oDB->addIndex("documents","idx_module_voted_count", array("module_srl","voted_count"));
|
||||
$oDB->addIndex("documents","idx_module_notice", array("module_srl","is_notice"));
|
||||
$oDB->addIndex("documents","idx_module_document_srl", array("module_srl","document_srl"));
|
||||
$oDB->addIndex("documents","idx_module_blamed_count", array("module_srl","blamed_count"));
|
||||
$oDB->addIndex("document_aliases", "idx_module_title", array("module_srl","alias_title"), true);
|
||||
$oDB->addIndex("document_extra_vars", "unique_extra_vars", array("module_srl","document_srl","var_idx","lang_code"), true);
|
||||
|
||||
// 2007. 10. 17 모듈이 삭제될때 등록된 글도 모두 삭제하는 트리거 추가
|
||||
$oModuleController->insertTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after');
|
||||
|
||||
// 2009. 01. 29 Added a trigger for additional setup
|
||||
$oModuleController->insertTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before');
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
$oDB = &DB::getInstance();
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
/**
|
||||
* 2007. 7. 25 : 알림 필드(notify_message) 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","notify_message")) return true;
|
||||
|
||||
/**
|
||||
* 2007. 8. 23 : document테이블에 결합 인덱스 적용
|
||||
**/
|
||||
if(!$oDB->isIndexExists("documents","idx_module_list_order")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_update_order")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_readed_count")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_voted_count")) return true;
|
||||
|
||||
// 2007. 10. 17 모듈이 삭제될때 등록된 글도 모두 삭제하는 트리거 추가
|
||||
if(!$oModuleModel->getTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after')) return true;
|
||||
|
||||
// 2007. 10. 25 문서 분류에 parent_srl, expand를 추가
|
||||
if(!$oDB->isColumnExists("document_categories","parent_srl")) return true;
|
||||
if(!$oDB->isColumnExists("document_categories","expand")) return true;
|
||||
if(!$oDB->isColumnExists("document_categories","group_srls")) return true;
|
||||
|
||||
// 2007. 11. 20 게시글에 module_srl + is_notice 복합인덱스 만들기
|
||||
if(!$oDB->isIndexExists("documents","idx_module_notice")) return true;
|
||||
|
||||
// 2008. 02. 18 게시글에 module_srl + document_srl 복합인덱스 만들기 (manian님 확인)
|
||||
if(!$oDB->isIndexExists("documents","idx_module_document_srl")) return true;
|
||||
|
||||
/**
|
||||
* 2007. 12. 03 : 확장변수(extra_vars) 컬럼이 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","extra_vars")) return true;
|
||||
|
||||
// 2008. 04. 23 blamed count 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents", "blamed_count")) return true;
|
||||
if(!$oDB->isIndexExists("documents","idx_module_blamed_count")) return true;
|
||||
if(!$oDB->isColumnExists("document_voted_log", "point")) return true;
|
||||
|
||||
// 2008-12-15 문서 분류에 color를 추가
|
||||
if(!$oDB->isColumnExists("document_categories", "color")) return true;
|
||||
|
||||
/**
|
||||
* 2009. 01. 29 : 확장변수 값 테이블에 lang_code가 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_vars","lang_code")) return true;
|
||||
|
||||
if(!$oModuleModel->getTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before')) return true;
|
||||
|
||||
// 2009. 03. 09 documents에 lang_code 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents","lang_code")) return true;
|
||||
|
||||
// 2009. 03. 11 확장변수 값 테이블의 인덱스 점검
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "unique_extra_vars")) return true;
|
||||
|
||||
/**
|
||||
* 2009. 03. 19 : 확장변수 값 테이블에 eid가 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_keys","eid")) return true;
|
||||
if(!$oDB->isColumnExists("document_extra_vars","eid")) return true;
|
||||
|
||||
// 2011. 03. 30 Cubrid index 추가 요청
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "idx_document_list_order")) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
$oDB = &DB::getInstance();
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
/**
|
||||
* 2007. 7. 25 : 알림 필드(notify_message) 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","notify_message")) {
|
||||
$oDB->addColumn('documents',"notify_message","char",1);
|
||||
}
|
||||
|
||||
/**
|
||||
* 2007. 8. 23 : document테이블에 결합 인덱스 적용
|
||||
**/
|
||||
if(!$oDB->isIndexExists("documents","idx_module_list_order")) {
|
||||
$oDB->addIndex("documents","idx_module_list_order", array("module_srl","list_order"));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_update_order")) {
|
||||
$oDB->addIndex("documents","idx_module_update_order", array("module_srl","update_order"));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_readed_count")) {
|
||||
$oDB->addIndex("documents","idx_module_readed_count", array("module_srl","readed_count"));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_voted_count")) {
|
||||
$oDB->addIndex("documents","idx_module_voted_count", array("module_srl","voted_count"));
|
||||
}
|
||||
|
||||
// 2007. 10. 17 모듈이 삭제될때 등록된 글도 모두 삭제하는 트리거 추가
|
||||
if(!$oModuleModel->getTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after'))
|
||||
$oModuleController->insertTrigger('module.deleteModule', 'document', 'controller', 'triggerDeleteModuleDocuments', 'after');
|
||||
|
||||
// 2007. 10. 25 문서 분류에 parent_srl, expand를 추가
|
||||
if(!$oDB->isColumnExists("document_categories","parent_srl")) $oDB->addColumn('document_categories',"parent_srl","number",12,0);
|
||||
if(!$oDB->isColumnExists("document_categories","expand")) $oDB->addColumn('document_categories',"expand","char",1,"N");
|
||||
if(!$oDB->isColumnExists("document_categories","group_srls")) $oDB->addColumn('document_categories',"group_srls","text");
|
||||
|
||||
// 2007. 11. 20 게시글에 module_srl + is_notice 복합인덱스 만들기
|
||||
if(!$oDB->isIndexExists("documents","idx_module_notice")) $oDB->addIndex("documents","idx_module_notice", array("module_srl","is_notice"));
|
||||
|
||||
/**
|
||||
* 2007. 12. 03 : 확장변수(extra_vars) 컬럼이 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("documents","extra_vars")) $oDB->addColumn('documents','extra_vars','text');
|
||||
|
||||
/**
|
||||
* 2008. 02. 18 게시글에 module_srl + document_srl 복합인덱스 만들기 (manian님 확인)
|
||||
**/
|
||||
if(!$oDB->isIndexExists("documents","idx_module_document_srl")) $oDB->addIndex("documents","idx_module_document_srl", array("module_srl","document_srl"));
|
||||
|
||||
// 2008. 04. 23 blamed count 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents", "blamed_count")) {
|
||||
$oDB->addColumn('documents', 'blamed_count', 'number', 11, 0, true);
|
||||
$oDB->addIndex('documents', 'idx_blamed_count', array('blamed_count'));
|
||||
}
|
||||
|
||||
if(!$oDB->isIndexExists("documents","idx_module_blamed_count")) {
|
||||
$oDB->addIndex('documents', 'idx_module_blamed_count', array('module_srl', 'blamed_count'));
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists("document_voted_log", "point"))
|
||||
$oDB->addColumn('document_voted_log', 'point', 'number', 11, 0, true);
|
||||
|
||||
|
||||
if(!$oDB->isColumnExists("document_categories","color")) $oDB->addColumn('document_categories',"color","char",7);
|
||||
|
||||
/**
|
||||
* 2009. 01. 29 : 확장변수 값 테이블에 lang_code가 없을 경우 추가
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_vars","lang_code")) $oDB->addColumn('document_extra_vars',"lang_code","varchar",10);
|
||||
|
||||
// 2009. 01. 29 Added a trigger for additional setup
|
||||
if(!$oModuleModel->getTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before'))
|
||||
$oModuleController->insertTrigger('module.dispAdditionSetup', 'document', 'view', 'triggerDispDocumentAdditionSetup', 'before');
|
||||
|
||||
// 2009. 03. 09 documents에 lang_code 컬럼 추가
|
||||
if(!$oDB->isColumnExists("documents","lang_code")) {
|
||||
$db_info = Context::getDBInfo();
|
||||
$oDB->addColumn('documents',"lang_code","varchar",10, $db_info->lang_code);
|
||||
$obj->lang_code = $db_info->lang_type;
|
||||
executeQuery('document.updateDocumentsLangCode', $obj);
|
||||
}
|
||||
|
||||
// 2009. 03. 11 확장변수 값 테이블의 인덱스 점검
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "unique_extra_vars")) {
|
||||
$oDB->addIndex("document_extra_vars", "unique_extra_vars", array("module_srl","document_srl","var_idx","lang_code"), true);
|
||||
}
|
||||
|
||||
if($oDB->isIndexExists("document_extra_vars", "unique_module_vars")) {
|
||||
$oDB->dropIndex("document_extra_vars", "unique_module_vars", true);
|
||||
}
|
||||
|
||||
/**
|
||||
* 2009. 03. 19 : 확장변수 값 테이블에 eid 없을 경우 추가
|
||||
* 2009. 04. 12 : eid를 등록할 때 다른 필드 값이 변경되는 문제 수정 #17922959
|
||||
**/
|
||||
if(!$oDB->isColumnExists("document_extra_keys","eid")) {
|
||||
$oDB->addColumn("document_extra_keys","eid","varchar",40);
|
||||
|
||||
$output = executeQuery('document.getGroupsExtraKeys', $obj);
|
||||
if($output->toBool() && $output->data && count($output->data)) {
|
||||
foreach($output->data as $extra_keys) {
|
||||
$args->module_srl = $extra_keys->module_srl;
|
||||
$args->var_idx = $extra_keys->idx;
|
||||
$args->new_eid = "extra_vars".$extra_keys->idx;
|
||||
$output = executeQuery('document.updateDocumentExtraKeyEid', $args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists("document_extra_vars","eid")) {
|
||||
$oDB->addColumn("document_extra_vars","eid","varchar",40);
|
||||
$obj->var_idx = '-1,-2';
|
||||
$output = executeQuery('document.getGroupsExtraVars', $obj);
|
||||
if($output->toBool() && $output->data && count($output->data)) {
|
||||
foreach($output->data as $extra_vars) {
|
||||
$args->module_srl = $extra_vars->module_srl;
|
||||
$args->var_idx = $extra_vars->idx;
|
||||
$args->new_eid = "extra_vars".$extra_vars->idx;
|
||||
$output = executeQuery('document.updateDocumentExtraVarEid', $args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 2011. 03. 30 Cubrid index 추가 요청
|
||||
if(!$oDB->isIndexExists("document_extra_vars", "idx_document_list_order")) {
|
||||
$oDB->addIndex("document_extra_vars", "idx_document_list_order", array("document_srl","module_srl","var_idx"), false);
|
||||
}
|
||||
|
||||
return new Object(0,'success_updated');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 캐시 파일 재생성
|
||||
**/
|
||||
function recompileCache() {
|
||||
// 게시글 분류 캐시 파일 삭제
|
||||
FileHandler::removeFilesInDir(_XE_PATH_."files/cache/document_category");
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,121 +1,121 @@
|
|||
<?php
|
||||
/**
|
||||
* @class documentView
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 View class
|
||||
**/
|
||||
|
||||
class documentView extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 문서 인쇄 기능
|
||||
* 해당 글만 찾아서 그냥 출력해버린다;;
|
||||
**/
|
||||
function dispDocumentPrint() {
|
||||
// 목록 구현에 필요한 변수들을 가져온다
|
||||
$document_srl = Context::get('document_srl');
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByDocumentSrl($document_srl);
|
||||
|
||||
// document 객체를 생성. 기본 데이터 구조의 경우 document모듈만 쓰면 만사 해결.. -_-;
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
||||
// 선택된 문서 표시를 위한 객체 생성
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl, $this->grant->manager);
|
||||
if(!$oDocument->isExists()) return new Object(-1,'msg_invalid_request');
|
||||
|
||||
// 권한 체크
|
||||
if(!$oDocument->isAccessible()) return new Object(-1,'msg_not_permitted');
|
||||
|
||||
// 모듈 정보 세팅
|
||||
Context::set('module_info', $module_info);
|
||||
|
||||
// 브라우저 타이틀 설정
|
||||
Context::setBrowserTitle($oDocument->getTitleText());
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
||||
Context::set('layout','none');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('print_page');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 미리 보기
|
||||
**/
|
||||
function dispDocumentPreview() {
|
||||
Context::set('layout','none');
|
||||
|
||||
$content = Context::get('content');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('preview_page');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자가 선택한 문서에 대한 관리
|
||||
**/
|
||||
function dispDocumentManageDocument() {
|
||||
if(!Context::get('is_logged')) return new Object(-1,'msg_not_permitted');
|
||||
|
||||
// 선택한 목록을 세션에서 가져옴
|
||||
$flag_list = $_SESSION['document_management'];
|
||||
if(count($flag_list)) {
|
||||
foreach($flag_list as $key => $val) {
|
||||
if(!is_bool($val)) continue;
|
||||
$document_srl_list[] = $key;
|
||||
}
|
||||
}
|
||||
|
||||
if(count($document_srl_list)) {
|
||||
$oDocumentModel = &getModel('document');
|
||||
$document_list = $oDocumentModel->getDocuments($document_srl_list, $this->grant->is_admin);
|
||||
Context::set('document_list', $document_list);
|
||||
}
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// 모듈 카테고리 목록과 모듈 목록의 조합
|
||||
if(count($module_list)>1) Context::set('module_list', $module_categories);
|
||||
|
||||
// 팝업 레이아웃 선택
|
||||
$this->setLayoutPath('./common/tpl');
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('checked_list');
|
||||
}
|
||||
|
||||
function triggerDispDocumentAdditionSetup(&$obj) {
|
||||
$current_module_srl = Context::get('module_srl');
|
||||
$current_module_srls = Context::get('module_srls');
|
||||
|
||||
if(!$current_module_srl && !$current_module_srls) {
|
||||
// 선택된 모듈의 정보를 가져옴
|
||||
$current_module_info = Context::get('current_module_info');
|
||||
$current_module_srl = $current_module_info->module_srl;
|
||||
if(!$current_module_srl) return new Object();
|
||||
}
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
if($current_module_srl)
|
||||
{
|
||||
$document_config = $oModuleModel->getModulePartConfig('document', $current_module_srl);
|
||||
}
|
||||
if(!isset($document_config->use_history)) $document_config->use_history = 'N';
|
||||
Context::set('document_config', $document_config);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'document_module_config');
|
||||
$obj .= $tpl;
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @class documentView
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 View class
|
||||
**/
|
||||
|
||||
class documentView extends document {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 문서 인쇄 기능
|
||||
* 해당 글만 찾아서 그냥 출력해버린다;;
|
||||
**/
|
||||
function dispDocumentPrint() {
|
||||
// 목록 구현에 필요한 변수들을 가져온다
|
||||
$document_srl = Context::get('document_srl');
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByDocumentSrl($document_srl);
|
||||
|
||||
// document 객체를 생성. 기본 데이터 구조의 경우 document모듈만 쓰면 만사 해결.. -_-;
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
||||
// 선택된 문서 표시를 위한 객체 생성
|
||||
$oDocument = $oDocumentModel->getDocument($document_srl, $this->grant->manager);
|
||||
if(!$oDocument->isExists()) return new Object(-1,'msg_invalid_request');
|
||||
|
||||
// 권한 체크
|
||||
if(!$oDocument->isAccessible()) return new Object(-1,'msg_not_permitted');
|
||||
|
||||
// 모듈 정보 세팅
|
||||
Context::set('module_info', $module_info);
|
||||
|
||||
// 브라우저 타이틀 설정
|
||||
Context::setBrowserTitle($oDocument->getTitleText());
|
||||
Context::set('oDocument', $oDocument);
|
||||
|
||||
Context::set('layout','none');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('print_page');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 미리 보기
|
||||
**/
|
||||
function dispDocumentPreview() {
|
||||
Context::set('layout','none');
|
||||
|
||||
$content = Context::get('content');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('preview_page');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 관리자가 선택한 문서에 대한 관리
|
||||
**/
|
||||
function dispDocumentManageDocument() {
|
||||
if(!Context::get('is_logged')) return new Object(-1,'msg_not_permitted');
|
||||
|
||||
// 선택한 목록을 세션에서 가져옴
|
||||
$flag_list = $_SESSION['document_management'];
|
||||
if(count($flag_list)) {
|
||||
foreach($flag_list as $key => $val) {
|
||||
if(!is_bool($val)) continue;
|
||||
$document_srl_list[] = $key;
|
||||
}
|
||||
}
|
||||
|
||||
if(count($document_srl_list)) {
|
||||
$oDocumentModel = &getModel('document');
|
||||
$document_list = $oDocumentModel->getDocuments($document_srl_list, $this->grant->is_admin);
|
||||
Context::set('document_list', $document_list);
|
||||
}
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// 모듈 카테고리 목록과 모듈 목록의 조합
|
||||
if(count($module_list)>1) Context::set('module_list', $module_categories);
|
||||
|
||||
// 팝업 레이아웃 선택
|
||||
$this->setLayoutPath('./common/tpl');
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('checked_list');
|
||||
}
|
||||
|
||||
function triggerDispDocumentAdditionSetup(&$obj) {
|
||||
$current_module_srl = Context::get('module_srl');
|
||||
$current_module_srls = Context::get('module_srls');
|
||||
|
||||
if(!$current_module_srl && !$current_module_srls) {
|
||||
// 선택된 모듈의 정보를 가져옴
|
||||
$current_module_info = Context::get('current_module_info');
|
||||
$current_module_srl = $current_module_info->module_srl;
|
||||
if(!$current_module_srl) return new Object();
|
||||
}
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
if($current_module_srl)
|
||||
{
|
||||
$document_config = $oModuleModel->getModulePartConfig('document', $current_module_srl);
|
||||
}
|
||||
if(!isset($document_config->use_history)) $document_config->use_history = 'N';
|
||||
Context::set('document_config', $document_config);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'document_module_config');
|
||||
$obj .= $tpl;
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,99 +1,99 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Document module's basic language pack
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Documents List';
|
||||
$lang->thumbnail_type = 'Thumbnail Type';
|
||||
$lang->thumbnail_crop = 'Crop';
|
||||
$lang->thumbnail_ratio = 'Ratio';
|
||||
$lang->cmd_delete_all_thumbnail = 'Delete all thumbnails';
|
||||
$lang->move_target_module = "Target module ";
|
||||
$lang->title_bold = 'Bold';
|
||||
$lang->title_color = 'Color';
|
||||
$lang->new_document_count = 'New documents';
|
||||
|
||||
$lang->parent_category_title = 'Parent Category';
|
||||
$lang->category_title = 'Category';
|
||||
$lang->category_color = 'Category Font Color';
|
||||
$lang->expand = 'Expand';
|
||||
$lang->category_group_srls = 'Accessable Group';
|
||||
|
||||
$lang->cmd_make_child = 'Add Child Category';
|
||||
$lang->cmd_enable_move_category = "Change Category Position (Drag the top menu after selection)";
|
||||
|
||||
$lang->about_category_title = 'Please input category name';
|
||||
$lang->about_expand = 'By selecting this option, it will be always expanded';
|
||||
$lang->about_category_group_srls = 'Only selected group will be able to use current category';
|
||||
$lang->about_category_color = 'You can set font color of category.';
|
||||
|
||||
$lang->cmd_search_next = 'Search Next';
|
||||
|
||||
$lang->cmd_temp_save = 'Temporary Save';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Reverse selected items';
|
||||
$lang->cmd_delete_checked_document = 'Delete selected';
|
||||
$lang->cmd_document_do = 'I want to';
|
||||
|
||||
$lang->msg_cart_is_null = 'Please select the articles to delete';
|
||||
$lang->msg_category_not_moved = 'Could not be moved';
|
||||
$lang->msg_is_secret = 'This is a secret article';
|
||||
$lang->msg_checked_document_is_deleted = '%d article(s) was(were) deleted';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Subject',
|
||||
'content' => 'Content',
|
||||
'user_id' => 'User ID',
|
||||
'member_srl' => 'Member Serial Number',
|
||||
'user_name' => 'User Name',
|
||||
'nick_name' => 'Nickname',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Homepage',
|
||||
'is_notice' => 'Notice',
|
||||
'is_secret' => 'Secret',
|
||||
'tags' => 'Tag',
|
||||
'readed_count' => 'Number of Views (over)',
|
||||
'voted_count' => 'Number of Votes (over)',
|
||||
'comment_count ' => 'Number of Comments (over)',
|
||||
'trackback_count ' => 'Number of Trackbacks (over)',
|
||||
'uploaded_count ' => 'Number of Attachments (over)',
|
||||
'regdate' => 'Date',
|
||||
'last_update' => 'Last Modified Date',
|
||||
'ipaddress' => 'IP Address',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "History";
|
||||
$lang->about_use_history = "History can restore documents to previous revisions";
|
||||
$lang->trace_only = "Trace only";
|
||||
|
||||
$lang->cmd_trash = 'Trashcan';
|
||||
$lang->cmd_restore = 'Restore';
|
||||
$lang->cmd_restore_all = 'Restore All';
|
||||
|
||||
$lang->in_trash = 'Trashcan';
|
||||
$lang->trash_nick_name = 'Deleter';
|
||||
$lang->trash_date = 'Deleted date';
|
||||
$lang->trash_description = 'Description';
|
||||
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Title',
|
||||
'content' => 'Content',
|
||||
'user_id' => 'User ID',
|
||||
'member_srl' => 'Member srl',
|
||||
'user_name' => 'User name',
|
||||
'nick_name' => 'Nickname',
|
||||
'trash_member_srl' => 'Deleter srl',
|
||||
'trash_user_name' => 'Deleter name',
|
||||
'trash_nick_name' => 'Deleter nickname',
|
||||
'trash_date' => 'Deleted date',
|
||||
'trash_ipaddress' => 'Deleter IP address',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = 'There is no selected article.';
|
||||
$lang->show_voted_member = 'Show Voters';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Document module's basic language pack
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Documents List';
|
||||
$lang->thumbnail_type = 'Thumbnail Type';
|
||||
$lang->thumbnail_crop = 'Crop';
|
||||
$lang->thumbnail_ratio = 'Ratio';
|
||||
$lang->cmd_delete_all_thumbnail = 'Delete all thumbnails';
|
||||
$lang->move_target_module = "Target module ";
|
||||
$lang->title_bold = 'Bold';
|
||||
$lang->title_color = 'Color';
|
||||
$lang->new_document_count = 'New documents';
|
||||
|
||||
$lang->parent_category_title = 'Parent Category';
|
||||
$lang->category_title = 'Category';
|
||||
$lang->category_color = 'Category Font Color';
|
||||
$lang->expand = 'Expand';
|
||||
$lang->category_group_srls = 'Accessable Group';
|
||||
|
||||
$lang->cmd_make_child = 'Add Child Category';
|
||||
$lang->cmd_enable_move_category = "Change Category Position (Drag the top menu after selection)";
|
||||
|
||||
$lang->about_category_title = 'Please input category name';
|
||||
$lang->about_expand = 'By selecting this option, it will be always expanded';
|
||||
$lang->about_category_group_srls = 'Only selected group will be able to use current category';
|
||||
$lang->about_category_color = 'You can set font color of category.';
|
||||
|
||||
$lang->cmd_search_next = 'Search Next';
|
||||
|
||||
$lang->cmd_temp_save = 'Temporary Save';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Reverse selected items';
|
||||
$lang->cmd_delete_checked_document = 'Delete selected';
|
||||
$lang->cmd_document_do = 'I want to';
|
||||
|
||||
$lang->msg_cart_is_null = 'Please select the articles to delete';
|
||||
$lang->msg_category_not_moved = 'Could not be moved';
|
||||
$lang->msg_is_secret = 'This is a secret article';
|
||||
$lang->msg_checked_document_is_deleted = '%d article(s) was(were) deleted';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Subject',
|
||||
'content' => 'Content',
|
||||
'user_id' => 'User ID',
|
||||
'member_srl' => 'Member Serial Number',
|
||||
'user_name' => 'User Name',
|
||||
'nick_name' => 'Nickname',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Homepage',
|
||||
'is_notice' => 'Notice',
|
||||
'is_secret' => 'Secret',
|
||||
'tags' => 'Tag',
|
||||
'readed_count' => 'Number of Views (over)',
|
||||
'voted_count' => 'Number of Votes (over)',
|
||||
'comment_count ' => 'Number of Comments (over)',
|
||||
'trackback_count ' => 'Number of Trackbacks (over)',
|
||||
'uploaded_count ' => 'Number of Attachments (over)',
|
||||
'regdate' => 'Date',
|
||||
'last_update' => 'Last Modified Date',
|
||||
'ipaddress' => 'IP Address',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "History";
|
||||
$lang->about_use_history = "History can restore documents to previous revisions";
|
||||
$lang->trace_only = "Trace only";
|
||||
|
||||
$lang->cmd_trash = 'Trashcan';
|
||||
$lang->cmd_restore = 'Restore';
|
||||
$lang->cmd_restore_all = 'Restore All';
|
||||
|
||||
$lang->in_trash = 'Trashcan';
|
||||
$lang->trash_nick_name = 'Deleter';
|
||||
$lang->trash_date = 'Deleted date';
|
||||
$lang->trash_description = 'Description';
|
||||
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Title',
|
||||
'content' => 'Content',
|
||||
'user_id' => 'User ID',
|
||||
'member_srl' => 'Member srl',
|
||||
'user_name' => 'User name',
|
||||
'nick_name' => 'Nickname',
|
||||
'trash_member_srl' => 'Deleter srl',
|
||||
'trash_user_name' => 'Deleter name',
|
||||
'trash_nick_name' => 'Deleter nickname',
|
||||
'trash_date' => 'Deleted date',
|
||||
'trash_ipaddress' => 'Deleter IP address',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = 'There is no selected article.';
|
||||
$lang->show_voted_member = 'Show Voters';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,82 +1,82 @@
|
|||
<?php
|
||||
/**
|
||||
* @archivo modules/document/lang/es.lang.php
|
||||
* @autor NHN (developers@xpressengine.com)
|
||||
* @sumario Paquete del idioma español para el módulo de documentos.
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Document list';
|
||||
$lang->thumbnail_type = 'Thumbnail Type';
|
||||
$lang->thumbnail_crop = 'Crop';
|
||||
$lang->thumbnail_ratio = 'Ratio';
|
||||
$lang->cmd_delete_all_thumbnail = 'Delete all thumbnails';
|
||||
$lang->move_target_module = "Módulo para cambiar de posición";
|
||||
$lang->title_bold = 'Bold';
|
||||
$lang->title_color = 'Color';
|
||||
$lang->new_document_count = '새글';
|
||||
|
||||
$lang->parent_category_title = 'Categoría Superior';
|
||||
$lang->category_title = 'Nombre de la categoría';
|
||||
$lang->category_color = '분류 폰트색깔';
|
||||
$lang->expand = 'Expandir';
|
||||
$lang->category_group_srls = 'Limitar el grupo';
|
||||
$lang->cmd_make_child = 'Agregar sub categoría';
|
||||
$lang->cmd_enable_move_category = "Cambiar la posición de la categoría. (arrastrar y soltar luego de haber selecionado)";
|
||||
$lang->about_category_title = 'Ingresar el nombre de la categoría.';
|
||||
$lang->about_expand = 'Si seleccionas esta opción, siempre estará expandido.';
|
||||
$lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리를 지정할 수 있도록 합니다';
|
||||
$lang->about_category_color = '분류 폰트색깔을 지정합니다.';
|
||||
|
||||
$lang->cmd_search_next = 'Buscar siguiente';
|
||||
|
||||
$lang->cmd_temp_save = 'Guardar Temporales';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Invertir los elementos seleccionados';
|
||||
$lang->cmd_delete_checked_document = 'Eliminar lo seleccionado';
|
||||
$lang->cmd_document_do = 'Usted ..';
|
||||
|
||||
$lang->msg_cart_is_null = 'Selecciona el documento que desea eliminar';
|
||||
$lang->msg_category_not_moved = 'No puede se movido';
|
||||
$lang->msg_is_secret = 'Es un documento secreto';
|
||||
$lang->msg_checked_document_is_deleted = 'Total de %d documentos han sido eliminados';
|
||||
|
||||
// Objetivo de búsqueda en la página del administrador
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Título',
|
||||
'content' => 'Contenido',
|
||||
'user_id' => 'ID',
|
||||
'member_srl' => 'Número del usuario',
|
||||
'user_name' => 'Nombre del usuario',
|
||||
'nick_name' => 'Apodo',
|
||||
'email_address' => 'Correo Electrónico',
|
||||
'homepage' => 'Página web',
|
||||
'is_notice' => 'Aviso',
|
||||
'is_secret' => 'Secreto',
|
||||
'tags' => 'Etiqueta',
|
||||
'readed_count' => 'Número de leídos (sobre)',
|
||||
'voted_count' => 'Número de recomnedados (sobre)',
|
||||
'comment_count ' => 'Número de comentarios (sobre)',
|
||||
'trackback_count ' => 'Número de Trackback (sobre)',
|
||||
'uploaded_count ' => 'Número de archivos adjuntos (sobre)',
|
||||
'regdate' => 'Día del registro',
|
||||
'last_update' => 'Día de la última actualización',
|
||||
'ipaddress' => 'Dirección IP',
|
||||
);
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "히스토리";
|
||||
$lang->about_use_history = "히스토리 기능의 사용여부를 지정합니다. 히스토리 기능을 사용할 경우 문서 수정시 이전 리비전을 기록하고 복원할 수 있습니다.";
|
||||
$lang->trace_only = "흔적만 남김";
|
||||
|
||||
$lang->cmd_trash = 'Trashcan';
|
||||
$lang->cmd_restore = 'Restore';
|
||||
$lang->cmd_restore_all = 'Restore All';
|
||||
|
||||
$lang->in_trash = 'Trashcan';
|
||||
$lang->trash_nick_name = 'Person who deleted';
|
||||
$lang->trash_date = 'Deleted date';
|
||||
$lang->trash_description = 'Description';
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @archivo modules/document/lang/es.lang.php
|
||||
* @autor NHN (developers@xpressengine.com)
|
||||
* @sumario Paquete del idioma español para el módulo de documentos.
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Document list';
|
||||
$lang->thumbnail_type = 'Thumbnail Type';
|
||||
$lang->thumbnail_crop = 'Crop';
|
||||
$lang->thumbnail_ratio = 'Ratio';
|
||||
$lang->cmd_delete_all_thumbnail = 'Delete all thumbnails';
|
||||
$lang->move_target_module = "Módulo para cambiar de posición";
|
||||
$lang->title_bold = 'Bold';
|
||||
$lang->title_color = 'Color';
|
||||
$lang->new_document_count = '새글';
|
||||
|
||||
$lang->parent_category_title = 'Categoría Superior';
|
||||
$lang->category_title = 'Nombre de la categoría';
|
||||
$lang->category_color = '분류 폰트색깔';
|
||||
$lang->expand = 'Expandir';
|
||||
$lang->category_group_srls = 'Limitar el grupo';
|
||||
$lang->cmd_make_child = 'Agregar sub categoría';
|
||||
$lang->cmd_enable_move_category = "Cambiar la posición de la categoría. (arrastrar y soltar luego de haber selecionado)";
|
||||
$lang->about_category_title = 'Ingresar el nombre de la categoría.';
|
||||
$lang->about_expand = 'Si seleccionas esta opción, siempre estará expandido.';
|
||||
$lang->about_category_group_srls = '선택하신 그룹만 현재 카테고리를 지정할 수 있도록 합니다';
|
||||
$lang->about_category_color = '분류 폰트색깔을 지정합니다.';
|
||||
|
||||
$lang->cmd_search_next = 'Buscar siguiente';
|
||||
|
||||
$lang->cmd_temp_save = 'Guardar Temporales';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Invertir los elementos seleccionados';
|
||||
$lang->cmd_delete_checked_document = 'Eliminar lo seleccionado';
|
||||
$lang->cmd_document_do = 'Usted ..';
|
||||
|
||||
$lang->msg_cart_is_null = 'Selecciona el documento que desea eliminar';
|
||||
$lang->msg_category_not_moved = 'No puede se movido';
|
||||
$lang->msg_is_secret = 'Es un documento secreto';
|
||||
$lang->msg_checked_document_is_deleted = 'Total de %d documentos han sido eliminados';
|
||||
|
||||
// Objetivo de búsqueda en la página del administrador
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Título',
|
||||
'content' => 'Contenido',
|
||||
'user_id' => 'ID',
|
||||
'member_srl' => 'Número del usuario',
|
||||
'user_name' => 'Nombre del usuario',
|
||||
'nick_name' => 'Apodo',
|
||||
'email_address' => 'Correo Electrónico',
|
||||
'homepage' => 'Página web',
|
||||
'is_notice' => 'Aviso',
|
||||
'is_secret' => 'Secreto',
|
||||
'tags' => 'Etiqueta',
|
||||
'readed_count' => 'Número de leídos (sobre)',
|
||||
'voted_count' => 'Número de recomnedados (sobre)',
|
||||
'comment_count ' => 'Número de comentarios (sobre)',
|
||||
'trackback_count ' => 'Número de Trackback (sobre)',
|
||||
'uploaded_count ' => 'Número de archivos adjuntos (sobre)',
|
||||
'regdate' => 'Día del registro',
|
||||
'last_update' => 'Día de la última actualización',
|
||||
'ipaddress' => 'Dirección IP',
|
||||
);
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "히스토리";
|
||||
$lang->about_use_history = "히스토리 기능의 사용여부를 지정합니다. 히스토리 기능을 사용할 경우 문서 수정시 이전 리비전을 기록하고 복원할 수 있습니다.";
|
||||
$lang->trace_only = "흔적만 남김";
|
||||
|
||||
$lang->cmd_trash = 'Trashcan';
|
||||
$lang->cmd_restore = 'Restore';
|
||||
$lang->cmd_restore_all = 'Restore All';
|
||||
|
||||
$lang->in_trash = 'Trashcan';
|
||||
$lang->trash_nick_name = 'Person who deleted';
|
||||
$lang->trash_date = 'Deleted date';
|
||||
$lang->trash_description = 'Description';
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,83 +1,83 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/fr.lang.php
|
||||
* @author NHN (developers@xpressengine.com) Traduit par Pierre Duvent <Pierreduvent@gmail.com>
|
||||
* @brief Paquet du langage en français pour le module de Document
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Liste des Documents';
|
||||
$lang->thumbnail_type = 'Type de la Vignette';
|
||||
$lang->thumbnail_crop = 'Rogner';
|
||||
$lang->thumbnail_ratio = 'Proportion';
|
||||
$lang->cmd_delete_all_thumbnail = 'Supprimer toutes les vignettes';
|
||||
$lang->title_bold = 'Gras';
|
||||
$lang->title_color = 'Couleur';
|
||||
$lang->new_document_count = '새글';
|
||||
|
||||
$lang->parent_category_title = 'catégorie supérieure';
|
||||
$lang->category_title = 'Catégorie';
|
||||
$lang->category_color = '분류 폰트색깔';
|
||||
$lang->expand = 'Etendre';
|
||||
$lang->category_group_srls = 'Groupe Accessible';
|
||||
$lang->cmd_make_child = 'Ajouter une catégorie inférieure';
|
||||
$lang->cmd_enable_move_category = "Bouger la position de la catégorie (Cochez la case et puis glisser la catégorie que vous voulez déplacer)";
|
||||
$lang->about_category_title = 'Entrez le nom de la catégorie, S.V.P.';
|
||||
$lang->about_expand = 'Si vous cochez la case à cocher, ce sera toujours tendu';
|
||||
$lang->about_category_group_srls = 'Le groupe choisi seulement pourra utiliser la catégorie courante';
|
||||
$lang->about_category_color = 'You can set font color of category.';
|
||||
|
||||
$lang->cmd_search_next = 'Recherche Suivante';
|
||||
|
||||
$lang->cmd_temp_save = 'Conserver temporairement';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Renverser les choisis';
|
||||
$lang->cmd_delete_checked_document = 'Supprimer les choisis';
|
||||
$lang->cmd_document_do = 'Vous voudriez..';
|
||||
|
||||
$lang->msg_cart_is_null = 'Choisissez les articles à supprimer, S.V.P.';
|
||||
$lang->msg_category_not_moved = 'Ne peut(peuvent) pas être bougé(s)';
|
||||
$lang->msg_is_secret = 'Cet article est secret';
|
||||
$lang->msg_checked_document_is_deleted = '%d article(s) est(sont) supprimé(s)';
|
||||
|
||||
$lang->move_target_module = "Module à déménager";
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Titre',
|
||||
'content' => 'Contenu',
|
||||
'user_id' => 'Compte',
|
||||
'member_srl' => 'Numéro de Série du Membre',
|
||||
'user_name' => 'Nom',
|
||||
'nick_name' => 'Surnom',
|
||||
'email_address' => 'Mél',
|
||||
'homepage' => 'Page d\'accueil',
|
||||
'is_notice' => 'Notice',
|
||||
'is_secret' => 'Secret',
|
||||
'tags' => 'Balises',
|
||||
'readed_count' => 'Vues (surplus)',
|
||||
'voted_count' => 'Recommandés (surplus)',
|
||||
'comment_count ' => 'Commentaires (surplus)',
|
||||
'trackback_count ' => 'Rétroliens (surplus)',
|
||||
'uploaded_count ' => 'Fichiers Attachés (surplus)',
|
||||
'regdate' => 'Enrégistré',
|
||||
'last_update' => 'La Dernière Mise à Jour',
|
||||
'ipaddress' => 'Adresse IP',
|
||||
);
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "히스토리";
|
||||
$lang->about_use_history = "히스토리 기능의 사용여부를 지정합니다. 히스토리 기능을 사용할 경우 문서 수정시 이전 리비전을 기록하고 복원할 수 있습니다.";
|
||||
$lang->trace_only = "흔적만 남김";
|
||||
|
||||
$lang->cmd_trash = 'Trashcan';
|
||||
$lang->cmd_restore = 'Restore';
|
||||
$lang->cmd_restore_all = 'Restore All';
|
||||
|
||||
$lang->in_trash = 'Trashcan';
|
||||
$lang->trash_nick_name = 'Person who deleted';
|
||||
$lang->trash_date = 'Deleted date';
|
||||
$lang->trash_description = 'Description';
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/fr.lang.php
|
||||
* @author NHN (developers@xpressengine.com) Traduit par Pierre Duvent <Pierreduvent@gmail.com>
|
||||
* @brief Paquet du langage en français pour le module de Document
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Liste des Documents';
|
||||
$lang->thumbnail_type = 'Type de la Vignette';
|
||||
$lang->thumbnail_crop = 'Rogner';
|
||||
$lang->thumbnail_ratio = 'Proportion';
|
||||
$lang->cmd_delete_all_thumbnail = 'Supprimer toutes les vignettes';
|
||||
$lang->title_bold = 'Gras';
|
||||
$lang->title_color = 'Couleur';
|
||||
$lang->new_document_count = '새글';
|
||||
|
||||
$lang->parent_category_title = 'catégorie supérieure';
|
||||
$lang->category_title = 'Catégorie';
|
||||
$lang->category_color = '분류 폰트색깔';
|
||||
$lang->expand = 'Etendre';
|
||||
$lang->category_group_srls = 'Groupe Accessible';
|
||||
$lang->cmd_make_child = 'Ajouter une catégorie inférieure';
|
||||
$lang->cmd_enable_move_category = "Bouger la position de la catégorie (Cochez la case et puis glisser la catégorie que vous voulez déplacer)";
|
||||
$lang->about_category_title = 'Entrez le nom de la catégorie, S.V.P.';
|
||||
$lang->about_expand = 'Si vous cochez la case à cocher, ce sera toujours tendu';
|
||||
$lang->about_category_group_srls = 'Le groupe choisi seulement pourra utiliser la catégorie courante';
|
||||
$lang->about_category_color = 'You can set font color of category.';
|
||||
|
||||
$lang->cmd_search_next = 'Recherche Suivante';
|
||||
|
||||
$lang->cmd_temp_save = 'Conserver temporairement';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Renverser les choisis';
|
||||
$lang->cmd_delete_checked_document = 'Supprimer les choisis';
|
||||
$lang->cmd_document_do = 'Vous voudriez..';
|
||||
|
||||
$lang->msg_cart_is_null = 'Choisissez les articles à supprimer, S.V.P.';
|
||||
$lang->msg_category_not_moved = 'Ne peut(peuvent) pas être bougé(s)';
|
||||
$lang->msg_is_secret = 'Cet article est secret';
|
||||
$lang->msg_checked_document_is_deleted = '%d article(s) est(sont) supprimé(s)';
|
||||
|
||||
$lang->move_target_module = "Module à déménager";
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Titre',
|
||||
'content' => 'Contenu',
|
||||
'user_id' => 'Compte',
|
||||
'member_srl' => 'Numéro de Série du Membre',
|
||||
'user_name' => 'Nom',
|
||||
'nick_name' => 'Surnom',
|
||||
'email_address' => 'Mél',
|
||||
'homepage' => 'Page d\'accueil',
|
||||
'is_notice' => 'Notice',
|
||||
'is_secret' => 'Secret',
|
||||
'tags' => 'Balises',
|
||||
'readed_count' => 'Vues (surplus)',
|
||||
'voted_count' => 'Recommandés (surplus)',
|
||||
'comment_count ' => 'Commentaires (surplus)',
|
||||
'trackback_count ' => 'Rétroliens (surplus)',
|
||||
'uploaded_count ' => 'Fichiers Attachés (surplus)',
|
||||
'regdate' => 'Enrégistré',
|
||||
'last_update' => 'La Dernière Mise à Jour',
|
||||
'ipaddress' => 'Adresse IP',
|
||||
);
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "히스토리";
|
||||
$lang->about_use_history = "히스토리 기능의 사용여부를 지정합니다. 히스토리 기능을 사용할 경우 문서 수정시 이전 리비전을 기록하고 복원할 수 있습니다.";
|
||||
$lang->trace_only = "흔적만 남김";
|
||||
|
||||
$lang->cmd_trash = 'Trashcan';
|
||||
$lang->cmd_restore = 'Restore';
|
||||
$lang->cmd_restore_all = 'Restore All';
|
||||
|
||||
$lang->in_trash = 'Trashcan';
|
||||
$lang->trash_nick_name = 'Person who deleted';
|
||||
$lang->trash_date = 'Deleted date';
|
||||
$lang->trash_description = 'Description';
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,101 +1,101 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ドキュメント(document)モジュールの基本言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->document_list = 'ドキュメントリスト';
|
||||
$lang->thumbnail_type = 'サムネールタイプ';
|
||||
$lang->thumbnail_crop = 'トリミングする';
|
||||
$lang->thumbnail_ratio = '比率に合わせる';
|
||||
$lang->cmd_delete_all_thumbnail = 'すべてのサムネール削除';
|
||||
$lang->title_bold = 'タイトル太字';
|
||||
$lang->title_color = 'タイトルの色';
|
||||
$lang->new_document_count = '新規';
|
||||
|
||||
$lang->parent_category_title = '上位カテゴリ名';
|
||||
$lang->category_title = 'カテゴリ名';
|
||||
$lang->category_color = 'カテゴリフォント色';
|
||||
$lang->expand = '拡張表示';
|
||||
$lang->category_group_srls = 'グループ制限';
|
||||
|
||||
$lang->cmd_make_child = '下位カテゴリ追加';
|
||||
$lang->cmd_enable_move_category = 'カテゴリ位置変更(選択後上のメニューをドラッグして下さい)';
|
||||
|
||||
$lang->about_category_title = 'カテゴリ名を入力して下さい。';
|
||||
$lang->about_expand = 'チェックすると常に展開された状態になります。';
|
||||
$lang->about_category_group_srls = '選択したグループのみ、現在のカテゴリの指定が出来ます。';
|
||||
$lang->about_category_color = 'カテゴリのフォント色を設定します。';
|
||||
|
||||
$lang->cmd_search_next = '継続検索';
|
||||
|
||||
$lang->cmd_temp_save = '一時保存';
|
||||
|
||||
$lang->cmd_toggle_checked_document = '選択項目反転';
|
||||
$lang->cmd_delete_checked_document = '選択項目削除';
|
||||
$lang->cmd_document_do = 'この書き込みを..';
|
||||
|
||||
$lang->msg_cart_is_null = '削除する書き込みを選択して下さい。';
|
||||
$lang->msg_category_not_moved = '移動出来ません。';
|
||||
$lang->msg_is_secret = '非公開設定の書き込みです。';
|
||||
$lang->msg_checked_document_is_deleted = '%d個の書き込みが削除されました。';
|
||||
|
||||
$lang->move_target_module = '移動対象モジュール';
|
||||
|
||||
// 管理者ページで検索する内容
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'タイトル',
|
||||
'content' => '内容',
|
||||
'user_id' => 'ユーザーID',
|
||||
'member_srl' => '会員番号',
|
||||
'user_name' => 'ユーザ名',
|
||||
'nick_name' => 'ニックネーム',
|
||||
'email_address' => 'メールアドレス',
|
||||
'homepage' => 'ホームページURL',
|
||||
'is_notice' => 'お知らせ',
|
||||
'is_secret' => '非公開書き込み',
|
||||
'tags' => 'タグ',
|
||||
'readed_count' => '閲覧数(以上)',
|
||||
'voted_count' => '推薦数(以上)',
|
||||
'comment_count ' => 'コメント数(以上)',
|
||||
'trackback_count ' => 'トラックバック数(以上)',
|
||||
'uploaded_count ' => '添付ファイル数(以上)',
|
||||
'regdate' => '登録日',
|
||||
'last_update' => '最近修正日',
|
||||
'ipaddress' => 'IPアドレス',
|
||||
);
|
||||
|
||||
$lang->alias = 'アリアス(Alias)';
|
||||
$lang->history = '履歴';
|
||||
$lang->about_use_history = '履歴機能を使用するかを設定します。履歴機能を使用すると文書修正のバージョンを管理し、過去のバージョンから復元することも可能です。';
|
||||
$lang->trace_only = '記録だけ残す';
|
||||
|
||||
$lang->cmd_trash = "ごみ箱";
|
||||
$lang->cmd_restore = "差し戻し";
|
||||
$lang->cmd_restore_all = "すべて差し戻し";
|
||||
|
||||
$lang->in_trash = "ごみ箱";
|
||||
$lang->trash_nick_name = "削除者のニックネーム";
|
||||
$lang->trash_date = "削除日";
|
||||
$lang->trash_description = "理由";
|
||||
|
||||
// 管理者ページでのごみ箱の検索対象
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'タイトル',
|
||||
'content' => '内容',
|
||||
'user_id' => 'ユーザーID',
|
||||
'member_srl' => '会員番号',
|
||||
'user_name' => 'ユーザー名',
|
||||
'nick_name' => 'ニックネーム',
|
||||
'trash_member_srl' => '削除者会員番号',
|
||||
'trash_user_name' => '削除者ユーザー名',
|
||||
'trash_nick_name' => '削除者ニックネーム',
|
||||
'trash_date' => '削除日',
|
||||
'trash_ipaddress' => '削除者のIPアドレス',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "ごみ箱に移動させました。";
|
||||
$lang->msg_not_selected_document = '選択された書き込みがありません。';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/jp.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻訳:RisaPapa、ミニミ
|
||||
* @brief ドキュメント(document)モジュールの基本言語パッケージ
|
||||
**/
|
||||
|
||||
$lang->document_list = 'ドキュメントリスト';
|
||||
$lang->thumbnail_type = 'サムネールタイプ';
|
||||
$lang->thumbnail_crop = 'トリミングする';
|
||||
$lang->thumbnail_ratio = '比率に合わせる';
|
||||
$lang->cmd_delete_all_thumbnail = 'すべてのサムネール削除';
|
||||
$lang->title_bold = 'タイトル太字';
|
||||
$lang->title_color = 'タイトルの色';
|
||||
$lang->new_document_count = '新規';
|
||||
|
||||
$lang->parent_category_title = '上位カテゴリ名';
|
||||
$lang->category_title = 'カテゴリ名';
|
||||
$lang->category_color = 'カテゴリフォント色';
|
||||
$lang->expand = '拡張表示';
|
||||
$lang->category_group_srls = 'グループ制限';
|
||||
|
||||
$lang->cmd_make_child = '下位カテゴリ追加';
|
||||
$lang->cmd_enable_move_category = 'カテゴリ位置変更(選択後上のメニューをドラッグして下さい)';
|
||||
|
||||
$lang->about_category_title = 'カテゴリ名を入力して下さい。';
|
||||
$lang->about_expand = 'チェックすると常に展開された状態になります。';
|
||||
$lang->about_category_group_srls = '選択したグループのみ、現在のカテゴリの指定が出来ます。';
|
||||
$lang->about_category_color = 'カテゴリのフォント色を設定します。';
|
||||
|
||||
$lang->cmd_search_next = '継続検索';
|
||||
|
||||
$lang->cmd_temp_save = '一時保存';
|
||||
|
||||
$lang->cmd_toggle_checked_document = '選択項目反転';
|
||||
$lang->cmd_delete_checked_document = '選択項目削除';
|
||||
$lang->cmd_document_do = 'この書き込みを..';
|
||||
|
||||
$lang->msg_cart_is_null = '削除する書き込みを選択して下さい。';
|
||||
$lang->msg_category_not_moved = '移動出来ません。';
|
||||
$lang->msg_is_secret = '非公開設定の書き込みです。';
|
||||
$lang->msg_checked_document_is_deleted = '%d個の書き込みが削除されました。';
|
||||
|
||||
$lang->move_target_module = '移動対象モジュール';
|
||||
|
||||
// 管理者ページで検索する内容
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'タイトル',
|
||||
'content' => '内容',
|
||||
'user_id' => 'ユーザーID',
|
||||
'member_srl' => '会員番号',
|
||||
'user_name' => 'ユーザ名',
|
||||
'nick_name' => 'ニックネーム',
|
||||
'email_address' => 'メールアドレス',
|
||||
'homepage' => 'ホームページURL',
|
||||
'is_notice' => 'お知らせ',
|
||||
'is_secret' => '非公開書き込み',
|
||||
'tags' => 'タグ',
|
||||
'readed_count' => '閲覧数(以上)',
|
||||
'voted_count' => '推薦数(以上)',
|
||||
'comment_count ' => 'コメント数(以上)',
|
||||
'trackback_count ' => 'トラックバック数(以上)',
|
||||
'uploaded_count ' => '添付ファイル数(以上)',
|
||||
'regdate' => '登録日',
|
||||
'last_update' => '最近修正日',
|
||||
'ipaddress' => 'IPアドレス',
|
||||
);
|
||||
|
||||
$lang->alias = 'アリアス(Alias)';
|
||||
$lang->history = '履歴';
|
||||
$lang->about_use_history = '履歴機能を使用するかを設定します。履歴機能を使用すると文書修正のバージョンを管理し、過去のバージョンから復元することも可能です。';
|
||||
$lang->trace_only = '記録だけ残す';
|
||||
|
||||
$lang->cmd_trash = "ごみ箱";
|
||||
$lang->cmd_restore = "差し戻し";
|
||||
$lang->cmd_restore_all = "すべて差し戻し";
|
||||
|
||||
$lang->in_trash = "ごみ箱";
|
||||
$lang->trash_nick_name = "削除者のニックネーム";
|
||||
$lang->trash_date = "削除日";
|
||||
$lang->trash_description = "理由";
|
||||
|
||||
// 管理者ページでのごみ箱の検索対象
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'タイトル',
|
||||
'content' => '内容',
|
||||
'user_id' => 'ユーザーID',
|
||||
'member_srl' => '会員番号',
|
||||
'user_name' => 'ユーザー名',
|
||||
'nick_name' => 'ニックネーム',
|
||||
'trash_member_srl' => '削除者会員番号',
|
||||
'trash_user_name' => '削除者ユーザー名',
|
||||
'trash_nick_name' => '削除者ニックネーム',
|
||||
'trash_date' => '削除日',
|
||||
'trash_ipaddress' => '削除者のIPアドレス',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "ごみ箱に移動させました。";
|
||||
$lang->msg_not_selected_document = '選択された書き込みがありません。';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,105 +1,105 @@
|
|||
<?php
|
||||
/**
|
||||
* @file ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief Russian basic language pack
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Список документов';
|
||||
$lang->thumbnail_type = 'Тип миниатюры';
|
||||
$lang->thumbnail_crop = 'Обрезать';
|
||||
$lang->thumbnail_ratio = 'Соотношение';
|
||||
$lang->cmd_delete_all_thumbnail = 'Удалить все миниарюры';
|
||||
$lang->move_target_module = "Переместить в";
|
||||
$lang->title_bold = 'Жирное название';
|
||||
$lang->title_color = 'Цвет названия';
|
||||
$lang->new_document_count = 'Новые документы';
|
||||
|
||||
$lang->parent_category_title = 'Название верхней категории';
|
||||
$lang->category_title = 'Категория';
|
||||
$lang->category_color = 'Цвет шрифта категории';
|
||||
$lang->expand = 'Развернуть';
|
||||
$lang->category_group_srls = 'Доступные группы';
|
||||
|
||||
$lang->about_category_title = 'Добавьте дочернюю категорию';
|
||||
$lang->cmd_enable_move_category = 'Изменить местоположение категории(после выделения перетащите верхнее меню)';
|
||||
|
||||
$lang->about_category_title = 'Введите название категории';
|
||||
$lang->about_expand = 'Если эта опция выбрана, расширение будут применено всегда';
|
||||
$lang->about_category_group_srls = 'Только выбранные группы можно отнести к этой категории';
|
||||
$lang->about_category_color = 'Установить цвет шрифта категории. ex) red или #ff0000';
|
||||
|
||||
$lang->cmd_search_next = 'Искать дальше';
|
||||
|
||||
$lang->about_category_color = '분류 폰트색깔을 지정합니다.';
|
||||
$lang->cmd_temp_save = 'Сохранить временно';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Перевернуть выбранные объекты';
|
||||
$lang->cmd_delete_checked_document = 'Удалить выбранные';
|
||||
$lang->cmd_document_do = 'Эту запись...';
|
||||
|
||||
$lang->msg_cart_is_null = 'Выберите записи,которые Вы хотите удалить';
|
||||
$lang->msg_category_not_moved = 'Невозможно переместить';
|
||||
$lang->msg_is_secret = 'Секретная запись';
|
||||
$lang->msg_checked_document_is_deleted = '%d записей удалено';
|
||||
|
||||
$lang->move_target_module = 'Этот модуль';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Тема',
|
||||
'content' => 'Содержание',
|
||||
'user_id' => 'ID пользователя',
|
||||
'member_srl' => 'No. пользователя',
|
||||
'user_name' => 'Имя пользователя',
|
||||
'nick_name' => 'Ник',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Домашняя страница',
|
||||
'is_notice' => 'Объявления',
|
||||
'is_secret' => 'Секретная запись',
|
||||
'tags' => 'Тег',
|
||||
'readed_count' => 'Количество просмотров (свыше)',
|
||||
'voted_count' => 'Количество голосов (свыше)',
|
||||
'comment_count ' => 'Количество записей (свыше)',
|
||||
'trackback_count ' => 'Количество трекбеков (свыше)',
|
||||
'uploaded_count ' => 'Количество вложений (прикрепленных файлов) (свыше)',
|
||||
'regdate' => 'Дата регистрации',
|
||||
'last_update' => 'Дата последнего обновления',
|
||||
'ipaddress' => 'IP-Адрес',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "History";
|
||||
$lang->about_use_history = "Determine whether to enable history feature, if it is enabled, update history would be stored and possible to restore old revisions.";
|
||||
$lang->trace_only = "Trace only";
|
||||
|
||||
$lang->cmd_trash = 'Корзина';
|
||||
$lang->cmd_restore = 'Восстановить';
|
||||
$lang->cmd_restore_all = 'Восстановить все';
|
||||
|
||||
$lang->in_trash = 'Корзина';
|
||||
$lang->trash_nick_name = 'Ник удалителя';
|
||||
$lang->trash_date = 'Дата удаления';
|
||||
$lang->trash_description = 'Описание';
|
||||
|
||||
// Возможен поиск на странице админа
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Тема',
|
||||
'content' => 'Содержание',
|
||||
'user_id' => 'ID',
|
||||
'member_srl' =>'No пользователя',
|
||||
'user_name' => 'Имя пользователя',
|
||||
'nick_name' => 'Ник',
|
||||
'trash_member_srl' => 'Номер удалителя',
|
||||
'trash_user_name' => 'Имя удалителя',
|
||||
'trash_nick_name' => 'Ник удалителя',
|
||||
'trash_date' => 'Дата удаления',
|
||||
'trash_ipaddress' => 'IP адрес удалителя',
|
||||
);
|
||||
|
||||
$lang->success_trashed = 'Удалено в корзину';
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file ru.lang.php
|
||||
* @author NHN (developers@xpressengine.com) | translation by Maslennikov Evgeny aka X-[Vr]bL1s5 | e-mail: x-bliss[a]tut.by; ICQ: 225035467;
|
||||
* @brief Russian basic language pack
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Список документов';
|
||||
$lang->thumbnail_type = 'Тип миниатюры';
|
||||
$lang->thumbnail_crop = 'Обрезать';
|
||||
$lang->thumbnail_ratio = 'Соотношение';
|
||||
$lang->cmd_delete_all_thumbnail = 'Удалить все миниарюры';
|
||||
$lang->move_target_module = "Переместить в";
|
||||
$lang->title_bold = 'Жирное название';
|
||||
$lang->title_color = 'Цвет названия';
|
||||
$lang->new_document_count = 'Новые документы';
|
||||
|
||||
$lang->parent_category_title = 'Название верхней категории';
|
||||
$lang->category_title = 'Категория';
|
||||
$lang->category_color = 'Цвет шрифта категории';
|
||||
$lang->expand = 'Развернуть';
|
||||
$lang->category_group_srls = 'Доступные группы';
|
||||
|
||||
$lang->about_category_title = 'Добавьте дочернюю категорию';
|
||||
$lang->cmd_enable_move_category = 'Изменить местоположение категории(после выделения перетащите верхнее меню)';
|
||||
|
||||
$lang->about_category_title = 'Введите название категории';
|
||||
$lang->about_expand = 'Если эта опция выбрана, расширение будут применено всегда';
|
||||
$lang->about_category_group_srls = 'Только выбранные группы можно отнести к этой категории';
|
||||
$lang->about_category_color = 'Установить цвет шрифта категории. ex) red или #ff0000';
|
||||
|
||||
$lang->cmd_search_next = 'Искать дальше';
|
||||
|
||||
$lang->about_category_color = '분류 폰트색깔을 지정합니다.';
|
||||
$lang->cmd_temp_save = 'Сохранить временно';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Перевернуть выбранные объекты';
|
||||
$lang->cmd_delete_checked_document = 'Удалить выбранные';
|
||||
$lang->cmd_document_do = 'Эту запись...';
|
||||
|
||||
$lang->msg_cart_is_null = 'Выберите записи,которые Вы хотите удалить';
|
||||
$lang->msg_category_not_moved = 'Невозможно переместить';
|
||||
$lang->msg_is_secret = 'Секретная запись';
|
||||
$lang->msg_checked_document_is_deleted = '%d записей удалено';
|
||||
|
||||
$lang->move_target_module = 'Этот модуль';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Тема',
|
||||
'content' => 'Содержание',
|
||||
'user_id' => 'ID пользователя',
|
||||
'member_srl' => 'No. пользователя',
|
||||
'user_name' => 'Имя пользователя',
|
||||
'nick_name' => 'Ник',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Домашняя страница',
|
||||
'is_notice' => 'Объявления',
|
||||
'is_secret' => 'Секретная запись',
|
||||
'tags' => 'Тег',
|
||||
'readed_count' => 'Количество просмотров (свыше)',
|
||||
'voted_count' => 'Количество голосов (свыше)',
|
||||
'comment_count ' => 'Количество записей (свыше)',
|
||||
'trackback_count ' => 'Количество трекбеков (свыше)',
|
||||
'uploaded_count ' => 'Количество вложений (прикрепленных файлов) (свыше)',
|
||||
'regdate' => 'Дата регистрации',
|
||||
'last_update' => 'Дата последнего обновления',
|
||||
'ipaddress' => 'IP-Адрес',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "History";
|
||||
$lang->about_use_history = "Determine whether to enable history feature, if it is enabled, update history would be stored and possible to restore old revisions.";
|
||||
$lang->trace_only = "Trace only";
|
||||
|
||||
$lang->cmd_trash = 'Корзина';
|
||||
$lang->cmd_restore = 'Восстановить';
|
||||
$lang->cmd_restore_all = 'Восстановить все';
|
||||
|
||||
$lang->in_trash = 'Корзина';
|
||||
$lang->trash_nick_name = 'Ник удалителя';
|
||||
$lang->trash_date = 'Дата удаления';
|
||||
$lang->trash_description = 'Описание';
|
||||
|
||||
// Возможен поиск на странице админа
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Тема',
|
||||
'content' => 'Содержание',
|
||||
'user_id' => 'ID',
|
||||
'member_srl' =>'No пользователя',
|
||||
'user_name' => 'Имя пользователя',
|
||||
'nick_name' => 'Ник',
|
||||
'trash_member_srl' => 'Номер удалителя',
|
||||
'trash_user_name' => 'Имя удалителя',
|
||||
'trash_nick_name' => 'Ник удалителя',
|
||||
'trash_date' => 'Дата удаления',
|
||||
'trash_ipaddress' => 'IP адрес удалителя',
|
||||
);
|
||||
|
||||
$lang->success_trashed = 'Удалено в корзину';
|
||||
|
||||
$lang->success_trashed = "Successfully moved to trashcan";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,99 +1,99 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Document module's basic language pack
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Belge Listesi';
|
||||
$lang->thumbnail_type = 'Küçük Resim Türü';
|
||||
$lang->thumbnail_crop = 'Kırpılmış';
|
||||
$lang->thumbnail_ratio = 'Oran';
|
||||
$lang->cmd_delete_all_thumbnail = 'Tüm küçük resimleri sil';
|
||||
$lang->move_target_module = "Hedef modül ";
|
||||
$lang->title_bold = 'Kalın';
|
||||
$lang->title_color = 'Renk';
|
||||
$lang->new_document_count = 'Yeni belgeler';
|
||||
|
||||
$lang->parent_category_title = 'Üst Kategori';
|
||||
$lang->category_title = 'Kategori';
|
||||
$lang->category_color = 'Kategori Yazı Rengi';
|
||||
$lang->expand = 'Genişlet';
|
||||
$lang->category_group_srls = 'Erişilebilir Grup';
|
||||
|
||||
$lang->cmd_make_child = 'Alt Kategori Ekle';
|
||||
$lang->cmd_enable_move_category = "Kategori konumunu değiştir (Seçtikten sonra anamenüyü taşıyınız)";
|
||||
|
||||
$lang->about_category_title = 'Lütfen kategori ismi giriniz';
|
||||
$lang->about_expand = 'Bu seçimle, her zaman genişletilmiş olacaktır';
|
||||
$lang->about_category_group_srls = 'Sadece seçilen grup geçerli kategoriyi kullanabilecektir';
|
||||
$lang->about_category_color = 'Kategorinin yazı rengini ayarlayabilirsiniz.';
|
||||
|
||||
$lang->cmd_search_next = 'Sonrakini Ara';
|
||||
|
||||
$lang->cmd_temp_save = 'Geçiçi olarak Kaydet';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Seçili ögeleri ters çevir';
|
||||
$lang->cmd_delete_checked_document = 'Seçilenleri Sil';
|
||||
$lang->cmd_document_do = 'Şunu yap';
|
||||
|
||||
$lang->msg_cart_is_null = 'Lütfen silinecek makaleleri seçiniz';
|
||||
$lang->msg_category_not_moved = 'Taşınamıyor';
|
||||
$lang->msg_is_secret = 'Bu gizli bir makaledir';
|
||||
$lang->msg_checked_document_is_deleted = '%d makale silinmiştir';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Konu',
|
||||
'content' => 'İçerik',
|
||||
'user_id' => 'Kullanıcı Kimliği',
|
||||
'member_srl' => 'Üye Seri Numarası',
|
||||
'user_name' => 'Kullanıcı İsmi',
|
||||
'nick_name' => 'Rumuz',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Anasayfa',
|
||||
'is_notice' => 'Bildirim',
|
||||
'is_secret' => 'Gizli',
|
||||
'tags' => 'Etiket',
|
||||
'readed_count' => 'Gösterim Sayısı (over)',
|
||||
'voted_count' => 'Oylama Sayısı (over)',
|
||||
'comment_count ' => 'Yorum Sayısı (over)',
|
||||
'trackback_count ' => 'Geri İzleme Sayısı (over)',
|
||||
'uploaded_count ' => 'Eklerin Sayısı (over)',
|
||||
'regdate' => 'Tarih',
|
||||
'last_update' => 'Son Güncelleme Tarihi',
|
||||
'ipaddress' => 'IP Adresi',
|
||||
);
|
||||
|
||||
$lang->alias = "Diğer Adıyla";
|
||||
$lang->history = "Geçmiş";
|
||||
$lang->about_use_history = "Geçmiş, belgeleri önceki değişikliklerine dönüştürmek içindir.";
|
||||
$lang->trace_only = "Sadece izleme";
|
||||
|
||||
$lang->cmd_trash = 'Çöp Kutusu';
|
||||
$lang->cmd_restore = 'Geri Yükleme';
|
||||
$lang->cmd_restore_all = 'Hepsini Geri Yükle';
|
||||
|
||||
$lang->in_trash = 'Çöp Kutusu';
|
||||
$lang->trash_nick_name = 'Silici';
|
||||
$lang->trash_date = 'Silinme Tarihi';
|
||||
$lang->trash_description = 'Açıklama';
|
||||
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Başlık',
|
||||
'content' => 'İçerik',
|
||||
'user_id' => 'Kullanıcı Kimliği',
|
||||
'member_srl' => 'Üye Diziseli',
|
||||
'user_name' => 'Kullanıcı İsmi',
|
||||
'nick_name' => 'Rumuz',
|
||||
'trash_member_srl' => 'Silici Diziseli',
|
||||
'trash_user_name' => 'Silici İsmi',
|
||||
'trash_nick_name' => 'Silici rumuzu',
|
||||
'trash_date' => 'Silinme Tarihi',
|
||||
'trash_ipaddress' => 'Silici IP adresi',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "Başarıyla silindi";
|
||||
$lang->msg_not_selected_document = 'Hiçbir makale seçilmedi.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/en.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief Document module's basic language pack
|
||||
**/
|
||||
|
||||
$lang->document_list = 'Belge Listesi';
|
||||
$lang->thumbnail_type = 'Küçük Resim Türü';
|
||||
$lang->thumbnail_crop = 'Kırpılmış';
|
||||
$lang->thumbnail_ratio = 'Oran';
|
||||
$lang->cmd_delete_all_thumbnail = 'Tüm küçük resimleri sil';
|
||||
$lang->move_target_module = "Hedef modül ";
|
||||
$lang->title_bold = 'Kalın';
|
||||
$lang->title_color = 'Renk';
|
||||
$lang->new_document_count = 'Yeni belgeler';
|
||||
|
||||
$lang->parent_category_title = 'Üst Kategori';
|
||||
$lang->category_title = 'Kategori';
|
||||
$lang->category_color = 'Kategori Yazı Rengi';
|
||||
$lang->expand = 'Genişlet';
|
||||
$lang->category_group_srls = 'Erişilebilir Grup';
|
||||
|
||||
$lang->cmd_make_child = 'Alt Kategori Ekle';
|
||||
$lang->cmd_enable_move_category = "Kategori konumunu değiştir (Seçtikten sonra anamenüyü taşıyınız)";
|
||||
|
||||
$lang->about_category_title = 'Lütfen kategori ismi giriniz';
|
||||
$lang->about_expand = 'Bu seçimle, her zaman genişletilmiş olacaktır';
|
||||
$lang->about_category_group_srls = 'Sadece seçilen grup geçerli kategoriyi kullanabilecektir';
|
||||
$lang->about_category_color = 'Kategorinin yazı rengini ayarlayabilirsiniz.';
|
||||
|
||||
$lang->cmd_search_next = 'Sonrakini Ara';
|
||||
|
||||
$lang->cmd_temp_save = 'Geçiçi olarak Kaydet';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Seçili ögeleri ters çevir';
|
||||
$lang->cmd_delete_checked_document = 'Seçilenleri Sil';
|
||||
$lang->cmd_document_do = 'Şunu yap';
|
||||
|
||||
$lang->msg_cart_is_null = 'Lütfen silinecek makaleleri seçiniz';
|
||||
$lang->msg_category_not_moved = 'Taşınamıyor';
|
||||
$lang->msg_is_secret = 'Bu gizli bir makaledir';
|
||||
$lang->msg_checked_document_is_deleted = '%d makale silinmiştir';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Konu',
|
||||
'content' => 'İçerik',
|
||||
'user_id' => 'Kullanıcı Kimliği',
|
||||
'member_srl' => 'Üye Seri Numarası',
|
||||
'user_name' => 'Kullanıcı İsmi',
|
||||
'nick_name' => 'Rumuz',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Anasayfa',
|
||||
'is_notice' => 'Bildirim',
|
||||
'is_secret' => 'Gizli',
|
||||
'tags' => 'Etiket',
|
||||
'readed_count' => 'Gösterim Sayısı (over)',
|
||||
'voted_count' => 'Oylama Sayısı (over)',
|
||||
'comment_count ' => 'Yorum Sayısı (over)',
|
||||
'trackback_count ' => 'Geri İzleme Sayısı (over)',
|
||||
'uploaded_count ' => 'Eklerin Sayısı (over)',
|
||||
'regdate' => 'Tarih',
|
||||
'last_update' => 'Son Güncelleme Tarihi',
|
||||
'ipaddress' => 'IP Adresi',
|
||||
);
|
||||
|
||||
$lang->alias = "Diğer Adıyla";
|
||||
$lang->history = "Geçmiş";
|
||||
$lang->about_use_history = "Geçmiş, belgeleri önceki değişikliklerine dönüştürmek içindir.";
|
||||
$lang->trace_only = "Sadece izleme";
|
||||
|
||||
$lang->cmd_trash = 'Çöp Kutusu';
|
||||
$lang->cmd_restore = 'Geri Yükleme';
|
||||
$lang->cmd_restore_all = 'Hepsini Geri Yükle';
|
||||
|
||||
$lang->in_trash = 'Çöp Kutusu';
|
||||
$lang->trash_nick_name = 'Silici';
|
||||
$lang->trash_date = 'Silinme Tarihi';
|
||||
$lang->trash_description = 'Açıklama';
|
||||
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Başlık',
|
||||
'content' => 'İçerik',
|
||||
'user_id' => 'Kullanıcı Kimliği',
|
||||
'member_srl' => 'Üye Diziseli',
|
||||
'user_name' => 'Kullanıcı İsmi',
|
||||
'nick_name' => 'Rumuz',
|
||||
'trash_member_srl' => 'Silici Diziseli',
|
||||
'trash_user_name' => 'Silici İsmi',
|
||||
'trash_nick_name' => 'Silici rumuzu',
|
||||
'trash_date' => 'Silinme Tarihi',
|
||||
'trash_ipaddress' => 'Silici IP adresi',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "Başarıyla silindi";
|
||||
$lang->msg_not_selected_document = 'Hiçbir makale seçilmedi.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,103 +1,103 @@
|
|||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : DucDuy Dao (webmaster@xpressengine.vn) ░░
|
||||
░░ * @Website: http://xpressengine.vn ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
*/
|
||||
|
||||
$lang->document_list = 'Danh sách bài viết';
|
||||
$lang->thumbnail_type = 'Định dạng hình nhỏ';
|
||||
$lang->thumbnail_crop = 'Hình cắt';
|
||||
$lang->thumbnail_ratio = 'Tỉ lệ';
|
||||
$lang->cmd_delete_all_thumbnail = 'Xóa tất cả hình nhỏ';
|
||||
$lang->move_target_module = "Vị trí Module";
|
||||
$lang->title_bold = 'Chữ đậm';
|
||||
$lang->title_color = 'Màu';
|
||||
$lang->new_document_count = 'Bài viết mới';
|
||||
|
||||
$lang->parent_category_title = 'Tên thể loại chính';
|
||||
$lang->category_title = 'Tên thể loại nhỏ';
|
||||
$lang->category_color = 'Màu chữ';
|
||||
$lang->expand = 'Mở rộng';
|
||||
$lang->category_group_srls = 'Nhóm được cho phép';
|
||||
|
||||
$lang->cmd_make_child = 'Thêm thể loại nhỏ';
|
||||
$lang->cmd_enable_move_category = "Thay đổi vị trí thể loại (Kéo lên Menu trên sau khi lựa chọn)";
|
||||
|
||||
$lang->about_category_title = 'Hãy nhập tên thể loại';
|
||||
$lang->about_expand = 'Nếu sử dụng tùy chọn này, Thể loại sẽ luôn luôn được trải rộng.';
|
||||
$lang->about_category_group_srls = 'Chỉ những nhóm đã chọn mới được phép sử dụng thể loại này.';
|
||||
$lang->about_category_color = 'Bạn có thể đặt màu cho thể loại.';
|
||||
|
||||
$lang->cmd_search_next = 'Tìm tiếp';
|
||||
|
||||
$lang->cmd_temp_save = 'Lưu tạm thời';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Khôi phục những bài đã chọn';
|
||||
$lang->cmd_delete_checked_document = 'Xóa những bài đã chọn';
|
||||
$lang->cmd_document_do = 'Bình chọn / Phê bình';
|
||||
|
||||
$lang->msg_cart_is_null = 'Xin hãy chọn bài viết để xóa.';
|
||||
$lang->msg_category_not_moved = 'Không thể di chuyển';
|
||||
$lang->msg_is_secret = 'Bài viết này đã đặt bí mật';
|
||||
$lang->msg_checked_document_is_deleted = '%d bài viết đã được xóa.';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Tiêu đề',
|
||||
'content' => 'Nội dung',
|
||||
'user_id' => 'ID sử dụng',
|
||||
'member_srl' => 'Mã thành viên',
|
||||
'user_name' => 'Tên',
|
||||
'nick_name' => 'Nickname',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Trang chủ',
|
||||
'is_notice' => 'Chú ý',
|
||||
'is_secret' => 'Bí mật',
|
||||
'tags' => 'Tag',
|
||||
'readed_count' => 'Lượt xem',
|
||||
'voted_count' => 'Lượt bình chọn',
|
||||
'comment_count ' => 'Số bình luận',
|
||||
'trackback_count ' => 'Số liên kết Web',
|
||||
'uploaded_count ' => 'Số đính kèm',
|
||||
'regdate' => 'Ngày gửi',
|
||||
'last_update' => 'Cập nhật lần cuối',
|
||||
'ipaddress' => 'IP',
|
||||
);
|
||||
|
||||
$lang->alias = "Bí danh";
|
||||
$lang->history = "Lịch sử";
|
||||
$lang->about_use_history = "Chức năng này sẽ lưu lại những thay đổi trên bài viết. Nếu sử dụng chức năng này, bạn có thể khôi phục lại trạng thái ban đầu của bài viết.";
|
||||
$lang->trace_only = "Chỉ theo dõi";
|
||||
|
||||
$lang->cmd_trash = "Thùng rác";
|
||||
$lang->cmd_restore = "Khôi phục";
|
||||
$lang->cmd_restore_all = "Khôi phục tất cả";
|
||||
|
||||
$lang->in_trash = "Thùng rác";
|
||||
$lang->trash_nick_name = "Người xóa";
|
||||
$lang->trash_date = "Ngày xóa";
|
||||
$lang->trash_description = "Mô tả";
|
||||
|
||||
// 관리자 페이지에서 휴지통의 검색할 대상
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Tiêu đề',
|
||||
'content' => 'Nội dung',
|
||||
'user_id' => 'ID',
|
||||
'member_srl' => 'Mã số thành viên',
|
||||
'user_name' => 'Tên thật',
|
||||
'nick_name' => 'NickName',
|
||||
'trash_member_srl' => 'Mã số người xóa',
|
||||
'trash_user_name' => 'Tên người xóa',
|
||||
'trash_nick_name' => 'NickName người xóa',
|
||||
'trash_date' => 'Ngày xóa',
|
||||
'trash_ipaddress' => 'IP Người xóa',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "Đã chuyển tới thùng rác thành công.";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
<?php
|
||||
/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
░░ * @File : common/lang/vi.lang.php ░░
|
||||
░░ * @Author : NHN (developers@xpressengine.com) ░░
|
||||
░░ * @Trans : DucDuy Dao (webmaster@xpressengine.vn) ░░
|
||||
░░ * @Website: http://xpressengine.vn ░░
|
||||
░░ * @Brief : Vietnamese Language Pack (Only basic words are included here) ░░
|
||||
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
*/
|
||||
|
||||
$lang->document_list = 'Danh sách bài viết';
|
||||
$lang->thumbnail_type = 'Định dạng hình nhỏ';
|
||||
$lang->thumbnail_crop = 'Hình cắt';
|
||||
$lang->thumbnail_ratio = 'Tỉ lệ';
|
||||
$lang->cmd_delete_all_thumbnail = 'Xóa tất cả hình nhỏ';
|
||||
$lang->move_target_module = "Vị trí Module";
|
||||
$lang->title_bold = 'Chữ đậm';
|
||||
$lang->title_color = 'Màu';
|
||||
$lang->new_document_count = 'Bài viết mới';
|
||||
|
||||
$lang->parent_category_title = 'Tên thể loại chính';
|
||||
$lang->category_title = 'Tên thể loại nhỏ';
|
||||
$lang->category_color = 'Màu chữ';
|
||||
$lang->expand = 'Mở rộng';
|
||||
$lang->category_group_srls = 'Nhóm được cho phép';
|
||||
|
||||
$lang->cmd_make_child = 'Thêm thể loại nhỏ';
|
||||
$lang->cmd_enable_move_category = "Thay đổi vị trí thể loại (Kéo lên Menu trên sau khi lựa chọn)";
|
||||
|
||||
$lang->about_category_title = 'Hãy nhập tên thể loại';
|
||||
$lang->about_expand = 'Nếu sử dụng tùy chọn này, Thể loại sẽ luôn luôn được trải rộng.';
|
||||
$lang->about_category_group_srls = 'Chỉ những nhóm đã chọn mới được phép sử dụng thể loại này.';
|
||||
$lang->about_category_color = 'Bạn có thể đặt màu cho thể loại.';
|
||||
|
||||
$lang->cmd_search_next = 'Tìm tiếp';
|
||||
|
||||
$lang->cmd_temp_save = 'Lưu tạm thời';
|
||||
|
||||
$lang->cmd_toggle_checked_document = 'Khôi phục những bài đã chọn';
|
||||
$lang->cmd_delete_checked_document = 'Xóa những bài đã chọn';
|
||||
$lang->cmd_document_do = 'Bình chọn / Phê bình';
|
||||
|
||||
$lang->msg_cart_is_null = 'Xin hãy chọn bài viết để xóa.';
|
||||
$lang->msg_category_not_moved = 'Không thể di chuyển';
|
||||
$lang->msg_is_secret = 'Bài viết này đã đặt bí mật';
|
||||
$lang->msg_checked_document_is_deleted = '%d bài viết đã được xóa.';
|
||||
|
||||
// Search targets in admin page
|
||||
$lang->search_target_list = array(
|
||||
'title' => 'Tiêu đề',
|
||||
'content' => 'Nội dung',
|
||||
'user_id' => 'ID sử dụng',
|
||||
'member_srl' => 'Mã thành viên',
|
||||
'user_name' => 'Tên',
|
||||
'nick_name' => 'Nickname',
|
||||
'email_address' => 'Email',
|
||||
'homepage' => 'Trang chủ',
|
||||
'is_notice' => 'Chú ý',
|
||||
'is_secret' => 'Bí mật',
|
||||
'tags' => 'Tag',
|
||||
'readed_count' => 'Lượt xem',
|
||||
'voted_count' => 'Lượt bình chọn',
|
||||
'comment_count ' => 'Số bình luận',
|
||||
'trackback_count ' => 'Số liên kết Web',
|
||||
'uploaded_count ' => 'Số đính kèm',
|
||||
'regdate' => 'Ngày gửi',
|
||||
'last_update' => 'Cập nhật lần cuối',
|
||||
'ipaddress' => 'IP',
|
||||
);
|
||||
|
||||
$lang->alias = "Bí danh";
|
||||
$lang->history = "Lịch sử";
|
||||
$lang->about_use_history = "Chức năng này sẽ lưu lại những thay đổi trên bài viết. Nếu sử dụng chức năng này, bạn có thể khôi phục lại trạng thái ban đầu của bài viết.";
|
||||
$lang->trace_only = "Chỉ theo dõi";
|
||||
|
||||
$lang->cmd_trash = "Thùng rác";
|
||||
$lang->cmd_restore = "Khôi phục";
|
||||
$lang->cmd_restore_all = "Khôi phục tất cả";
|
||||
|
||||
$lang->in_trash = "Thùng rác";
|
||||
$lang->trash_nick_name = "Người xóa";
|
||||
$lang->trash_date = "Ngày xóa";
|
||||
$lang->trash_description = "Mô tả";
|
||||
|
||||
// 관리자 페이지에서 휴지통의 검색할 대상
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => 'Tiêu đề',
|
||||
'content' => 'Nội dung',
|
||||
'user_id' => 'ID',
|
||||
'member_srl' => 'Mã số thành viên',
|
||||
'user_name' => 'Tên thật',
|
||||
'nick_name' => 'NickName',
|
||||
'trash_member_srl' => 'Mã số người xóa',
|
||||
'trash_user_name' => 'Tên người xóa',
|
||||
'trash_nick_name' => 'NickName người xóa',
|
||||
'trash_date' => 'Ngày xóa',
|
||||
'trash_ipaddress' => 'IP Người xóa',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "Đã chuyển tới thùng rác thành công.";
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,101 +1,101 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 文章(document)模块语言包
|
||||
**/
|
||||
|
||||
$lang->document_list = '主题列表';
|
||||
$lang->thumbnail_type = '缩略图生成方式';
|
||||
$lang->thumbnail_crop = '裁减(按指定大小裁剪图片)';
|
||||
$lang->thumbnail_ratio = '比例(按原图比例缩略处理)';
|
||||
$lang->cmd_delete_all_thumbnail = '删除全部缩略图';
|
||||
$lang->title_bold = '粗标题';
|
||||
$lang->title_color = '标题颜色';
|
||||
$lang->new_document_count = '新帖';
|
||||
|
||||
$lang->parent_category_title = '上级分类名';
|
||||
$lang->category_title = '分类名';
|
||||
$lang->category_color = '分类颜色';
|
||||
$lang->expand = '展开';
|
||||
$lang->category_group_srls = '用户组';
|
||||
|
||||
$lang->cmd_make_child = '添加下级分类';
|
||||
$lang->cmd_enable_move_category = "分类顺序(勾选后用鼠标拖动分类项)";
|
||||
|
||||
$lang->about_category_title = '请输入分类名。';
|
||||
$lang->about_expand = '选择此项将维持展开状态。';
|
||||
$lang->about_category_group_srls = '所选用户组才可以查看此分类。';
|
||||
$lang->about_category_color = '请指定分类颜色(必须带#符号)。ex)#ff0000';
|
||||
|
||||
$lang->cmd_search_next = '继续搜索';
|
||||
|
||||
$lang->cmd_temp_save = '临时保存';
|
||||
|
||||
$lang->cmd_toggle_checked_document = '反选';
|
||||
$lang->cmd_delete_checked_document = '删除所选';
|
||||
$lang->cmd_document_do = '将把此主题..';
|
||||
|
||||
$lang->msg_cart_is_null = '请选择要删除的文章。';
|
||||
$lang->msg_category_not_moved = '不能移动!';
|
||||
$lang->msg_is_secret = '这是密帖!';
|
||||
$lang->msg_checked_document_is_deleted = '删除了%d个文章。';
|
||||
|
||||
$lang->move_target_module = '目标模块';
|
||||
|
||||
// 管理页面查找的对象
|
||||
$lang->search_target_list = array(
|
||||
'title' => '标题',
|
||||
'content' => '内容',
|
||||
'user_id' => 'I D',
|
||||
'member_srl' => '会员编号',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '昵称',
|
||||
'email_address' => '电子邮件',
|
||||
'homepage' => '主页',
|
||||
'is_notice' => '公告',
|
||||
'is_secret' => '密帖',
|
||||
'tags' => '标签',
|
||||
'readed_count' => '查看数(以上)',
|
||||
'voted_count' => '推荐数(以上)',
|
||||
'comment_count ' => '评论数(以上)',
|
||||
'trackback_count ' => '引用数(以上)',
|
||||
'uploaded_count ' => '上传附件数(以上)',
|
||||
'regdate' => '登录日期',
|
||||
'last_update' => '最近更新日期',
|
||||
'ipaddress' => 'IP 地址',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "历史版本功能";
|
||||
$lang->about_use_history = "启用历史版本功能它将记录主题修改版本,并还可以复原到之前版本。";
|
||||
$lang->trace_only = "只留痕迹";
|
||||
|
||||
$lang->cmd_trash = "回收箱";
|
||||
$lang->cmd_restore = "复原";
|
||||
$lang->cmd_restore_all = "全部复原";
|
||||
|
||||
$lang->in_trash = "回收箱";
|
||||
$lang->trash_nick_name = "操作人昵称";
|
||||
$lang->trash_date = "删除日期";
|
||||
$lang->trash_description = "说明";
|
||||
|
||||
// 管理页面回收箱搜索对象
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => '标题',
|
||||
'content' => '内容',
|
||||
'user_id' => '用户名',
|
||||
'member_srl' => '会员编号',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '昵称',
|
||||
'trash_member_srl' => '操作人会员编号',
|
||||
'trash_user_name' => '操作人用户名',
|
||||
'trash_nick_name' => '操作人昵称',
|
||||
'trash_date' => '删除日期',
|
||||
'trash_ipaddress' => '操作人IP地址',
|
||||
);
|
||||
|
||||
$lang->success_trashed = '已成功移除到回收箱。';
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/zh-CN.lang.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief 文章(document)模块语言包
|
||||
**/
|
||||
|
||||
$lang->document_list = '主题列表';
|
||||
$lang->thumbnail_type = '缩略图生成方式';
|
||||
$lang->thumbnail_crop = '裁减(按指定大小裁剪图片)';
|
||||
$lang->thumbnail_ratio = '比例(按原图比例缩略处理)';
|
||||
$lang->cmd_delete_all_thumbnail = '删除全部缩略图';
|
||||
$lang->title_bold = '粗标题';
|
||||
$lang->title_color = '标题颜色';
|
||||
$lang->new_document_count = '新帖';
|
||||
|
||||
$lang->parent_category_title = '上级分类名';
|
||||
$lang->category_title = '分类名';
|
||||
$lang->category_color = '分类颜色';
|
||||
$lang->expand = '展开';
|
||||
$lang->category_group_srls = '用户组';
|
||||
|
||||
$lang->cmd_make_child = '添加下级分类';
|
||||
$lang->cmd_enable_move_category = "分类顺序(勾选后用鼠标拖动分类项)";
|
||||
|
||||
$lang->about_category_title = '请输入分类名。';
|
||||
$lang->about_expand = '选择此项将维持展开状态。';
|
||||
$lang->about_category_group_srls = '所选用户组才可以查看此分类。';
|
||||
$lang->about_category_color = '请指定分类颜色(必须带#符号)。ex)#ff0000';
|
||||
|
||||
$lang->cmd_search_next = '继续搜索';
|
||||
|
||||
$lang->cmd_temp_save = '临时保存';
|
||||
|
||||
$lang->cmd_toggle_checked_document = '反选';
|
||||
$lang->cmd_delete_checked_document = '删除所选';
|
||||
$lang->cmd_document_do = '将把此主题..';
|
||||
|
||||
$lang->msg_cart_is_null = '请选择要删除的文章。';
|
||||
$lang->msg_category_not_moved = '不能移动!';
|
||||
$lang->msg_is_secret = '这是密帖!';
|
||||
$lang->msg_checked_document_is_deleted = '删除了%d个文章。';
|
||||
|
||||
$lang->move_target_module = '目标模块';
|
||||
|
||||
// 管理页面查找的对象
|
||||
$lang->search_target_list = array(
|
||||
'title' => '标题',
|
||||
'content' => '内容',
|
||||
'user_id' => 'I D',
|
||||
'member_srl' => '会员编号',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '昵称',
|
||||
'email_address' => '电子邮件',
|
||||
'homepage' => '主页',
|
||||
'is_notice' => '公告',
|
||||
'is_secret' => '密帖',
|
||||
'tags' => '标签',
|
||||
'readed_count' => '查看数(以上)',
|
||||
'voted_count' => '推荐数(以上)',
|
||||
'comment_count ' => '评论数(以上)',
|
||||
'trackback_count ' => '引用数(以上)',
|
||||
'uploaded_count ' => '上传附件数(以上)',
|
||||
'regdate' => '登录日期',
|
||||
'last_update' => '最近更新日期',
|
||||
'ipaddress' => 'IP 地址',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "历史版本功能";
|
||||
$lang->about_use_history = "启用历史版本功能它将记录主题修改版本,并还可以复原到之前版本。";
|
||||
$lang->trace_only = "只留痕迹";
|
||||
|
||||
$lang->cmd_trash = "回收箱";
|
||||
$lang->cmd_restore = "复原";
|
||||
$lang->cmd_restore_all = "全部复原";
|
||||
|
||||
$lang->in_trash = "回收箱";
|
||||
$lang->trash_nick_name = "操作人昵称";
|
||||
$lang->trash_date = "删除日期";
|
||||
$lang->trash_description = "说明";
|
||||
|
||||
// 管理页面回收箱搜索对象
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => '标题',
|
||||
'content' => '内容',
|
||||
'user_id' => '用户名',
|
||||
'member_srl' => '会员编号',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '昵称',
|
||||
'trash_member_srl' => '操作人会员编号',
|
||||
'trash_user_name' => '操作人用户名',
|
||||
'trash_nick_name' => '操作人昵称',
|
||||
'trash_date' => '删除日期',
|
||||
'trash_ipaddress' => '操作人IP地址',
|
||||
);
|
||||
|
||||
$lang->success_trashed = '已成功移除到回收箱。';
|
||||
$lang->msg_not_selected_document = '선택된 문서가 없습니다.';
|
||||
$lang->show_voted_member = '사용자 노출';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,101 +1,101 @@
|
|||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 主題(document)模組正體中文語言
|
||||
**/
|
||||
|
||||
$lang->document_list = '主題列表';
|
||||
$lang->thumbnail_type = '縮圖建立方式';
|
||||
$lang->thumbnail_crop = '裁減';
|
||||
$lang->thumbnail_ratio = '比例';
|
||||
$lang->cmd_delete_all_thumbnail = '刪除全部縮圖';
|
||||
$lang->title_bold = '粗體';
|
||||
$lang->title_color = '標題顏色';
|
||||
$lang->new_document_count = 'N';
|
||||
|
||||
$lang->parent_category_title = '主分類';
|
||||
$lang->category_title = '分類名稱';
|
||||
$lang->category_color = '分類顏色';
|
||||
$lang->expand = '展開';
|
||||
$lang->category_group_srls = '群組';
|
||||
|
||||
$lang->cmd_make_child = '新增子分類';
|
||||
$lang->cmd_enable_move_category = '分類順序(勾選後用滑鼠拖曳分類項目)';
|
||||
|
||||
$lang->about_category_title = '請輸入分類名稱。';
|
||||
$lang->about_expand = '選擇此項將維持展開狀態。';
|
||||
$lang->about_category_group_srls = '被選擇的群組才可以檢視此分類。';
|
||||
$lang->about_category_color = '設定分類顏色。例)紅色為 #ff0000';
|
||||
|
||||
$lang->cmd_search_next = '繼續搜尋';
|
||||
|
||||
$lang->cmd_temp_save = '臨時儲存';
|
||||
|
||||
$lang->cmd_toggle_checked_document = '反選';
|
||||
$lang->cmd_delete_checked_document = '刪除所選';
|
||||
$lang->cmd_document_do = '將此主題..';
|
||||
|
||||
$lang->msg_cart_is_null = '請選擇要刪除的文章。';
|
||||
$lang->msg_category_not_moved = '無法移動!';
|
||||
$lang->msg_is_secret = '秘密!';
|
||||
$lang->msg_checked_document_is_deleted = '刪除%d個文章。';
|
||||
|
||||
$lang->move_target_module = '移到';
|
||||
|
||||
// 管理者頁面中搜尋的內容
|
||||
$lang->search_target_list = array(
|
||||
'title' => '標題',
|
||||
'content' => '內容',
|
||||
'user_id' => '帳號',
|
||||
'member_srl' => '會員編號',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '暱稱',
|
||||
'email_address' => '電子郵件',
|
||||
'homepage' => '主頁',
|
||||
'is_notice' => '公告',
|
||||
'is_secret' => '秘密',
|
||||
'tags' => '標籤',
|
||||
'readed_count' => '點閱數(以上)',
|
||||
'voted_count' => '推薦數(以上)',
|
||||
'comment_count ' => '評論數(以上)',
|
||||
'trackback_count ' => '引用數(以上)',
|
||||
'uploaded_count ' => '上傳檔案數(以上)',
|
||||
'regdate' => '登錄日期',
|
||||
'last_update' => '最近更新',
|
||||
'ipaddress' => 'IP位址',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "歷史紀錄";
|
||||
$lang->about_use_history = "選擇是否使用歷史記錄功能。選擇使用,將能夠編輯歷史紀錄並還原。";
|
||||
$lang->trace_only = "追蹤";
|
||||
|
||||
$lang->cmd_trash = "垃圾桶";
|
||||
$lang->cmd_restore = "還原";
|
||||
$lang->cmd_restore_all = "全部還原";
|
||||
|
||||
$lang->in_trash = "垃圾桶";
|
||||
$lang->trash_nick_name = "暱稱";
|
||||
$lang->trash_date = "刪除日期";
|
||||
$lang->trash_description = "原因";
|
||||
|
||||
// 管理者頁面中垃圾桶的搜尋目標
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => '標題',
|
||||
'content' => '內容',
|
||||
'user_id' => '帳號',
|
||||
'member_srl' => '會員編號',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '暱稱',
|
||||
'trash_member_srl' => '移除會員編號',
|
||||
'trash_user_name' => '移除姓名',
|
||||
'trash_nick_name' => '移除暱稱',
|
||||
'trash_date' => '刪除日期',
|
||||
'trash_ipaddress' => '移除 IP 位址',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "成功地移到垃圾桶";
|
||||
$lang->msg_not_selected_document = '尚未選擇主題';
|
||||
$lang->show_voted_member = '投票會員';
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @file modules/document/lang/zh-TW.lang.php
|
||||
* @author NHN (developers@xpressengine.com) 翻譯:royallin
|
||||
* @brief 主題(document)模組正體中文語言
|
||||
**/
|
||||
|
||||
$lang->document_list = '主題列表';
|
||||
$lang->thumbnail_type = '縮圖建立方式';
|
||||
$lang->thumbnail_crop = '裁減';
|
||||
$lang->thumbnail_ratio = '比例';
|
||||
$lang->cmd_delete_all_thumbnail = '刪除全部縮圖';
|
||||
$lang->title_bold = '粗體';
|
||||
$lang->title_color = '標題顏色';
|
||||
$lang->new_document_count = 'N';
|
||||
|
||||
$lang->parent_category_title = '主分類';
|
||||
$lang->category_title = '分類名稱';
|
||||
$lang->category_color = '分類顏色';
|
||||
$lang->expand = '展開';
|
||||
$lang->category_group_srls = '群組';
|
||||
|
||||
$lang->cmd_make_child = '新增子分類';
|
||||
$lang->cmd_enable_move_category = '分類順序(勾選後用滑鼠拖曳分類項目)';
|
||||
|
||||
$lang->about_category_title = '請輸入分類名稱。';
|
||||
$lang->about_expand = '選擇此項將維持展開狀態。';
|
||||
$lang->about_category_group_srls = '被選擇的群組才可以檢視此分類。';
|
||||
$lang->about_category_color = '設定分類顏色。例)紅色為 #ff0000';
|
||||
|
||||
$lang->cmd_search_next = '繼續搜尋';
|
||||
|
||||
$lang->cmd_temp_save = '臨時儲存';
|
||||
|
||||
$lang->cmd_toggle_checked_document = '反選';
|
||||
$lang->cmd_delete_checked_document = '刪除所選';
|
||||
$lang->cmd_document_do = '將此主題..';
|
||||
|
||||
$lang->msg_cart_is_null = '請選擇要刪除的文章。';
|
||||
$lang->msg_category_not_moved = '無法移動!';
|
||||
$lang->msg_is_secret = '秘密!';
|
||||
$lang->msg_checked_document_is_deleted = '刪除%d個文章。';
|
||||
|
||||
$lang->move_target_module = '移到';
|
||||
|
||||
// 管理者頁面中搜尋的內容
|
||||
$lang->search_target_list = array(
|
||||
'title' => '標題',
|
||||
'content' => '內容',
|
||||
'user_id' => '帳號',
|
||||
'member_srl' => '會員編號',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '暱稱',
|
||||
'email_address' => '電子郵件',
|
||||
'homepage' => '主頁',
|
||||
'is_notice' => '公告',
|
||||
'is_secret' => '秘密',
|
||||
'tags' => '標籤',
|
||||
'readed_count' => '點閱數(以上)',
|
||||
'voted_count' => '推薦數(以上)',
|
||||
'comment_count ' => '評論數(以上)',
|
||||
'trackback_count ' => '引用數(以上)',
|
||||
'uploaded_count ' => '上傳檔案數(以上)',
|
||||
'regdate' => '登錄日期',
|
||||
'last_update' => '最近更新',
|
||||
'ipaddress' => 'IP位址',
|
||||
);
|
||||
|
||||
$lang->alias = "Alias";
|
||||
$lang->history = "歷史紀錄";
|
||||
$lang->about_use_history = "選擇是否使用歷史記錄功能。選擇使用,將能夠編輯歷史紀錄並還原。";
|
||||
$lang->trace_only = "追蹤";
|
||||
|
||||
$lang->cmd_trash = "垃圾桶";
|
||||
$lang->cmd_restore = "還原";
|
||||
$lang->cmd_restore_all = "全部還原";
|
||||
|
||||
$lang->in_trash = "垃圾桶";
|
||||
$lang->trash_nick_name = "暱稱";
|
||||
$lang->trash_date = "刪除日期";
|
||||
$lang->trash_description = "原因";
|
||||
|
||||
// 管理者頁面中垃圾桶的搜尋目標
|
||||
$lang->search_target_trash_list = array(
|
||||
'title' => '標題',
|
||||
'content' => '內容',
|
||||
'user_id' => '帳號',
|
||||
'member_srl' => '會員編號',
|
||||
'user_name' => '姓名',
|
||||
'nick_name' => '暱稱',
|
||||
'trash_member_srl' => '移除會員編號',
|
||||
'trash_user_name' => '移除姓名',
|
||||
'trash_nick_name' => '移除暱稱',
|
||||
'trash_date' => '刪除日期',
|
||||
'trash_ipaddress' => '移除 IP 位址',
|
||||
);
|
||||
|
||||
$lang->success_trashed = "成功地移到垃圾桶";
|
||||
$lang->msg_not_selected_document = '尚未選擇主題';
|
||||
$lang->show_voted_member = '投票會員';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<query id="getChildCategoryMinListOrder" action="select">
|
||||
<tables>
|
||||
<table name="document_categories" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="min(list_order)" alias="list_order" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="parent_srl" var="parent_srl" default="0" filter="number" notnull="notnull" />
|
||||
<condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
<query id="getChildCategoryMinListOrder" action="select">
|
||||
<tables>
|
||||
<table name="document_categories" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="min(list_order)" alias="list_order" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="parent_srl" var="parent_srl" default="0" filter="number" notnull="notnull" />
|
||||
<condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -1,70 +1,70 @@
|
|||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("filter/manage_checked_document.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll(); return false;" /></div></th>
|
||||
<th scope="col" class="wide"><div>{$lang->title}</div></th>
|
||||
<th scope="col"><div>{$lang->user_name}</div></th>
|
||||
<th scope="col"><div>{$lang->cmd_declare}</div></th>
|
||||
<th scope="col"><div>{$lang->readed_count}</div></th>
|
||||
<th scope="col"><div>{$lang->voted_count}</div></th>
|
||||
<th scope="col"><div>{$lang->date}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<tr>
|
||||
<td>{$no}</td>
|
||||
<td><input type="checkbox" name="cart" value="{$oDocument->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($oDocument->isCarted())-->checked="checked"<!--@end-->/></td>
|
||||
<td>
|
||||
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false">{$oDocument->getTitleText()}</a>
|
||||
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
[{$oDocument->getCommentCount()}]
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getTrackbackCount())-->
|
||||
[{$oDocument->getTrackbackCount()}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td><span class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</span></td>
|
||||
<td><strong>{$oDocument->get('declared_count')}</strong></td>
|
||||
<td>{$oDocument->get('readed_count')}</td>
|
||||
<td>{$oDocument->get('voted_count')}</td>
|
||||
<td>{$oDocument->getRegdate("Y-m-d")}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th colspan="8" class="button">
|
||||
<a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button black strong"><span>{$lang->cmd_manage_document}</span></a>
|
||||
<a href="#" onclick="doCancelDeclare();return false;" class="button"><span>{$lang->cmd_cancel_declare}</span></a>
|
||||
</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="clear"></div>
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("filter/manage_checked_document.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll(); return false;" /></div></th>
|
||||
<th scope="col" class="wide"><div>{$lang->title}</div></th>
|
||||
<th scope="col"><div>{$lang->user_name}</div></th>
|
||||
<th scope="col"><div>{$lang->cmd_declare}</div></th>
|
||||
<th scope="col"><div>{$lang->readed_count}</div></th>
|
||||
<th scope="col"><div>{$lang->voted_count}</div></th>
|
||||
<th scope="col"><div>{$lang->date}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<tr>
|
||||
<td>{$no}</td>
|
||||
<td><input type="checkbox" name="cart" value="{$oDocument->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($oDocument->isCarted())-->checked="checked"<!--@end-->/></td>
|
||||
<td>
|
||||
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false">{$oDocument->getTitleText()}</a>
|
||||
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
[{$oDocument->getCommentCount()}]
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getTrackbackCount())-->
|
||||
[{$oDocument->getTrackbackCount()}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td><span class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</span></td>
|
||||
<td><strong>{$oDocument->get('declared_count')}</strong></td>
|
||||
<td>{$oDocument->get('readed_count')}</td>
|
||||
<td>{$oDocument->get('voted_count')}</td>
|
||||
<td>{$oDocument->getRegdate("Y-m-d")}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th colspan="8" class="button">
|
||||
<a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button black strong"><span>{$lang->cmd_manage_document}</span></a>
|
||||
<a href="#" onclick="doCancelDeclare();return false;" class="button"><span>{$lang->cmd_cancel_declare}</span></a>
|
||||
</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="clear"></div>
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,100 +1,100 @@
|
|||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("filter/manage_checked_document.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
|
||||
<!-- 검색 -->
|
||||
<div class="fl">
|
||||
<form action="./" method="get" class="adminSearch">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||
|
||||
<fieldset>
|
||||
<select name="search_target">
|
||||
<option value="">{$lang->search_target}</option>
|
||||
<!--@foreach($lang->search_target_list as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" class="inputTypeText" />
|
||||
<span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
|
||||
<a href="{getUrl('','module',$module,'act',$act)}" class="button black"><span>{$lang->cmd_cancel}</span></a>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 모듈 선택 -->
|
||||
<div class="fr">
|
||||
<a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_find_module}</span></a>
|
||||
<a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button blue"><span>{$lang->cmd_manage_document}</span></a>
|
||||
</div>
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" class="rowTable clear">
|
||||
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></div></th>
|
||||
<th scope="col" class="wide"><div>{$lang->document}</div></th>
|
||||
<th scope="col"><div>{$lang->nick_name}</div></th>
|
||||
<th scope="col"><div>{$lang->readed_count}</div></th>
|
||||
<th scope="col"><div>{$lang->voted_count}</div></th>
|
||||
<th scope="col"><div>{$lang->date}</div></th>
|
||||
<th scope="col"><div>{$lang->ipaddress}</div></th>
|
||||
<th scope="col"><div>{$lang->alias}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<tr>
|
||||
<td class="number center">{$no}</td>
|
||||
<td class="center"><input type="checkbox" name="cart" value="{$oDocument->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($oDocument->isCarted())-->checked="checked"<!--@end-->/></td>
|
||||
<td class="left subject">
|
||||
<!--@if($oDocument->get('module_srl') != 0)-->
|
||||
<!--@if($oDocument->get('module_srl')==$oDocument->get('member_srl'))-->
|
||||
{$lang->cmd_save}
|
||||
<!--@else-->
|
||||
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false">{$oDocument->getTitle()}</a>
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
[{$lang->in_trash}] {$oDocument->getTitle()}
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
[{$oDocument->getCommentCount()}]
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getTrackbackCount())-->
|
||||
[{$oDocument->getTrackbackCount()}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="nowrap"><span class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</span></td>
|
||||
<td class="number center">{$oDocument->get('readed_count')}</td>
|
||||
<td class="number center">{$oDocument->get('voted_count')} / {$oDocument->get('blamed_count')}</td>
|
||||
<td class="date center nowrap">{$oDocument->getRegdate("Y-m-d H:i:s")}</td>
|
||||
<td class="number center nowrap"><a href="{getUrl('search_target','ipaddress','search_keyword',$oDocument->get('ipaddress'))}">{$oDocument->get('ipaddress')}</a></td>
|
||||
<td class="center"><a href="{getUrl('act','dispDocumentAdminAlias','document_srl',$oDocument->document_srl)}">{$lang->alias}</a>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl',$module_srl)}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl',$module_srl)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl',$module_srl)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("filter/manage_checked_document.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
|
||||
<!-- 검색 -->
|
||||
<div class="fl">
|
||||
<form action="./" method="get" class="adminSearch">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||
|
||||
<fieldset>
|
||||
<select name="search_target">
|
||||
<option value="">{$lang->search_target}</option>
|
||||
<!--@foreach($lang->search_target_list as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" class="inputTypeText" />
|
||||
<span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
|
||||
<a href="{getUrl('','module',$module,'act',$act)}" class="button black"><span>{$lang->cmd_cancel}</span></a>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 모듈 선택 -->
|
||||
<div class="fr">
|
||||
<a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_find_module}</span></a>
|
||||
<a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button blue"><span>{$lang->cmd_manage_document}</span></a>
|
||||
</div>
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" class="rowTable clear">
|
||||
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></div></th>
|
||||
<th scope="col" class="wide"><div>{$lang->document}</div></th>
|
||||
<th scope="col"><div>{$lang->nick_name}</div></th>
|
||||
<th scope="col"><div>{$lang->readed_count}</div></th>
|
||||
<th scope="col"><div>{$lang->voted_count}</div></th>
|
||||
<th scope="col"><div>{$lang->date}</div></th>
|
||||
<th scope="col"><div>{$lang->ipaddress}</div></th>
|
||||
<th scope="col"><div>{$lang->alias}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<tr>
|
||||
<td class="number center">{$no}</td>
|
||||
<td class="center"><input type="checkbox" name="cart" value="{$oDocument->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($oDocument->isCarted())-->checked="checked"<!--@end-->/></td>
|
||||
<td class="left subject">
|
||||
<!--@if($oDocument->get('module_srl') != 0)-->
|
||||
<!--@if($oDocument->get('module_srl')==$oDocument->get('member_srl'))-->
|
||||
{$lang->cmd_save}
|
||||
<!--@else-->
|
||||
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false">{$oDocument->getTitle()}</a>
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
[{$lang->in_trash}] {$oDocument->getTitle()}
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
[{$oDocument->getCommentCount()}]
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getTrackbackCount())-->
|
||||
[{$oDocument->getTrackbackCount()}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="nowrap"><span class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</span></td>
|
||||
<td class="number center">{$oDocument->get('readed_count')}</td>
|
||||
<td class="number center">{$oDocument->get('voted_count')} / {$oDocument->get('blamed_count')}</td>
|
||||
<td class="date center nowrap">{$oDocument->getRegdate("Y-m-d H:i:s")}</td>
|
||||
<td class="number center nowrap"><a href="{getUrl('search_target','ipaddress','search_keyword',$oDocument->get('ipaddress'))}">{$oDocument->get('ipaddress')}</a></td>
|
||||
<td class="center"><a href="{getUrl('act','dispDocumentAdminAlias','document_srl',$oDocument->document_srl)}">{$lang->alias}</a>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl',$module_srl)}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl',$module_srl)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl',$module_srl)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,73 +1,73 @@
|
|||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("filter/manage_checked_document.xml")-->
|
||||
<!--%import("filter/restore_trash.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form id="restore_form" action="./" method="post">
|
||||
<input type="hidden" id="target_srl" name="target_srl" value="" />
|
||||
</form>
|
||||
|
||||
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 모듈 선택 -->
|
||||
<div class="fr">
|
||||
<a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_find_module}</span></a>
|
||||
<!-- <a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button blue"><span>{$lang->cmd_manage_document}</span></a> -->
|
||||
</div>
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" class="rowTable clear">
|
||||
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
<!--<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></div></th>-->
|
||||
<th scope="col" class="wide"><div>{$lang->document}</div></th>
|
||||
<th scope="col"><div>{$lang->trash_nick_name}</div></th>
|
||||
<th scope="col"><div>{$lang->trash_date}</div></th>
|
||||
<th scope="col"><div>{$lang->ipaddress}</div></th>
|
||||
<th scope="col"><dib>{$lang->trash_description}</div></th>
|
||||
<th scope="col"><div>{$lang->cmd_restore}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<tr>
|
||||
<td class="number center">{$no}</td>
|
||||
<!--<td class="center"><input type="checkbox" name="cart" value="{$oDocument->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($oDocument->isCarted())-->checked="checked"<!--@end-->/></td>-->
|
||||
<td class="left subject">
|
||||
{$oDocument->getTitle()}
|
||||
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
[{$oDocument->getCommentCount()}]
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getTrackbackCount())-->
|
||||
[{$oDocument->getTrackbackCount()}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="nowrap"><span class="member_{$oDocument->get('trash_member_srl')}">{htmlspecialchars($oDocument->get('trash_nick_name'))}</span></td>
|
||||
<td class="date center nowrap">{zdate($oDocument->get('trash_date'), "Y-m-d H:i:s")}</td>
|
||||
<td class="number center nowrap">{$oDocument->get('ipaddress')}</td>
|
||||
<td class="left">{$oDocument->get('trash_description')}</td>
|
||||
<td class="center"><a href="#" onclick="executeFilterByTargetSrl('restore_form', {$oDocument->get('trash_srl')}, restore_trash);">{$lang->cmd_restore}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl',$module_srl)}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl',$module_srl)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl',$module_srl)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
<!--%import("filter/delete_checked.xml")-->
|
||||
<!--%import("filter/manage_checked_document.xml")-->
|
||||
<!--%import("filter/restore_trash.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<form id="restore_form" action="./" method="post">
|
||||
<input type="hidden" id="target_srl" name="target_srl" value="" />
|
||||
</form>
|
||||
|
||||
<form id="fo_list" action="./" method="get" onsubmit="return procFilter(this, delete_checked)">
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<!-- 모듈 선택 -->
|
||||
<div class="fr">
|
||||
<a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_find_module}</span></a>
|
||||
<!-- <a href="{getUrl('','module','document','act','dispDocumentManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button blue"><span>{$lang->cmd_manage_document}</span></a> -->
|
||||
</div>
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" class="rowTable clear">
|
||||
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><div>{$lang->no}</div></th>
|
||||
<!--<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true }); return false;" /></div></th>-->
|
||||
<th scope="col" class="wide"><div>{$lang->document}</div></th>
|
||||
<th scope="col"><div>{$lang->trash_nick_name}</div></th>
|
||||
<th scope="col"><div>{$lang->trash_date}</div></th>
|
||||
<th scope="col"><div>{$lang->ipaddress}</div></th>
|
||||
<th scope="col"><dib>{$lang->trash_description}</div></th>
|
||||
<th scope="col"><div>{$lang->cmd_restore}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<tr>
|
||||
<td class="number center">{$no}</td>
|
||||
<!--<td class="center"><input type="checkbox" name="cart" value="{$oDocument->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($oDocument->isCarted())-->checked="checked"<!--@end-->/></td>-->
|
||||
<td class="left subject">
|
||||
{$oDocument->getTitle()}
|
||||
|
||||
<!--@if($oDocument->getCommentCount())-->
|
||||
[{$oDocument->getCommentCount()}]
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($oDocument->getTrackbackCount())-->
|
||||
[{$oDocument->getTrackbackCount()}]
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="nowrap"><span class="member_{$oDocument->get('trash_member_srl')}">{htmlspecialchars($oDocument->get('trash_nick_name'))}</span></td>
|
||||
<td class="date center nowrap">{zdate($oDocument->get('trash_date'), "Y-m-d H:i:s")}</td>
|
||||
<td class="number center nowrap">{$oDocument->get('ipaddress')}</td>
|
||||
<td class="left">{$oDocument->get('trash_description')}</td>
|
||||
<td class="center"><a href="#" onclick="executeFilterByTargetSrl('restore_form', {$oDocument->get('trash_srl')}, restore_trash);">{$lang->cmd_restore}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','module_srl',$module_srl)}" class="prevEnd">{$lang->first_page}</a>
|
||||
<!--@while($page_no = $page_navigation->getNextPage())-->
|
||||
<!--@if($page == $page_no)-->
|
||||
<strong>{$page_no}</strong>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('page',$page_no,'module_srl',$module_srl)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'module_srl',$module_srl)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,189 +1,189 @@
|
|||
/**
|
||||
* @file modules/document/tpl/js/document_category.js
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 category tree javascript
|
||||
**/
|
||||
|
||||
function Tree(url){
|
||||
// clear tree;
|
||||
jQuery('#menu > ul > li > ul').remove();
|
||||
if(jQuery("ul.simpleTree > li > a").size() ==0)jQuery('<a href="#" class="add"><img src="./common/js/plugins/ui.tree/images/iconAdd.gif" /></a>').bind("click",function(e){addNode(0,e);}).appendTo("ul.simpleTree > li");
|
||||
|
||||
//ajax get data and transeform ul il
|
||||
jQuery.get(url,function(data){
|
||||
jQuery(data).find("node").each(function(i){
|
||||
var text = jQuery(this).attr("text");
|
||||
var node_srl = jQuery(this).attr("node_srl");
|
||||
var parent_srl = jQuery(this).attr("parent_srl");
|
||||
var color = jQuery(this).attr("color");
|
||||
var url = jQuery(this).attr("url");
|
||||
|
||||
// node
|
||||
var node = '';
|
||||
if(color && color !='transparent'){
|
||||
node = jQuery('<li id="tree_'+node_srl+'"><span style="color:'+color+';">'+text+'</span></li>');
|
||||
}else{
|
||||
node = jQuery('<li id="tree_'+node_srl+'"><span>'+text+'</span></li>');
|
||||
}
|
||||
|
||||
// button
|
||||
jQuery('<a href="#" class="add"><img src="./common/js/plugins/ui.tree/images/iconAdd.gif" /></a>').bind("click",function(e){
|
||||
jQuery("#tree_"+node_srl+" > span").click();
|
||||
addNode(node_srl,e);
|
||||
return false;
|
||||
}).appendTo(node);
|
||||
|
||||
jQuery('<a href="#" class="modify"><img src="./common/js/plugins/ui.tree/images/iconModify.gif" /></a>').bind("click",function(e){
|
||||
jQuery("#tree_"+node_srl+" > span").click();
|
||||
modifyNode(node_srl,e);
|
||||
return false;
|
||||
}).appendTo(node);
|
||||
|
||||
jQuery('<a href="#" class="delete"><img src="./common/js/plugins/ui.tree/images/iconDel.gif" /></a>').bind("click",function(e){
|
||||
deleteNode(node_srl);
|
||||
return false;
|
||||
}).appendTo(node);
|
||||
|
||||
// insert parent child
|
||||
if(parent_srl>0){
|
||||
if(jQuery('#tree_'+parent_srl+'>ul').length==0) jQuery('#tree_'+parent_srl).append(jQuery('<ul>'));
|
||||
jQuery('#tree_'+parent_srl+'> ul').append(node);
|
||||
}else{
|
||||
if(jQuery('#menu ul.simpleTree > li > ul').length==0) jQuery("<ul>").appendTo('#menu ul.simpleTree > li');
|
||||
jQuery('#menu ul.simpleTree > li > ul').append(node);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//button show hide
|
||||
jQuery("#menu li").each(function(){
|
||||
if(jQuery(this).parents('ul').size() > max_menu_depth) jQuery("a.add",this).hide();
|
||||
if(jQuery(">ul",this).size()>0) jQuery(">a.delete",this).hide();
|
||||
});
|
||||
|
||||
|
||||
// draw tree
|
||||
simpleTreeCollection = jQuery('.simpleTree').simpleTree({
|
||||
autoclose: false,
|
||||
afterClick:function(node){
|
||||
jQuery('#category_info').html("");
|
||||
//alert("text-"+jQuery('span:first',node).text());
|
||||
},
|
||||
afterDblClick:function(node){
|
||||
//alert("text-"+jQuery('span:first',node).text());
|
||||
},
|
||||
afterMove:function(destination, source, pos){
|
||||
if(destination.size() == 0){
|
||||
Tree(xml_url);
|
||||
return;
|
||||
}
|
||||
var module_srl = jQuery("#fo_category input[name=module_srl]").val();
|
||||
var parent_srl = destination.attr('id').replace(/.*_/g,'');
|
||||
var source_srl = source.attr('id').replace(/.*_/g,'');
|
||||
|
||||
var target = source.prevAll("li:not([class^=line])");
|
||||
var target_srl = 0;
|
||||
if(target.length >0){
|
||||
target_srl = source.prevAll("li:not([class^=line])").get(0).id.replace(/.*_/g,'');
|
||||
parent_srl = 0;
|
||||
}
|
||||
|
||||
jQuery.exec_json("document.procDocumentMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl},
|
||||
function(data){
|
||||
jQuery('#category_info').html('');
|
||||
if(data.error > 0) Tree(xml_url);
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
// i want you !! made by sol
|
||||
beforeMovedToLine : function(destination, source, pos){
|
||||
return (jQuery(destination).parents('ul').size() + jQuery('ul',source).size() <= max_menu_depth);
|
||||
},
|
||||
|
||||
// i want you !! made by sol
|
||||
beforeMovedToFolder : function(destination, source, pos){
|
||||
return (jQuery(destination).parents('ul').size() + jQuery('ul',source).size() <= max_menu_depth-1);
|
||||
},
|
||||
afterAjax:function()
|
||||
{
|
||||
//alert('Loaded');
|
||||
},
|
||||
animate:true
|
||||
,docToFolderConvert:true
|
||||
});
|
||||
|
||||
|
||||
|
||||
// open all node
|
||||
nodeToggleAll();
|
||||
},"xml");
|
||||
}
|
||||
function addNode(node,e){
|
||||
var params ={
|
||||
"category_srl":0
|
||||
,"parent_srl":node
|
||||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.getDocumentCategoryTplInfo', params, function(data){
|
||||
jQuery('#category_info').html(data.tpl).css('left',e.pageX).css('top',e.pageY);
|
||||
});
|
||||
}
|
||||
|
||||
function modifyNode(node,e){
|
||||
var params ={
|
||||
"category_srl":node
|
||||
,"parent_srl":0
|
||||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.getDocumentCategoryTplInfo', params, function(data){
|
||||
jQuery('#category_info').html(data.tpl).css('left',e.pageX).css('top',e.pageY);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function nodeToggleAll(){
|
||||
jQuery("[class*=close]", simpleTreeCollection[0]).each(function(){
|
||||
simpleTreeCollection[0].nodeToggle(this);
|
||||
});
|
||||
}
|
||||
|
||||
function deleteNode(node){
|
||||
if(confirm(lang_confirm_delete)){
|
||||
jQuery('#category_info').html("");
|
||||
var params ={
|
||||
"category_srl":node
|
||||
,"parent_srl":0
|
||||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.procDocumentDeleteCategory', params, function(data){
|
||||
if(data.error==0) Tree(xml_url);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/* 카테고리 아이템 입력후 */
|
||||
function completeInsertCategory(ret_obj) {
|
||||
jQuery('#category_info').html("");
|
||||
Tree(xml_url);
|
||||
}
|
||||
|
||||
function hideCategoryInfo() {
|
||||
jQuery('#category_info').html("");
|
||||
}
|
||||
|
||||
/* 카테고리 목록 갱신 */
|
||||
function doReloadTreeCategory(module_srl) {
|
||||
var params = {'module_srl':module_srl};
|
||||
|
||||
// 서버에 요청하여 해당 노드의 정보를 수정할 수 있도록 한다.
|
||||
var response_tags = new Array('error','message', 'xml_file');
|
||||
exec_xml('document', 'procDocumentMakeXmlFile', params, completeInsertCategory, response_tags, params);
|
||||
}
|
||||
|
||||
function doCategoryFormMove() {
|
||||
jQuery(function($){ $('#fo_category').appendTo(document.body); $('#category_info').css('width', '550px'); });
|
||||
}
|
||||
/**
|
||||
* @file modules/document/tpl/js/document_category.js
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief document 모듈의 category tree javascript
|
||||
**/
|
||||
|
||||
function Tree(url){
|
||||
// clear tree;
|
||||
jQuery('#menu > ul > li > ul').remove();
|
||||
if(jQuery("ul.simpleTree > li > a").size() ==0)jQuery('<a href="#" class="add"><img src="./common/js/plugins/ui.tree/images/iconAdd.gif" /></a>').bind("click",function(e){addNode(0,e);}).appendTo("ul.simpleTree > li");
|
||||
|
||||
//ajax get data and transeform ul il
|
||||
jQuery.get(url,function(data){
|
||||
jQuery(data).find("node").each(function(i){
|
||||
var text = jQuery(this).attr("text");
|
||||
var node_srl = jQuery(this).attr("node_srl");
|
||||
var parent_srl = jQuery(this).attr("parent_srl");
|
||||
var color = jQuery(this).attr("color");
|
||||
var url = jQuery(this).attr("url");
|
||||
|
||||
// node
|
||||
var node = '';
|
||||
if(color && color !='transparent'){
|
||||
node = jQuery('<li id="tree_'+node_srl+'"><span style="color:'+color+';">'+text+'</span></li>');
|
||||
}else{
|
||||
node = jQuery('<li id="tree_'+node_srl+'"><span>'+text+'</span></li>');
|
||||
}
|
||||
|
||||
// button
|
||||
jQuery('<a href="#" class="add"><img src="./common/js/plugins/ui.tree/images/iconAdd.gif" /></a>').bind("click",function(e){
|
||||
jQuery("#tree_"+node_srl+" > span").click();
|
||||
addNode(node_srl,e);
|
||||
return false;
|
||||
}).appendTo(node);
|
||||
|
||||
jQuery('<a href="#" class="modify"><img src="./common/js/plugins/ui.tree/images/iconModify.gif" /></a>').bind("click",function(e){
|
||||
jQuery("#tree_"+node_srl+" > span").click();
|
||||
modifyNode(node_srl,e);
|
||||
return false;
|
||||
}).appendTo(node);
|
||||
|
||||
jQuery('<a href="#" class="delete"><img src="./common/js/plugins/ui.tree/images/iconDel.gif" /></a>').bind("click",function(e){
|
||||
deleteNode(node_srl);
|
||||
return false;
|
||||
}).appendTo(node);
|
||||
|
||||
// insert parent child
|
||||
if(parent_srl>0){
|
||||
if(jQuery('#tree_'+parent_srl+'>ul').length==0) jQuery('#tree_'+parent_srl).append(jQuery('<ul>'));
|
||||
jQuery('#tree_'+parent_srl+'> ul').append(node);
|
||||
}else{
|
||||
if(jQuery('#menu ul.simpleTree > li > ul').length==0) jQuery("<ul>").appendTo('#menu ul.simpleTree > li');
|
||||
jQuery('#menu ul.simpleTree > li > ul').append(node);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//button show hide
|
||||
jQuery("#menu li").each(function(){
|
||||
if(jQuery(this).parents('ul').size() > max_menu_depth) jQuery("a.add",this).hide();
|
||||
if(jQuery(">ul",this).size()>0) jQuery(">a.delete",this).hide();
|
||||
});
|
||||
|
||||
|
||||
// draw tree
|
||||
simpleTreeCollection = jQuery('.simpleTree').simpleTree({
|
||||
autoclose: false,
|
||||
afterClick:function(node){
|
||||
jQuery('#category_info').html("");
|
||||
//alert("text-"+jQuery('span:first',node).text());
|
||||
},
|
||||
afterDblClick:function(node){
|
||||
//alert("text-"+jQuery('span:first',node).text());
|
||||
},
|
||||
afterMove:function(destination, source, pos){
|
||||
if(destination.size() == 0){
|
||||
Tree(xml_url);
|
||||
return;
|
||||
}
|
||||
var module_srl = jQuery("#fo_category input[name=module_srl]").val();
|
||||
var parent_srl = destination.attr('id').replace(/.*_/g,'');
|
||||
var source_srl = source.attr('id').replace(/.*_/g,'');
|
||||
|
||||
var target = source.prevAll("li:not([class^=line])");
|
||||
var target_srl = 0;
|
||||
if(target.length >0){
|
||||
target_srl = source.prevAll("li:not([class^=line])").get(0).id.replace(/.*_/g,'');
|
||||
parent_srl = 0;
|
||||
}
|
||||
|
||||
jQuery.exec_json("document.procDocumentMoveCategory",{ "module_srl":module_srl,"parent_srl":parent_srl,"target_srl":target_srl,"source_srl":source_srl},
|
||||
function(data){
|
||||
jQuery('#category_info').html('');
|
||||
if(data.error > 0) Tree(xml_url);
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
// i want you !! made by sol
|
||||
beforeMovedToLine : function(destination, source, pos){
|
||||
return (jQuery(destination).parents('ul').size() + jQuery('ul',source).size() <= max_menu_depth);
|
||||
},
|
||||
|
||||
// i want you !! made by sol
|
||||
beforeMovedToFolder : function(destination, source, pos){
|
||||
return (jQuery(destination).parents('ul').size() + jQuery('ul',source).size() <= max_menu_depth-1);
|
||||
},
|
||||
afterAjax:function()
|
||||
{
|
||||
//alert('Loaded');
|
||||
},
|
||||
animate:true
|
||||
,docToFolderConvert:true
|
||||
});
|
||||
|
||||
|
||||
|
||||
// open all node
|
||||
nodeToggleAll();
|
||||
},"xml");
|
||||
}
|
||||
function addNode(node,e){
|
||||
var params ={
|
||||
"category_srl":0
|
||||
,"parent_srl":node
|
||||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.getDocumentCategoryTplInfo', params, function(data){
|
||||
jQuery('#category_info').html(data.tpl).css('left',e.pageX).css('top',e.pageY);
|
||||
});
|
||||
}
|
||||
|
||||
function modifyNode(node,e){
|
||||
var params ={
|
||||
"category_srl":node
|
||||
,"parent_srl":0
|
||||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.getDocumentCategoryTplInfo', params, function(data){
|
||||
jQuery('#category_info').html(data.tpl).css('left',e.pageX).css('top',e.pageY);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function nodeToggleAll(){
|
||||
jQuery("[class*=close]", simpleTreeCollection[0]).each(function(){
|
||||
simpleTreeCollection[0].nodeToggle(this);
|
||||
});
|
||||
}
|
||||
|
||||
function deleteNode(node){
|
||||
if(confirm(lang_confirm_delete)){
|
||||
jQuery('#category_info').html("");
|
||||
var params ={
|
||||
"category_srl":node
|
||||
,"parent_srl":0
|
||||
,"module_srl":jQuery("#fo_category [name=module_srl]").val()
|
||||
};
|
||||
|
||||
jQuery.exec_json('document.procDocumentDeleteCategory', params, function(data){
|
||||
if(data.error==0) Tree(xml_url);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/* 카테고리 아이템 입력후 */
|
||||
function completeInsertCategory(ret_obj) {
|
||||
jQuery('#category_info').html("");
|
||||
Tree(xml_url);
|
||||
}
|
||||
|
||||
function hideCategoryInfo() {
|
||||
jQuery('#category_info').html("");
|
||||
}
|
||||
|
||||
/* 카테고리 목록 갱신 */
|
||||
function doReloadTreeCategory(module_srl) {
|
||||
var params = {'module_srl':module_srl};
|
||||
|
||||
// 서버에 요청하여 해당 노드의 정보를 수정할 수 있도록 한다.
|
||||
var response_tags = new Array('error','message', 'xml_file');
|
||||
exec_xml('document', 'procDocumentMakeXmlFile', params, completeInsertCategory, response_tags, params);
|
||||
}
|
||||
|
||||
function doCategoryFormMove() {
|
||||
jQuery(function($){ $('#fo_category').appendTo(document.body); $('#category_info').css('width', '550px'); });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue