mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
기본 게시판 스킨 언어 변화 및 주석 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4772 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bb2d6e1ac6
commit
9ce01957cf
16 changed files with 662 additions and 763 deletions
|
|
@ -1,3 +1,3 @@
|
|||
</div>
|
||||
<!-- 하단 텍스트 출력 -->
|
||||
|
||||
{$module_info->footer_text}
|
||||
|
|
|
|||
|
|
@ -1,41 +1,32 @@
|
|||
<!--// JS 파일 로드 -->
|
||||
<!--%import("js/board.js")-->
|
||||
<!--%import("js/board.js")-->
|
||||
|
||||
<!--// 컬러셋 체크 -->
|
||||
<!--@if(!$module_info->colorset)-->
|
||||
{@$module_info->colorset = "white"}
|
||||
<!--@end-->
|
||||
<!--@if(!$module_info->colorset)-->
|
||||
{@$module_info->colorset = "white"}
|
||||
<!--@end-->
|
||||
|
||||
|
||||
<!--// CSS 파일 로드 (컬러셋에 따라서) -->
|
||||
|
||||
<!--%import("css/board.css",optimized=false)-->
|
||||
<!--%import("css/pagination.css",optimized=false)-->
|
||||
<!--%import("css/tag.css",optimized=false)-->
|
||||
<!--@if($module_info->colorset == "black")--> <!--%import("css/black.css",optimized=false)-->
|
||||
<!--@else--> <!--%import("css/white.css",optimized=false)-->
|
||||
<!--@end-->
|
||||
<!--%import("css/board.css")-->
|
||||
<!--%import("css/pagination.css")-->
|
||||
<!--%import("css/tag.css")-->
|
||||
<!--@if($module_info->colorset == "black")--> <!--%import("css/black.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->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(!$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($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' && $module_info->default_style != 'blog')-->
|
||||
<!--@if($listStyle=='gallery')-->
|
||||
{@ $module_info->default_style = 'gallery'}
|
||||
|
|
@ -46,67 +37,49 @@
|
|||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<!--// 상단 텍스트 출력 -->
|
||||
{$module_info->header_text}
|
||||
{$module_info->header_text}
|
||||
|
||||
<div class="board">
|
||||
<div class="boardHeader">
|
||||
<!-- 스킨의 제목/간단한 설명 출력 -->
|
||||
<!--@if($module_info->title)-->
|
||||
<div class="boardTitle">
|
||||
<h2 class="boardTitleText"><a href="{getUrl('','mid',$mid,'listStyle',$listStyle)}">{$module_info->title}<!--@if($module_info->sub_title)--> : <em>{$module_info->sub_title}</em><!--@end--></a></h2>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 스킨의 상세 설명 -->
|
||||
<!--@if($module_info->comment)-->
|
||||
<p class="boardDescription">{$module_info->comment}</p>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!-- 게시판 정보 -->
|
||||
<!--@if($module_info->display_login_info != 'N' || $module_info->display_setup_button != 'N')-->
|
||||
<div class="boardInformation">
|
||||
|
||||
<!-- 게시물 수 -->
|
||||
<!--@if($total_count && $module_info->default_style != 'blog')-->
|
||||
<div class="infoLeft">{$lang->document_count} <strong>{number_format($total_count)}</strong></div>
|
||||
<!--@end-->
|
||||
|
||||
<div class="infoRight">
|
||||
<!-- 로그인 정보 -->
|
||||
<ul>
|
||||
<!--// 로그인 되어 있을 경우 -->
|
||||
<!--@if($is_logged)-->
|
||||
|
||||
<!--// 관리자이면 설정 버튼 출력 -->
|
||||
<!--@if($grant->is_admin && $module_info->display_setup_button != 'N')-->
|
||||
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 최고관리자이면 관리자 페이지 버튼 출력 -->
|
||||
<!--@if($logged_info->is_admin == 'Y' && $module_info->display_setup_button != 'N')-->
|
||||
<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->display_login_info != 'N')-->
|
||||
<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->display_login_info != 'N')-->
|
||||
<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 icon"><a href="{$rss_url}" title="RSS"><span>RSS</span></a></li>
|
||||
<!--@end-->
|
||||
|
||||
<li class="tag_info icon"><a href="{getUrl('act','dispBoardTagList')}" title="Tag List"><span>Tag List</span></a></li>
|
||||
|
||||
<!--// 목록형태 (포럼형/ 블로그형이 기본으로 되어 있을 경우 다른 형태를 지정 못하게 함) -->
|
||||
<!--@if($module_info->default_style != 'forum' && $module_info->default_style != 'blog')-->
|
||||
<li class="listTypeClassic icon"><a href="{getUrl('listStyle','list','act','','document_srl','')}" title="Classic Board"><span>Classic Board</span></a></li>
|
||||
<li class="listTypeZine icon"><a href="{getUrl('listStyle','webzine','act','','document_srl','')}" title="Web Zine"><span>Web Zine</span></a></li>
|
||||
|
|
|
|||
|
|
@ -1,54 +1,50 @@
|
|||
<!-- 검색된 글 목록이 있고 권한이 있을 경우 출력 -->
|
||||
<!--@if($grant->list)-->
|
||||
<!--@if($grant->list)-->
|
||||
|
||||
<!--@if($category || $search_keyword)-->
|
||||
<!--@if($category || $search_keyword)-->
|
||||
|
||||
<!--@if($oDocument->isExists())-->
|
||||
<div class="viewDocument">
|
||||
<!--@if($oDocument->isExists())-->
|
||||
<div class="viewDocument">
|
||||
<!--#include("./view_document.html")-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--#include("./_style.list.html")-->
|
||||
|
||||
<!--@elseif($oDocument->isExists())-->
|
||||
|
||||
<div class="viewDocument">
|
||||
<!--#include("./view_document.html")-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--// 글이 선택되어 있거나 검색어가 있으면 목록을 출력 -->
|
||||
<!--#include("./_style.list.html")-->
|
||||
<!--@else-->
|
||||
|
||||
<!--@elseif($oDocument->isExists())-->
|
||||
<!--@if($notice_list)-->
|
||||
<div class="blogNotice">
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<div class="item">
|
||||
<span class="date">[{$document->getRegdate("Y-m-d")}]</span>
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'cpage','')}">{$document->getTitle()}</a>
|
||||
|
||||
<div class="viewDocument">
|
||||
<!--#include("./view_document.html")-->
|
||||
</div>
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@else-->
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 공지사항 -->
|
||||
<!--@if($notice_list)-->
|
||||
<div class="blogNotice">
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<div class="item">
|
||||
<span class="date">[{$document->getRegdate("Y-m-d")}]</span>
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'cpage','')}">{$document->getTitle()}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</div>
|
||||
<!--@end-->
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 일반글 -->
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<div class="viewDocument">
|
||||
<!--#include("./view_document.html")-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
<!--@foreach($document_list as $no => $oDocument)-->
|
||||
<div class="viewDocument">
|
||||
<!--#include("./view_document.html")-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@end-->
|
||||
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -1,144 +1,135 @@
|
|||
<!-- 목록 출력 -->
|
||||
<form action="./" method="get">
|
||||
<form action="./" method="get">
|
||||
|
||||
<table cellspacing="0" summary="" class="boardList">
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($grant->is_admin)-->
|
||||
<th scope="col" class="checkbox{$no_line_class}"><div>
|
||||
<input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" />
|
||||
</div></th>
|
||||
{@ $no_line_class=""}
|
||||
<table cellspacing="0" summary="" class="boardList">
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($grant->is_admin)-->
|
||||
<th scope="col" class="checkbox{$no_line_class}"><div>
|
||||
<input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" />
|
||||
</div></th>
|
||||
{@ $no_line_class=""}
|
||||
<!--@end-->
|
||||
|
||||
<th scope="col" class="topic{$no_line_class}"><div>
|
||||
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
|
||||
<input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
|
||||
<!--@else-->
|
||||
{$lang->topic}
|
||||
<!--@end-->
|
||||
</div></th>
|
||||
|
||||
<th class="reading" scope="col"><div>
|
||||
<a href="{getUrl('sort_index','comment_count','order_type',$order_type)}">{$lang->replies}<!--@if($sort_index=='comment_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
|
||||
</div></th>
|
||||
|
||||
<th class="reading" scope="col"><div>
|
||||
<a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
|
||||
</div></th>
|
||||
|
||||
<th scope="col" class="date"><div>
|
||||
<a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_post}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
|
||||
</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<tr class="bg0 tCenter">
|
||||
<td colspan="<!--@if($grant->is_admin)-->5<!--@else-->4<!--@end-->" class="title">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<td class="checkbox">
|
||||
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
|
||||
</td>
|
||||
<!--@end-->
|
||||
|
||||
<th scope="col" class="topic{$no_line_class}"><div>
|
||||
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<!--// 카테고리 사용시 카테고리 선택 표시 -->
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<td class="topic">
|
||||
|
||||
<input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
|
||||
|
||||
<!--@else-->
|
||||
|
||||
{$lang->topic}
|
||||
<strong>{$lang->notice} | <a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a></strong>
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<span class="category">{$category_list[$document->get('category_srl')]->title}</span>
|
||||
<!--@end-->
|
||||
</div></th>
|
||||
|
||||
<th class="reading" scope="col"><div>
|
||||
<a href="{getUrl('sort_index','comment_count','order_type',$order_type)}">{$lang->replies}<!--@if($sort_index=='comment_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
|
||||
</div></th>
|
||||
<div class="author">
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong> on <strong>{$document->getRegdate('Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
|
||||
<th class="reading" scope="col"><div>
|
||||
<a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
|
||||
</div></th>
|
||||
|
||||
<th scope="col" class="date"><div>
|
||||
<a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_post}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
|
||||
</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
|
||||
<tr class="bg0 tCenter">
|
||||
<td colspan="<!--@if($grant->is_admin)-->5<!--@else-->4<!--@end-->" class="title">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
<td class="commentCount">{(int)($document->get('comment_count'))}</td>
|
||||
<td class="reading">{(int)($document->get('readed_count'))}</td>
|
||||
<td class="latestPost">
|
||||
<div class="author">
|
||||
<!--@if($document->get('last_updater'))-->
|
||||
by <strong>{htmlspecialchars($document->get('last_updater'))}</strong>
|
||||
<!--@else-->
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="date">
|
||||
on <strong>{zdate($document->get('last_update'),'Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
|
||||
<!--// 공지사항 출력 -->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<td class="checkbox">
|
||||
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
|
||||
</td>
|
||||
<!--@end-->
|
||||
|
||||
<td class="topic">
|
||||
|
||||
<strong>{$lang->notice} | <a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a></strong>
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<span class="category">{$category_list[$document->get('category_srl')]->title}</span>
|
||||
<!--@end-->
|
||||
|
||||
<div class="author">
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong> on <strong>{$document->getRegdate('Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td class="commentCount">{(int)($document->get('comment_count'))}</td>
|
||||
<td class="reading">{(int)($document->get('readed_count'))}</td>
|
||||
<td class="latestPost">
|
||||
<div class="author">
|
||||
<!--@if($document->get('last_updater'))-->
|
||||
by <strong>{htmlspecialchars($document->get('last_updater'))}</strong>
|
||||
<!--@else-->
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="date">
|
||||
on <strong>{zdate($document->get('last_update'),'Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 일반 글 출력 -->
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<td class="checkbox">
|
||||
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
|
||||
</td>
|
||||
<!--@end-->
|
||||
|
||||
<td class="topic">
|
||||
|
||||
<strong><a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a></strong>
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<span class="category">{$category_list[$document->get('category_srl')]->title}</span>
|
||||
<!--@end-->
|
||||
|
||||
<div class="author">
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong> on <strong>{$document->getRegdate('Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td class="commentCount">{(int)($document->get('comment_count'))}</td>
|
||||
<td class="reading">{(int)($document->get('readed_count'))}</td>
|
||||
<td class="latestPost">
|
||||
<div class="author">
|
||||
<!--@if($document->get('last_updater'))-->
|
||||
by <strong>{htmlspecialchars($document->get('last_updater'))}</strong>
|
||||
<!--@else-->
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="date">
|
||||
on <strong>{zdate($document->get('last_update'),'Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<td class="checkbox">
|
||||
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
|
||||
</td>
|
||||
<!--@end-->
|
||||
|
||||
<td class="topic">
|
||||
|
||||
<strong><a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a></strong>
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<span class="category">{$category_list[$document->get('category_srl')]->title}</span>
|
||||
<!--@end-->
|
||||
|
||||
<div class="author">
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong> on <strong>{$document->getRegdate('Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
</td>
|
||||
<td class="commentCount">{(int)($document->get('comment_count'))}</td>
|
||||
<td class="reading">{(int)($document->get('readed_count'))}</td>
|
||||
<td class="latestPost">
|
||||
<div class="author">
|
||||
<!--@if($document->get('last_updater'))-->
|
||||
by <strong>{htmlspecialchars($document->get('last_updater'))}</strong>
|
||||
<!--@else-->
|
||||
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="date">
|
||||
on <strong>{zdate($document->get('last_update'),'Y-m-d H:i')}</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,185 +1,179 @@
|
|||
<!-- 목록 출력 -->
|
||||
<form action="./" method="get" class="boardListForm">
|
||||
<fieldset>
|
||||
<legend>List of Articles</legend>
|
||||
<form action="./" method="get" class="boardListForm">
|
||||
<fieldset>
|
||||
<legend>List of Articles</legend>
|
||||
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
|
||||
|
||||
<!--@if($notice_list)-->
|
||||
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
|
||||
<!--@if($_col_count>1)-->
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<th scope="col" class="title">
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<!--// 카테고리 사용시 카테고리 선택 표시 -->
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
{$lang->title}
|
||||
</th>
|
||||
|
||||
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
</tr>
|
||||
</thead>
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="thumbHeader">
|
||||
<div class="left">
|
||||
<!--@if($grant->is_admin)--><span><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></span>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<!--// 카테고리 사용시 카테고리 선택 표시 -->
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<!--@if($module_info->display_readed_count!='N')--><span><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><span><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><span><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><span><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
</div>
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
|
||||
|
||||
<!--@if($notice_list)-->
|
||||
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
|
||||
<!--@if($_col_count>1)-->
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<th scope="col" class="title">
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
{$lang->title}
|
||||
</th>
|
||||
|
||||
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
</tr>
|
||||
</thead>
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="thumbHeader">
|
||||
<div class="left">
|
||||
<!--@if($grant->is_admin)--><span><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></span>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
|
||||
<tr>
|
||||
<td colspan="{$_col_count}">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<!--@if($module_info->display_readed_count!='N')--><span><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><span><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><span><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><span><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></span><!--@end-->
|
||||
</div>
|
||||
|
||||
<!--// 공지사항 출력 -->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tbody>
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<tr>
|
||||
<td colspan="{$_col_count}">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
|
||||
<!--@end-->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tbody>
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
|
||||
<!--@end-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
</tbody>
|
||||
<!--@end-->
|
||||
</table>
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 갤러리 목록 출력 -->
|
||||
{@ $height = $module_info->thumbnail_height + 50; }
|
||||
<!--@if($module_info->use_category=='Y')-->{@ $height += 0 }<!--@end-->
|
||||
<!--@if($module_info->display_author!='N' || $module_info->display_regdate!='N')-->{@ $height += 20 }<!--@end-->
|
||||
<!--@if($module_info->display_readed_count !='N' || $module_info->display_voted_count!='N')-->{@ $height += 20 }<!--@end-->
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
</tbody>
|
||||
<!--@end-->
|
||||
</table>
|
||||
|
||||
<ul class="thumbList">
|
||||
{@ $height = $module_info->thumbnail_height + 50; }
|
||||
<!--@if($module_info->use_category=='Y')-->{@ $height += 0 }<!--@end-->
|
||||
<!--@if($module_info->display_author!='N' || $module_info->display_regdate!='N')-->{@ $height += 20 }<!--@end-->
|
||||
<!--@if($module_info->display_readed_count !='N' || $module_info->display_voted_count!='N')-->{@ $height += 20 }<!--@end-->
|
||||
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<!--@if(!$document->isNotice())-->
|
||||
<ul class="thumbList">
|
||||
|
||||
<li style="width:{$module_info->thumbnail_width+30}px;height:{$height}px;">
|
||||
|
||||
<div class="thumb">
|
||||
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}">
|
||||
<img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" alt=""/>
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
</a>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}">
|
||||
<img src="./images/common/blank.gif" alt="" width="{$module_info->thumbnail_width}" height="{$module_info->thumbnail_height}" />
|
||||
<span class="text">TEXT</span>
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
</a>
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<!--@if(!$document->isNotice())-->
|
||||
|
||||
<div class="title">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
|
||||
<!--@end-->
|
||||
<li style="width:{$module_info->thumbnail_width+30}px;height:{$height}px;">
|
||||
|
||||
<div class="thumb">
|
||||
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}">
|
||||
<img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" alt=""/>
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
</a>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}">
|
||||
<img src="./images/common/blank.gif" alt="" width="{$module_info->thumbnail_width}" height="{$module_info->thumbnail_height}" />
|
||||
<span class="text">TEXT</span>
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
</a>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
</div>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies">(<strong>{$document->getCommentCount()}</strong>)</span>
|
||||
<!--@end-->
|
||||
<div class="title">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks">[<strong>{$document->getTrackbackCount()}</strong>]</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($module_info->display_author!='N')--><div class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></div><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><div class="date">{$document->getRegdate('Y.m.d')}</div><!--@end-->
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies">(<strong>{$document->getCommentCount()}</strong>)</span>
|
||||
<!--@end-->
|
||||
|
||||
<div class="reading">
|
||||
<!--@if($module_info->display_readed_count!='N')-->{$lang->readed_count} <span class="num">{$document->get('readed_count')}</span><!--@end-->
|
||||
<!--@if($document->get('voted_count')!=0 && $module_info->display_voted_count!='N')-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><br /><!--@end-->
|
||||
{$lang->voted_count} <span class="num">{$document->get('voted_count')}</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<!--@end-->
|
||||
</fieldset>
|
||||
</form>
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks">[<strong>{$document->getTrackbackCount()}</strong>]</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<!--@if($module_info->display_author!='N')--><div class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></div><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><div class="date">{$document->getRegdate('Y.m.d')}</div><!--@end-->
|
||||
|
||||
<div class="reading">
|
||||
<!--@if($module_info->display_readed_count!='N')-->{$lang->readed_count} <span class="num">{$document->get('readed_count')}</span><!--@end-->
|
||||
<!--@if($document->get('voted_count')!=0 && $module_info->display_voted_count!='N')-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><br /><!--@end-->
|
||||
{$lang->voted_count} <span class="num">{$document->get('voted_count')}</span>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</li>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<!--@end-->
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,128 +1,123 @@
|
|||
<!-- 목록 출력 -->
|
||||
<form action="./" method="get" class="boardListForm">
|
||||
<fieldset>
|
||||
<legend>List of Articles</legend>
|
||||
<form action="./" method="get" class="boardListForm">
|
||||
<fieldset>
|
||||
<legend>List of Articles</legend>
|
||||
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
|
||||
|
||||
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
|
||||
<!--@if($_col_count>1)-->
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<th scope="col" class="title">
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<!--// 카테고리 사용시 카테고리 선택 표시 -->
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
{$lang->title}
|
||||
</th>
|
||||
|
||||
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
</tr>
|
||||
</thead>
|
||||
<!--@end-->
|
||||
|
||||
<tbody>
|
||||
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
|
||||
<tr>
|
||||
<td colspan="{$_col_count}">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
|
||||
<!--// 공지사항 출력 -->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
|
||||
<!--@if($_col_count>1)-->
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
<th scope="col" class="title">
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<select name="category" id="board_category">
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id="go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
{$lang->title}
|
||||
</th>
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 일반 글 출력 -->
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$no}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
</tr>
|
||||
</thead>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
<tbody>
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<tr>
|
||||
<td colspan="{$_col_count}">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}
|
||||
</td>
|
||||
<!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$no}<!--@end--></td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}
|
||||
</td>
|
||||
<!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,143 +1,140 @@
|
|||
<!-- 목록 출력 -->
|
||||
<form action="./" method="get" class="boardListForm">
|
||||
<fieldset>
|
||||
<legend>List of Articles</legend>
|
||||
<form action="./" method="get" class="boardListForm">
|
||||
<fieldset>
|
||||
<legend>List of Articles</legend>
|
||||
|
||||
{@ $_col_count = 2; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++ }<!--@end-->
|
||||
{@ $_col_count = 2; }
|
||||
<!--@if($module_info->display_number!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++ }<!--@end-->
|
||||
|
||||
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
|
||||
<!--@if($_col_count>2)-->
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<th scope="col" class="title">
|
||||
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<select name="category" id="board_category">
|
||||
<option value="" >{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id= "go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
{$lang->title}
|
||||
</th>
|
||||
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
</tr>
|
||||
</thead>
|
||||
<!--@end-->
|
||||
|
||||
<tbody>
|
||||
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
|
||||
<tr>
|
||||
<td colspan="{$_col_count}">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
|
||||
<!--// 공지사항 출력 -->
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
<table cellspacing="0" border="1" summary="List of Articles" class="boardList">
|
||||
<!--@if($_col_count>2)-->
|
||||
<thead>
|
||||
{@ $no_line_class = " no_line" }
|
||||
<tr>
|
||||
<!--@if($module_info->display_number!='N')--><th scope="col">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
|
||||
<!--@end-->
|
||||
<!--@if($grant->is_admin)--><th scope="col"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 일반 글 출력 -->
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<th scope="col" class="title">
|
||||
|
||||
<!--@if($module_info->display_number!='N')--><td class="num" rowspan="2"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$no}<!--@end--></td><!--@end-->
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<span class="jumpTo">
|
||||
<select name="category" id="board_category">
|
||||
<option value="" >{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<button type="button" name="go_button" id= "go_button" onclick="doChangeCategory(); return false;" class="button">Go</button>
|
||||
</span>
|
||||
<!--@end-->
|
||||
{$lang->title}
|
||||
</th>
|
||||
<!--@if($module_info->display_author!='N')--><th scope="col">{$lang->writer}</th><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><th scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><th scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')--><th scope="col"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><th scope="col"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
|
||||
</tr>
|
||||
</thead>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><td class="check" rowspan="2"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<tbody>
|
||||
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
<!--@if(!$document_list && !$notice_list)-->
|
||||
<tr>
|
||||
<td colspan="{$_col_count}">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@else-->
|
||||
|
||||
<!--@foreach($notice_list as $no => $document)-->
|
||||
<tr class="notice">
|
||||
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
|
||||
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if(!$document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++ }<!--@end-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<td colspan="{$_col_count}" class="summary">
|
||||
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}" class="thumb"><img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" alt="" /></a>
|
||||
<!--@end-->
|
||||
<!--@if($grant->view)-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getSummary(120)}</a>
|
||||
<!--@end-->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
<!--// 일반 글 출력 -->
|
||||
<!--@foreach($document_list as $no => $document)-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
|
||||
<!--@if($module_info->display_number!='N')--><td class="num" rowspan="2"><!--@if($document_srl == $document->document_srl)-->»<!--@else-->{$no}<!--@end--></td><!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)--><td class="check" rowspan="2"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
|
||||
|
||||
<td class="title">
|
||||
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
|
||||
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
|
||||
<!--@end-->
|
||||
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
|
||||
|
||||
<!--@if($document->getCommentCount())-->
|
||||
<span class="replyNum" title="Replies"><strong>{$document->getCommentCount()}</strong><sup>Replies</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->getTrackbackCount())-->
|
||||
<span class="replyNum" title="Trackbacks"><strong>{$document->getTrackbackCount()}</strong><sup>Tackback</sup></span>
|
||||
<!--@end-->
|
||||
|
||||
{$document->printExtraImages(60*60*$module_info->duration_new)}
|
||||
</td>
|
||||
<!--@if($module_info->display_author!='N')--><td class="author"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td><!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
|
||||
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
|
||||
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
|
||||
</tr>
|
||||
{@ $_col_count = 1; }
|
||||
<!--@if(!$document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->{@ $_col_count++}<!--@end-->
|
||||
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++ }<!--@end-->
|
||||
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++ }<!--@end-->
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<td colspan="{$_col_count}" class="summary">
|
||||
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}" class="thumb"><img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" alt="" /></a>
|
||||
<!--@end-->
|
||||
<!--@if($grant->view)-->
|
||||
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getSummary(120)}</a>
|
||||
<!--@end-->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
|
||||
<p>"{$lang->msg_is_secret}"</p>
|
||||
<dl>
|
||||
<dt><label for="cpw">비밀번호</label> :</dt>
|
||||
<dt><label for="cpw">{$lang->password}</label> :</dt>
|
||||
<dd><input type="password" id="cpw" name="password" class="inputText" /><span class="button red"><input type="submit" value="{$lang->cmd_input}" /></span></dd>
|
||||
</dl>
|
||||
</form>
|
||||
|
|
@ -91,7 +91,6 @@
|
|||
|
||||
</div>
|
||||
|
||||
<!-- 댓글 페이지 네비게이션 -->
|
||||
<!--@if($oDocument->comment_page_navigation)-->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('cpage',1)}#comment" class="prevEnd">{$lang->first_page}</a>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<!--#include("_header.html")-->
|
||||
|
||||
<!--// 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
|
||||
<!--@if($oSourceComment->isExists())-->
|
||||
<div class="feedbackList">
|
||||
<div class="item">
|
||||
|
|
@ -19,7 +18,6 @@
|
|||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 글쓰기 폼 -->
|
||||
<!--%import("filter/insert_comment.xml")-->
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
|
|
@ -30,7 +28,7 @@
|
|||
|
||||
<div class="boardWrite commentEditor">
|
||||
|
||||
<h3 class="commentHeader">댓글 쓰기</h3>
|
||||
<h3 class="commentHeader">{$lang->comment}</h3>
|
||||
|
||||
<div class="userNameAndPw">
|
||||
<!--@if(!$is_logged)-->
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
<!--// 이 파일은 extra_vars의 form을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
|
||||
|
||||
<!--// calendar -->
|
||||
<!--%import("../../../../common/js/calendar.min.js",optimized=false)-->
|
||||
<!--@if($lang_type == 'ko')-->
|
||||
|
|
@ -18,30 +16,23 @@
|
|||
<!--%import("../../../../common/js/calendar-setup.js",optimized=false)-->
|
||||
<!--%import("../../../../common/css/calendar-system.css",optimized=false)-->
|
||||
|
||||
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 배열로 만든다 -->
|
||||
<!--@if(in_array($val->type, array('select', 'checkbox')))-->
|
||||
{@ $val->default = explode(',', $val->default) }
|
||||
<!--@end-->
|
||||
|
||||
<!--// 확장변수의 이름을 지정 -->
|
||||
{@ $val->column_name = "extra_vars".$key}
|
||||
|
||||
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
|
||||
{@ $val->value = $oDocument->getExtraValue($key)}
|
||||
|
||||
<!--// 일반 text -->
|
||||
<!--@if($val->type == 'text')-->
|
||||
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
|
||||
|
||||
<!--// 홈페이지 주소 -->
|
||||
<!--@elseif($val->type == 'homepage')-->
|
||||
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
|
||||
|
||||
<!-- Email 주소 -->
|
||||
<!--@elseif($val->type == 'email_address')-->
|
||||
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
|
||||
|
||||
<!--// 전화번호 -->
|
||||
<!--@elseif($val->type == 'tel')-->
|
||||
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[0])}" size="4" class="inputTypeText" />
|
||||
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" size="4" class="inputTypeText" />
|
||||
|
|
@ -51,7 +42,6 @@
|
|||
<!--@elseif($val->type == 'textarea')-->
|
||||
<textarea name="{$val->column_name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea>
|
||||
|
||||
<!--// 다중 선택 -->
|
||||
<!--@elseif($val->type == 'checkbox')-->
|
||||
<!--@if($val->default)-->
|
||||
<ul>
|
||||
|
|
@ -61,7 +51,6 @@
|
|||
</ul>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 단일 선택 -->
|
||||
<!--@elseif($val->type == 'select')-->
|
||||
<select name="{$val->column_name}">
|
||||
<!--@if($val->default)-->
|
||||
|
|
@ -71,7 +60,6 @@
|
|||
<!--@end-->
|
||||
</select>
|
||||
|
||||
<!--// 날짜 입력 -->
|
||||
<!--@elseif($val->type == 'date')-->
|
||||
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" />
|
||||
<div class="display_date" id="str_{$val->column_name}">{zdate($val->value,"Y-m-d")}</div>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,11 @@
|
|||
<!--// 이 파일은 extra_vars의 결과값을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
|
||||
|
||||
<!--// 확장변수의 이름을 지정 -->
|
||||
{@ $val->column_name = "extra_vars".$key}
|
||||
|
||||
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
|
||||
{@ $val->value = $oDocument->getExtraValue($key)}
|
||||
{@ $_tmp_value = array(); }
|
||||
|
||||
<!--// 일반 text -->
|
||||
<!--@if($val->type == 'text')-->
|
||||
{htmlspecialchars($val->value)}
|
||||
|
||||
<!--// 홈페이지 주소 -->
|
||||
<!--@elseif($val->type == 'homepage')-->
|
||||
<!--@if($val->value)-->
|
||||
<a href="{htmlspecialchars($val->value)}" onclick="window.open(this.href);return false;">{$val->value}</a>
|
||||
|
|
@ -19,7 +13,6 @@
|
|||
|
||||
<!--@end-->
|
||||
|
||||
<!--// Email 주소 -->
|
||||
<!--@elseif($val->type == 'email_address')-->
|
||||
<!--@if($val->value)-->
|
||||
<a href="mailto:{htmlspecialchars($val->value)}">{$val->value}</a>
|
||||
|
|
@ -27,7 +20,6 @@
|
|||
|
||||
<!--@end-->
|
||||
|
||||
<!--// 전화번호 -->
|
||||
<!--@elseif($val->type == 'tel')-->
|
||||
{htmlspecialchars($val->value[0])}
|
||||
<!--@if($val->value[1])-->-<!--@end-->
|
||||
|
|
@ -36,12 +28,10 @@
|
|||
{htmlspecialchars($val->value[2])}
|
||||
|
||||
|
||||
<!--// textarea -->
|
||||
<!--@elseif($val->type == 'textarea')-->
|
||||
{nl2br(htmlspecialchars($val->value))}
|
||||
|
||||
|
||||
<!--// 다중 선택 -->
|
||||
<!--@elseif($val->type == 'checkbox')-->
|
||||
<!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end-->
|
||||
<!--@foreach($val->value as $v)-->
|
||||
|
|
@ -50,12 +40,10 @@
|
|||
{implode(",",$_tmp_value)}
|
||||
|
||||
|
||||
<!--// 단일 선택 -->
|
||||
<!--@elseif($val->type == 'select')-->
|
||||
{htmlspecialchars($val->value)}
|
||||
|
||||
|
||||
<!--// 날짜 입력 -->
|
||||
<!--@elseif($val->type == 'date')-->
|
||||
{zdate($val->value,"Y-m-d")}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,80 +1,73 @@
|
|||
<!--// _header.html include -->
|
||||
<!--#include("_header.html")-->
|
||||
<!--#include("_header.html")-->
|
||||
|
||||
<!--// 검색을 위한 xml filter import-->
|
||||
<!--%import("filter/search.xml")-->
|
||||
<!--%import("filter/search.xml")-->
|
||||
|
||||
<!--// 선택된 게시물이 있고 권한이 있으면 내용 출력 -->
|
||||
<!--@if($oDocument->isExists() && $module_info->default_style != 'blog')-->
|
||||
<div class="viewDocument">
|
||||
<!--#include("./view_document.html")-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!--@if($oDocument->isExists() && $module_info->default_style != 'blog')-->
|
||||
<div class="viewDocument">
|
||||
<!--#include("./view_document.html")-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--// 목록 출력 -->
|
||||
<!--@if($module_info->default_style == 'webzine')-->
|
||||
<!--#include("./_style.webzine.html")-->
|
||||
<!--@elseif($module_info->default_style == 'gallery')-->
|
||||
<!--#include("./_style.gallery.html")-->
|
||||
<!--@elseif($module_info->default_style == 'forum')-->
|
||||
<!--#include("./_style.forum.html")-->
|
||||
<!--@elseif($module_info->default_style == 'blog')-->
|
||||
<!--#include("./_style.blog.html")-->
|
||||
<!--@else-->
|
||||
<!--#include("./_style.list.html")-->
|
||||
<!--@end-->
|
||||
<!--@if($module_info->default_style == 'webzine')-->
|
||||
<!--#include("./_style.webzine.html")-->
|
||||
<!--@elseif($module_info->default_style == 'gallery')-->
|
||||
<!--#include("./_style.gallery.html")-->
|
||||
<!--@elseif($module_info->default_style == 'forum')-->
|
||||
<!--#include("./_style.forum.html")-->
|
||||
<!--@elseif($module_info->default_style == 'blog')-->
|
||||
<!--#include("./_style.blog.html")-->
|
||||
<!--@else-->
|
||||
<!--#include("./_style.list.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<div class="boardNavigation">
|
||||
<div class="boardNavigation">
|
||||
|
||||
<!-- 글쓰기, 목록 버튼 -->
|
||||
<div class="buttonLeft">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
|
||||
<!--@end-->
|
||||
<!--@if($module_info->default_style != 'blog')-->
|
||||
<a href="{getUrl('','mid',$mid,'page',$page,'document_srl','','listStyle',$listStyle)}" class="button"><span>{$lang->cmd_list}</span></a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="buttonRight">
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="button green strong"><span>{$lang->cmd_write}</span></a>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 네비게이션 -->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" 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,'document_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','','division',$division,'last_division',$last_division)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 검색 -->
|
||||
<!--@if($grant->view && $module_info->default_style != 'blog')-->
|
||||
<form action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="fo_search" class="boardSearchForm">
|
||||
<fieldset>
|
||||
<legend>Board Search</legend>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="category" value="{$category}" />
|
||||
|
||||
<select name="search_target">
|
||||
<!--@foreach($search_option 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="inputText" accesskey="S" title="{$lang->cmd_search}" />
|
||||
<!--@if($last_division)-->
|
||||
<a href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','')}" class="button"><span>{$lang->cmd_search_next}</span></a>
|
||||
<!--@end-->
|
||||
<span class="button"><button type="submit" onclick="xGetElementById('fo_search').submit();return false;">{$lang->cmd_search}</button></span>
|
||||
</fieldset>
|
||||
</form>
|
||||
<div class="buttonLeft">
|
||||
<!--@if($grant->is_admin)-->
|
||||
<a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
|
||||
<!--@end-->
|
||||
<!--@if($module_info->default_style != 'blog')-->
|
||||
<a href="{getUrl('','mid',$mid,'page',$page,'document_srl','','listStyle',$listStyle)}" class="button"><span>{$lang->cmd_list}</span></a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="buttonRight">
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="button green strong"><span>{$lang->cmd_write}</span></a>
|
||||
</div>
|
||||
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" 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,'document_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','','division',$division,'last_division',$last_division)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--@if($grant->view && $module_info->default_style != 'blog')-->
|
||||
<form action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="fo_search" class="boardSearchForm">
|
||||
<fieldset>
|
||||
<legend>Board Search</legend>
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="category" value="{$category}" />
|
||||
|
||||
<select name="search_target">
|
||||
<!--@foreach($search_option 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="inputText" accesskey="S" title="{$lang->cmd_search}" />
|
||||
<!--@if($last_division)-->
|
||||
<a href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','')}" class="button"><span>{$lang->cmd_search_next}</span></a>
|
||||
<!--@end-->
|
||||
<span class="button"><button type="submit" onclick="xGetElementById('fo_search').submit();return false;">{$lang->cmd_search}</button></span>
|
||||
</fieldset>
|
||||
</form>
|
||||
<!--@end-->
|
||||
|
||||
<!--#include("_footer.html")-->
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
<!--// _header.html include -->
|
||||
<!--#include("_header.html")-->
|
||||
|
||||
<!-- print tags -->
|
||||
<!--#include("_header.html")-->
|
||||
|
||||
<div class="tagCloud">
|
||||
<h4 class="tagHeader">{$lang->tag} (<strong>{count($tag_list)}</strong>)</h4>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<!-- 엮인글 목록 -->
|
||||
<div class="feedbackList" id="trackback">
|
||||
|
||||
<h3 class="feedbackHeader">
|
||||
|
|
@ -31,4 +30,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<!-- 글 내용 보여주기 -->
|
||||
<div class="boardRead">
|
||||
|
||||
<div class="boardReadHeader">
|
||||
|
|
@ -30,7 +29,6 @@
|
|||
<tr>
|
||||
<th scope="row">{$val->name}</th>
|
||||
<td>
|
||||
<!--// 확장변수(extra_var)의 type에 따른 값을 출력하기 위해서 특별히 제작된 파일을 include 한다 -->
|
||||
<!--#include("./extra_var_value.html")-->
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -58,7 +56,6 @@
|
|||
{$oDocument->getContent()}
|
||||
<!--@end-->
|
||||
|
||||
<!-- 서명 / 프로필 이미지 출력 -->
|
||||
<!--@if($oDocument->getProfileImage() || $oDocument->getSignature())-->
|
||||
<div class="memberSignature">
|
||||
<!--@if($oDocument->getProfileImage())-->
|
||||
|
|
@ -133,7 +130,6 @@
|
|||
|
||||
</div>
|
||||
|
||||
<!-- 목록, 수정/삭제 버튼 -->
|
||||
<div class="boardNavigation">
|
||||
<!--@if($module_info->default_style != 'blog')-->
|
||||
<div class="buttonLeft">
|
||||
|
|
@ -151,15 +147,12 @@
|
|||
|
||||
</div>
|
||||
|
||||
<!-- 엮인글 -->
|
||||
<!--@if($oDocument->allowTrackback())-->
|
||||
<!--#include("./trackback.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 댓글 -->
|
||||
<!--#include("./comment.html")-->
|
||||
|
||||
<!-- 댓글 입력 폼 -->
|
||||
<!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
|
||||
<!--%import("filter/insert_comment.xml")-->
|
||||
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
|
||||
|
|
@ -169,7 +162,7 @@
|
|||
<input type="hidden" name="content" value="" />
|
||||
<div class="boardWrite commentEditor">
|
||||
|
||||
<h3 class="commentHeader">댓글 쓰기</h3>
|
||||
<h3 class="commentHeader">{$lang->comment}</h3>
|
||||
|
||||
<div class="userNameAndPw">
|
||||
<!--@if(!$is_logged)-->
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
<!--@end-->
|
||||
|
||||
<dl class="title">
|
||||
<dt>제목 : </dt>
|
||||
<dt><label class="title">{$lang->title} :</label></dt>
|
||||
<dd>
|
||||
<!--@if($module_info->use_category=="Y")-->
|
||||
<select name="category_srl" class="category">
|
||||
|
|
@ -41,15 +41,13 @@
|
|||
</option>
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
<!--@else-->
|
||||
<label class="title">{$lang->title}</label>
|
||||
<!--@endif-->
|
||||
<input type="text" name="title" class="inputText" value="{htmlspecialchars($oDocument->getTitleText())}" />
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="option">
|
||||
<dt>옵션 : </dt>
|
||||
<dt>{$lang->cmd_option} : </dt>
|
||||
<!--@if($grant->manager)-->
|
||||
{@ $_color = array('555555','222288','226622','2266EE','8866CC','88AA66','EE2222','EE6622','EEAA22','EEEE22') }
|
||||
<dd><select name="title_color" id="title_color" <!--@if($oDocument->get('title_color'))-->style="background-color:#{$oDocument->get('title_color')};"<!--@end--> onchange="this.style.backgroundColor=this.options[this.selectedIndex].style.backgroundColor;">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue