issue:17066225

Displaying ip address can be configured in skin management.


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4481 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-09-07 08:55:53 +00:00
parent 98dd197fd3
commit a4f2ab1589
3 changed files with 23 additions and 2 deletions

View file

@ -22,7 +22,7 @@
<div class="date">
<strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
({$comment->getIpaddress()})
<!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$comment->getIpaddress()})<!--@end-->
</div>
<div class="author">

View file

@ -351,6 +351,27 @@
</options>
<description />
</var>
<var name="display_ip_address" type="select">
<title xml:lang="ko">아이피주소 표시</title>
<title xml:lang="en">Display ip address</title>
<title xml:lang="jp">Display ip address</title>
<title xml:lang="zh-CN">Display ip address</title>
<title xml:lang="es-CN">Display ip address</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">display</title>
<title xml:lang="zh-CN">display</title>
<title xml:lang="es">display</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">not display</title>
<title xml:lang="zh-CN">not display</title>
<title xml:lang="es">not display</title>
</options>
</var>
<var name="display_last_update" type="select">
<title xml:lang="ko">최근 변경시간 표시</title>
<title xml:lang="jp">最近の変更時間表示</title>

View file

@ -32,7 +32,7 @@
<div class="uri" title="{$lang->document_url}"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></div>
<div class="date" title="{$lang->regdate}">
<strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')} ({$oDocument->getIpaddress()})
<strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')} <!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end-->
</div>
<div class="readedCount" title="{$lang->readed_count}">{$oDocument->get('readed_count')}</div>