mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1596 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7863a3b3ec
commit
4580e1dbd3
15 changed files with 290 additions and 233 deletions
|
|
@ -74,12 +74,12 @@
|
|||
// 4. 자신의 쪽지함 보기 기능 추가
|
||||
$menu_str = Context::getLang('cmd_view_message_box');
|
||||
$menu_link = "location.href.setQuery('act','dispMemberMessages')";
|
||||
$menu_list .= sprintf("\n%s,%s,move_url(%s,'sendMessage', true)", './modules/member/tpl/images/icon_message_box.gif', $menu_str, $menu_link);
|
||||
$menu_list .= sprintf("\n%s,%s,move_url(%s,'sendMessage', true)", Context::getRequestUri().'/modules/member/tpl/images/icon_message_box.gif', $menu_str, $menu_link);
|
||||
|
||||
// 5. 친구 목록 보기
|
||||
$menu_str = Context::getLang('cmd_view_friend');
|
||||
$menu_link = "location.href.setQuery('module','member').setQuery('act','dispMemberFriend')";
|
||||
$menu_list .= sprintf("\n%s,%s,popopen(%s,'sendMessage', true)", './modules/member/tpl/images/icon_friend_box.gif',$menu_str, $menu_link);
|
||||
$menu_list .= sprintf("\n%s,%s,popopen(%s,'sendMessage', true)", Context::getRequestUri().'/modules/member/tpl/images/icon_friend_box.gif',$menu_str, $menu_link);
|
||||
|
||||
|
||||
// 아니라면 쪽지 발송, 친구 등록 추가
|
||||
|
|
@ -92,14 +92,14 @@
|
|||
if( $target_member_info->allow_message =='Y' || ($target_member_info->allow_message == 'F' && $this->isFriend($member_srl))) {
|
||||
$menu_str = Context::getLang('cmd_send_message');
|
||||
$menu_link = sprintf('./?module=member&act=dispMemberSendMessage&receiver_srl=%s',$member_srl);
|
||||
$menu_list .= sprintf("\n%s,%s,popopen('%s','sendMessage')", './modules/member/tpl/images/icon_write_message.gif', $menu_str, $menu_link);
|
||||
$menu_list .= sprintf("\n%s,%s,popopen('%s','sendMessage')", Context::getRequestUri().'/modules/member/tpl/images/icon_write_message.gif', $menu_str, $menu_link);
|
||||
}
|
||||
|
||||
// 5. 친구 등록 메뉴를 만듬 (이미 등록된 친구가 아닐 경우)
|
||||
if(!$this->isAddedFriend($member_srl)) {
|
||||
$menu_str = Context::getLang('cmd_add_friend');
|
||||
$menu_link = sprintf('./?module=member&act=dispMemberAddFriend&target_srl=%s',$member_srl);
|
||||
$menu_list .= sprintf("\n%s,%s,popopen('%s','addFriend')", './modules/member/tpl/images/icon_add_friend.gif', $menu_str, $menu_link);
|
||||
$menu_list .= sprintf("\n%s,%s,popopen('%s','addFriend')", Context::getRequestUri().'/modules/member/tpl/images/icon_add_friend.gif', $menu_str, $menu_link);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -428,7 +428,7 @@ function chkMemberMenu(evt) {
|
|||
if(!member_srl) return;
|
||||
|
||||
// 현재 글의 mid, module를 구함
|
||||
var mid = location.href.getQuery("mid");
|
||||
var mid = current_url.getQuery("mid");
|
||||
|
||||
// 서버에 메뉴를 요청
|
||||
var params = new Array();
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
Context::setBrowserTitle($browser_title);
|
||||
|
||||
// 댓글
|
||||
$this->setCommentEditor();
|
||||
$this->setCommentEditor(0, 100);
|
||||
}
|
||||
|
||||
Context::set('document', $document);
|
||||
|
|
@ -220,7 +220,7 @@
|
|||
Context::set('source_comment',$source_comment);
|
||||
|
||||
// 댓글 에디터 세팅
|
||||
$this->setCommentEditor();
|
||||
$this->setCommentEditor(0, 400);
|
||||
|
||||
$this->setTemplateFile('comment_form');
|
||||
}
|
||||
|
|
@ -241,21 +241,21 @@
|
|||
|
||||
// 해당 댓글를 찾아본다
|
||||
$oCommentModel = &getModel('comment');
|
||||
$comment = $oCommentModel->getComment($comment_srl, $this->grant->manager);
|
||||
$source_comment = $oCommentModel->getComment($comment_srl, $this->grant->manager);
|
||||
|
||||
// 댓글이 없다면 오류
|
||||
if(!$comment) return $this->dispBoardMessage('msg_invalid_request');
|
||||
if(!$source_comment) return $this->dispBoardMessage('msg_invalid_request');
|
||||
|
||||
// 글을 수정하려고 할 경우 권한이 없는 경우 비밀번호 입력화면으로
|
||||
if($comment_srl&&$comment&&!$comment->is_granted) return $this->setTemplateFile('input_password_form');
|
||||
if($comment_srl&&$source_comment&&!$source_comment->is_granted) return $this->setTemplateFile('input_password_form');
|
||||
|
||||
// 필요한 정보들 세팅
|
||||
Context::set('document_srl',$document_srl);
|
||||
Context::set('comment_srl',$comment_srl);
|
||||
Context::set('comment', $comment);
|
||||
Context::set('source_comment', $source_comment);
|
||||
|
||||
// 댓글 에디터 세팅
|
||||
$this->setCommentEditor($comment_srl);
|
||||
$this->setCommentEditor($comment_srl, 400);
|
||||
|
||||
$this->setTemplateFile('comment_form');
|
||||
}
|
||||
|
|
@ -322,11 +322,12 @@
|
|||
* 댓글의 경우 수정하는 경우가 아니라면 고유값이 없음.\n
|
||||
* 따라서 고유값이 없을 경우 고유값을 가져와서 지정해 주어야 함
|
||||
**/
|
||||
function setCommentEditor($comment_srl=0) {
|
||||
function setCommentEditor($comment_srl=0, $height = 100) {
|
||||
if(!$comment_srl) {
|
||||
$comment_srl = getNextSequence();
|
||||
Context::set('comment_srl', $comment_srl);
|
||||
}
|
||||
|
||||
// 에디터 모듈의 getEditor를 호출하여 세팅
|
||||
$oEditorModel = &getModel('editor');
|
||||
$option->allow_fileupload = $this->grant->comment_fileupload;
|
||||
|
|
@ -334,7 +335,7 @@
|
|||
$option->enable_default_component = true;
|
||||
$option->enable_component = true;
|
||||
$option->resizable = true;
|
||||
$option->height = 100;
|
||||
$option->height = $height;
|
||||
$comment_editor = $oEditorModel->getEditor($comment_srl, $option);
|
||||
Context::set('comment_editor', $comment_editor);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
<ul id="reply">
|
||||
|
||||
<!--@foreach($document->comment_list as $key => $val)-->
|
||||
<a name="comment_{$key}"></a>
|
||||
|
||||
<!--@if($val->depth)-->
|
||||
<li style="margin-left:{($val->depth-1)*1.3 + 1.7}em" class="replyIndent">
|
||||
<!--@else-->
|
||||
<li>
|
||||
<!--@end-->
|
||||
<li <!--@if($val->depth)-->class="reply"<!--@end-->>
|
||||
<!--@if($val->depth)-->
|
||||
<div style="margin-left:{($val->depth-1)*1.3}em" class="replyIndent">
|
||||
<!--@end-->
|
||||
|
||||
<a name="comment_{$key}"></a>
|
||||
|
||||
<div class="member_{$val->member_srl} author">{htmlspecialchars($val->nick_name)}</div>
|
||||
|
||||
|
|
@ -40,6 +40,10 @@
|
|||
</ul>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($val->depth)-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
|
||||
|
|
|
|||
|
|
@ -7,24 +7,21 @@
|
|||
|
||||
<!-- 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
|
||||
<!--@if($source_comment)-->
|
||||
<div>
|
||||
<table border="1" width="100%">
|
||||
<col width="120" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th>{$lang->date}</th>
|
||||
<td>{$source_comment->regdate}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->writer}</th>
|
||||
<td><div class="member_{$source_comment->member_srl}">{htmlspecialchars($source_comment->nick_name)}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->content}</th>
|
||||
<td height="100" valign="top">{$source_comment->content}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<ul id="reply">
|
||||
<li>
|
||||
<div class="member_{$source_comment->member_srl} author">{htmlspecialchars($source_comment->nick_name)}</div>
|
||||
<div class="date">
|
||||
{zdate($source_comment->regdate, "Y.m.d H:i")}
|
||||
<!--@if($grant->is_admin)-->
|
||||
({$source_comment->ipaddress})
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="replyContent">
|
||||
{$source_comment->content}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 글쓰기 폼 -->
|
||||
|
|
@ -56,14 +53,14 @@
|
|||
|
||||
<div>{$comment_editor}</div>
|
||||
|
||||
</fieldset>
|
||||
<div class="buttonWrite">
|
||||
<!--@if($act&&$act!='dispBoardContent')-->
|
||||
<input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'" />
|
||||
<!--@end-->
|
||||
<input type="submit" value="{$lang->cmd_registration}" accesskey="s" />
|
||||
</div>
|
||||
|
||||
<div class="buttonWrite">
|
||||
<!--@if($act&&$act!='dispBoardContent')-->
|
||||
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','')}'" />
|
||||
<!--@end-->
|
||||
<a href="#" onclick="doCommentSubmit();return false;" class="buttonTypeA" accesskey="s"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_registration}<img src="./images/blank.gif" alt="" class="rightCap" /></a>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,68 +16,21 @@ Jeong, Chan Myeong 070601~070630
|
|||
|
||||
/* boardInformation */
|
||||
.boardInformation { width:100%; clear:both; margin:1em 0 .5em 0; overflow:hidden; color:#666666;}
|
||||
.articleNum { float:left; background:url(../images/white/iconArticle.gif) no-repeat .5em center; padding:.4em 0 0 2em;}
|
||||
.articleNum { float:left; background:url(../images/white/iconArticle.gif) no-repeat left top; padding:0 0 0 1.5em; margin:.5em 0 0 0;}
|
||||
.articleNum strong { font:bold 11px Tahoma; color:#ff6600;}
|
||||
|
||||
.accountNavigation { float:right; overflow:hidden;}
|
||||
.accountNavigation li { float:left; padding:0 .5em 0 .6em; background:url(../images/white/line_1x10_e0e0e0.gif) no-repeat left .4em;}
|
||||
.accountNavigation li a { font-size:11px; white-space:nowrap; color:#666666;}
|
||||
.accountNavigation li.rss { background:none; padding-top:.4em;}
|
||||
.accountNavigation li.join { background:none; padding-top:.4em;}
|
||||
.accountNavigation li.join a { display:block; background:url(../images/white/iconMyInfo.gif) no-repeat left .1em; padding:0 0 0 1.2em;}
|
||||
.accountNavigation li.myInfo { background:none; padding-top:.4em;}
|
||||
.accountNavigation li.myInfo { padding-top:.4em;}
|
||||
.accountNavigation li.myInfo a { display:block; background:url(../images/white/iconMyInfo.gif) no-repeat left .1em; padding:0 0 0 1.2em;}
|
||||
.accountNavigation li.admin { padding-top:.4em;}
|
||||
.accountNavigation li.admin { background:none; padding-top:.4em;}
|
||||
.accountNavigation li.admin a { display:block; background:url(../images/white/iconAdmin.gif) no-repeat left .1em; padding:0 0 0 1.2em;}
|
||||
.accountNavigation li.loginAndLogout { background:none; padding-left:0;}
|
||||
|
||||
/* buttonType */
|
||||
.buttonTypeA { display:block; cursor:pointer; background:url(../images/white/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px;}
|
||||
.buttonTypeA:hover { text-decoration:none;}
|
||||
.buttonTypeA img { vertical-align:middle;}
|
||||
.buttonTypeA .leftCap { width:2px; height:24px; background:url(../images/white/buttonTypeALeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||
.buttonTypeA .rightCap { width:2px; height:24px; background:url(../images/white/buttonTypeARight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||
.buttonTypeA .icon { margin:0 .2em;}
|
||||
|
||||
.buttonTypeB { display:block; cursor:pointer; background:url(../images/white/buttonTypeBCenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; font-size:.9em; white-space:nowrap;}
|
||||
.buttonTypeB:hover { text-decoration:none;}
|
||||
.buttonTypeB img { vertical-align:middle;}
|
||||
.buttonTypeB .leftCap { width:2px; height:21px; background:url(../images/white/buttonTypeBLeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||
.buttonTypeB .rightCap { width:2px; height:21px; background:url(../images/white/buttonTypeBRight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||
.buttonTypeB .icon { margin:0 .2em;}
|
||||
|
||||
/* button of list page */
|
||||
.buttonRight { position:relative; float:right; top:-3em; margin:0 0 -3em 0; _top:-3.5em; padding-right:.5em; overflow:visible;}
|
||||
.buttonLeft { position:relative; float:left; top:-3em; margin:0 0 -3em 0; _top:-3.5em; padding-left:.5em; overflow:visible;}
|
||||
.buttonLeft ul { float:left; }
|
||||
.buttonLeft ul li { float:left; margin-right:.3em;}
|
||||
|
||||
.boardRead .dateAndModify { float:right; white-space:nowrap;}
|
||||
.boardRead .dateAndModify .date { font-size:.8em; font-family:Tahoma; color:#999999; margin-right:.5em; float:left; position:relative; top:.3em;}
|
||||
.boardRead .dateAndModify .date strong { font-size:1em; font-family:Tahoma;}
|
||||
.boardRead .dateAndModify ul { display:inline;}
|
||||
.boardRead .dateAndModify ul li { float:left; margin-left:.3em;}
|
||||
|
||||
/* boardSearch */
|
||||
.boardSearch { text-align:center; clear:both; width:100%;}
|
||||
.boardSearch fieldset { border:none; display:inline; overflow:visible; position:relative;}
|
||||
.boardSearch fieldset legend { position:absolute; overflow:hidden; width:1px; height:1px; font-size:.001em;}
|
||||
.boardSearch * { vertical-align:middle;}
|
||||
.boardSearch select { float:left;}
|
||||
.boardSearch input { float:left; margin:0 .3em; background:#fbfbfb;}
|
||||
.searchButton ul { overflow:hidden;}
|
||||
.searchButton li { float:left; margin-right:.3em;}
|
||||
|
||||
/* pageNavigation */
|
||||
.pageNavigation { position:relative; display:block; padding:1.5em 0 2em 0; text-align:center; font:bold .8em Tahoma; }
|
||||
.pageNavigation a { position:relative; margin-left:-4px; font:bold 1em Tahoma; color:#666666; display:inline-block; padding:1px 7px 2px 6px; border-left:1px solid #dedfde; border-right:1px solid #CCCCCC; text-decoration:none; line-height:1em; }
|
||||
.pageNavigation a:hover { background:#F7F7F7; text-decoration:none; }
|
||||
.pageNavigation a:visited { color:#999999;}
|
||||
.pageNavigation a.goToFirst,
|
||||
.pageNavigation a.goToLast { border:none; border-right:1px solid #ffffff; border-left:1px solid #ffffff; z-index:99; vertical-align:top; padding:0px 7px 4px 6px;}
|
||||
.pageNavigation a.goToFirst img,
|
||||
.pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
.pageNavigation .current { position:relative; margin-left:-4px; font:bold 1em Tahoma; color:#ff6600; display:inline-block; padding:1px 7px 1px 6px; border-left:1px solid #dedfde; border-right:1px solid #CCCCCC; text-decoration:none; line-height:1em; }
|
||||
|
||||
/* boardList */
|
||||
.boardList { width:100%; position:relative; border:1px solid #e0e1db;}
|
||||
.boardList tr.notice { background:#f8f8f8;}
|
||||
|
|
@ -117,8 +70,9 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardList td.summary a { color:#666666; text-decoration:none; line-height:inherit;}
|
||||
.boardList td.summary a:visited { color:#999999;}
|
||||
.boardList td input { _margin:-3px;}
|
||||
.boardList td .replyAndTrackback { font:.8em Tahoma; color:#ff6600; cursor:default; position:relative; top:-.2em;}
|
||||
.boardList td.title.bold .replyAndTrackback { font:.6em Tahoma; color:#ff6600; cursor:default; position:relative; top:.3em;}
|
||||
.boardList td .replyAndTrackback { font:.8em Tahoma; color:#ff6600; position:relative; top:-.2em;}
|
||||
.boardList td .replyAndTrackback img.trackback { margin-bottom:-.1em;}
|
||||
.boardList td.title.bold .replyAndTrackback { font:.6em Tahoma; color:#ff6600; position:relative; top:.3em;}
|
||||
.boardList td .replyAndTrackback strong { font:bold 1em Tahoma;}
|
||||
|
||||
.boardList td .thumbnailSmall { margin:0 .3em 0 .3em;}
|
||||
|
|
@ -140,23 +94,82 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardList.thumbnail div.readAndRecommend .vr { color:#dddddd;}
|
||||
.boardList.thumbnail div.readAndRecommend strong.num { font:bold .8em Tahoma; color:#ff6600;}
|
||||
|
||||
/* boardRead */
|
||||
.boardRead { position:relative; _width:100%; margin:1em 0 0 0; border:1px solid #e0e1db;}
|
||||
.boardRead .originalContent { padding:2em 1.2em 2em 1.2em;}
|
||||
.boardRead .readHeader { width:100%; padding-bottom:.5em; margin-bottom:1em; border-bottom:1px solid #eff0ed; overflow:hidden;}
|
||||
.boardRead .titleAndCategory { float:left;}
|
||||
.boardRead .titleAndCategory h4 { font-size:1.4em; display:inline; padding-left:.2em;}
|
||||
.boardRead .titleAndCategory .vr { font-size:.9em; margin:0 .3em; color:#c5c7c0;}
|
||||
.boardRead .titleAndCategory .cotegory { font-size:.9em; color:#999999; white-space:nowrap;}
|
||||
/* pageNavigation */
|
||||
.pageNavigation { display:block; padding:1.5em 0 2em 0; text-align:center; font:bold .8em Tahoma; }
|
||||
.pageNavigation a { position:relative; margin-left:-4px; font:bold 1em Tahoma; color:#666666; display:inline-block; padding:1px 7px 2px 6px; border-left:1px solid #dedfde; border-right:1px solid #CCCCCC; text-decoration:none; line-height:1em; }
|
||||
.pageNavigation a:hover { background:#F7F7F7; text-decoration:none; }
|
||||
.pageNavigation a:visited { color:#999999;}
|
||||
.pageNavigation a.goToFirst,
|
||||
.pageNavigation a.goToLast { border:none; border-right:1px solid #ffffff; border-left:1px solid #ffffff; z-index:99; vertical-align:top; padding:0px 7px 4px 6px;}
|
||||
.pageNavigation a.goToFirst img,
|
||||
.pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
.pageNavigation .current { position:relative; margin-left:-4px; font:bold 1em Tahoma; color:#ff6600; display:inline-block; padding:1px 7px 1px 6px; border-left:1px solid #dedfde; border-right:1px solid #CCCCCC; text-decoration:none; line-height:1em; }
|
||||
|
||||
/* buttonType */
|
||||
.buttonTypeA { display:block; cursor:pointer; background:url(../images/white/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px;}
|
||||
.buttonTypeA:hover { text-decoration:none;}
|
||||
.buttonTypeA img { vertical-align:middle;}
|
||||
.buttonTypeA .leftCap { width:2px; height:24px; background:url(../images/white/buttonTypeALeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||
.buttonTypeA .rightCap { width:2px; height:24px; background:url(../images/white/buttonTypeARight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||
.buttonTypeA .icon { margin:0 .2em;}
|
||||
|
||||
.buttonTypeB { display:block; cursor:pointer; background:url(../images/white/buttonTypeBCenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; font-size:.9em; white-space:nowrap;}
|
||||
.buttonTypeB:hover { text-decoration:none;}
|
||||
.buttonTypeB img { vertical-align:middle;}
|
||||
.buttonTypeB .leftCap { width:2px; height:21px; background:url(../images/white/buttonTypeBLeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||
.buttonTypeB .rightCap { width:2px; height:21px; background:url(../images/white/buttonTypeBRight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||
.buttonTypeB .icon { margin:0 .2em;}
|
||||
|
||||
/* button of list page */
|
||||
.buttonRight { position:relative; float:right; top:-3em; margin:0 0 -3em 0; _top:-3.5em; padding-right:.5em; overflow:visible;}
|
||||
.buttonRight ul { float:left; }
|
||||
.buttonRight ul li { float:left; margin-right:.3em;}
|
||||
.buttonLeft { position:relative; float:left; top:-3em; margin:0 0 -3em 0; _top:-3.5em; padding-left:.5em; overflow:visible;}
|
||||
.buttonLeft ul { float:left; }
|
||||
.buttonLeft ul li { float:left; margin-right:.3em;}
|
||||
|
||||
.boardRead .dateAndModify { float:right; white-space:nowrap;}
|
||||
.boardRead .dateAndModify .date { font-size:.8em; font-family:Tahoma; color:#999999; margin-right:.5em; float:left; position:relative; top:.3em;}
|
||||
.boardRead .dateAndModify .date strong { font-size:1em; font-family:Tahoma;}
|
||||
.boardRead .dateAndModify ul { display:inline;}
|
||||
.boardRead .dateAndModify ul li { float:left; margin-left:.3em;}
|
||||
.boardRead dl.uri { overflow:hidden; margin:0 0 2em .3em;}
|
||||
|
||||
/* boardSearch */
|
||||
.boardSearch { text-align:center; clear:both; width:100%;}
|
||||
.boardSearch fieldset { border:none; display:inline; overflow:visible; position:relative;}
|
||||
.boardSearch fieldset legend { position:absolute; overflow:hidden; width:1px; height:1px; font-size:.001em;}
|
||||
.boardSearch * { vertical-align:middle;}
|
||||
.boardSearch select { float:left;}
|
||||
.boardSearch input { float:left; margin:0 .3em; background:#fbfbfb;}
|
||||
.searchButton ul { overflow:hidden;}
|
||||
.searchButton li { float:left; margin-right:.3em;}
|
||||
|
||||
|
||||
/* boardRead */
|
||||
.boardRead { position:relative; _width:100%; margin:1em 0 0 0; border:1px solid #e0e1db;}
|
||||
.boardRead .originalContent { padding:2em 1.2em 2em 1.2em;}
|
||||
.boardRead .readHeader { width:100%; padding-bottom:.5em; margin-bottom:1em; border-bottom:1px solid #eff0ed; overflow:hidden;}
|
||||
|
||||
.boardRead .titleAndCategory { float:left;}
|
||||
.boardRead .titleAndCategory h4 { font-size:1.4em; display:inline; padding-left:.2em;}
|
||||
.boardRead .titleAndCategory .vr { font-size:.9em; margin:0 .3em; color:#c5c7c0;}
|
||||
.boardRead .titleAndCategory .cotegory { font-size:.9em; color:#999999; white-space:nowrap;}
|
||||
|
||||
.boardRead .dateAndModify { float:right; white-space:nowrap;}
|
||||
.boardRead .dateAndModify .num { font-size:.9em; font-family:Tahoma; color:#999999; margin-right:.5em; float:left; position:relative; top:.3em;}
|
||||
.boardRead .dateAndModify .num strong { font-size:1em; font-family:Tahoma;}
|
||||
.boardRead .dateAndModify .ipaddress { font-size:.9em; font-family:Tahoma; color:#555555; margin-right:.5em; float:left; position:relative; top:.3em;}
|
||||
.boardRead .dateAndModify ul { display:inline;}
|
||||
.boardRead .dateAndModify ul li { float:left; margin-left:.3em;}
|
||||
|
||||
.boardRead dl.uri { overflow:hidden; margin:0 0 2em .3em; float:right;}
|
||||
.boardRead dl.uri dt { float:left; clear:left; font-size:.9em; margin-right:.3em; color:#999999;}
|
||||
.boardRead dl.uri dd { clear:right; font:.8em Tahoma; color:#c5c7c0;}
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em;}
|
||||
|
||||
.boardRead .userInfo { float:left; white-space:nowrap;}
|
||||
.boardRead .userInfo .author { float:left; padding:0 .3em 0 0; color:#3074a5; margin-right:.3em;}
|
||||
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em; clear:both;}
|
||||
.boardRead .readBody p { margin:1em 0; line-height:1.5em;}
|
||||
.boardRead .readBody .alignLeft { float:left; margin:0 1em 1em 0; }
|
||||
.boardRead .readBody .alignRight { float:right; margin:0 0 1em 1em; }
|
||||
|
|
@ -184,34 +197,37 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardRead .replyAndTrackback a strong { color:#ff6600;}
|
||||
.boardRead .replyAndTrackback a#toggleReply { background:url(../images/white/buttonToggleReply.gif) no-repeat right top;}
|
||||
.boardRead .replyAndTrackback a#toggleTrackback { background:url(../images/white/buttonToggleReply.gif) no-repeat right -13px;}
|
||||
.boardRead .replyAndTrackback li.button { float:right; }
|
||||
.boardRead .replyAndTrackback li.button a { display:inline; padding:0; margin:0 1em 0 1em;}
|
||||
|
||||
.boardRead #trackback { padding:.6em .6em; color:#666666;}
|
||||
.boardRead #trackback li { padding:.6em .8em .6em 1.6em; line-height:1.25em; }
|
||||
.boardRead #trackback p { display:inline; margin-bottom:1em;}
|
||||
.boardRead #trackback a { color:#666666; }
|
||||
.boardRead #trackback div { clear:both; }
|
||||
.boardRead #trackback address { display:block; padding:0 .3em 0 0; }
|
||||
.boardRead #trackback address a { font-size:.9em; color:#3074a5; margin-right:.3em; float:left;}
|
||||
.boardRead #trackback address .date { font:.8em Tahoma; color:#cccccc; float:right;}
|
||||
#trackbacks { padding:.6em .6em; color:#666666; border:1px solid #e0e1db;;margin-top:.5em;}
|
||||
#trackbacks li { padding:.6em .8em .6em .6em; line-height:1.25em; border-bottom:1px dotted #EEEEEE;}
|
||||
#trackbacks p { display:inline; margin-bottom:1em;}
|
||||
#trackbacks a { color:#666666; }
|
||||
#trackbacks div { clear:both; }
|
||||
#trackbacks address { display:block; padding:0 .3em 0 0; }
|
||||
#trackbacks address a { font-size:.9em; color:#3074a5; margin-right:.3em; float:left;}
|
||||
#trackbacks address .date { font:.8em Tahoma; color:#cccccc; float:right;}
|
||||
|
||||
.boardRead #reply { padding:.6em .6em; color:#666666;}
|
||||
.boardRead #reply li { padding:.6em .8em .6em 1.6em; line-height:1.25em; clear:both;}
|
||||
.boardRead #reply p { display:inline; margin-bottom:1em;}
|
||||
.boardRead #reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
.boardRead #reply .author a { font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
.boardRead #reply .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
#reply { padding:.6em .6em; color:#666666; border:1px solid #e0e1db; margin-top:.5em;}
|
||||
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE;}
|
||||
#reply p { display:inline; margin-bottom:1em;}
|
||||
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
#reply .author a { font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
#reply .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
.boardRead #reply .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
.boardRead #reply .replyOption img { vertical-align:middle;}
|
||||
#reply .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
#reply .replyOption img { vertical-align:middle;}
|
||||
|
||||
.boardRead #reply .replyContent { clear:left; }
|
||||
.boardRead #reply .replyIndent { background:url(../images/white/iconReplyArrow.gif) no-repeat .2em .9em;}
|
||||
#reply .replyContent { clear:left; }
|
||||
#reply .reply { background-color:#FAFAFA;}
|
||||
#reply .replyIndent { background:url(../images/white/iconReplyArrow.gif) no-repeat .0em .3em; padding-left:1.3em;}
|
||||
|
||||
.boardRead #reply li .fileAttached { _width:100%; border:1px solid #eaeae7; overflow:hidden; background:#fbfbfb; margin-top:.3em;}
|
||||
.boardRead #reply li .fileAttached ul { float:left; padding:.3em 1em .2em 0; margin-left:.5em; _margin-left:.25em;}
|
||||
.boardRead #reply li .fileAttached li { border:0px; display:inline; margin-right:.75em; line-height:1.5em; padding:.1em 0 .1em 1.5em; background:url(../images/white/iconFile.gif) no-repeat left;}
|
||||
.boardRead #reply li .fileAttached li a { font-size:.9em; white-space:nowrap; position:relative; color:#444444; }
|
||||
.boardRead #reply li .fileAttached li a:visited { color:#777777;}
|
||||
#reply li .fileAttached { _width:100%; border:1px solid #eaeae7; overflow:hidden; background:#fbfbfb; margin-top:.3em;}
|
||||
#reply li .fileAttached ul { float:left; padding:.3em 1em .2em 0; margin-left:.5em; _margin-left:.25em;}
|
||||
#reply li .fileAttached li { border:0px; display:inline; margin-right:.75em; line-height:1.5em; padding:.1em 0 .1em 1.5em; background:url(../images/white/iconFile.gif) no-repeat left;}
|
||||
#reply li .fileAttached li a { font-size:.9em; white-space:nowrap; position:relative; color:#444444; }
|
||||
#reply li .fileAttached li a:visited { color:#777777;}
|
||||
|
||||
/* boardEditor */
|
||||
.boardEditor { padding:.5em 0 1em 0; width:100%; overflow:hidden;}
|
||||
|
|
@ -232,7 +248,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
/* boardWrite */
|
||||
.boardWrite { width:100%; position:relative;}
|
||||
.boardWrite .userNameAndPw { margin-bottom:-1px;}
|
||||
.boardWrite .boardEditor fieldset { width:auto; position:relative; border:1px solid #eaeae7; border-top:none;}
|
||||
.boardWrite .boardEditor fieldset { width:auto; position:relative;}
|
||||
.boardWrite div.title { border-bottom:1px solid #eff0ed; border-top:1px solid #eff0ed; padding:.5em 0; white-space:nowrap;}
|
||||
.boardWrite div.title label.title { display:block; float:left; font-weight:bold; padding:.4em 0 0 1.5em; width:6em; white-space:nowrap;}
|
||||
.boardWrite div.title input#title { width:60%;}
|
||||
|
|
@ -249,4 +265,5 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardWrite .tag .inputTypeText { width:50%;}
|
||||
.boardWrite .tag .help { vertical-align:middle;}
|
||||
.boardWrite .tag .info { padding:.5em 0 0 .6em; margin-left:8.5em; font-size:.9em; color:#999999; background:url(../images/white/iconArrowD8.gif) no-repeat left center;}
|
||||
.boardWrite .buttonWrite { position:relative; float:left; left:50%; margin:1em 0 0 -2em; _padding-bottom:1em;}
|
||||
.boardWrite .buttonWrite { text-align:center; margin:.5em 0 1em 0; clear:both;}
|
||||
.boardWrite .buttonWrite input { border:1px solid #999999; background-color:#FFFFFF; color:#999999; height:1.5em; width:5em; _padding-top:.1em; cursor:pointer;}
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
<!-- 하단 텍스트 출력 -->
|
||||
{$module_info->footer_text}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<!-- JS 파일 로드 -->
|
||||
<!--%import("js/board.js")-->
|
||||
|
||||
<!-- 컬러셋 체크 -->
|
||||
<!--@if($module_info->colorset != "white")-->
|
||||
{@$module_info->colorset = "white"}
|
||||
<!--@end-->
|
||||
|
|
@ -10,44 +11,54 @@
|
|||
<!--%import("css/white.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 상단 텍스트 출력 -->
|
||||
{$module_info->header_text}
|
||||
|
||||
<!-- 스킨의 제목/간단한 설명 출력 -->
|
||||
<!--@if($module_info->title)-->
|
||||
<div class="boardHeader">
|
||||
<h3>{$module_info->title}<!--@if($module_info->sub_title)--> - {$module_info->sub_title}<!--@end--></h3>
|
||||
</div>
|
||||
<div class="boardHeader">
|
||||
<h3>{$module_info->title}<!--@if($module_info->sub_title)--> - {$module_info->sub_title}<!--@end--></h3>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 게시판 정보 -->
|
||||
<div class="boardInformation">
|
||||
<!--@if($total_count)-->
|
||||
<span class="articleNum">{$lang->document_count} <strong>{number_format($total_count)}</strong></span>
|
||||
<div class="boardInformation">
|
||||
|
||||
<!-- 게시물 수 -->
|
||||
<!--@if($total_count)-->
|
||||
<span class="articleNum">{$lang->document_count} <strong>{number_format($total_count)}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 로그인 정보 -->
|
||||
<ul class="accountNavigation">
|
||||
|
||||
<!--@if($rss_url)-->
|
||||
<li class="rss"><a href="{$rss_url}"><img src="./images/{$module_info->colorset}/iconRss.gif" alt="RSS" width="12" height="12" /></a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 로그인 되어 있을 경우 -->
|
||||
<!--@if($is_logged)-->
|
||||
|
||||
<!-- 관리자이면 관리 버튼 출력 -->
|
||||
<!--@if($grant->is_admin)-->
|
||||
<li class="admin"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_management}</a></li>
|
||||
<!--@end-->
|
||||
|
||||
<ul class="accountNavigation">
|
||||
<!-- 레이아웃이 없으면 회원정보+로그아웃 버튼 출력 -->
|
||||
<!--@if(!$module_info->layout_srl)-->
|
||||
<li class="myInfo"><a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a></li>
|
||||
|
||||
<!--@if($rss_url)-->
|
||||
<li class="rss"><a href="{$rss_url}"><img src="./images/{$module_info->colorset}/iconRss.gif" alt="RSS" width="12" height="12" /></a></li>
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLogout')}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_logout}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($is_logged)-->
|
||||
<!-- 로그인 되어 있지 않고 레이아웃이 없으면 -->
|
||||
<!--@elseif(!$is_logged && !$module_info->layout_srl)-->
|
||||
|
||||
<li class="myInfo"><a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a></li>
|
||||
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<li class="admin"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_management}</a></li>
|
||||
<!--@end-->
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLoginForm')}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_login}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLogout')}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_logout}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<!--@end-->
|
||||
|
||||
<!--@else-->
|
||||
|
||||
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
|
||||
|
||||
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLoginForm')}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_login}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
|
||||
<!--@end-->
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
BIN
modules/board/skins/xe_list/images/white/iconList.gif
Normal file
BIN
modules/board/skins/xe_list/images/white/iconList.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 101 B |
|
|
@ -82,7 +82,7 @@ function completeReload(ret_obj) {
|
|||
/* 댓글쓰기 submit */
|
||||
function doCommentSubmit() {
|
||||
var fo_obj = xGetElementById('fo_comment_write');
|
||||
procFilter(fo_obj, insert);
|
||||
procFilter(fo_obj, insert_comment);
|
||||
}
|
||||
|
||||
/* 댓글 글쓰기 작성후 */
|
||||
|
|
|
|||
|
|
@ -1,17 +1,21 @@
|
|||
<!-- 검색을 위한 xml filter import-->
|
||||
<!--%import("filter/search.xml")-->
|
||||
|
||||
<!-- header.html include -->
|
||||
<!--#include("header.html")-->
|
||||
|
||||
<!-- 게시물 내용 include -->
|
||||
<!-- 선택된 게시물이 있고 권한이 있으면 내용 출력 -->
|
||||
<!--@if($document && $grant->view)-->
|
||||
<!--#include("./view_document.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 목록 -->
|
||||
<table cellspacing="0" summary="" class="boardList">
|
||||
<!-- 목록 출력 -->
|
||||
<table cellspacing="0" summary="" class="boardList">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="num"> </th>
|
||||
<th scope="col" class="num">{$lang->no}</th>
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
<!-- 카테고리 사용시 카테고리 선택 표시 -->
|
||||
<th scope="col" class="category">
|
||||
<form action="./" method="get">
|
||||
<select name="category" onchange="doChangeCategory(this, '{getUrl('category','')}')" >
|
||||
|
|
@ -33,13 +37,27 @@
|
|||
</thead>
|
||||
|
||||
<tbody>
|
||||
<!--@if(!$document_list)-->
|
||||
<!-- 게시물이 없으면 등록된 글이 없음을 표시 -->
|
||||
<tr class="bg0">
|
||||
<td colspan="<!--@if($module_info->use_category=="Y")-->7<!--@else-->6<!--@end-->" class="title">
|
||||
{$lang->no_documents}
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--@foreach($document_list as $no => $val)-->
|
||||
|
||||
<!--@if($val->is_notice=="Y")-->
|
||||
|
||||
<tr class="notice">
|
||||
<td class="num">{$lang->notice}</td>
|
||||
|
||||
<!--@else-->
|
||||
|
||||
<tr class="bg{($no+1)%2+1}">
|
||||
<td class="num">{$no}</td>
|
||||
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($module_info->use_category == "Y")-->
|
||||
|
|
@ -56,10 +74,8 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--@if($grant->view)-->
|
||||
<!-- 검색중일 경우는 새창으로 -->
|
||||
<!--@if($search_target && $search_keyword)-->
|
||||
<a href="#" onclick="winopen('{getUrl('','document_srl',$val->document_srl)}','viewDocument');return false;">{htmlspecialchars($val->title)}</a>
|
||||
<!-- 검색을 하지 않을 시에는 현재창으로 -->
|
||||
<!--@else-->
|
||||
<a href="{getUrl('','document_srl',$val->document_srl)}">{htmlspecialchars($val->title)}</a>
|
||||
<!--@end-->
|
||||
|
|
@ -68,11 +84,11 @@
|
|||
<!--@end-->
|
||||
|
||||
<!--@if($val->comment_count>0)-->
|
||||
<span class="replyAndTrackback" title="Replies">(<strong>{$val->comment_count}</strong>)</span>
|
||||
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$val->comment_count}</strong></span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($val->trackback_count>0)-->
|
||||
<span class="replyAndTrackback" title="Trackbacks">[<strong>{$val->trackback_count}</strong>]</span>
|
||||
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$val->trackback_count}</strong></span>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="author"><div class="member_{$val->member_srl}">{$val->nick_name}</div></td>
|
||||
|
|
@ -82,7 +98,7 @@
|
|||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
<!--@if($grant->view)-->
|
||||
|
||||
|
|
@ -100,25 +116,27 @@
|
|||
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','')}" class="goToLast"><img src="./images/{$module_info->colorset}/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
|
||||
</div>
|
||||
|
||||
<!-- 글쓰기 버튼 -->
|
||||
<!-- 글쓰기, 목록 버튼 -->
|
||||
<div class="buttonRight">
|
||||
<!--@if($grant->write_document)-->
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/{$module_info->colorset}/iconWrite.gif" width="12" height="11" class="icon" alt="" />{$lang->cmd_write}<img src="./images/blank.gif" alt="" class="rightCap" /></a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="buttonLeft">
|
||||
|
||||
<ul>
|
||||
<li><a href="{getUrl('act','','document_srl','')}" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_list}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<li><a href="{getUrl('act','','document_srl','')}" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/{$module_info->colorset}/iconList.gif" alt="" width="12" height="13" class="icon" />{$lang->cmd_list}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<!-- 문서 관리 버튼 -->
|
||||
<li><a href="#" onclick="popopen('{getUrl('act','dispBoardAdminManageDocument')}','manageDocument'); return false;" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/{$module_info->colorset}/iconCheck.gif" width="10" height="9" class="icon" alt="" />{$lang->cmd_manage_document}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<!--@if($grant->write_document)-->
|
||||
<li><a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/{$module_info->colorset}/iconWrite.gif" width="12" height="11" class="icon" alt="" />{$lang->cmd_write}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<!-- 문서 관리 버튼 -->
|
||||
<div class="buttonLeft">
|
||||
<ul>
|
||||
<li><a href="#" onclick="popopen('{getUrl('act','dispBoardAdminManageDocument')}','manageDocument'); return false;" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/{$module_info->colorset}/iconCheck.gif" width="10" height="9" class="icon" alt="" />{$lang->cmd_manage_document}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!-- 검색 -->
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, search)" class="boardSearch" id="fo_search">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
<!-- 엮인글 목록 -->
|
||||
<div>
|
||||
|
||||
<!--@if($document->trackback_list)-->
|
||||
<ul id="trackback">
|
||||
<ul id="trackbacks">
|
||||
|
||||
<!--@foreach($document->trackback_list as $key => $val)-->
|
||||
<a name="trackback_{$val->trackback_srl}"></a>
|
||||
<li>
|
||||
<a name="trackback_{$val->trackback_srl}"></a>
|
||||
<address>
|
||||
<a href="#" onclick="winopen('{$val->url}');return false;">{htmlspecialchars($val->blog_name)}</a>
|
||||
<a href="{getUrl('act','dispBoardDeleteTrackback','trackback_srl',$val->trackback_srl)}"><img src="./images/{$module_info->colorset}/buttonDeleteX.gif" border="0" alt="delete" width="12" height="13" /></a>
|
||||
|
|
@ -18,6 +19,6 @@
|
|||
</div>
|
||||
</li>
|
||||
<!--@end-->
|
||||
|
||||
</ul>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -18,17 +18,33 @@
|
|||
</div>
|
||||
|
||||
<div class="dateAndModify">
|
||||
<span class="date">
|
||||
<strong>{zdate($document->regdate,"Y.m.d")}</strong> {zdate($document->regdate,"H:i:s")}
|
||||
<!--@if($grant->is_admin)-->
|
||||
({$document->ipaddress})
|
||||
<!--@end-->
|
||||
<span class="num">
|
||||
{$lang->readed_count}:
|
||||
<strong>{$document->readed_count}</strong>
|
||||
,
|
||||
</span>
|
||||
|
||||
<!--@if($document->voted_count>0)-->
|
||||
<span class="num">
|
||||
{$lang->voted_count}:
|
||||
<strong>{$document->voted_count}</strong>
|
||||
,
|
||||
</span>
|
||||
<!--@end-->
|
||||
|
||||
<span class="num">
|
||||
<strong>{zdate($document->regdate,"Y.m.d")}</strong> {zdate($document->regdate,"H:i:s")}
|
||||
</span>
|
||||
<!--@if($grant->is_admin)-->
|
||||
<span class="ipaddress">
|
||||
({$document->ipaddress})
|
||||
</span>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($document->is_granted || !$document->member_srl)-->
|
||||
<ul>
|
||||
<li><a href="{getUrl('act','dispBoardWrite')}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_modify}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<li><a href="{getUrl('act','dispBoardDelete')}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_delete}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<li><a href="{getUrl('act','dispBoardWrite','document_srl',$document->document_srl)}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_modify}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
<li><a href="{getUrl('act','dispBoardDelete','document_srl',$document->document_srl)}" class="buttonTypeB"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_delete}<img src="./images/blank.gif" alt="" class="rightCap" /></a></li>
|
||||
</ul>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
|
@ -37,19 +53,29 @@
|
|||
<dl class="uri">
|
||||
<dt>{$lang->document_url} :</dt>
|
||||
<dd>{getUrl('','document_srl',$document->document_srl)}</dd>
|
||||
|
||||
<!--@if($document->allow_trackback=='Y')-->
|
||||
<dt>{$lang->trackback_url} :</dt>
|
||||
<dd>{getUrl('','document_srl',$document->document_srl,'act','trackback')}</dd>
|
||||
<!--@end-->
|
||||
</dl>
|
||||
<div class="readBody">{$document->content}</div>
|
||||
|
||||
<div class="userInfo">
|
||||
<div class="author member_{$document->member_srl}">{htmlspecialchars($document->nick_name)}</div>
|
||||
</div>
|
||||
|
||||
<div class="readBody"><p>{$document->content}</p></div>
|
||||
|
||||
<div class="readFooter">
|
||||
<!--@if($document->tag_list)-->
|
||||
<div class="tag">
|
||||
<h5><img src="./images/{$module_info->colorset}/iconTag.gif" alt="{$lang->tag}" width="17" height="10" class="tagIcon" /></h5>
|
||||
<ul>
|
||||
<!--@foreach($document->tag_list as $val)-->
|
||||
<li><a href="{getUrl('search_target','tag','search_keyword',urlencode($val),'document_srl','')}">{htmlspecialchars($val)}</a>,</li>
|
||||
<!--@for($i=0;$i<count($document->tag_list);$i++)-->
|
||||
{@ $tag = $document->tag_list[$i]; }
|
||||
<li>
|
||||
<a href="{getUrl('search_target','tag','search_keyword',urlencode($tag),'document_srl','')}">{htmlspecialchars($tag)}</a><!--@if($i<count($document->tag_list)-1)-->,<!--@end-->
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -76,42 +102,22 @@
|
|||
<!--@if($document->allow_trackback=='Y')-->
|
||||
<li class="trackback"><a href="#trackback">{$lang->trackback} <strong>{count($document->trackback_list)}</strong></a></li>
|
||||
<!--@end-->
|
||||
|
||||
<li class="button">
|
||||
<a href="{getUrl('document_srl','')}">{$lang->cmd_list}</a>
|
||||
<a href="#" onclick="doVote();return false;">{$lang->cmd_vote}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- 엮인글 파일 include -->
|
||||
<!--@if($document->allow_trackback=='Y')-->
|
||||
<a name="trackback"></a>
|
||||
<!--#include("./trackback.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 댓글 파일 include -->
|
||||
<!--@if($grant->write_comment&&$document->allow_comment=='Y')-->
|
||||
<a name="comment"></a>
|
||||
<!--#include("./comment.html")-->
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<tr>
|
||||
<th>{$lang->writer}</th>
|
||||
<td><div class="member_{$document->member_srl}">{htmlspecialchars($document->nick_name)}</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->readed_count}</th>
|
||||
<td>{$document->readed_count}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$lang->voted_count}</th>
|
||||
<td>{$document->voted_count}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div>
|
||||
<a href="{getUrl('document_srl','')}">[{$lang->cmd_list}]</a>
|
||||
<a href="#" onclick="doVote();return false;">[{$lang->cmd_vote}]</a>
|
||||
</div>
|
||||
|
||||
-->
|
||||
|
||||
|
||||
<!-- 엮인글 파일 include -->
|
||||
<!--@if($document->allow_trackback=='Y')-->
|
||||
<a name="trackback"></a>
|
||||
<!--#include("./trackback.html")-->
|
||||
<!--@end-->
|
||||
|
||||
<!-- 댓글 파일 include -->
|
||||
<!--@if($grant->write_comment&&$document->allow_comment=='Y')-->
|
||||
<a name="comment"></a>
|
||||
<!--#include("./comment.html")-->
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@charset "utf-8";
|
||||
|
||||
.xeEditor { border-top:1px solid #eaeae7; }
|
||||
.xeEditor .optionABC { clear:both; width:100%; border-bottom:1px solid #c2c2c2; overflow:hidden; background:#ffffff url(../images/bgBoardEditorOption.gif) no-repeat -3px bottom;}
|
||||
.xeEditor .optionABC .selectGroup { white-space:nowrap; display:block; height:21px; margin:0 .5em 0 0; padding-left:1em; float:left;}
|
||||
.xeEditor .optionABC .buttonGroup { white-space:nowrap; position:relative; display:block; margin:0 .5em 0 0; float:left; height:21px; overflow:hidden; padding-left:2px;}
|
||||
|
|
|
|||
|
|
@ -52,12 +52,12 @@
|
|||
// 회원 정보 보기
|
||||
$menu_str = Context::getLang('cmd_view_member_info');
|
||||
$menu_url = sprintf('./?mid=%s&act=dispMemberInfo&member_srl=%s', $mid, $member_srl);
|
||||
$menu_list[] = sprintf('%s,%s,move_url(\'%s\')', './modules/member/tpl/images/icon_view_info.gif', $menu_str, $menu_url);
|
||||
$menu_list[] = sprintf('%s,%s,move_url(\'%s\')', Context::getRequestUri().'/modules/member/tpl/images/icon_view_info.gif', $menu_str, $menu_url);
|
||||
|
||||
// 아이디로 검색
|
||||
$menu_str = Context::getLang('cmd_view_own_document');
|
||||
$menu_url = sprintf('./?mid=%s&search_target=user_id&search_keyword=%s', $mid, $user_id);
|
||||
$menu_list[] = sprintf('%s,%s,move_url(\'%s\')', './modules/member/tpl/images/icon_view_written.gif',$menu_str, $menu_url);
|
||||
$menu_list[] = sprintf('%s,%s,move_url(\'%s\')', Context::getRequestUri().'/modules/member/tpl/images/icon_view_written.gif',$menu_str, $menu_url);
|
||||
}
|
||||
|
||||
// 다른 사람의 아이디를 클릭한 경우
|
||||
|
|
@ -66,14 +66,14 @@
|
|||
// 메일 보내기
|
||||
$menu_str = Context::getLang('cmd_send_email');
|
||||
$menu_url = sprintf('%s <%s>', $user_name, $email_address);
|
||||
$menu_list[] = sprintf('%s,%s,sendMailTo(\'%s\')', './modules/member/tpl/images/icon_sendmail.gif', $menu_str, $menu_url);
|
||||
$menu_list[] = sprintf('%s,%s,sendMailTo(\'%s\')', Context::getRequestUri().'/modules/member/tpl/images/icon_sendmail.gif', $menu_str, $menu_url);
|
||||
}
|
||||
|
||||
// 홈페이지 보기
|
||||
if($member_info->homepage) $menu_list[] = sprintf("%s,%s,winopen('%s')", './modules/member/tpl/images/icon_homepage.gif',Context::getLang('homepage'), $member_info->homepage);
|
||||
if($member_info->homepage) $menu_list[] = sprintf("%s,%s,winopen('%s')", Context::getRequestUri().'/modules/member/tpl/images/icon_homepage.gif',Context::getLang('homepage'), $member_info->homepage);
|
||||
|
||||
// 블로그 보기
|
||||
if($member_info->blog) $menu_list[] = sprintf("%s,%s,winopen('%s')", './modules/member/tpl/images/icon_blog.gif', Context::getLang('blog'), $member_info->blog);
|
||||
if($member_info->blog) $menu_list[] = sprintf("%s,%s,winopen('%s')", Context::getRequestUri().'/modules/member/tpl/images/icon_blog.gif', Context::getLang('blog'), $member_info->blog);
|
||||
|
||||
// 정보를 저장
|
||||
$this->add("menu_list", implode("\n",$menu_list));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue