mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
iphone board
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6161 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ce3dd3a639
commit
f5a33e0912
3 changed files with 131 additions and 0 deletions
40
modules/board/tpl/iphone/view_document.html
Normal file
40
modules/board/tpl/iphone/view_document.html
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<div id="view_document_{$oDocument->document_srl}" title="글 보기" selected="true" class="panel">
|
||||
<h2>{$oDocument->getTitleText()}</h2>
|
||||
<div class="content">
|
||||
{$oDocument->getContent(false)}
|
||||
</div>
|
||||
<fieldset>
|
||||
<ul class="content navigation">
|
||||
<li><a href="#view_comment" class="link">댓글 보기 <span class="cnt">({$oDocument->getCommentCount()})</span></a></li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<ul id="view_comment" title="댓글 보기" selected="false">
|
||||
<li class="group">Comment List ({$oDocument->getCommentCount()})</li>
|
||||
{@ $_comment_list = $oDocument->getComments() }
|
||||
<!--@foreach($_comment_list as $key => $comment)-->
|
||||
<li class="comment_item">
|
||||
{@ $depth = $comment->get('depth') }
|
||||
<!--@if($depth && $depth > 0)-->
|
||||
<span class="re">
|
||||
{@ $str_res = str_repeat("RE: ", $depth) }
|
||||
{$str_res}
|
||||
</span>
|
||||
<!--@end-->
|
||||
<span class="author">
|
||||
{$comment->get('nick_name')}
|
||||
</span>
|
||||
<span class="regdate">
|
||||
{$comment->getRegDate()}
|
||||
</span>
|
||||
<div class="content">
|
||||
<!--@if(!$comment->isAccessible())-->
|
||||
{$lang->msg_is_secret}
|
||||
<!--@else-->
|
||||
{$comment->getContent(false)}
|
||||
<!--@end-->
|
||||
</div>
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue