위젯 검출 정규 표현식을 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2892 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
|
@ -127,7 +127,7 @@
|
|||
function procBoardAdminInsertBoard($args = null) {
|
||||
// 일단 입력된 값들을 모두 받아서 db 입력항목과 그외 것으로 분리
|
||||
if(!$args) {
|
||||
$args = Context::gets('module_srl','module_category_srl','board_name','layout_srl','skin','browser_title','description','is_default','header_text','footer_text','admin_id','open_rss');
|
||||
$args = Context::gets('module_srl','module_category_srl','board_name','layout_srl','skin','browser_title','description','is_default','header_text','footer_text','admin_id');
|
||||
}
|
||||
|
||||
$args->module = 'board';
|
||||
|
|
@ -227,8 +227,10 @@
|
|||
$category_title = Context::get('category_title');
|
||||
|
||||
// module_srl이 있으면 원본을 구해온다
|
||||
$oDocumentController = &getAdminController('document');
|
||||
$output = $oDocumentController->insertCategory($module_srl, $category_title);
|
||||
$oDocumentController = &getController('document');
|
||||
$args->module_srl = $module_srl;
|
||||
$args->title = $category_title;
|
||||
$output = $oDocumentController->insertCategory($args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->add('page',Context::get('page'));
|
||||
|
|
@ -243,9 +245,10 @@
|
|||
$module_srl = Context::get('module_srl');
|
||||
$category_srl = Context::get('category_srl');
|
||||
$mode = Context::get('mode');
|
||||
$title = Context::get('category_title');
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocumentController = &getAdminController('document');
|
||||
$oDocumentController = &getController('document');
|
||||
|
||||
switch($mode) {
|
||||
case 'up' :
|
||||
|
|
@ -262,10 +265,8 @@
|
|||
break;
|
||||
case 'update' :
|
||||
$selected_category = $oDocumentModel->getCategory($category_srl);
|
||||
$args->category_srl = $selected_category->category_srl;
|
||||
$args->title = Context::get('category_title');
|
||||
$args->list_order = $selected_category->list_order;
|
||||
$output = $oDocumentController->updateCategory($args);
|
||||
$selected_category->title = $title;
|
||||
$output = $oDocumentController->updateCategory($selected_category);
|
||||
$msg_code = 'success_updated';
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,6 +113,24 @@
|
|||
$this->setTemplateFile('board_insert');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 게시판 추가 설정 보여줌
|
||||
* 추가설정은 서비스형 모듈들에서 다른 모듈과의 연계를 위해서 설정하는 페이지임
|
||||
**/
|
||||
function dispBoardAdminBoardAdditionSetup() {
|
||||
// content는 다른 모듈에서 call by reference로 받아오기에 미리 변수 선언만 해 놓음
|
||||
$content = '';
|
||||
|
||||
// 추가 설정을 위한 트리거 호출
|
||||
// 게시판 모듈이지만 차후 다른 모듈에서의 사용도 고려하여 trigger 이름을 공용으로 사용할 수 있도록 하였음
|
||||
$output = ModuleHandler::triggerCall('module.dispAdditionSetup', 'before', $content);
|
||||
$output = ModuleHandler::triggerCall('module.dispAdditionSetup', 'after', $content);
|
||||
Context::set('setup_content', $content);
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('addition_setup');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 게시판 삭제 화면 출력
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -7,14 +7,13 @@
|
|||
|
||||
class board extends ModuleObject {
|
||||
|
||||
var $search_option = array('title','content','title_content','user_name','nick_name','user_id','tag'); ///< 검색 옵션
|
||||
var $search_option = array('title','content','title_content','comment','user_name','nick_name','user_id','tag'); ///< 검색 옵션
|
||||
|
||||
var $skin = "default"; ///< 스킨 이름
|
||||
var $list_count = 20; ///< 한 페이지에 나타날 글의 수
|
||||
var $page_count = 10; ///< 페이지의 수
|
||||
var $category_list = NULL; ///< 카테고리 목록
|
||||
|
||||
var $editor = 'default'; ///< 에디터 종류
|
||||
|
||||
/**
|
||||
* @brief 설치시 추가 작업이 필요할시 구현
|
||||
|
|
@ -29,8 +28,12 @@
|
|||
$oModuleController->insertActionForward('board', 'view', 'dispBoardAdminSkinInfo');
|
||||
$oModuleController->insertActionForward('board', 'view', 'dispBoardAdminCategoryInfo');
|
||||
$oModuleController->insertActionForward('board', 'view', 'dispBoardAdminGrantInfo');
|
||||
$oModuleController->insertActionForward('board', 'view', 'dispBoardAdminBoardAdditionSetup');
|
||||
$oModuleController->insertActionForward('board', 'controller', 'procBoardAdminUpdateSkinInfo');
|
||||
|
||||
// 2007. 10. 17 아이디 클릭시 나타나는 팝업메뉴에 작성글 보기 기능 추가
|
||||
$oModuleController->insertTrigger('member.getMemberMenu', 'board', 'controller', 'triggerMemberMenu', 'after');
|
||||
|
||||
// 기본 게시판 생성
|
||||
$output = executeQuery('module.getDefaultMidInfo');
|
||||
if($output->data) return new Object();
|
||||
|
|
@ -44,7 +47,7 @@
|
|||
$args->board_name = 'board';
|
||||
$args->browser_title = 'test module';
|
||||
$args->is_default = 'Y';
|
||||
$args->skin = 'xe_list';
|
||||
$args->skin = 'xe_board';
|
||||
|
||||
// board 라는 이름의 모듈이 있는지 확인
|
||||
$module_info = $oModuleModel->getModuleInfoByMid($args->board_name);
|
||||
|
|
@ -63,6 +66,16 @@
|
|||
* @brief 설치가 이상이 없는지 체크하는 method
|
||||
**/
|
||||
function checkUpdate() {
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// 2007. 10. 17 아이디 클릭시 나타나는 팝업메뉴에 작성글 보기 기능 추가
|
||||
if(!$oModuleModel->getTrigger('member.getMemberMenu', 'board', 'controller', 'triggerMemberMenu', 'after')) return true;
|
||||
|
||||
/**
|
||||
* 2007. 10. 17 : 게시판 모듈설정에 추가 설정 액션 설정
|
||||
**/
|
||||
if(!$oModuleModel->getActionForward('dispBoardAdminBoardAdditionSetup')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -70,7 +83,20 @@
|
|||
* @brief 업데이트 실행
|
||||
**/
|
||||
function moduleUpdate() {
|
||||
return new Object();
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController = &getController('module');
|
||||
|
||||
// 2007. 10. 17 아이디 클릭시 나타나는 팝업메뉴에 작성글 보기 기능 추가
|
||||
if(!$oModuleModel->getTrigger('member.getMemberMenu', 'board', 'controller', 'triggerMemberMenu', 'after'))
|
||||
$oModuleController->insertTrigger('member.getMemberMenu', 'board', 'controller', 'triggerMemberMenu', 'after');
|
||||
|
||||
/**
|
||||
* 2007. 10. 17 : 게시판 모듈설정에 추가 설정 액션 설정
|
||||
**/
|
||||
if(!$oModuleModel->getActionForward('dispBoardAdminBoardAdditionSetup'))
|
||||
$oModuleController->insertActionForward('board', 'view', 'dispBoardAdminBoardAdditionSetup');
|
||||
|
||||
return new Object(0, 'success_updated');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -25,6 +25,12 @@
|
|||
$obj->module_srl = $this->module_srl;
|
||||
if($obj->is_notice!='Y'||!$this->grant->manager) $obj->is_notice = 'N';
|
||||
|
||||
// 관리자가 아니라면 게시글 색상/굵기 제거
|
||||
if(!$this->grant->manager) {
|
||||
unset($obj->title_color);
|
||||
unset($obj->title_bold);
|
||||
}
|
||||
|
||||
// document module의 model 객체 생성
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
||||
|
|
@ -49,14 +55,6 @@
|
|||
// 오류 발생시 멈춤
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
// 트랙백이 있으면 트랙백 발송
|
||||
$trackback_url = Context::get('trackback_url');
|
||||
$trackback_charset = Context::get('trackback_charset');
|
||||
if($trackback_url) {
|
||||
$oTrackbackController = &getController('trackback');
|
||||
$oTrackbackController->sendTrackback($obj, $trackback_url, $trackback_charset);
|
||||
}
|
||||
|
||||
// 결과를 리턴
|
||||
$this->add('mid', Context::get('mid'));
|
||||
$this->add('document_srl', $output->get('document_srl'));
|
||||
|
|
@ -107,7 +105,7 @@
|
|||
if(!$this->grant->write_comment) return new Object(-1, 'msg_not_permitted');
|
||||
|
||||
// 댓글 입력에 필요한 데이터 추출
|
||||
$obj = Context::gets('document_srl','comment_srl','parent_srl','content','password','nick_name','nick_name','member_srl','email_address','homepage');
|
||||
$obj = Context::gets('document_srl','comment_srl','parent_srl','content','password','nick_name','nick_name','member_srl','email_address','homepage','is_secret','notify_message');
|
||||
$obj->module_srl = $this->module_srl;
|
||||
|
||||
// comment 모듈의 model 객체 생성
|
||||
|
|
@ -205,14 +203,13 @@
|
|||
if($comment_srl) {
|
||||
// 문서번호에 해당하는 글이 있는지 확인
|
||||
$oCommentModel = &getModel('comment');
|
||||
$data = $oCommentModel->getComment($comment_srl);
|
||||
if(!$data) return new Object(-1, 'msg_invalid_request');
|
||||
$oComment = $oCommentModel->getComment($comment_srl);
|
||||
if(!$oComment->isExists()) return new Object(-1, 'msg_invalid_request');
|
||||
|
||||
// 문서의 비밀번호와 입력한 비밀번호의 비교
|
||||
if($data->password != $password) return new Object(-1, 'msg_invalid_password');
|
||||
if($oComment->get('password') != $password) return new Object(-1, 'msg_invalid_password');
|
||||
|
||||
$oCommentController = &getController('comment');
|
||||
$oCommentController->addGrant($comment_srl);
|
||||
$oComment->setGrant();
|
||||
} else {
|
||||
// 문서번호에 해당하는 글이 있는지 확인
|
||||
$oDocumentModel = &getModel('document');
|
||||
|
|
@ -226,5 +223,39 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 아이디 클릭시 나타나는 팝업메뉴에 "작성글 보기" 메뉴를 추가하는 trigger
|
||||
**/
|
||||
function triggerMemberMenu(&$obj) {
|
||||
$member_srl = Context::get('target_srl');
|
||||
$mid = Context::get('cur_mid');
|
||||
|
||||
if(!$member_srl || !$mid) return new Object();
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
||||
// 호출된 모듈의 정보 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$cur_module_info = $oModuleModel->getModuleInfoByMid($mid);
|
||||
|
||||
if($cur_module_info->module != 'board') return new Object();
|
||||
|
||||
// 자신의 아이디를 클릭한 경우
|
||||
if($member_srl == $logged_info->member_srl) $member_info = $logged_info;
|
||||
else {
|
||||
$oMemberModel = &getModel('member');
|
||||
$member_info = $oMemberModel->getMemberInfoByMemberSrl($member_srl);
|
||||
}
|
||||
|
||||
if(!$member_info->user_id) return new Object();
|
||||
|
||||
// 아이디로 검색
|
||||
$menu_str = Context::getLang('cmd_view_own_document');
|
||||
$menu_url = sprintf('./?mid=%s&search_target=user_id&search_keyword=%s', $mid, $member_info->user_id);
|
||||
$obj[] = sprintf('%s,%s,move_url(\'%s\')', Context::getRequestUri().'/modules/member/tpl/images/icon_view_written.gif',$menu_str, $menu_url);
|
||||
|
||||
return new Object();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@
|
|||
// 스킨 템플릿 경로 지정
|
||||
$template_path = sprintf("%sskins/%s/",$this->module_path, $this->module_info->skin);
|
||||
$this->setTemplatePath($template_path);
|
||||
|
||||
// rss url
|
||||
if($this->module_info->open_rss != 'N') Context::set('rss_url', getUrl('','mid',$this->mid,'act','rss'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -50,7 +47,7 @@
|
|||
$search_option[$this->search_option[$i]] = Context::getLang($this->search_option[$i]);
|
||||
}
|
||||
|
||||
// 확장변수에서도 검색이 설정되어 있는지 확인
|
||||
// 모듈정보를 확인하여 확장변수에서도 검색이 설정되어 있는지 확인
|
||||
for($i=1;$i<=20;$i++) {
|
||||
$ex_name = $this->module_info->extra_vars[$i]->name;
|
||||
$ex_search = $this->module_info->extra_vars[$i]->search;
|
||||
|
|
@ -127,18 +124,8 @@
|
|||
$args->order_type = Context::get('order_type');
|
||||
|
||||
// 스킨에서 설정한 기본 정렬 대상을 구함
|
||||
if(!$args->sort_index) {
|
||||
switch($this->module_info->order_target) {
|
||||
case "updated" :
|
||||
$args->sort_index = "update_order";
|
||||
$args->order_type = "asc";
|
||||
break;
|
||||
default :
|
||||
$args->sort_index = "list_order";
|
||||
$args->order_type = "asc";
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!$args->sort_index) $args->sort_index = $this->module_info->order_target?$this->module_info->order_target:'newest';
|
||||
if(!$args->order_type) $args->order_type = $this->module_info->order_type?$this->module_info->order_type:'asc';
|
||||
|
||||
// 만약 document_srl은 있는데 page가 없다면 글만 호출된 경우 page를 구해서 세팅해주자..
|
||||
if($document_srl && ($oDocument->isExists()&&!$oDocument->isNotice()) && !$args->category_srl && !$args->search_keyword && $args->sort_index == 'list_order' && $args->order_type == 'asc') {
|
||||
|
|
@ -147,9 +134,12 @@
|
|||
$args->page = $page;
|
||||
}
|
||||
|
||||
// 먼저 공지사항을 구해옴
|
||||
$notice_output = $oDocumentModel->getNoticeList($args);
|
||||
Context::set('notice_list', $notice_output->data);
|
||||
|
||||
// 목록 구함, document->getDocumentList 에서 걍 알아서 다 해버리는 구조이다... (아.. 이거 나쁜 버릇인데.. ㅡ.ㅜ 어쩔수 없다)
|
||||
$output = $oDocumentModel->getDocumentList($args);
|
||||
// 목록 구함
|
||||
$output = $oDocumentModel->getDocumentList($args, true);
|
||||
|
||||
// 템플릿에 쓰기 위해서 document_model::getDocumentList() 의 return object에 있는 값들을 세팅
|
||||
Context::set('total_count', $output->total_count);
|
||||
|
|
@ -243,7 +233,6 @@
|
|||
if(!$this->grant->write_comment) return $this->dispBoardMessage('msg_not_permitted');
|
||||
|
||||
// 목록 구현에 필요한 변수들을 가져온다
|
||||
$document_srl = Context::get('document_srl');
|
||||
$parent_srl = Context::get('comment_srl');
|
||||
|
||||
// 지정된 원 댓글이 없다면 오류
|
||||
|
|
@ -251,16 +240,19 @@
|
|||
|
||||
// 해당 댓글를 찾아본다
|
||||
$oCommentModel = &getModel('comment');
|
||||
$source_comment = $oCommentModel->getComment($parent_srl, $this->grant->manager);
|
||||
$oSourceComment = $oCommentModel->getComment($parent_srl, $this->grant->manager);
|
||||
|
||||
// 댓글이 없다면 오류
|
||||
if(!$source_comment) return $this->dispBoardMessage('msg_invalid_request');
|
||||
if(!$oSourceComment->isExists()) return $this->dispBoardMessage('msg_invalid_request');
|
||||
|
||||
// 대상 댓글을 생성
|
||||
$oComment = $oCommentModel->getComment();
|
||||
$oComment->add('parent_srl', $parent_srl);
|
||||
$oComment->add('document_srl', $oSourceComment->get('document_srl'));
|
||||
|
||||
// 필요한 정보들 세팅
|
||||
Context::set('document_srl',$document_srl);
|
||||
Context::set('parent_srl',$parent_srl);
|
||||
Context::set('comment_srl',NULL);
|
||||
Context::set('source_comment',$source_comment);
|
||||
Context::set('oSourceComment',$oSourceComment);
|
||||
Context::set('oComment',$oComment);
|
||||
|
||||
// 댓글 에디터 세팅
|
||||
$this->setCommentEditor(0, 400);
|
||||
|
|
@ -284,22 +276,20 @@
|
|||
|
||||
// 해당 댓글를 찾아본다
|
||||
$oCommentModel = &getModel('comment');
|
||||
$comment = $oCommentModel->getComment($comment_srl, $this->grant->manager);
|
||||
$oComment = $oCommentModel->getComment($comment_srl, $this->grant->manager);
|
||||
|
||||
// 댓글이 없다면 오류
|
||||
if(!$comment) return $this->dispBoardMessage('msg_invalid_request');
|
||||
|
||||
Context::set('document_srl',$comment->document_srl);
|
||||
if(!$oComment->isExists()) return $this->dispBoardMessage('msg_invalid_request');
|
||||
|
||||
// 글을 수정하려고 할 경우 권한이 없는 경우 비밀번호 입력화면으로
|
||||
if($comment_srl&&$comment&&!$comment->is_granted) return $this->setTemplateFile('input_password_form');
|
||||
if(!$oComment->isGranted()) return $this->setTemplateFile('input_password_form');
|
||||
|
||||
// 필요한 정보들 세팅
|
||||
Context::set('comment_srl',$comment_srl);
|
||||
Context::set('comment', $comment);
|
||||
Context::set('oSourceComment', $oCommentModel->getComment());
|
||||
Context::set('oComment', $oComment);
|
||||
|
||||
// 댓글 에디터 세팅
|
||||
$this->setCommentEditor($comment_srl, 300);
|
||||
$this->setCommentEditor($comment_srl, 301);
|
||||
|
||||
$this->setTemplateFile('comment_form');
|
||||
}
|
||||
|
|
@ -314,21 +304,19 @@
|
|||
// 삭제할 댓글번호를 가져온다
|
||||
$comment_srl = Context::get('comment_srl');
|
||||
|
||||
// 삭제하려는 댓글가 있는지 확인
|
||||
// 삭제하려는 댓글이 있는지 확인
|
||||
if($comment_srl) {
|
||||
$oCommentModel = &getModel('comment');
|
||||
$comment = $oCommentModel->getComment($comment_srl, $this->grant->manager);
|
||||
$oComment = $oCommentModel->getComment($comment_srl, $this->grant->manager);
|
||||
}
|
||||
|
||||
// 삭제하려는 글이 없으면 에러
|
||||
if(!$comment) return $this->dispBoardContent();
|
||||
|
||||
Context::set('document_srl',$comment->document_srl);
|
||||
if(!$oComment->isExists() ) return $this->dispBoardContent();
|
||||
|
||||
// 권한이 없는 경우 비밀번호 입력화면으로
|
||||
if($comment_srl&&$comment&&!$comment->is_granted) return $this->setTemplateFile('input_password_form');
|
||||
if(!$oComment->isGranted()) return $this->setTemplateFile('input_password_form');
|
||||
|
||||
Context::set('comment',$comment);
|
||||
Context::set('oComment',$oComment);
|
||||
|
||||
$this->setTemplateFile('delete_comment_form');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<module version="0.1">
|
||||
<module version="0.1" category="service">
|
||||
<title xml:lang="ko">게시판</title>
|
||||
<title xml:lang="zh-CN">版面</title>
|
||||
<title xml:lang="en">Board</title>
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@
|
|||
|
||||
<permission action="dispBoardAdminInsertBoard" target="manager" />
|
||||
<permission action="dispBoardAdminBoardInfo" target="manager" />
|
||||
<permission action="dispBoardAdminBoardAdditionSetup" target="manager" />
|
||||
<permission action="dispBoardAdminSkinInfo" target="manager" />
|
||||
<permission action="dispBoardAdminCategoryInfo" target="manager" />
|
||||
|
||||
|
|
@ -96,6 +97,7 @@
|
|||
|
||||
<action name="dispBoardAdminContent" type="view" standalone="true" admin_index="true" />
|
||||
<action name="dispBoardAdminBoardInfo" type="view" standalone="true" />
|
||||
<action name="dispBoardAdminBoardAdditionSetup" type="view" standalone="true" />
|
||||
<action name="dispBoardAdminInsertBoard" type="view" standalone="true" />
|
||||
<action name="dispBoardAdminDeleteBoard" type="view" standalone="true" />
|
||||
<action name="dispBoardAdminSkinInfo" type="view" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -12,5 +12,5 @@
|
|||
$lang->cmd_module_config = 'Common board setting';
|
||||
$lang->cmd_view_info = 'Board info';
|
||||
|
||||
$lang->about_board = "This module is for creating and managing boards.\nSelect the module's name from the list after creating one to configurate specifically.\nBe careful with board's module name, since it will be the url. (ex : http://domain/zb/?mid=modulename)";
|
||||
$lang->about_board = "This module is for creating and managing boards.\nYou may select the module name from the list after creating one to configure specifically.\nPlease be careful with board's module name, since it will be the url. (ex : http://domain/zb/?mid=modulename)";
|
||||
?>
|
||||
|
|
|
|||
88
modules/board/skins/xe_board/comment.html
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
<!--@if($oDocument->getCommentCount())-->
|
||||
<div class="replyBox">
|
||||
|
||||
{@ $_comment_list = $oDocument->getComments() }
|
||||
<!--@foreach($_comment_list as $key => $comment)-->
|
||||
|
||||
<div class="replyItem <!--@if($comment->get('depth'))-->reply<!--@end-->">
|
||||
<!--@if($comment->get('depth'))-->
|
||||
<div style="margin-left:{($comment->get('depth')-1)*20}px" class="replyIndent">
|
||||
<!--@end-->
|
||||
|
||||
<a name="comment_{$comment->comment_srl}"></a>
|
||||
|
||||
<div class="replyOption">
|
||||
<!--@if($comment->isGranted())-->
|
||||
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}"><img src="./images/common/buttonDeleteX.gif" alt="{$lang->cmd_delete}" width="12" height="13" /></a>
|
||||
<a href="{getUrl('act','dispBoardModifyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonModifyE.gif" alt="{$lang->cmd_modify}" width="20" height="17" /></a>
|
||||
<!--@end-->
|
||||
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonReply.gif" alt="{$lang->cmd_reply}" width="20" height="17" /></a>
|
||||
</div>
|
||||
|
||||
<div class="date">
|
||||
|
||||
<strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
({$comment->get('ipaddress')})
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="author">
|
||||
<!--@if(!$comment->member_srl)-->
|
||||
<!--@if($comment->homepage)-->
|
||||
<a href="{$comment->homepage}" onclick="window.open(this.href);return false;">{$comment->getNickName()}</a>
|
||||
<!--@else-->
|
||||
{$comment->getNickName()}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$comment->member_srl}">{$comment->getNickName()}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@if($comment->get('voted_count')!=0)-->
|
||||
<div class="voted">
|
||||
({$lang->voted_count}:
|
||||
<strong>{$comment->get('voted_count')}</strong>)
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="replyContent">
|
||||
<!--@if(!$comment->isAccessible())-->
|
||||
<!--%import("filter/input_password.xml")-->
|
||||
<strong>{$lang->msg_is_secret}</strong>
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
||||
<div class="inputPassword">
|
||||
<input type="password" name="password" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span>
|
||||
</div>
|
||||
</form>
|
||||
<!--@else-->
|
||||
{$comment->getContent(true)}
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@if($comment->hasUploadedFIles())-->
|
||||
<div class="fileAttached">
|
||||
<ul>
|
||||
{@ $_uploaded_files = $comment->getUploadedFiles() }
|
||||
<!--@foreach($_uploaded_files as $key => $file)-->
|
||||
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})({number_format($file->download_count)})</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($comment->get('depth'))-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
<!--@end-->
|
||||
68
modules/board/skins/xe_board/comment_form.html
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
|
||||
<!--@if($oSourceComment->isExists())-->
|
||||
<div class="replyBox">
|
||||
<div class="replyItem">
|
||||
<div class="author"><div class="member_{$oSourceComment->getMemberSrl()}">{$oSourceComment->getNickName()}</div></div>
|
||||
<div class="date">
|
||||
{$oSourceComment->getRegdate("Y.m.d H:i")}
|
||||
<!--@if($grant->is_admin)-->
|
||||
({$oSourceComment->get('ipaddress')})
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="replyContent gap1">
|
||||
{$oSourceComment->getContent(false)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 글쓰기 폼 -->
|
||||
<!--%import("filter/insert_comment.xml")-->
|
||||
<div class="boardWrite">
|
||||
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" <!--@if($grant->fileupload)-->enctype="multipart/form-data"<!--@end--> class="boardEditor" >
|
||||
<fieldset>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
|
||||
<input type="hidden" name="content" value="{htmlspecialchars($oComment->get('content'))}" />
|
||||
<input type="hidden" name="parent_srl" value="{$oComment->get('parent_srl')}" />
|
||||
|
||||
<div class="userNameAndPw">
|
||||
<!--@if(!$is_logged)-->
|
||||
<label for="userName">{$lang->writer}</label>
|
||||
<input type="text" name="nick_name" value="{$oComment->get('nick_name')}" class="userName inputTypeText" id="userName"/>
|
||||
|
||||
<label for="userPw">{$lang->password}</label>
|
||||
<input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />
|
||||
|
||||
<label for="emailAddress">{$lang->email_address}</label>
|
||||
<input type="text" name="email_address" value="{htmlspecialchars($oComment->get('email_address'))}" id="emailAddress" class="emailAddress inputTypeText"/>
|
||||
|
||||
<label for="homePage">{$lang->homepage}</label>
|
||||
<input type="text" name="homepage" value="{htmlspecialchars($oComment->get('homepage'))}" id="homePage" class="homePage inputTypeText"/>
|
||||
<!--@else-->
|
||||
<input type="checkbox" name="notify_message" value="Y" <!--@if($oComment->useNotify())-->checked="checked"<!--@end--> id="notify_message" />
|
||||
<label for="notify_message">{$lang->notify}</label>
|
||||
<!--@end-->
|
||||
|
||||
<input type="checkbox" name="is_secret" value="Y" <!--@if($oComment->isSecret())-->checked="checked"<!--@end--> id="is_secret" />
|
||||
<label for="is_secret">{$lang->secret}</label>
|
||||
</div>
|
||||
|
||||
<div <!--@if($is_logged)-->class="borderTop"<!--@end-->>{$comment_editor}</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<div class="commentButton tRight">
|
||||
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'"/></span>
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
|
|
@ -1,57 +1,66 @@
|
|||
@charset "utf-8";
|
||||
|
||||
/*
|
||||
NHN UIT Lab. WebStandardization Team (http://html.nhndesign.com/)
|
||||
Jeong, Chan Myeong 070601~070630
|
||||
*/
|
||||
.gap1 { margin-top:.8em; }
|
||||
.commentButton { margin:.8em 0 .8em 0; }
|
||||
|
||||
/* pathNavigation */
|
||||
.pathNavigation { background:url(../images/common/bullet_3x3_d8d8d8.gif) no-repeat left .4em; padding:0 0 0 .5em; color:#999999; margin:0 0 1.5em 0;}
|
||||
.pathNavigation * { font-size:.9em;}
|
||||
.pathNavigation a { color:#999999;}
|
||||
.pathNavigation strong { color:#666666;}
|
||||
/**
|
||||
* Header
|
||||
**/
|
||||
|
||||
/* boardComment */
|
||||
.boardComment { color:#AEAEAE; position:relative; border:1px solid #DDDDDD; overflow:hidden;padding:.8em; margin-top:.4em;}
|
||||
.boardComment a { color:#f38d2a; text-decoration:none; border-bottom:1px dotted #f38d2a;}
|
||||
/* board Title */
|
||||
.boardHeader { border:1px solid #e1e1dd; border-bottom:none; background:#ffffff url(../images/common/bgH3.gif) repeat-x left bottom; overflow:hidden; _width:100%;}
|
||||
.boardHeader h3 { float:left; font-size:1.2em; padding:1em 2em .7em 1.2em; background:#ffffff url(../images/common/lineH3.gif) no-repeat right bottom;}
|
||||
|
||||
/* boardInformation */
|
||||
/* board Description */
|
||||
.boardDescription { color:#AEAEAE; border:1px solid #DDDDDD; overflow:hidden; padding:1em; margin-top:1em;}
|
||||
|
||||
/* board Information */
|
||||
.boardInformation { width:100%; clear:both; margin:1em 0 .5em 0; overflow:hidden; color:#666666;}
|
||||
.articleNum { float:left; padding:0 0 0 15px; }
|
||||
|
||||
.accountNavigation { float:right; overflow:hidden;}
|
||||
.accountNavigation li { float:left; padding:0 .5em 0 .6em; background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat left .4em; list-style:none;}
|
||||
.accountNavigation li a { font-size:11px; white-space:nowrap; color:#666666; text-decoration:none;}
|
||||
.accountNavigation li.rss { background:none; padding-top:.4em;}
|
||||
.accountNavigation li.skin_info { padding-top:3px;}
|
||||
.accountNavigation li.join { background:none; padding-top:.4em;}
|
||||
.accountNavigation li.myInfo { padding-top:.4em; background:none;}
|
||||
.accountNavigation li.admin { padding-top:.4em;}
|
||||
.accountNavigation li.admin a { display:block; background:url(../images/common/iconAdmin.gif) no-repeat left .1em; padding:0 0 0 1.2em;}
|
||||
.accountNavigation li.setup { padding-top:.4em;}
|
||||
.accountNavigation li.setup a { display:block; background:url(../images/common/iconSetup.gif) no-repeat left .1em; padding:0 0 0 1.2em;}
|
||||
.accountNavigation li.loginAndLogout { background:none; padding-left:0;}
|
||||
/* account Navigation */
|
||||
.accountNavigation { float:right; }
|
||||
.accountNavigation li { float:left; margin-left:7px; list-style:none; padding-top:3px;}
|
||||
.accountNavigation li a { font-size:12px; white-space:nowrap; color:#666666; text-decoration:none;}
|
||||
.accountNavigation li.setup a { background:url(../images/common/iconSetup.gif) no-repeat left top; padding-left:14px; }
|
||||
.accountNavigation li.admin a { background:url(../images/common/iconAdmin.gif) no-repeat left top; padding-left:12px; }
|
||||
.accountNavigation li.listType { margin-left:5px; }
|
||||
.accountNavigation li.loginAndLogout { background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat left 5px; padding-left:8px; _padding-top:5px;}
|
||||
*:first-child+html li.loginAndLogout { padding-top:5px; }
|
||||
|
||||
/* boardList */
|
||||
.boardList { width:100%; position:relative; border:1px solid #e0e1db; table-layout:fixed;}
|
||||
.boardList tr.notice { background:#f8f8f8;}
|
||||
.boardList tr.notice .num { font-size:.9em; font-weight:bold;}
|
||||
/* gallery sub menu */
|
||||
.boardSubMenu { margin:0 0 .5em 0; padding:1em 0 .5em .5em; border-bottom:1px solid #e0e1db;}
|
||||
.boardSubMenu a { text-decoration:none; color:#666666; vertical-align:bottom; background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat right 5px; padding-left:10px; padding-right:10px; _padding-top:5px; position:relative; top:5px; }
|
||||
.boardSubMenu img.sort { vertical-align:middle; }
|
||||
|
||||
/* list */
|
||||
.boardList { width:100%; border:1px solid #e0e1db; border-top:none;}
|
||||
.boardListNoTopBorder { border:none; }
|
||||
.boardList th { color:#3e3f3e; font-weight:normal; border-top:1px solid #e0e1db; border-bottom:1px solid #ffffff; padding-top:5px; white-space:nowrap; height:33px; overflow:hidden;}
|
||||
.boardList th.no_line { background-position:-3px bottom; }
|
||||
.boardList th a { color:#3e3f3e; text-decoration:none; }
|
||||
.boardList th.num { border-left:1px solid #ffffff; }
|
||||
.boardList th.checkbox { text-align:center; }
|
||||
.boardList th.title { text-align:center; padding-left:1em; }
|
||||
.boardList th.topic { text-align:left; padding-left:1em; }
|
||||
.boardList th.category { text-align:left; padding-left:1em; }
|
||||
.boardList th.category select { vertical-align:middle; width:200px; height:20px;}
|
||||
.boardList th.reading, th.recommend , th.date { white-space:nowrap;}
|
||||
.boardList th .sort { padding:0 .2em; vertical-align:middle;}
|
||||
|
||||
.boardList tr.notice { background:#f8f8f8; }
|
||||
.boardList tr.notice .num { font-weight:bold;}
|
||||
.boardList tr.bg1 { background:#ffffff}
|
||||
.boardList tr.bg2 { background:#fbfbfb;}
|
||||
.boardList th a { color:#3e3f3e; text-decoration:none; }
|
||||
.boardList th.num { background-position:-3px bottom; border-left:1px solid #ffffff; }
|
||||
.boardList th.title { text-align:left; padding-left:2em;}
|
||||
.boardList th.category { text-align:left; padding-left:2em;}
|
||||
.boardList th.title select { vertical-align:middle; margin-left:.5em; }
|
||||
.boardList th.reading { white-space:nowrap;}
|
||||
.boardList th.recommend { white-space:nowrap;}
|
||||
.boardList th .sort { padding:0 .2em; vertical-align:middle;}
|
||||
.boardList td { border-top:1px solid #eff0ed; padding:.5em;}
|
||||
.boardList td.num { font:.8em tahoma; color:#999999; padding:.5em 1em; text-align:center;}
|
||||
.boardList td.checkbox { font:.8em tahoma; color:#999999; text-align:center;}
|
||||
.boardList tr.notice td.num { padding:.5em; white-space:nowrap;}
|
||||
.boardList tr.notice td.notice { font-size:.9em; color:#999999; font-weight:bold; text-align:center;}
|
||||
.boardList td.thumb { padding:.5em 0 .5em .5em; width:145px; table-layout:fixed; white-space:nowrap;}
|
||||
.boardList td.thumb * { vertical-align:middle;}
|
||||
.boardList td.thumb img { border:1px solid #E0E1DB; padding:3px; }
|
||||
|
||||
.boardList td.title {padding-left:1em; }
|
||||
.boardList td.title strong.category { font-size:1em; background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat right 3px; padding-right:.5em; margin-right:.5em;}
|
||||
.boardList td.title.bold { font-size:1.2em; font-weight:bold;}
|
||||
|
|
@ -60,23 +69,49 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardList td.title,
|
||||
.boardList td.title a { color:#444444; text-decoration:none;}
|
||||
.boardList td.title a:visited { color:#777777;}
|
||||
|
||||
.boardList td.topic { padding-left:1em; color:#888888; }
|
||||
.boardList td.topic strong a { font-size:1.2em; font-weight:bold; text-decoration:none; color:#444444; }
|
||||
.boardList td.topic strong a:visited { color:#777777; }
|
||||
.boardList td.topic .category { background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat left 3px; padding-left:.5em; margin-left:.5em; color:#AAAAAA; }
|
||||
.boardList td.topic div.author { margin-top:.5em; color:#BBBBBB; font-size:0.8em; }
|
||||
.boardList td.topic div.author strong { font-size:1.2em; font-weight:normal; color:#666666; }
|
||||
.boardList td.commentCount { font:bold .8em Tahoma; color:#888888; text-align:center; }
|
||||
|
||||
.boardList td.latestPost { color:#888888; }
|
||||
.boardList td.latestPost div.author { margin-top:.5em; color:#BBBBBB; font-size:0.8em; }
|
||||
.boardList td.latestPost div.author strong { font-size:1.2em; font-weight:normal; color:#666666; }
|
||||
.boardList td.latestPost div.date { font-size:0.8em; margin-top:.5em; }
|
||||
.boardList td.latestPost div.date strong { font-family:Tahoma; font-weight:normal; color:#666666; }
|
||||
|
||||
.boardListNoTopBorder td { border-top:none; border-bottom:1px solid #eff0ed; padding:.5em;}
|
||||
|
||||
.boardList td.webzineTitle { padding-left:1em; color:#777777;}
|
||||
.boardList td.webzineTitle strong.category { font-size:1em; background:url(../images/common/line_1x10_e0e0e0.gif) no-repeat right 3px; padding-right:.5em; margin-right:.5em;}
|
||||
.boardList td.webzineTitle.bold { font-size:1.2em; font-weight:bold;}
|
||||
.boardList td.webzineTitle * { vertical-align:middle;}
|
||||
.boardList td.webzineTitle,
|
||||
.boardList td.webzineTitle a { color:#444444; text-decoration:none;}
|
||||
.boardList td.webzineTitle a:visited { color:#777777;}
|
||||
|
||||
.boardList td.summary { border-top:none; vertical-align:top; color:#666666; line-height:1.25em; padding-left:1em;}
|
||||
.boardList td.summary a { color:#666666; text-decoration:none; line-height:inherit;}
|
||||
.boardList td.summary a:visited { color:#999999;}
|
||||
|
||||
.boardList td .replyAndTrackback img.trackback { margin-bottom:-.1em;}
|
||||
.boardList td .replyAndTrackback strong { font:bold 1em Tahoma;}
|
||||
.boardList td .replyAndTrackback { font:.8em Tahoma; }
|
||||
.boardList td.author { color:#333333; font-size:.95em; padding-left:1em;}
|
||||
.boardList td.author a { font-size:1em; color:#333333;}
|
||||
.boardList td.reading { font:.8em Tahoma; color:#999999; text-align:center;}
|
||||
.boardList td.recommend { font:bold .8em Tahoma; text-align:center;}
|
||||
.boardList td.date { font:.8em Tahoma; color:#999999; text-align:center; white-space:nowrap;}
|
||||
.boardList td.summary { border-top:none; vertical-align:top; color:#666666; line-height:1.25em;}
|
||||
.boardList td.summary a { color:#666666; text-decoration:none; line-height:inherit;}
|
||||
.boardList td.summary a:visited { color:#999999;}
|
||||
.boardList td input { _margin:-3px;}
|
||||
.boardList td .replyAndTrackback img.trackback { margin-bottom:-.1em;}
|
||||
.boardList td .replyAndTrackback strong { font:bold 1em Tahoma;}
|
||||
|
||||
.boardList td .thumbnailSmall { margin:0 .3em 0 .3em;}
|
||||
.boardList td .thumbnailSmall img { border:1px solid #bcbdb6;}
|
||||
.boardList td .thumbnailMedium { margin:0 .3em 0 .3em;}
|
||||
.boardList td .thumbnailMedium img { border:1px solid #e0e1db; padding:3px;}
|
||||
.buttonTypeGo { border:none; cursor:pointer; width:24px; height:20px; _position:relative; _top:3px; font:.75em Tahoma; text-align:center;}
|
||||
*:first-child+html .buttonTypeGo { position:relative; top:3px; }
|
||||
|
||||
.thumbnailBox { border-top:none; border-bottom:1px solid #eff0ed; padding:1.5em 0 0 1.5em; overflow:hidden; padding-bottom:1em;}
|
||||
.thumbnailBox { margin-top:1em; clear:both; overflow:hidden; border-bottom:1px solid #e0e1db; }
|
||||
.thumbnailBox div.cell { display:block; float:left; overflow:hidden; margin-bottom:1em; margin-right:1em;}
|
||||
.thumbnailBox div.cell img.thumb { padding:2px; border:1px solid #e0e1db; display:block; margin-bottom:1em; margin-left:auto;margin-right:auto;}
|
||||
.thumbnailBox div.title { color:#3B96C0; margin-bottom:.2em; overflow:hidden; white-space:nowrap; text-align:center;}
|
||||
|
|
@ -91,39 +126,26 @@ Jeong, Chan Myeong 070601~070630
|
|||
.thumbnailBox div.readAndRecommend .vr { color:#dddddd;}
|
||||
.thumbnailBox div.readAndRecommend strong.num { font:bold .8em Tahoma; color:#ff6600;}
|
||||
|
||||
/* list button */
|
||||
.leftButtonBox { float: left; margin-top:1em;}
|
||||
.rightButtonBox { float: right; margin-top:1em;}
|
||||
|
||||
/* pageNavigation */
|
||||
.pageNavigation { display:block; padding:1.5em 0 2em 0; text-align:center; font:bold 11px Tahoma; }
|
||||
.pageNavigation { display:block; margin-top:1em; text-align:center; font:bold 11px Tahoma; margin-top:1.5em;}
|
||||
.pageNavigation a { position:relative; margin-left:-4px; font:bold 1em Tahoma; color:#666666; display:inline-block; padding:1px 7px 2px 6px; border-left:1px solid #dedfde; border-right:1px solid #CCCCCC; text-decoration:none; line-height:1em; }
|
||||
.pageNavigation .current { position:relative; margin-left:-4px; font:bold 11px Tahoma; display:inline-block; padding:1px 7px 1px 6px; border-left:1px solid #dedfde; text-decoration:none; line-height:1em; }
|
||||
.pageNavigation a:hover { background:#F7F7F7; text-decoration:none; }
|
||||
.pageNavigation a:visited { color:#999999;}
|
||||
.pageNavigation a.goToFirst,
|
||||
.pageNavigation a.goToLast { border:none; border-right:1px solid #ffffff; border-left:1px solid #ffffff; z-index:99; vertical-align:top; padding:0px 7px 4px 6px;}
|
||||
.pageNavigation a.goToFirst img,
|
||||
.pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
.pageNavigation a:visited { color:#999999; }
|
||||
.pageNavigation a.goToFirst, .pageNavigation a.goToLast { border:none; border-right:1px solid #ffffff; border-left:1px solid #ffffff; z-index:99; vertical-align:top; padding:0px 7px 4px 6px;}
|
||||
.pageNavigation a.goToFirst img, .pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
|
||||
/* extraVars list */
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em; margin-top:1em;}
|
||||
.extraVarsList tr.notice { background:#f8f8f8;}
|
||||
.extraVarsList tr.notice .num { font-size:.9em; font-weight:bold;}
|
||||
.extraVarsList tr.bg1 { background:#ffffff}
|
||||
.extraVarsList tr.bg2 { background:#fbfbfb;}
|
||||
.extraVarsList th { color:#3e3f3e; font-weight:bold; padding:.8em .5em .5em .5em; border-bottom:1px solid #eff0ed; border-right:1px solid #eff0ed;}
|
||||
.extraVarsList td { border-bottom:1px solid #eff0ed; padding:.5em .5em .5em 1em;}
|
||||
|
||||
/* boardSearch */
|
||||
.boardSearch { text-align:center; clear:both; width:100%;}
|
||||
.boardSearch fieldset { border:none; display:inline; overflow:visible; position:relative; white-space:nowrap;}
|
||||
.boardSearch fieldset legend { overflow:hidden; width:1px; height:1px; font-size:.001em;}
|
||||
.boardSearch * { vertical-align:middle;}
|
||||
.boardSearch select { float:left;_margin-top:3px; height:20px;}
|
||||
.boardSearch input { float:left; margin:0 .3em; _margin-top:3px;background:#fbfbfb;}
|
||||
*:first-child+html .boardSearch select { margin-top:3px; height:21px;}
|
||||
*:first-child+html .boardSearch input { margin-top:3px; }
|
||||
.searchButton ul { overflow:hidden;}
|
||||
.searchButton li { float:left; margin-right:.3em; list-style:none;}
|
||||
/* Search Form */
|
||||
.boardSearch { margin-left:auto; margin-right:auto; clear:both; text-align:center;}
|
||||
.boardSearch select { height:20px; }
|
||||
.boardSearch input { height:18px; }
|
||||
|
||||
/* boardRead */
|
||||
.boardRead { padding:0; margin:0; border:1px solid #e0e1db;}
|
||||
.boardRead { padding:0; margin:0; border:1px solid #e0e1db; border-bottom:2px solid #666760; }
|
||||
.boardRead .originalContent { padding:2em 1.2em 2em 1.2em;}
|
||||
.boardRead .readHeader { padding:0 0 .5em 0; margin-bottom:1em; border-bottom:1px solid #eff0ed; overflow:hidden;}
|
||||
|
||||
|
|
@ -132,10 +154,10 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardRead .titleAndCategory .vr { font-size:.9em; margin:0 .3em; color:#c5c7c0;}
|
||||
.boardRead .titleAndCategory .category { font-size:.9em; color:#999999; white-space:nowrap;}
|
||||
|
||||
.boardRead .dateAndModify { float:right; white-space:nowrap; font-size:.8em; color:#999999; position:relative;}
|
||||
.boardRead .dateAndModify strong { font-size:1em; font-family:Tahoma;}
|
||||
.boardRead .dateAndCount { float:right; white-space:nowrap; font-size:.8em; color:#999999; padding-top:5px; }
|
||||
.boardRead .dateAndCount strong { font-size:1em; font-family:Tahoma;}
|
||||
|
||||
.boardRead ul.uri { overflow:hidden; margin:0 0 2em .3em; float:right; clear:left;}
|
||||
.boardRead ul.uri { overflow:hidden; margin:0 0 2em .3em; float:right; clear:left; }
|
||||
.boardRead ul.uri li { font-size:8pt; color:#c5c7c0; }
|
||||
|
||||
.boardRead .userInfo { float:left; white-space:nowrap; }
|
||||
|
|
@ -157,58 +179,67 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardRead .readFooter .tag li { display:inline;}
|
||||
.boardRead .readFooter .tag a { color:#444444;}
|
||||
.boardRead .readFooter .tag .tagIcon { vertical-align:middle;}
|
||||
.boardRead .readFooter .fileAttached { _width:99%; border:1px solid #eaeae7; overflow:hidden; background:#fbfbfb;}
|
||||
.boardRead .readFooter .fileAttached { border:1px solid #eaeae7; overflow:hidden; background:#fbfbfb;}
|
||||
.boardRead .readFooter .fileAttached h5 { font-weight:normal; color:#999999; float:left; font-size:1em; margin:.5em .5em 0 .5em; line-height:1.5em;}
|
||||
.boardRead .readFooter .fileAttached ul { float:left; margin-top:.5em; padding-bottom:1em; }
|
||||
.boardRead .readFooter .fileAttached li { display:inline; margin-right:.75em; line-height:1.5em;}
|
||||
.boardRead .readFooter .fileAttached li a { text-decoration:none; color:#777777;}
|
||||
.boardRead .readFooter .fileAttached li a { text-decoration:none; font-size:.9em; padding:.1em 0 .1em 1.5em; white-space:nowrap; color:#444444; }
|
||||
.boardRead .readFooter .fileAttached li a:visited { color:#777777;}
|
||||
.boardRead .buttonBox { float:right; height:40px; margin-right:1em;}
|
||||
|
||||
.boardRead .replyAndTrackbackBox { position:relative; _width:100%;}
|
||||
.boardRead .replyAndTrackbackBox { overflow:hidden; height:40px; float:left;}
|
||||
.boardRead .replyAndTrackback li { margin-top:10px; _margin-top:8px; margin-left:1em; padding-left:1.4em; float:left; list-style:none;}
|
||||
|
||||
.boardRead .replyAndTrackback li.reply { background:url(../images/common/iconReply.gif) no-repeat left top;}
|
||||
.boardRead .replyAndTrackback li.reply a { position:relative; top:-.3em; _top:-.6em;}
|
||||
|
||||
.boardRead .replyAndTrackback li.reply a { _position:relative; _top:-.6em;}
|
||||
.boardRead .replyAndTrackback li.trackback { background:url(../images/common/iconTrackback.gif) no-repeat left top;}
|
||||
.boardRead .replyAndTrackback li.trackback a { position:relative; top:-.3em; _top:0em;}
|
||||
|
||||
.boardRead .replyAndTrackback li.trackback a { _position:relative; _top:0em;}
|
||||
.boardRead .replyAndTrackback a { color:#333333; white-space:nowrap; text-decoration:none;}
|
||||
.boardRead .replyAndTrackback a#toggleReply { background:url(../images/common/buttonToggleReply.gif) no-repeat right top;}
|
||||
.boardRead .replyAndTrackback a#toggleTrackback { background:url(../images/common/buttonToggleReply.gif) no-repeat right -13px;}
|
||||
|
||||
.boardRead .replyAndTrackback .listButton { position:relative; right: 10px; top:-7px; _top:-6px; float:right;}
|
||||
|
||||
#trackbacks { padding:.6em .6em; color:#666666; border:1px solid #e0e1db;;margin-top:.5em;}
|
||||
#trackbacks li { padding:.6em .8em .6em .6em; line-height:1.25em; border-bottom:1px dotted #EEEEEE; list-style:none;}
|
||||
#trackbacks p { display:inline; margin-bottom:1em;}
|
||||
#trackbacks a { color:#666666; text-decoration:none;}
|
||||
#trackbacks div { clear:both; }
|
||||
#trackbacks address { display:block; padding:0 .3em 0 0; }
|
||||
#trackbacks address a { font-size:.9em; color:#3074a5; margin-right:.3em; float:left;}
|
||||
#trackbacks address .date { font:.8em Tahoma; color:#cccccc; float:right;}
|
||||
/* extraVars list */
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em; margin-top:1em; border-bottom:none;}
|
||||
.extraVarsList tr.notice { background:#f8f8f8;}
|
||||
.extraVarsList tr.notice .num { font-size:.9em; font-weight:bold;}
|
||||
.extraVarsList tr.bg1 { background:#ffffff}
|
||||
.extraVarsList tr.bg2 { background:#fbfbfb;}
|
||||
.extraVarsList th { color:#3e3f3e; font-weight:bold; padding:.8em .5em .5em .5em; border-bottom:1px solid #e0e1db; border-right:1px solid #e0e1db;}
|
||||
.extraVarsList td { border-bottom:1px solid #e0e1db; padding:.5em .5em .5em 1em; white-space:nowrap; overflow:hidden;}
|
||||
|
||||
#reply { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
|
||||
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none; }
|
||||
#reply p { display:inline; margin-bottom:1em;}
|
||||
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
|
||||
#reply .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
.trackbackBox { padding:.6em .6em; color:#666666; border:1px solid #e0e1db;;margin-top:.5em;}
|
||||
.trackbackBox .trackbackItem { padding:.6em .8em .6em .6em; line-height:1.25em; border-bottom:1px dotted #EEEEEE; list-style:none;}
|
||||
.trackbackBox p { display:inline; margin-bottom:1em;}
|
||||
.trackbackBox a { color:#666666; text-decoration:none;}
|
||||
.trackbackBox div { clear:both; }
|
||||
.trackbackBox address { display:block; padding:0 .3em 0 0; }
|
||||
.trackbackBox address a { font-size:.9em; color:#3074a5; margin-right:.3em; float:left;}
|
||||
.trackbackBox address .date { font:.8em Tahoma; color:#cccccc; float:right;}
|
||||
|
||||
#reply .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
#reply .replyOption img { vertical-align:middle;}
|
||||
.replyBox { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
|
||||
.replyBox .replyItem { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
|
||||
.replyBox p { display:inline; margin-bottom:1em;}
|
||||
.replyBox .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
.replyBox .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
|
||||
.replyBox .voted { float:left; font-size:.9em; color:#AAAAAA; margin:0 .3em .5em 1em;}
|
||||
.replyBox .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
#reply .replyContent { clear:left; }
|
||||
#reply .replyContent p { display:block; }
|
||||
#reply .replyContent ul li { padding:0; border:none; line-height:1.25em; list-style:disc;}
|
||||
#reply .replyContent ol li { padding:0; border:none; line-height:1.25em; list-style:decimal;}
|
||||
#reply .reply { background-color:#FAFAFA;}
|
||||
#reply .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}
|
||||
.replyBox .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
.replyBox .replyOption img { vertical-align:middle;}
|
||||
|
||||
#reply li .fileAttached { _width:99%; border:1px solid #eaeae7; overflow:hidden; background:#fbfbfb; margin-top:.3em; list-style:none;}
|
||||
#reply li .fileAttached ul { float:left; padding:.3em 1em .2em 0; margin-left:.5em; _margin-left:.25em;}
|
||||
#reply li .fileAttached li a { font-size:.9em; white-space:nowrap; position:relative; color:#444444; }
|
||||
#reply li .fileAttached li a:visited { color:#777777;}
|
||||
.replyBox .replyContent { clear:left; }
|
||||
.replyBox .replyContent p { display:block; }
|
||||
.replyBox .replyContent ul li { padding:0; border:none; line-height:1.25em; list-style:disc;}
|
||||
.replyBox .replyContent ol li { padding:0; border:none; line-height:1.25em; list-style:decimal;}
|
||||
.replyBox .reply { background-color:#FAFAFA;}
|
||||
.replyBox .replyIndent { background:url(../images/common/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}
|
||||
|
||||
.replyBox .fileAttached { _width:99%; border:1px solid #eaeae7; overflow:hidden; background:#fbfbfb; margin-top:.3em; list-style:none;}
|
||||
.replyBox .fileAttached ul { float:left; padding:.3em 1em .2em 0; margin-left:.5em; _margin-left:.25em;}
|
||||
.replyBox .fileAttached li a { font-size:.9em; white-space:nowrap; position:relative; color:#444444; }
|
||||
.replyBox .fileAttached li a:visited { color:#777777;}
|
||||
|
||||
.commentButton { margin-top:.5em; }
|
||||
|
||||
/* boardEditor */
|
||||
.boardEditor { padding:.5em 0 1em 0; width:100%; overflow:hidden;}
|
||||
|
|
@ -237,6 +268,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardWrite .option dt { display:block; float:left; font-weight:bold; padding:.3em 0 0 1.5em; width:8em; white-space:nowrap;}
|
||||
.boardWrite .option dd { float:left; margin-right:1em; padding-top:.2em; _padding-top:.1em;}
|
||||
.boardWrite .option dd * { vertical-align:middle;}
|
||||
.boardWrite .option dd select { width:7em; font-size:.95em;height:20px;}
|
||||
.boardWrite .inputTypeText { background:#fbfbfb;}
|
||||
.boardWrite .trackbackURI { clear:both; border-top:1px solid #eff0ed; padding:4px 0 .8em 0;}
|
||||
.boardWrite .trackbackURI label { display:block; float:left; color:#333333; font-weight:bold; padding:.4em 0 0 1.5em; width:11em;}
|
||||
|
|
@ -260,4 +292,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
.smallBox .inputPassword .inputTypeText { float:left; margin-right:.5em; width:8em;}
|
||||
.smallBox .inputPassword legend { position:absolute; overflow:hidden; width:1px; height:1px; font-size:.001em; text-indent:-100em;}
|
||||
|
||||
*:first-child+html .buttonTypeGo { position:relative; top:3px; }
|
||||
|
||||
/* 게시물의 팝업 메뉴 */
|
||||
.comment_popup_menu, .document_popup_menu { text-align:right; margin-top:3em; clear:both; display:block; background:url(../images/common/document_menu.gif) no-repeat right top; padding-right:16px; height:18px; }
|
||||
.comment_popup_menu span, .document_popup_menu span { cursor:pointer; display:inline; background:none; padding:0 0 0 0; margin:0 0 0 0; }
|
||||
29
modules/board/skins/xe_board/css/cyan.css
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@charset "utf-8";
|
||||
|
||||
/* board Title */
|
||||
.boardHeader h3 { border-bottom:3px solid #2895c0; }
|
||||
|
||||
/* board Information */
|
||||
.articleNum { float:left; background:url(../images/cyan/iconArticle.gif) no-repeat left top; }
|
||||
.articleNum strong { font:bold 11px Tahoma; color:#2895c0;}
|
||||
|
||||
/* account Navigation */
|
||||
.accountNavigation li.join a { background:url(../images/cyan/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
.accountNavigation li.myInfo a { background:url(../images/cyan/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
|
||||
/* style.list */
|
||||
.boardList th { background:#ffffff url(../images/cyan/lineBoardListTh.gif) no-repeat left bottom; }
|
||||
.boardList td.recommend { color:#2895c0; }
|
||||
.boardList td .replyAndTrackback { color:#2895c0; }
|
||||
.buttonTypeGo { background:url(../images/cyan/buttonTypeInput24.gif) no-repeat; }
|
||||
|
||||
/* pageNavigation */
|
||||
.pageNavigation .current { color:#2895c0; border-right:1px solid #CCCCCC; }
|
||||
|
||||
/* boardRead */
|
||||
boardRead .readFooter .fileAttached li a { background:url(../images/cyan/iconFile.gif) no-repeat left top;}
|
||||
|
||||
/* replyAndTrackback */
|
||||
.replyAndTrackback { background:url(../images/cyan/bgBoardListTh.gif) repeat-x left 0px; }
|
||||
.replyAndTrackback a strong { color:#2895c0;}
|
||||
.replyBox .fileAttached li { border:0px; display:inline; margin-right:.75em; line-height:1.5em; padding:.1em 0 .1em 1.5em; background:url(../images/cyan/iconFile.gif) no-repeat left;}
|
||||
29
modules/board/skins/xe_board/css/green.css
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@charset "utf-8";
|
||||
|
||||
/* board Title */
|
||||
.boardHeader h3 { border-bottom:3px solid #38b549; }
|
||||
|
||||
/* board Information */
|
||||
.articleNum { float:left; background:url(../images/green/iconArticle.gif) no-repeat left top; }
|
||||
.articleNum strong { font:bold 11px Tahoma; color:#ff6600;}
|
||||
|
||||
/* account Navigation */
|
||||
.accountNavigation li.join a { background:url(../images/green/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
.accountNavigation li.myInfo a { background:url(../images/green/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
|
||||
/* style.list */
|
||||
.boardList th { background:#ffffff url(../images/green/lineBoardListTh.gif) no-repeat left bottom; }
|
||||
.boardList td.recommend { color:#38b549; }
|
||||
.boardList td .replyAndTrackback { color:#38b549; }
|
||||
.buttonTypeGo { background:url(../images/green/buttonTypeInput24.gif) no-repeat; }
|
||||
|
||||
/* pageNavigation */
|
||||
.pageNavigation .current { color:#38b549; border-right:1px solid #CCCCCC; }
|
||||
|
||||
/* boardRead */
|
||||
.boardRead .readFooter .fileAttached li a { background:url(../images/green/iconFile.gif) no-repeat left top;}
|
||||
|
||||
/* replyAndTrackback */
|
||||
.replyAndTrackback { background:url(../images/green/bgBoardListTh.gif) repeat-x left 0px; }
|
||||
.replyAndTrackback a strong { color:#38b549;}
|
||||
.replyBox .fileAttached li { border:0px; display:inline; margin-right:.75em; line-height:1.5em; padding:.1em 0 .1em 1.5em; background:url(../images/green/iconFile.gif) no-repeat left;}
|
||||
29
modules/board/skins/xe_board/css/purple.css
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@charset "utf-8";
|
||||
|
||||
/* board Title */
|
||||
.boardHeader h3 { border-bottom:3px solid #ac19a9; }
|
||||
|
||||
/* board Information */
|
||||
.articleNum { float:left; background:url(../images/purple/iconArticle.gif) no-repeat left top; }
|
||||
.articleNum strong { font:bold 11px Tahoma; color:#b1ae00;}
|
||||
|
||||
/* account Navigation */
|
||||
.accountNavigation li.join a { background:url(../images/purple/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
.accountNavigation li.myInfo a { background:url(../images/purple/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
|
||||
/* style.list */
|
||||
.boardList th { background:#ffffff url(../images/purple/lineBoardListTh.gif) no-repeat left bottom; }
|
||||
.boardList td.recommend { color:#b1ae00; }
|
||||
.boardList td .replyAndTrackback { color:#b1ae00; }
|
||||
.buttonTypeGo { background:url(../images/purple/buttonTypeInput24.gif) no-repeat; }
|
||||
|
||||
/* pageNavigation */
|
||||
.pageNavigation .current { color:#b1ae00; border-right:1px solid #CCCCCC; }
|
||||
|
||||
/* boardRead */
|
||||
.boardRead .readFooter .fileAttached li a { background:url(../images/purple/iconFile.gif) no-repeat left top;}
|
||||
|
||||
/* replyAndTrackback */
|
||||
.replyAndTrackback { background:url(../images/purple/bgBoardListTh.gif) repeat-x left 0px; }
|
||||
.replyAndTrackback a strong { color:#b1ae00;}
|
||||
.replyBox .fileAttached li { border:0px; display:inline; margin-right:.75em; line-height:1.5em; padding:.1em 0 .1em 1.5em; background:url(../images/purple/iconFile.gif) no-repeat left;}
|
||||
29
modules/board/skins/xe_board/css/red.css
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@charset "utf-8";
|
||||
|
||||
/* board Title */
|
||||
.boardHeader h3 { border-bottom:3px solid #ed135a; }
|
||||
|
||||
/* board Information */
|
||||
.articleNum { float:left; background:url(../images/red/iconArticle.gif) no-repeat left top; }
|
||||
.articleNum strong { font:bold 11px Tahoma; color:#ff6600;}
|
||||
|
||||
/* account Navigation */
|
||||
.accountNavigation li.join a { background:url(../images/red/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
.accountNavigation li.myInfo a { background:url(../images/red/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
|
||||
/* style.list */
|
||||
.boardList th { background:#ffffff url(../images/red/lineBoardListTh.gif) no-repeat left bottom; }
|
||||
.boardList td.recommend { color:#ff6600; }
|
||||
.boardList td .replyAndTrackback { color:#ff6600; }
|
||||
.buttonTypeGo { background:url(../images/red/buttonTypeInput24.gif) no-repeat; }
|
||||
|
||||
/* pageNavigation */
|
||||
.pageNavigation .current { color:#ff6600; border-right:1px solid #CCCCCC; }
|
||||
|
||||
/* boardRead */
|
||||
.boardRead .readFooter .fileAttached li a { background:url(../images/red/iconFile.gif) no-repeat left top;}
|
||||
|
||||
/* replyAndTrackback */
|
||||
.replyAndTrackback { background:url(../images/red/bgBoardListTh.gif) repeat-x left 0px; }
|
||||
.replyAndTrackback a strong { color:#ff6600;}
|
||||
.replyBox .fileAttached li { border:0px; display:inline; margin-right:.75em; line-height:1.5em; padding:.1em 0 .1em 1.5em; background:url(../images/red/iconFile.gif) no-repeat left;}
|
||||
29
modules/board/skins/xe_board/css/white.css
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@charset "utf-8";
|
||||
|
||||
/* board Title */
|
||||
.boardHeader h3 { border-bottom:3px solid #fe3614; }
|
||||
|
||||
/* board Information */
|
||||
.articleNum { float:left; background:url(../images/white/iconArticle.gif) no-repeat left top; }
|
||||
.articleNum strong { font:bold 11px Tahoma; color:#ff6600;}
|
||||
|
||||
/* account Navigation */
|
||||
.accountNavigation li.join a { background:url(../images/white/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
.accountNavigation li.myInfo a { background:url(../images/white/iconMyInfo.gif) no-repeat left top; padding-left:14px; }
|
||||
|
||||
/* style.list */
|
||||
.boardList th { background:#ffffff url(../images/white/lineBoardListTh.gif) no-repeat left bottom; }
|
||||
.boardList td.recommend { color:#ff6600; }
|
||||
.boardList td .replyAndTrackback { color:#ff6600; }
|
||||
.buttonTypeGo { background:url(../images/white/buttonTypeInput24.gif) no-repeat; }
|
||||
|
||||
/* pageNavigation */
|
||||
.pageNavigation .current { color:#ff6600; border-right:1px solid #CCCCCC; }
|
||||
|
||||
/* boardRead */
|
||||
.boardRead .readFooter .fileAttached li a { background:url(../images/white/iconFile.gif) no-repeat left top;}
|
||||
|
||||
/* replyAndTrackback */
|
||||
.replyAndTrackback { background:url(../images/white/bgBoardListTh.gif) repeat-x left 0px; }
|
||||
.replyAndTrackback a strong { color:#ff6600;}
|
||||
.replyBox .fileAttached li { border:0px; display:inline; margin-right:.75em; line-height:1.5em; padding:.1em 0 .1em 1.5em; background:url(../images/white/iconFile.gif) no-repeat left;}
|
||||
|
|
@ -10,12 +10,12 @@
|
|||
<form action="./" method="get" onsubmit="return procFilter(this, delete_comment)">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="document_srl" value="{$document_srl}" />
|
||||
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
|
||||
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
|
||||
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
|
||||
|
||||
<div class="inputPassword tCenter">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_delete}" accesskey="s" /></span>
|
||||
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
|
||||
<a href="{getUrl('act','','comment_srl','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
@ -17,6 +17,8 @@
|
|||
<param name="email_address" target="email_address" />
|
||||
<param name="homepage" target="homepage" />
|
||||
<param name="content" target="content" />
|
||||
<param name="is_secret" target="is_secret" />
|
||||
<param name="notify_message" target="notify_message" />
|
||||
</parameter>
|
||||
<response callback_func="completeInsertComment">
|
||||
<tag name="error" />
|
||||
111
modules/board/skins/xe_board/header.html
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
<!-- JS 파일 로드 -->
|
||||
<!--%import("js/board.js")-->
|
||||
|
||||
<!-- 컬러셋 체크 -->
|
||||
<!--@if(!$module_info->colorset)-->
|
||||
{@$module_info->colorset = "white"}
|
||||
<!--@end-->
|
||||
|
||||
<!-- CSS 파일 로드 (컬러셋에 따라서) -->
|
||||
<!--%import("css/common.css")-->
|
||||
|
||||
<!--@if($module_info->colorset == "cyan")--> <!--%import("css/cyan.css")-->
|
||||
<!--@elseif($module_info->colorset == "red")--> <!--%import("css/red.css")-->
|
||||
<!--@elseif($module_info->colorset == "green")--> <!--%import("css/green.css")-->
|
||||
<!--@elseif($module_info->colorset == "purple")--> <!--%import("css/purple.css")-->
|
||||
<!--@else--> <!--%import("css/white.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 스킨 설정중 새글의 시간 설정 값이 없으면 임의로 지정 -->
|
||||
<!--@if(!$module_info->duration_new = (int)$module_info->duration_new)-->
|
||||
{@ $module_info->duration_new = 12 }
|
||||
<!--@end-->
|
||||
|
||||
<!-- 스킨 설정중 썸네일 관련 항목을 지정 -->
|
||||
<!--@if(!$module_info->thumbnail_type)-->{@ $module_info->thumbnail_type = 'crop'; }<!--@end-->
|
||||
<!--@if(!$module_info->thumbnail_width)-->{@ $module_info->thumbnail_width = 100; }<!--@end-->
|
||||
<!--@if(!$module_info->thumbnail_height)-->{@ $module_info->thumbnail_height = 100; }<!--@end-->
|
||||
|
||||
<!-- 정렬에 따른 아이콘 미리 지정 -->
|
||||
<!--@if($order_type == "desc")-->
|
||||
{@ $order_icon = "buttonDescending.gif" }
|
||||
{@ $order_type = "asc"; }
|
||||
<!--@else-->
|
||||
{@ $order_icon = "buttonAscending.gif" }
|
||||
{@ $order_type = "desc"; }
|
||||
<!--@end-->
|
||||
|
||||
<!-- 사용자가 선택한 게시판 형태에 따른 설정(포럼형은 적용 안됨) -->
|
||||
<!--@if($module_info->default_style != 'forum')-->
|
||||
<!--@if($listStyle=='gallery')-->
|
||||
{@ $module_info->default_style = 'gallery'}
|
||||
<!--@elseif($listStyle=='webzine')-->
|
||||
{@ $module_info->default_style = 'webzine'}
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 상단 텍스트 출력 -->
|
||||
{$module_info->header_text}
|
||||
|
||||
<!-- 스킨의 제목/간단한 설명 출력 -->
|
||||
<!--@if($module_info->title)-->
|
||||
<div class="boardHeader">
|
||||
<h3>{$module_info->title}<!--@if($module_info->sub_title)--> - {$module_info->sub_title}<!--@end--></h3>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 스킨의 상세 설명 -->
|
||||
<!--@if($module_info->comment)-->
|
||||
<div class="boardDescription">{$module_info->comment}</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 게시판 정보 -->
|
||||
<div class="boardInformation">
|
||||
|
||||
<!-- 게시물 수 -->
|
||||
<!--@if($total_count)-->
|
||||
<div class="articleNum">{$lang->document_count} <strong>{number_format($total_count)}</strong></div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 로그인 정보 -->
|
||||
<ul class="accountNavigation">
|
||||
|
||||
<!-- 로그인 되어 있을 경우 -->
|
||||
<!--@if($is_logged)-->
|
||||
|
||||
<!-- 관리자이면 설정 버튼 출력 -->
|
||||
<!--@if($grant->is_admin)-->
|
||||
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 최고관리자이면 관리자 페이지 버튼 출력 -->
|
||||
<!--@if($logged_info->is_admin == 'Y')-->
|
||||
<li class="admin"><a href="{getUrl('','module','admin','act','dispBoardAdminContent')}" onclick="window.open(this.href); return false;">{$lang->cmd_management}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 레이아웃이 없으면 회원정보 버튼 출력 -->
|
||||
<!--@if(!$module_info->layout_srl)-->
|
||||
<li class="myInfo"><a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a></li>
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 로그인 되어 있지 않고 레이아웃이 없으면 -->
|
||||
<!--@elseif(!$is_logged && !$module_info->layout_srl)-->
|
||||
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($rss_url)-->
|
||||
<li class="rss"><a href="{$rss_url}"><img src="./images/common/iconRss.gif" alt="RSS" width="13" height="13" /></a></li>
|
||||
<!--@end-->
|
||||
|
||||
<li class="skin_info"><a href="{getUrl('','module','module','act','dispModuleSkinInfo','selected_module',$module_info->module, 'skin', $module_info->skin)}" onclick="popopen(this.href,'skinInfo'); return false;"><img src="./images/common/buttonHelp.gif" alt="Skin Info" width="13" height="13"/></a></li>
|
||||
|
||||
<!-- 목록형태 (포럼형이 기본으로 되어 있을 경우 다른 형태를 지정 못하게 함) -->
|
||||
<!--@if($module_info->default_style != 'forum')-->
|
||||
<li class="listType"><a href="{getUrl('listStyle','')}"><img src="./images/common/typeList.gif" border="0" width="13" height="13" alt="List" /></a></li>
|
||||
<li class="listType"><a href="{getUrl('listStyle','webzine')}"><img src="./images/common/typeWebzine.gif" border="0" width="13" height="13" alt="Webzine" /></a></li>
|
||||
<li class="listType"><a href="{getUrl('listStyle','gallery')}"><img src="./images/common/typeGallery.gif" border="0" width="13" height="13" alt="Gallery" /></a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
|
Before Width: | Height: | Size: 51 B After Width: | Height: | Size: 51 B |
|
Before Width: | Height: | Size: 51 B After Width: | Height: | Size: 51 B |
|
Before Width: | Height: | Size: 44 B After Width: | Height: | Size: 44 B |
|
Before Width: | Height: | Size: 46 B After Width: | Height: | Size: 46 B |
|
Before Width: | Height: | Size: 58 B After Width: | Height: | Size: 58 B |
|
Before Width: | Height: | Size: 61 B After Width: | Height: | Size: 61 B |
|
Before Width: | Height: | Size: 46 B After Width: | Height: | Size: 46 B |
BIN
modules/board/skins/xe_board/images/common/buttonHelp.gif
Normal file
|
After Width: | Height: | Size: 101 B |
|
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 70 B |
BIN
modules/board/skins/xe_board/images/common/document_menu.gif
Normal file
|
After Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 88 B After Width: | Height: | Size: 88 B |
|
Before Width: | Height: | Size: 46 B After Width: | Height: | Size: 46 B |
BIN
modules/board/skins/xe_board/images/common/iconCheck.gif
Normal file
|
After Width: | Height: | Size: 321 B |
|
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 452 B |
|
Before Width: | Height: | Size: 106 B After Width: | Height: | Size: 106 B |
|
Before Width: | Height: | Size: 54 B After Width: | Height: | Size: 54 B |
BIN
modules/board/skins/xe_board/images/common/iconRss.gif
Normal file
|
After Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
|
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
|
Before Width: | Height: | Size: 101 B After Width: | Height: | Size: 101 B |
|
Before Width: | Height: | Size: 45 B After Width: | Height: | Size: 45 B |
|
Before Width: | Height: | Size: 44 B After Width: | Height: | Size: 44 B |
BIN
modules/board/skins/xe_board/images/common/typeGallery.gif
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
modules/board/skins/xe_board/images/common/typeList.gif
Normal file
|
After Width: | Height: | Size: 166 B |
BIN
modules/board/skins/xe_board/images/common/typeWebzine.gif
Normal file
|
After Width: | Height: | Size: 218 B |
|
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 204 B |
|
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
|
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 210 B |
|
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 91 B |
|
Before Width: | Height: | Size: 198 B After Width: | Height: | Size: 198 B |
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 211 B After Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 96 B After Width: | Height: | Size: 96 B |
|
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 400 B After Width: | Height: | Size: 400 B |
|
Before Width: | Height: | Size: 419 B After Width: | Height: | Size: 419 B |
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
|
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 525 B |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
|
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 265 B |
|
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 213 B |
|
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 96 B After Width: | Height: | Size: 96 B |
|
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 307 B |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 407 B |