위키XE의 공헌자 및 댓글 정상적으로 나오도록 수정하고 히스토리를 일단 구현하여 보는 기능은 가능하도록 개선. (diff는 차후에)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6206 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-04-28 01:32:42 +00:00
parent 06d59f203c
commit 78b9eddba9
11 changed files with 75 additions and 45 deletions

View file

@ -1,35 +1,15 @@
<!--#include("header.html")-->
<div class="readBody">
<table>
<tr>
<!--@if($page == 1)-->
<td>
{$oDocument->getUpdate()}
</td>
<td>
by {$oDocument->getNickName()} (current)
</td>
<td>
<a href="{getUrl('act','',page,'')}">[View]</a>
</td>
</tr>
<!--@endif-->
<!--@foreach($histories as $val)-->
<tr>
<td>
{zdate($val->regdate, 'Y.m.d H:i:s')}
</td>
<td>
by {$val->nick_name}
</td>
<td>
<!--@if($val->content)-->
<a href="{getUrl('act','',page,'',history_srl,$val->history_srl)}">[View]</a>
<!--@end-->
</td>
</tr>
<!--@end-->
</table>
<ul class="histories">
<li class="_item"><span class="date">{$oDocument->getUpdate()}</span> by {$oDocument->getNickName()} (current) <a href="{getUrl('act','',page,'','history_srl','')}" class="view">[view]</a></li>
<!--@foreach($histories as $val)-->
<li class="_item"><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> <!--@if($val->content)--><a href="#" onclick="viewHistory('{$val->history_srl}'); return false;" class="view">[view]</a><!--@end-->
<div id="historyContent{$val->history_srl}" class="historyContent">
{$val->content}
</div>
</li>
<!--@end-->
</ul>
</div>
<!--#include("footer.html")-->