기본 게시판 스킨 언어 변화 및 주석 제거

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4772 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-11-06 00:20:59 +00:00
parent bb2d6e1ac6
commit 9ce01957cf
16 changed files with 662 additions and 763 deletions

View file

@ -1,3 +1,3 @@
</div> </div>
<!-- 하단 텍스트 출력 -->
{$module_info->footer_text} {$module_info->footer_text}

View file

@ -1,32 +1,24 @@
<!--// JS 파일 로드 -->
<!--%import("js/board.js")--> <!--%import("js/board.js")-->
<!--// 컬러셋 체크 -->
<!--@if(!$module_info->colorset)--> <!--@if(!$module_info->colorset)-->
{@$module_info->colorset = "white"} {@$module_info->colorset = "white"}
<!--@end--> <!--@end-->
<!--%import("css/board.css")-->
<!--// CSS 파일 로드 (컬러셋에 따라서) --> <!--%import("css/pagination.css")-->
<!--%import("css/tag.css")-->
<!--%import("css/board.css",optimized=false)--> <!--@if($module_info->colorset == "black")--> <!--%import("css/black.css")-->
<!--%import("css/pagination.css",optimized=false)--> <!--@else--> <!--%import("css/white.css")-->
<!--%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--> <!--@end-->
<!--// 스킨 설정중 새글의 시간 설정 값이 없으면 임의로 지정 -->
<!--@if(!$module_info->duration_new = (int)$module_info->duration_new)--> <!--@if(!$module_info->duration_new = (int)$module_info->duration_new)-->
{@ $module_info->duration_new = 12 } {@ $module_info->duration_new = 12 }
<!--@end--> <!--@end-->
<!--// 스킨 설정중 썸네일 관련 항목을 지정 -->
<!--@if(!$module_info->thumbnail_type)-->{@ $module_info->thumbnail_type = 'crop'; }<!--@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_width)-->{@ $module_info->thumbnail_width = 100; }<!--@end-->
<!--@if(!$module_info->thumbnail_height)-->{@ $module_info->thumbnail_height = 100; }<!--@end--> <!--@if(!$module_info->thumbnail_height)-->{@ $module_info->thumbnail_height = 100; }<!--@end-->
<!--// 정렬에 따른 아이콘 미리 지정 -->
<!--@if($order_type == "desc")--> <!--@if($order_type == "desc")-->
{@ $order_icon = "buttonDescending.gif" } {@ $order_icon = "buttonDescending.gif" }
{@ $order_type = "asc"; } {@ $order_type = "asc"; }
@ -35,7 +27,6 @@
{@ $order_type = "desc"; } {@ $order_type = "desc"; }
<!--@end--> <!--@end-->
<!--// 사용자가 선택한 게시판 형태에 따른 설정(포럼형은 적용 안됨) -->
<!--@if($module_info->default_style != 'forum' && $module_info->default_style != 'blog')--> <!--@if($module_info->default_style != 'forum' && $module_info->default_style != 'blog')-->
<!--@if($listStyle=='gallery')--> <!--@if($listStyle=='gallery')-->
{@ $module_info->default_style = 'gallery'} {@ $module_info->default_style = 'gallery'}
@ -46,67 +37,49 @@
<!--@end--> <!--@end-->
<!--@end--> <!--@end-->
<!--// 상단 텍스트 출력 -->
{$module_info->header_text} {$module_info->header_text}
<div class="board"> <div class="board">
<div class="boardHeader"> <div class="boardHeader">
<!-- 스킨의 제목/간단한 설명 출력 -->
<!--@if($module_info->title)--> <!--@if($module_info->title)-->
<div class="boardTitle"> <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> <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> </div>
<!--@end--> <!--@end-->
<!-- 스킨의 상세 설명 -->
<!--@if($module_info->comment)--> <!--@if($module_info->comment)-->
<p class="boardDescription">{$module_info->comment}</p> <p class="boardDescription">{$module_info->comment}</p>
<!--@end--> <!--@end-->
</div> </div>
<!-- 게시판 정보 -->
<!--@if($module_info->display_login_info != 'N' || $module_info->display_setup_button != 'N')--> <!--@if($module_info->display_login_info != 'N' || $module_info->display_setup_button != 'N')-->
<div class="boardInformation"> <div class="boardInformation">
<!-- 게시물 수 -->
<!--@if($total_count && $module_info->default_style != 'blog')--> <!--@if($total_count && $module_info->default_style != 'blog')-->
<div class="infoLeft">{$lang->document_count} <strong>{number_format($total_count)}</strong></div> <div class="infoLeft">{$lang->document_count} <strong>{number_format($total_count)}</strong></div>
<!--@end--> <!--@end-->
<div class="infoRight"> <div class="infoRight">
<!-- 로그인 정보 -->
<ul> <ul>
<!--// 로그인 되어 있을 경우 -->
<!--@if($is_logged)--> <!--@if($is_logged)-->
<!--// 관리자이면 설정 버튼 출력 -->
<!--@if($grant->is_admin && $module_info->display_setup_button != 'N')--> <!--@if($grant->is_admin && $module_info->display_setup_button != 'N')-->
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li> <li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
<!--@end--> <!--@end-->
<!--// 최고관리자이면 관리자 페이지 버튼 출력 -->
<!--@if($logged_info->is_admin == 'Y' && $module_info->display_setup_button != 'N')--> <!--@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> <li class="admin"><a href="{getUrl('','module','admin','act','dispBoardAdminContent')}" onclick="window.open(this.href); return false;">{$lang->cmd_management}</a></li>
<!--@end--> <!--@end-->
<!--// 회원정보 버튼 출력 -->
<!--@if($module_info->display_login_info != 'N')--> <!--@if($module_info->display_login_info != 'N')-->
<li class="myInfo"><a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a></li> <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> <li class="loginAndLogout"><a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a></li>
<!--@end--> <!--@end-->
<!--// 로그인 되어 있지 않고 회원정보 버튼 출력하도록 되어있으면 -->
<!--@elseif(!$is_logged && $module_info->display_login_info != 'N')--> <!--@elseif(!$is_logged && $module_info->display_login_info != 'N')-->
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li> <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> <li class="loginAndLogout"><a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a></li>
<!--@end--> <!--@end-->
<!--@if($rss_url)--> <!--@if($rss_url)-->
<li class="rss icon"><a href="{$rss_url}" title="RSS"><span>RSS</span></a></li> <li class="rss icon"><a href="{$rss_url}" title="RSS"><span>RSS</span></a></li>
<!--@end--> <!--@end-->
<li class="tag_info icon"><a href="{getUrl('act','dispBoardTagList')}" title="Tag List"><span>Tag List</span></a></li> <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')--> <!--@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="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> <li class="listTypeZine icon"><a href="{getUrl('listStyle','webzine','act','','document_srl','')}" title="Web Zine"><span>Web Zine</span></a></li>

View file

@ -1,4 +1,3 @@
<!-- 검색된 글 목록이 있고 권한이 있을 경우 출력 -->
<!--@if($grant->list)--> <!--@if($grant->list)-->
<!--@if($category || $search_keyword)--> <!--@if($category || $search_keyword)-->
@ -9,7 +8,6 @@
</div> </div>
<!--@end--> <!--@end-->
<!--// 글이 선택되어 있거나 검색어가 있으면 목록을 출력 -->
<!--#include("./_style.list.html")--> <!--#include("./_style.list.html")-->
<!--@elseif($oDocument->isExists())--> <!--@elseif($oDocument->isExists())-->
@ -20,7 +18,6 @@
<!--@else--> <!--@else-->
<!--// 공지사항 -->
<!--@if($notice_list)--> <!--@if($notice_list)-->
<div class="blogNotice"> <div class="blogNotice">
<!--@foreach($notice_list as $no => $document)--> <!--@foreach($notice_list as $no => $document)-->
@ -42,7 +39,6 @@
</div> </div>
<!--@end--> <!--@end-->
<!--// 일반글 -->
<!--@foreach($document_list as $no => $oDocument)--> <!--@foreach($document_list as $no => $oDocument)-->
<div class="viewDocument"> <div class="viewDocument">
<!--#include("./view_document.html")--> <!--#include("./view_document.html")-->

View file

@ -1,4 +1,3 @@
<!-- 목록 출력 -->
<form action="./" method="get"> <form action="./" method="get">
<table cellspacing="0" summary="" class="boardList"> <table cellspacing="0" summary="" class="boardList">
@ -15,7 +14,6 @@
<th scope="col" class="topic{$no_line_class}"><div> <th scope="col" class="topic{$no_line_class}"><div>
<!--@if($module_info->use_category == "Y")--> <!--@if($module_info->use_category == "Y")-->
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category"> <select name="category" id="board_category">
<option value="">{$lang->category}</option> <option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)--> <!--@foreach($category_list as $val)-->
@ -24,11 +22,8 @@
</select> </select>
<input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" /> <input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
<!--@else--> <!--@else-->
{$lang->topic} {$lang->topic}
<!--@end--> <!--@end-->
</div></th> </div></th>
@ -49,15 +44,12 @@
<tbody> <tbody>
<!--@if(!$document_list && !$notice_list)--> <!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr class="bg0 tCenter"> <tr class="bg0 tCenter">
<td colspan="<!--@if($grant->is_admin)-->5<!--@else-->4<!--@end-->" class="title"> <td colspan="<!--@if($grant->is_admin)-->5<!--@else-->4<!--@end-->" class="title">
{$lang->no_documents} {$lang->no_documents}
</td> </td>
</tr> </tr>
<!--@else--> <!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)--> <!--@foreach($notice_list as $no => $document)-->
<tr class="notice"> <tr class="notice">
<!--@if($grant->is_admin)--> <!--@if($grant->is_admin)-->
@ -97,7 +89,6 @@
</tr> </tr>
<!--@end--> <!--@end-->
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)--> <!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}"> <tr class="bg{($no+1)%2+1}">
<!--@if($grant->is_admin)--> <!--@if($grant->is_admin)-->

View file

@ -1,4 +1,3 @@
<!-- 목록 출력 -->
<form action="./" method="get" class="boardListForm"> <form action="./" method="get" class="boardListForm">
<fieldset> <fieldset>
<legend>List of Articles</legend> <legend>List of Articles</legend>
@ -25,7 +24,6 @@
<th scope="col" class="title"> <th scope="col" class="title">
<!--@if($module_info->use_category == "Y")--> <!--@if($module_info->use_category == "Y")-->
<span class="jumpTo"> <span class="jumpTo">
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category"> <select name="category" id="board_category">
<option value="">{$lang->category}</option> <option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)--> <!--@foreach($category_list as $val)-->
@ -53,7 +51,6 @@
<!--@if($module_info->use_category == "Y")--> <!--@if($module_info->use_category == "Y")-->
<span class="jumpTo"> <span class="jumpTo">
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category"> <select name="category" id="board_category">
<option value="">{$lang->category}</option> <option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)--> <!--@foreach($category_list as $val)-->
@ -76,7 +73,6 @@
<!--@end--> <!--@end-->
<!--@if(!$document_list && !$notice_list)--> <!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr> <tr>
<td colspan="{$_col_count}"> <td colspan="{$_col_count}">
{$lang->no_documents} {$lang->no_documents}
@ -84,7 +80,6 @@
</tr> </tr>
<!--@else--> <!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)--> <!--@foreach($notice_list as $no => $document)-->
<tbody> <tbody>
<tr class="notice"> <tr class="notice">
@ -117,7 +112,6 @@
<!--@end--> <!--@end-->
</table> </table>
<!--// 갤러리 목록 출력 -->
{@ $height = $module_info->thumbnail_height + 50; } {@ $height = $module_info->thumbnail_height + 50; }
<!--@if($module_info->use_category=='Y')-->{@ $height += 0 }<!--@end--> <!--@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_author!='N' || $module_info->display_regdate!='N')-->{@ $height += 20 }<!--@end-->

View file

@ -1,4 +1,3 @@
<!-- 목록 출력 -->
<form action="./" method="get" class="boardListForm"> <form action="./" method="get" class="boardListForm">
<fieldset> <fieldset>
<legend>List of Articles</legend> <legend>List of Articles</legend>
@ -24,7 +23,6 @@
<th scope="col" class="title"> <th scope="col" class="title">
<!--@if($module_info->use_category == "Y")--> <!--@if($module_info->use_category == "Y")-->
<span class="jumpTo"> <span class="jumpTo">
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category"> <select name="category" id="board_category">
<option value="">{$lang->category}</option> <option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)--> <!--@foreach($category_list as $val)-->
@ -49,7 +47,6 @@
<tbody> <tbody>
<!--@if(!$document_list && !$notice_list)--> <!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr> <tr>
<td colspan="{$_col_count}"> <td colspan="{$_col_count}">
{$lang->no_documents} {$lang->no_documents}
@ -57,7 +54,6 @@
</tr> </tr>
<!--@else--> <!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)--> <!--@foreach($notice_list as $no => $document)-->
<tr class="notice"> <tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$lang->notice}<!--@end--></td><!--@end--> <!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
@ -88,7 +84,6 @@
</tr> </tr>
<!--@end--> <!--@end-->
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)--> <!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}"> <tr class="bg{($no+1)%2+1}">
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$no}<!--@end--></td><!--@end--> <!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)-->&raquo;<!--@else-->{$no}<!--@end--></td><!--@end-->

View file

@ -1,4 +1,3 @@
<!-- 목록 출력 -->
<form action="./" method="get" class="boardListForm"> <form action="./" method="get" class="boardListForm">
<fieldset> <fieldset>
<legend>List of Articles</legend> <legend>List of Articles</legend>
@ -48,7 +47,6 @@
<tbody> <tbody>
<!--@if(!$document_list && !$notice_list)--> <!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr> <tr>
<td colspan="{$_col_count}"> <td colspan="{$_col_count}">
{$lang->no_documents} {$lang->no_documents}
@ -56,7 +54,6 @@
</tr> </tr>
<!--@else--> <!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)--> <!--@foreach($notice_list as $no => $document)-->
<tr class="notice"> <tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end--> <!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->

View file

@ -35,7 +35,7 @@
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" /> <input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
<p>&quot;{$lang->msg_is_secret}&quot;</p> <p>&quot;{$lang->msg_is_secret}&quot;</p>
<dl> <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> <dd><input type="password" id="cpw" name="password" class="inputText" /><span class="button red"><input type="submit" value="{$lang->cmd_input}" /></span></dd>
</dl> </dl>
</form> </form>
@ -91,7 +91,6 @@
</div> </div>
<!-- 댓글 페이지 네비게이션 -->
<!--@if($oDocument->comment_page_navigation)--> <!--@if($oDocument->comment_page_navigation)-->
<div class="pagination a1"> <div class="pagination a1">
<a href="{getUrl('cpage',1)}#comment" class="prevEnd">{$lang->first_page}</a> <a href="{getUrl('cpage',1)}#comment" class="prevEnd">{$lang->first_page}</a>

View file

@ -1,6 +1,5 @@
<!--#include("_header.html")--> <!--#include("_header.html")-->
<!--// 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
<!--@if($oSourceComment->isExists())--> <!--@if($oSourceComment->isExists())-->
<div class="feedbackList"> <div class="feedbackList">
<div class="item"> <div class="item">
@ -19,7 +18,6 @@
</div> </div>
<!--@end--> <!--@end-->
<!-- 글쓰기 폼 -->
<!--%import("filter/insert_comment.xml")--> <!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" > <form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" /> <input type="hidden" name="mid" value="{$mid}" />
@ -30,7 +28,7 @@
<div class="boardWrite commentEditor"> <div class="boardWrite commentEditor">
<h3 class="commentHeader">댓글 쓰기</h3> <h3 class="commentHeader">{$lang->comment}</h3>
<div class="userNameAndPw"> <div class="userNameAndPw">
<!--@if(!$is_logged)--> <!--@if(!$is_logged)-->

