mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 13:19:56 +09:00
위키XE의 공헌자 및 댓글 정상적으로 나오도록 수정하고 히스토리를 일단 구현하여 보는 기능은 가능하도록 개선. (diff는 차후에)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6206 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
06d59f203c
commit
78b9eddba9
11 changed files with 75 additions and 45 deletions
|
|
@ -44,11 +44,18 @@ Jeong, Chan Myeong 070601~070630
|
|||
.blogNotice .item .replyAndTrackback { color:#AAAAAA; font-size:.9em; }
|
||||
|
||||
/* wikiRead */
|
||||
.wikimain a { color:#000; text-decoration:underline !important;}
|
||||
.wikimain a:visited { color:#555; }
|
||||
.viewDocument { border-bottom:2px solid #AAAAAA; margin-bottom:20px; }
|
||||
.wikiRead { }
|
||||
|
||||
.wikiRead .titleAndUser { overflow:hidden; border-bottom:1px solid #e0e1db; }
|
||||
.readBody .histories { border-top:2px solid #ccc; margin-top:10px; width:100%; padding:0;}
|
||||
.readBody .histories li._item { list-style:none; padding:10px; margin-bottom:10px; border-bottom:1px solid #ccc; }
|
||||
.readBody .histories li span.date { font-size:11px; color:#555; font-family:tahoma; margin-right:10px; }
|
||||
.readBody .histories li a.view { font-size:11px; font-family:tahoma; color:#999; text-decoration:none !important; display:block; width:40px; white-space:nowrap; float:right; text-align:right; margin-top:-19px; }
|
||||
.readBody .histories li .historyContent { display:none; clear:both; }
|
||||
|
||||
.wikiRead .titleAndUser { overflow:hidden; border-bottom:1px solid #e0e1db; }
|
||||
|
||||
.wikiRead .dateAndCount { clear:both; white-space:nowrap; color:#444444; margin:5px 0 0 0; font-size:.9em; font-family:tahoma; line-height:17px; padding-bottom:10px; }
|
||||
|
||||
|
|
|
|||
|
|
@ -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")-->
|
||||
|
|
|
|||
BIN
modules/wiki/skins/xe_wiki/images/common/buttonDeleteX.gif
Normal file
BIN
modules/wiki/skins/xe_wiki/images/common/buttonDeleteX.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 61 B |
|
|
@ -4,3 +4,9 @@ function moveHistory(fo_obj) {
|
|||
if(typeof(xeVid)!='undefined') url = url.setQuery('vid',xeVid);
|
||||
location.href=url;
|
||||
}
|
||||
|
||||
function viewHistory(history_srl) {
|
||||
var zone = jQuery('#historyContent'+history_srl);
|
||||
if(zone.css('display')=='block') zone.css('display','none');
|
||||
else zone.css('display','block');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,11 +61,11 @@
|
|||
{$lang->contributors} :
|
||||
{@ $bFirst = true}
|
||||
<!--@foreach($contributors as $contributor)-->
|
||||
<!--@if($contributor->nick_name != "")-->
|
||||
<!--@if(!$bFirst)-->, <!--@end-->
|
||||
{$contributor->nick_name}
|
||||
{@ $bFirst = false}
|
||||
<!--@endif-->
|
||||
<!--@if($contributor->nick_name != "")-->
|
||||
<!--@if(!$bFirst)-->, <!--@end-->
|
||||
<a href="#" class="member_{$contributor->member_srl}" onclick="return false;">{$contributor->nick_name}</a>
|
||||
{@ $bFirst = false}
|
||||
<!--@endif-->
|
||||
<!--@endforeach-->
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue