wiki모듈의 기본 스킨을 차후 XE 기본 게시판 스킨이 될 xe_official 스킨을 차용하여 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6549 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-06-15 09:51:46 +00:00
parent d41a5a8b5f
commit 0008507080
33 changed files with 900 additions and 782 deletions

View file

@ -1,93 +1,111 @@
<!--@if($oDocument->getCommentCount())-->
<div class="replyBox">
<hr class="hr" />
<div class="feedbackList" id="reply">
{@ $_comment_list = $oDocument->getComments() }
<!--@foreach($_comment_list as $key => $comment)-->
<h3 class="feedbackHeader">
<!--@if($grant->write_comment && $oDocument->allowComment()) -->
{$lang->comment} <em>'{$oDocument->getCommentcount()}'</em>
<!--@end-->
</h3>
<div class="replyList">
<div class="replyItem <!--@if($comment->get('depth'))-->reply<!--@end-->">
<!--@if($comment->get('depth'))-->
<div style="margin-left:{($comment->get('depth')-1)*20}px" class="replyIndent">
<!--@end-->
<a name="comment_{$comment->comment_srl}"></a>
<div class="replyOption">
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
<a href="{getUrl('act','dispWikiDeleteComment','comment_srl',$comment->comment_srl)}"><img src="./images/common/buttonDeleteX.gif" alt="{$lang->cmd_delete}" width="12" height="13" /></a>
<a href="{getUrl('act','dispWikiModifyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonModifyE.gif" alt="{$lang->cmd_modify}" width="20" height="17" /></a>
<!--@end-->
<a href="{getUrl('act','dispWikiReplyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonReply.gif" alt="{$lang->cmd_reply}" width="20" height="17" /></a>
</div>
<div class="date">
<strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
<!--@if($grant->manager|| $module_info->display_ip_address!='N')-->({$comment->getIpaddress()})<!--@end-->
</div>
<div class="author">
<!--@if(!$comment->member_srl)-->
<!--@if($comment->homepage)-->
<a href="{$comment->homepage}" onclick="window.open(this.href);return false;">{$comment->getNickName()}</a>
<!--@else-->
{$comment->getNickName()}
<!--@end-->
<!--@else-->
<div class="member_{$comment->member_srl}">{$comment->getNickName()}</div>
<!--@end-->
</div>
<!--@if($comment->get('voted_count')!=0 || $comment->get('blamed_count') != 0)-->
<div class="voted">
({$lang->voted_count}:
<strong>{$comment->get('voted_count')?$comment->get('voted_count'):0}</strong> / <strong>{$comment->get('blamed_count')?$comment->get('blamed_count'):0}</strong>)
</div>
<!--@end-->
<div class="clear"></div>
<div class="replyContent">
<!--@if(!$comment->isAccessible())-->
<div class="secretContent">
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
<div class="title">{$lang->msg_is_secret}</div>
<div class="content"><input type="password" name="password" class="inputTypeText" /><span class="button {$btn_class}"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span></div>
</form>
</div>
<!--@else-->
<!--@if($comment->getProfileImage())-->
<img src="{$comment->getProfileImage()}" alt="profile" class="commentProfileImage" />
<!--@end-->
{$comment->getContent(true)}
<!--@end-->
<div class="clear"></div>
</div>
<!--@if($comment->hasUploadedFIles())-->
<div class="fileAttached">
<ul>
{@ $_uploaded_files = $comment->getUploadedFiles() }
<!--@foreach($_uploaded_files as $key => $file)-->
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})({number_format($file->download_count)})</a></li>
{@ $_comment_list = $oDocument->getComments() }
<!--@foreach($_comment_list as $key => $comment)-->
<div class="item <!--@if($comment->get('depth'))-->itemReply<!--@end-->" id="comment_{$comment->comment_srl}">
<div class="indent" <!--@if($comment->get('depth'))--> style="margin-left:{($comment->get('depth'))*15}px" <!--@end-->>
<div class="itemAside">
<!--@if($comment->getProfileImage())-->
<img src="{$comment->getProfileImage()}" alt="profile" class="profile" />
<!--@end-->
</ul>
<div class="clear"></div>
</div>
<!--@end-->
<h4 class="header">
<!--@if(!$comment->member_srl)-->
<!--@if($comment->homepage)-->
<a href="{$comment->homepage}" onclick="window.open(this.href);return false;">{$comment->getNickName()}</a>
<!--@else-->
{$comment->getNickName()}
<!--@end-->
<!--@else-->
<a href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false">{$comment->getNickName()}</a>
<!--@end-->
</h4>
<p class="meta">
{$comment->getRegdate('Y.m.d')}
{$comment->getRegdate('H:i:s')}
<!--@if($grant->manager || $module_info->display_ip_address!='N')-->
<br />{$comment->getIpaddress()}
<!--@end-->
</p>
<!--@if($comment->get('voted_count')!=0 || $comment->get('blamed_count') != 0)-->
<dl class="vote">
<dt class="love"><span>{$lang->cmd_vote}</span></dt>
<dd>{$comment->get('voted_count')?$comment->get('voted_count'):0}</dd>
<dt class="hate"><span>{$lang->cmd_vote_down}</span></dt>
<dd>{$comment->get('blamed_count')?$comment->get('blamed_count'):0}</dd>
</dl>
<!--@end-->
</div>
<div class="itemContent">
<!--@if(!$comment->isAccessible())-->
<form action="./" method="get" onsubmit="return procFilter(this, input_password)" class="secretMessage">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
<p>&quot;{$lang->msg_is_secret}&quot;</p>
<dl>
<dt><label for="cpw">{$lang->password}</label> :</dt>
<dd><input type="password" id="cpw" name="password" class="inputText" /><span class="buttonOfficial"><input type="submit" value="{$lang->cmd_input}" /></span></dd>
</dl>
</form>
<!--@else-->
{$comment->getContent(false)}
<!--@if($comment->get('depth'))-->
</div>
<!--@end-->
</div>
<!--@end-->
<!--@if($comment->hasUploadedFIles())-->
<dl class="attachedFile">
<dt><img src="./img/common/iconFiles.gif" width="27" height="11" alt="{$lang->uploaded_file}" /> <button type="button" class="fileToggle" onclick="jQuery(this).parents('dl.attachedFile').toggleClass('open');return false;">{$lang->uploaded_file} ({$comment->get('uploaded_count')})</button></dt>
<dd>
<ul class="files">
{@ $_uploaded_files = $comment->getUploadedFiles() }
<!--@foreach($_uploaded_files as $key => $file)-->
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download{number_format($file->download_count)}]</span></a></li>
<!--@end-->
</ul>
</dd>
</dl>
<!--@end-->
<ul class="option">
<!--@if($is_logged)-->
<li class="wouldYou"><a href="#popup_menu_area" class="comment_{$comment->comment_srl}">{$lang->cmd_comment_do}</a></li>
<!--@end-->
<li><a href="{getUrl('act','dispWikiReplyComment','comment_srl',$comment->comment_srl)}">{$lang->cmd_reply}</a></li>
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
<li><a href="{getUrl('act','dispWikiModifyComment','comment_srl',$comment->comment_srl)}">{$lang->cmd_modify}</a></li>
<li><a href="{getUrl('act','dispWikiDeleteComment','comment_srl',$comment->comment_srl)}">{$lang->cmd_delete}</a></li>
<!--@end-->
</ul>
<!--@end-->
</div>
</div>
<!--@if($comment->get('depth'))-->
<!--@end-->
</div>
<!--@end-->
</div>
<!-- 댓글 페이지 네비게이션 -->
<!--@if($oDocument->comment_page_navigation)-->
<div class="pagination a1">
<div class="pagination">
<a href="{getUrl('cpage',1)}#comment" class="prevEnd">{$lang->first_page}</a>
<!--@while($page_no = $oDocument->comment_page_navigation->getNextPage())-->
<!--@if($cpage == $page_no)-->