View file

@ -1,5 +1,3 @@
<!--// 이 파일은 extra_vars의 form을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// calendar --> <!--// calendar -->
<!--%import("../../../../common/js/calendar.min.js",optimized=false)--> <!--%import("../../../../common/js/calendar.min.js",optimized=false)-->
<!--@if($lang_type == 'ko')--> <!--@if($lang_type == 'ko')-->
@ -18,30 +16,23 @@
<!--%import("../../../../common/js/calendar-setup.js",optimized=false)--> <!--%import("../../../../common/js/calendar-setup.js",optimized=false)-->
<!--%import("../../../../common/css/calendar-system.css",optimized=false)--> <!--%import("../../../../common/css/calendar-system.css",optimized=false)-->
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 배열로 만든다 -->
<!--@if(in_array($val->type, array('select', 'checkbox')))--> <!--@if(in_array($val->type, array('select', 'checkbox')))-->
{@ $val->default = explode(',', $val->default) } {@ $val->default = explode(',', $val->default) }
<!--@end--> <!--@end-->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key} {@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)} {@ $val->value = $oDocument->getExtraValue($key)}
<!--// 일반 text -->
<!--@if($val->type == 'text')--> <!--@if($val->type == 'text')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" /> <input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')--> <!--@elseif($val->type == 'homepage')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" /> <input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!-- Email 주소 -->
<!--@elseif($val->type == 'email_address')--> <!--@elseif($val->type == 'email_address')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" /> <input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')--> <!--@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[0])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" 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')--> <!--@elseif($val->type == 'textarea')-->
<textarea name="{$val->column_name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea> <textarea name="{$val->column_name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea>
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')--> <!--@elseif($val->type == 'checkbox')-->
<!--@if($val->default)--> <!--@if($val->default)-->
<ul> <ul>
@ -61,7 +51,6 @@
</ul> </ul>
<!--@end--> <!--@end-->
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')--> <!--@elseif($val->type == 'select')-->
<select name="{$val->column_name}"> <select name="{$val->column_name}">
<!--@if($val->default)--> <!--@if($val->default)-->
@ -71,7 +60,6 @@
<!--@end--> <!--@end-->
</select> </select>
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')--> <!--@elseif($val->type == 'date')-->
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" /> <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> <div class="display_date" id="str_{$val->column_name}">{zdate($val->value,"Y-m-d")}</div>

View file

@ -1,17 +1,11 @@
<!--// 이 파일은 extra_vars의 결과값을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key} {@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)} {@ $val->value = $oDocument->getExtraValue($key)}
{@ $_tmp_value = array(); } {@ $_tmp_value = array(); }
<!--// 일반 text -->
<!--@if($val->type == 'text')--> <!--@if($val->type == 'text')-->
{htmlspecialchars($val->value)} {htmlspecialchars($val->value)}
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')--> <!--@elseif($val->type == 'homepage')-->
<!--@if($val->value)--> <!--@if($val->value)-->
<a href="{htmlspecialchars($val->value)}" onclick="window.open(this.href);return false;">{$val->value}</a> <a href="{htmlspecialchars($val->value)}" onclick="window.open(this.href);return false;">{$val->value}</a>
@ -19,7 +13,6 @@
&nbsp; &nbsp;
<!--@end--> <!--@end-->
<!--// Email 주소 -->
<!--@elseif($val->type == 'email_address')--> <!--@elseif($val->type == 'email_address')-->
<!--@if($val->value)--> <!--@if($val->value)-->
<a href="mailto:{htmlspecialchars($val->value)}">{$val->value}</a> <a href="mailto:{htmlspecialchars($val->value)}">{$val->value}</a>
@ -27,7 +20,6 @@
&nbsp; &nbsp;
<!--@end--> <!--@end-->
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')--> <!--@elseif($val->type == 'tel')-->
{htmlspecialchars($val->value[0])} {htmlspecialchars($val->value[0])}
<!--@if($val->value[1])-->-<!--@end--> <!--@if($val->value[1])-->-<!--@end-->
@ -36,12 +28,10 @@
{htmlspecialchars($val->value[2])} {htmlspecialchars($val->value[2])}
&nbsp; &nbsp;
<!--// textarea -->
<!--@elseif($val->type == 'textarea')--> <!--@elseif($val->type == 'textarea')-->
{nl2br(htmlspecialchars($val->value))} {nl2br(htmlspecialchars($val->value))}
&nbsp; &nbsp;
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')--> <!--@elseif($val->type == 'checkbox')-->
<!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end--> <!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end-->
<!--@foreach($val->value as $v)--> <!--@foreach($val->value as $v)-->
@ -50,12 +40,10 @@
{implode(",",$_tmp_value)} {implode(",",$_tmp_value)}
&nbsp; &nbsp;
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')--> <!--@elseif($val->type == 'select')-->
{htmlspecialchars($val->value)} {htmlspecialchars($val->value)}
&nbsp; &nbsp;
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')--> <!--@elseif($val->type == 'date')-->
{zdate($val->value,"Y-m-d")} {zdate($val->value,"Y-m-d")}
&nbsp; &nbsp;

View file

@ -1,17 +1,13 @@
<!--// _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')--> <!--@if($oDocument->isExists() && $module_info->default_style != 'blog')-->
<div class="viewDocument"> <div class="viewDocument">
<!--#include("./view_document.html")--> <!--#include("./view_document.html")-->
</div> </div>
<!--@end--> <!--@end-->
<!--// 목록 출력 -->
<!--@if($module_info->default_style == 'webzine')--> <!--@if($module_info->default_style == 'webzine')-->
<!--#include("./_style.webzine.html")--> <!--#include("./_style.webzine.html")-->
<!--@elseif($module_info->default_style == 'gallery')--> <!--@elseif($module_info->default_style == 'gallery')-->
@ -26,7 +22,6 @@
<div class="boardNavigation"> <div class="boardNavigation">
<!-- 글쓰기, 목록 버튼 -->
<div class="buttonLeft"> <div class="buttonLeft">
<!--@if($grant->is_admin)--> <!--@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> <a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
@ -40,7 +35,6 @@
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="button green strong"><span>{$lang->cmd_write}</span></a> <a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="button green strong"><span>{$lang->cmd_write}</span></a>
</div> </div>
<!-- 페이지 네비게이션 -->
<div class="pagination a1"> <div class="pagination a1">
<a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" class="prevEnd">{$lang->first_page}</a> <a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" class="prevEnd">{$lang->first_page}</a>
<!--@while($page_no = $page_navigation->getNextPage())--> <!--@while($page_no = $page_navigation->getNextPage())-->
@ -55,7 +49,6 @@
</div> </div>
<!-- 검색 -->
<!--@if($grant->view && $module_info->default_style != 'blog')--> <!--@if($grant->view && $module_info->default_style != 'blog')-->
<form action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="fo_search" class="boardSearchForm"> <form action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="fo_search" class="boardSearchForm">
<fieldset> <fieldset>

View file

@ -1,8 +1,5 @@
<!--// _header.html include -->
<!--#include("_header.html")--> <!--#include("_header.html")-->
<!-- print tags -->
<div class="tagCloud"> <div class="tagCloud">
<h4 class="tagHeader">{$lang->tag} (<strong>{count($tag_list)}</strong>)</h4> <h4 class="tagHeader">{$lang->tag} (<strong>{count($tag_list)}</strong>)</h4>
<ul class="tags"> <ul class="tags">

View file

@ -1,4 +1,3 @@
<!-- 엮인글 목록 -->
<div class="feedbackList" id="trackback"> <div class="feedbackList" id="trackback">
<h3 class="feedbackHeader"> <h3 class="feedbackHeader">

View file

@ -1,4 +1,3 @@
<!-- 글 내용 보여주기 -->
<div class="boardRead"> <div class="boardRead">
<div class="boardReadHeader"> <div class="boardReadHeader">
@ -30,7 +29,6 @@
<tr> <tr>
<th scope="row">{$val->name}</th> <th scope="row">{$val->name}</th>
<td> <td>
<!--// 확장변수(extra_var)의 type에 따른 값을 출력하기 위해서 특별히 제작된 파일을 include 한다 -->
<!--#include("./extra_var_value.html")--> <!--#include("./extra_var_value.html")-->
</td> </td>
</tr> </tr>
@ -58,7 +56,6 @@
{$oDocument->getContent()} {$oDocument->getContent()}
<!--@end--> <!--@end-->
<!-- 서명 / 프로필 이미지 출력 -->
<!--@if($oDocument->getProfileImage() || $oDocument->getSignature())--> <!--@if($oDocument->getProfileImage() || $oDocument->getSignature())-->
<div class="memberSignature"> <div class="memberSignature">
<!--@if($oDocument->getProfileImage())--> <!--@if($oDocument->getProfileImage())-->
@ -133,7 +130,6 @@
</div> </div>
<!-- 목록, 수정/삭제 버튼 -->
<div class="boardNavigation"> <div class="boardNavigation">
<!--@if($module_info->default_style != 'blog')--> <!--@if($module_info->default_style != 'blog')-->
<div class="buttonLeft"> <div class="buttonLeft">
@ -151,15 +147,12 @@
</div> </div>
<!-- 엮인글 -->
<!--@if($oDocument->allowTrackback())--> <!--@if($oDocument->allowTrackback())-->
<!--#include("./trackback.html")--> <!--#include("./trackback.html")-->
<!--@end--> <!--@end-->
<!-- 댓글 -->
<!--#include("./comment.html")--> <!--#include("./comment.html")-->
<!-- 댓글 입력 폼 -->
<!--@if($grant->write_comment && $oDocument->isEnableComment() )--> <!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
<!--%import("filter/insert_comment.xml")--> <!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" > <form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
@ -169,7 +162,7 @@
<input type="hidden" name="content" value="" /> <input type="hidden" name="content" value="" />
<div class="boardWrite commentEditor"> <div class="boardWrite commentEditor">
<h3 class="commentHeader">댓글 쓰기</h3> <h3 class="commentHeader">{$lang->comment}</h3>
<div class="userNameAndPw"> <div class="userNameAndPw">
<!--@if(!$is_logged)--> <!--@if(!$is_logged)-->

View file

@ -30,7 +30,7 @@
<!--@end--> <!--@end-->
<dl class="title"> <dl class="title">
<dt>제목 : </dt> <dt><label class="title">{$lang->title} :</label></dt>
<dd> <dd>
<!--@if($module_info->use_category=="Y")--> <!--@if($module_info->use_category=="Y")-->
<select name="category_srl" class="category"> <select name="category_srl" class="category">
@ -41,15 +41,13 @@
</option> </option>
<!--@endforeach--> <!--@endforeach-->
</select> </select>
<!--@else-->
<label class="title">{$lang->title}</label>
<!--@endif--> <!--@endif-->
<input type="text" name="title" class="inputText" value="{htmlspecialchars($oDocument->getTitleText())}" /> <input type="text" name="title" class="inputText" value="{htmlspecialchars($oDocument->getTitleText())}" />
</dd> </dd>
</dl> </dl>
<dl class="option"> <dl class="option">
<dt>옵션 : </dt> <dt>{$lang->cmd_option} : </dt>
<!--@if($grant->manager)--> <!--@if($grant->manager)-->
{@ $_color = array('555555','222288','226622','2266EE','8866CC','88AA66','EE2222','EE6622','EEAA22','EEEE22') } {@ $_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;"> <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;">