rhymix/modules/wiki/skins/xe_wiki/header.html
zero fd8f090c6b 위키 기본 스킨 CSS 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6556 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-06-16 07:41:33 +00:00

101 lines
5 KiB
HTML

<!--%import("css/wiki.css")-->
<!--%import("js/wiki.js")-->
<!--@if(!$module_info->colorset)-->
{@$module_info->colorset = "white"}
<!--@end-->
{$module_info->header_text}
<div class="wiki">
<div class="wikiHeader">
<!--@if($module_info->title)-->
<div class="wikiTitle">
<h2 class="wikiTitleText"><a href="{getUrl('','mid',$mid,'listStyle',$listStyle)}">{$module_info->title}<!--@if($module_info->sub_title)--> : <em>{$module_info->sub_title}</em><!--@end--></a></h2>
</div>
<!--@end-->
<!--@if($module_info->comment)-->
<p class="wikiDescription">{$module_info->comment}</p>
<!--@end-->
</div>
<div class="wikiInformation">
<div class="infoView">
<span class="buttonOfficial"><button type="button" onclick="location.href='{getUrl('act','dispWikiContent','entry','','document_srl','')}';return false;">Front Page</button></span>
<span class="buttonOfficial"><button type="button" onclick="location.href='{getUrl('act','dispWikiTitleIndex','entry','','document_srl','')}';return false;">Title Index</button></span>
<!--@if($grant->manager)-->
<span class="buttonOfficial"><button type="button" onclick="location.href='{getUrl('act','dispWikiAdminInsertWiki')}';return false;">{$lang->cmd_setup}</button></span>
<!--@end-->
</div>
<form action="./" method="get" onsubmit="moveHistory(this); return false;" class="wikiSearchForm">
<input type="text" class="inputTypeText w100" name="entry" />
<span class="buttonOfficial"><button type="submit">{$lang->cmd_move}</button></span>
</form>
</div>
<!--@if($oDocument && $oDocument->isExists())-->
<div class="wikiRead">
<div class="wikiReadHeader">
<div class="titleArea">
<h3 class="title"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getTitle()}</a></h3>
<span class="sum">
<span class="read">{$lang->readed_count} <span class="num">{$oDocument->get('readed_count')}</span></span>
<span class="vote">{$lang->voted_count} <span class="num">{$oDocument->get('voted_count')}</span></span>
<span class="date">
<!--@if($history)-->
<strong>{zdate($history->regdate, 'Y.m.d')}</strong> {zdate($history->regdate, 'H:i:s')}
<!--@else-->
<strong>{$oDocument->getUpdate('Y.m.d')}</strong> {$oDocument->getUpdate('H:i:s')}
<!--@end-->
</span>
</span>
</div>
<div class="authorArea">
<!--@if($history)-->
<a href="#" class="author member_{$history->member_srl}" onclick="return false;">{$history->nick_name}</a>
<!--@else-->
<!--@if(!$oDocument->getMemberSrl())-->
<!--@if($oDocument->isExistsHomepage())-->
<a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;" class="author">{$oDocument->getNickName()}</a>
<!--@else-->
{$oDocument->getNickName()}
<!--@end-->
<!--@else-->
<a href="#popup_menu_area" class="member_{$oDocument->get('member_srl')} author" onclick="return false">{$oDocument->getNickName()}</a>
<!--@end-->
<!--@end-->
<span class="ipAddress"><!--@if($grant->manager || $module_info->display_ip_address!='N')-->{$oDocument->getIpaddress()}<!--@end--></span>
<!--@if(!$history && ($oDocument->isExists()||$use_history != 'N'))-->
<div class="command">
<!--@if($oDocument->isExists())-->
<span class="buttonOfficial"><button type="submit" onclick="location.href='{getUrl('act','dispWikiEditPage','entry',$entry)}';return false;">{$lang->cmd_edit}</button></span>
<!--@end-->
<!--@if($use_history != 'N')-->
<span class="buttonOfficial"><button type="submit" onclick="location.href='{getUrl('act','dispWikiHistory','document_srl',$oDocument->document_srl,'history_srl','')}';return false;">Histories</button></span>
<!--@end-->
</div>
<!--@else-->
<div class="command">
<!--@if($history)-->
{$lang->notice_old_revision}
<!--@end-->
<span class="buttonOfficial"><button type="submit" onclick="location.href='{getUrl('act','','history_srl','')}';return false;">{$lang->cmd_back}</button></span>
</div>
<!--@end-->
</div>
</div>
</div>
<!--@elseif($entry)-->
<div class="wikiRead">
<div class="wikiReadHeader">
<div class="titleArea">
<h3 class="title">{$entry}</h3>
</div>
</div>
</div>
<!--@end-->