- Timestamp:
- 06/19/2008 03:55:57 PM (3 months ago)
- Location:
- sandbox/modules
- Files:
-
- 5 modified
-
board/skins/xe_board/comment.html (modified) (1 diff)
-
board/skins/xe_board/css/common.css (modified) (3 diffs)
-
board/skins/xe_board/view_document.html (modified) (3 diffs)
-
comment/comment.item.php (modified) (1 diff)
-
document/document.item.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sandbox/modules/board/skins/xe_board/comment.html
r4197 r4304 23 23 24 24 <strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')} 25 26 <!--@if($grant->is_admin)--> 27 ({$comment->get('ipaddress')}) 28 <!--@end--> 25 ({$comment->getIpaddress()}) 29 26 </div> 30 27 -
sandbox/modules/board/skins/xe_board/css/common.css
r4089 r4304 59 59 .boardRead .titleAndUser .userInfo .author a { font-size:.9em; color:#3074a5; text-decoration:none; } 60 60 61 .boardRead .dateAndCount { clear:both; white-space:nowrap; color:#444444; margin:5px 0 0 0; float:left; font-size:.9em; font-family:tahoma; line-height:17px; padding-bottom:10px; } 61 .boardRead .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; } 62 63 .boardRead .dateAndCount .uri { float:left; } 64 .boardRead .dateAndCount .uri a { text-decoration:none; margin-left:4px; color:#BBBBBB; } 65 62 66 .boardRead .dateAndCount .date { float:right; background:url("../images/common/calendar.gif") no-repeat left top; padding-left:18px; margin-left:10px; } 63 67 .boardRead .dateAndCount .readedCount { float:right; color:#AAAAAA; margin-left:10px; background:url("../images/common/read.gif") no-repeat left top; padding-left:18px; color:#4A3FD7;} … … 71 75 .boardRead .dateAndCount .category a { color:#555555; text-decoration:none; background:url("../images/common/category.gif") no-repeat left -1px; padding-left:18px; font-weight:bold;} 72 76 .boardRead .dateAndCount .category a:hover { text-decoration:underline; } 73 .boardRead .dateAndCount .uri { float:left; }74 .boardRead .dateAndCount .uri a { text-decoration:none; margin-left:4px; color:#BBBBBB; }75 77 76 78 /* extraVars list */ … … 81 83 82 84 .boardRead .readBody { color:#555555; margin-top:20px; } 83 .boardRead .readBody .contentBody .ipaddress { text-align:right; margin-top:10px; color:#bbbbbb; font-family:tahoma;}84 85 85 86 -
sandbox/modules/board/skins/xe_board/view_document.html
r4141 r4304 30 30 31 31 <div class="dateAndCount"> 32 <div class="uri" title="{$lang->document_url}"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></div> 33 32 34 <div class="date" title="{$lang->regdate}"> 33 <strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')} 35 <strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')} ({$oDocument->getIpaddress()}) 34 36 </div> 35 37 … … 54 56 <div class="category" title="{$lang->category}"><a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}">{$category_list[$oDocument->get('category_srl')]->title}</a></div> 55 57 <!--@end--> 56 57 <div class="uri" title="{$lang->document_url}"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></div>58 58 59 59 <div class="clear"></div> … … 103 103 <!--@end--> 104 104 105 <!--@if($grant->is_admin)-->106 <div class="ipaddress">ipaddress : {$oDocument->get('ipaddress')}</div>107 <!--@end-->108 109 105 <!-- 서명 / 프로필 이미지 출력 --> 110 106 <!--@if($oDocument->getProfileImage() || $oDocument->getSignature())--> -
sandbox/modules/comment/comment.item.php
r4226 r4304 124 124 $oCommunicationController = &getController('communication'); 125 125 $oCommunicationController->sendMessage($sender_member_srl, $receiver_srl, $title, $content, false); 126 } 127 128 function getIpaddress() { 129 if($this->isGranted()) return $this->get('ipaddress'); 130 return preg_replace('/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/','*.$1.$2.$3', $this->get('ipaddress')); 126 131 } 127 132 -
sandbox/modules/document/document.item.php
r4226 r4304 170 170 $oCommunicationController = &getController('communication'); 171 171 $oCommunicationController->sendMessage($sender_member_srl, $receiver_srl, $title, $content, false); 172 } 173 174 function getIpaddress() { 175 if($this->isGranted()) return $this->get('ipaddress'); 176 return preg_replace('/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/','*.$1.$2.$3', $this->get('ipaddress')); 177 172 178 } 173 179