mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
restore 기능 추가, history list 정렬 및 페이징 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6224 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ba309f290b
commit
108d5a2175
9 changed files with 47 additions and 6 deletions
|
|
@ -1,15 +1,34 @@
|
|||
<!--#include("header.html")-->
|
||||
<div class="readBody">
|
||||
<ul class="histories">
|
||||
<!--@if(!$page || $page == 1)-->
|
||||
<li class="_item"><div class="info"><span class="date">{$oDocument->getUpdate()}</span> by {$oDocument->getNickName()} (current)</div><a href="{getUrl('act','',page,'','history_srl','')}" class="view">[{$lang->cmd_move}]</a></li>
|
||||
<!--@endif-->
|
||||
<!--@foreach($histories as $val)-->
|
||||
<li class="_item"><div class="info"><span class="date">{zdate($val->regdate, 'Y.m.d H:i:s')}</span> by <a href="#" onclick="return false;" class="member_{$val->member_srl}">{$val->nick_name}</a> </div><!--@if($val->content)--><a href="#" onclick="viewHistory('{$val->history_srl}'); return false;" class="view">[{$lang->cmd_view}]</a><!--@end-->
|
||||
<li class="_item"><div class="info"><span class="date">{zdate($val->regdate, 'Y.m.d H:i:s')}</span> by <a href="#" onclick="return false;" class="member_{$val->member_srl}">{$val->nick_name}</a> </div>
|
||||
<!--@if($val->content)-->
|
||||
<a href="{getUrl('act','dispWikiEditPage','history_srl',$val->history_srl)}" class="view">[{$lang->restore}]</a>
|
||||
<a href="#" onclick="viewHistory('{$val->history_srl}'); return false;" class="view">[{$lang->cmd_view}]</a>
|
||||
<!--@end-->
|
||||
<div id="historyContent{$val->history_srl}" class="historyContent">
|
||||
{$val->content}
|
||||
</div>
|
||||
</li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
<!--@if($page_navigation)-->
|
||||
<div class="pagination a1">
|
||||
<a href="{getUrl('page','')}" 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)}">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('page',$page_navigation->last_page)}" class="nextEnd">{$lang->last_page}</a>
|
||||
</div>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
|
||||
<!--#include("footer.html")-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue