mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
블로그/게시판의 기본 스킨에 작성자(글,댓글)가 비회원일 경우 홈페이지 링크 적용
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2719 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6e3c2b4fb4
commit
c922dc5b20
12 changed files with 121 additions and 27 deletions
|
|
@ -27,7 +27,17 @@
|
|||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="member_{$val->member_srl} author">{htmlspecialchars($val->nick_name)}</div>
|
||||
<div class="author">
|
||||
<!--@if(!$val->member_srl)-->
|
||||
<!--@if($val->homepage)-->
|
||||
<a href="{$val->homepage}" onclick="window.open(this.href);return false;">{htmlspecialchars($val->nick_name)}</a>
|
||||
<!--@else-->
|
||||
{htmlspecialchars($val->nick_name)}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="replyContent">
|
||||
{$val->content}
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ ul.replyZone .replyIndent { background:url(../images/common/iconReplyArrow.gif)
|
|||
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
|
||||
#reply p { display:inline; margin-bottom:1em;}
|
||||
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
#reply .author a { font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none;}
|
||||
#reply .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
#reply .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,17 @@
|
|||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="author"><div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div></div>
|
||||
<div class="author">
|
||||
<!--@if(!$val->member_srl)-->
|
||||
<!--@if($val->homepage)-->
|
||||
<a href="{$val->homepage}" onclick="window.open(this.href);return false;">{htmlspecialchars($val->nick_name)}</a>
|
||||
<!--@else-->
|
||||
{htmlspecialchars($val->nick_name)}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="replyContent">
|
||||
{$val->content}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
.pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
|
||||
/* extraVars list */
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em;}
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em; margin-top:1em;}
|
||||
.extraVarsList tr.notice { background:#f8f8f8;}
|
||||
.extraVarsList tr.notice .num { font-size:.9em; font-weight:bold;}
|
||||
.extraVarsList tr.bg1 { background:#ffffff}
|
||||
|
|
@ -138,12 +138,13 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardRead ul.uri { overflow:hidden; margin:0 0 2em .3em; float:right; clear:left;}
|
||||
.boardRead ul.uri li { font-size:8pt; color:#c5c7c0; }
|
||||
|
||||
.boardRead .userInfo { float:left; white-space:nowrap;}
|
||||
.boardRead .userInfo .author { padding:0 .3em 0 0; color:#3074a5; margin-right:.3em;}
|
||||
.boardRead .userInfo .ipaddress { font-size:.9em; font-family:Tahoma; color:#888888; margin-right:.5em; }
|
||||
.boardRead .userInfo { float:left; white-space:nowrap; }
|
||||
.boardRead .userInfo .author { color:#3074a5; }
|
||||
.boardRead .userInfo .author a { font-size:.9em; color:#3074a5; text-decoration:none; }
|
||||
.boardRead .userInfo .ipaddress { font-size:.9em; color:#AAAAAA; margin-top:.3em;}
|
||||
|
||||
.boardRead .contentBody { width:100%; overflow:hidden; }
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em; clear:both; }
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em; clear:both; margin-top:2em;}
|
||||
.boardRead .readBody p { margin:1em 0; line-height:1.5em;}
|
||||
.boardRead .readBody .alignLeft { float:left; margin:0 1em 1em 0; }
|
||||
.boardRead .readBody .alignRight { float:right; margin:0 0 1em 1em; }
|
||||
|
|
@ -191,7 +192,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
|
||||
#reply p { display:inline; margin-bottom:1em;}
|
||||
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
#reply .author a { font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
|
||||
#reply .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
#reply .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,18 @@
|
|||
</ul>
|
||||
|
||||
<div class="userInfo">
|
||||
<div class="author member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</div>
|
||||
<!--@if(!$oDocument->getMemberSrl())-->
|
||||
<div class="author">
|
||||
<!--@if($oDocument->isExistsHomepage())-->
|
||||
<a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;">{$oDocument->getNickName()}</a>
|
||||
<!--@else-->
|
||||
{$oDocument->getNickName()}
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@else-->
|
||||
<div class="author"><div class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</div></div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<div class="ipaddress">{$oDocument->get('ipaddress')}</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -25,7 +25,17 @@
|
|||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="author"><div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div></div>
|
||||
<div class="author">
|
||||
<!--@if(!$val->member_srl)-->
|
||||
<!--@if($val->homepage)-->
|
||||
<a href="{$val->homepage}" onclick="window.open(this.href);return false;">{htmlspecialchars($val->nick_name)}</a>
|
||||
<!--@else-->
|
||||
{htmlspecialchars($val->nick_name)}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="replyContent">
|
||||
{$val->content}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
.pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
|
||||
/* extraVars list */
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em;}
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em; margin-top:1em;}
|
||||
.extraVarsList tr.notice { background:#f8f8f8;}
|
||||
.extraVarsList tr.notice .num { font-size:.9em; font-weight:bold;}
|
||||
.extraVarsList tr.bg1 { background:#ffffff}
|
||||
|
|
@ -135,15 +135,16 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardRead .dateAndModify { float:right; white-space:nowrap; font-size:.8em; color:#999999; position:relative;}
|
||||
.boardRead .dateAndModify strong { font-size:1em; font-family:Tahoma;}
|
||||
|
||||
.boardRead ul.uri { overflow:hidden; margin:0 0 2em .3em; float:right; clear:left;}
|
||||
.boardRead ul.uri { overflow:hidden; margin:0 0 2em .3em; float:right; clear:left; }
|
||||
.boardRead ul.uri li { font-size:8pt; color:#c5c7c0; }
|
||||
|
||||
.boardRead .userInfo { float:left; white-space:nowrap;}
|
||||
.boardRead .userInfo .author { padding:0 .3em 0 0; color:#3074a5; margin-right:.3em;}
|
||||
.boardRead .userInfo .ipaddress { font-size:.9em; font-family:Tahoma; color:#888888; margin-right:.5em; }
|
||||
.boardRead .userInfo { float:left; white-space:nowrap; }
|
||||
.boardRead .userInfo .author { color:#3074a5; }
|
||||
.boardRead .userInfo .author a { font-size:.9em; color:#3074a5; text-decoration:none; }
|
||||
.boardRead .userInfo .ipaddress { font-size:.9em; color:#AAAAAA; margin-top:.3em;}
|
||||
|
||||
.boardRead .contentBody { width:100%; overflow:hidden; }
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em; clear:both; }
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em; clear:both; margin-top:2em;}
|
||||
.boardRead .readBody p { margin:1em 0; line-height:1.5em;}
|
||||
.boardRead .readBody .alignLeft { float:left; margin:0 1em 1em 0; }
|
||||
.boardRead .readBody .alignRight { float:right; margin:0 0 1em 1em; }
|
||||
|
|
@ -191,7 +192,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
|
||||
#reply p { display:inline; margin-bottom:1em;}
|
||||
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
#reply .author a { font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
|
||||
#reply .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
#reply .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,18 @@
|
|||
</ul>
|
||||
|
||||
<div class="userInfo">
|
||||
<div class="author member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</div>
|
||||
<!--@if(!$oDocument->getMemberSrl())-->
|
||||
<div class="author">
|
||||
<!--@if($oDocument->isExistsHomepage())-->
|
||||
<a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;">{$oDocument->getNickName()}</a>
|
||||
<!--@else-->
|
||||
{$oDocument->getNickName()}
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@else-->
|
||||
<div class="author"><div class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</div></div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<div class="ipaddress">{$oDocument->get('ipaddress')}</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -25,7 +25,17 @@
|
|||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="author"><div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div></div>
|
||||
<div class="author">
|
||||
<!--@if(!$val->member_srl)-->
|
||||
<!--@if($val->homepage)-->
|
||||
<a href="{$val->homepage}" onclick="window.open(this.href);return false;">{htmlspecialchars($val->nick_name)}</a>
|
||||
<!--@else-->
|
||||
{htmlspecialchars($val->nick_name)}
|
||||
<!--@end-->
|
||||
<!--@else-->
|
||||
<div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div class="replyContent">
|
||||
{$val->content}
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
.pageNavigation a.goToLast img { display:inline-block; padding:2px 0; position:relative; top:2px; _top:1px;}
|
||||
|
||||
/* extraVars list */
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em;}
|
||||
.extraVarsList { width:100%; border:1px solid #e0e1db; clear:both; margin-bottom:1em; margin-top:1em;}
|
||||
.extraVarsList tr.notice { background:#f8f8f8;}
|
||||
.extraVarsList tr.notice .num { font-size:.9em; font-weight:bold;}
|
||||
.extraVarsList tr.bg1 { background:#ffffff}
|
||||
|
|
@ -145,12 +145,13 @@ Jeong, Chan Myeong 070601~070630
|
|||
.boardRead ul.uri { overflow:hidden; margin:0 0 2em .3em; float:right; clear:left;}
|
||||
.boardRead ul.uri li { font-size:8pt; color:#c5c7c0; }
|
||||
|
||||
.boardRead .userInfo { float:left; white-space:nowrap;}
|
||||
.boardRead .userInfo .author { padding:0 .3em 0 0; color:#3074a5; margin-right:.3em;}
|
||||
.boardRead .userInfo .ipaddress { font-size:.9em; font-family:Tahoma; color:#888888; margin-right:.5em; }
|
||||
.boardRead .userInfo { float:left; white-space:nowrap; }
|
||||
.boardRead .userInfo .author { color:#3074a5; }
|
||||
.boardRead .userInfo .author a { font-size:.9em; color:#3074a5; text-decoration:none; }
|
||||
.boardRead .userInfo .ipaddress { font-size:.9em; color:#AAAAAA; margin-top:.3em;}
|
||||
|
||||
.boardRead .contentBody { width:100%; overflow:hidden; }
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em; clear:both; }
|
||||
.boardRead .readBody { padding:0 .3em; color:#555555; overflow:hidden; margin-bottom:2em; clear:both; margin-top:2em;}
|
||||
.boardRead .readBody p { margin:1em 0; line-height:1.5em;}
|
||||
.boardRead .readBody .alignLeft { float:left; margin:0 1em 1em 0; }
|
||||
.boardRead .readBody .alignRight { float:right; margin:0 0 1em 1em; }
|
||||
|
|
@ -198,7 +199,7 @@ Jeong, Chan Myeong 070601~070630
|
|||
#reply li { padding:.6em .8em .6em .6em; line-height:1.25em; clear:both; border-bottom:1px dotted #EEEEEE; list-style:none;}
|
||||
#reply p { display:inline; margin-bottom:1em;}
|
||||
#reply .author { float:left; padding:0 .3em 0 0; font-size:.9em; color:#3074a5; margin:0 .3em .5em 0;}
|
||||
#reply .author a { font-size:.9em; color:#3074a5; margin-right:.3em;}
|
||||
#reply .author a { color:#3074a5; margin-right:.3em; text-decoration:none; }
|
||||
#reply .date { float:right; font:.8em Tahoma; color:#cccccc; margin:.3em 0 .5em 0;}
|
||||
|
||||
#reply .replyOption { float:right; white-space:nowrap; margin-left:.2em;}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,18 @@
|
|||
</ul>
|
||||
|
||||
<div class="userInfo">
|
||||
<div class="author member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</div>
|
||||
<!--@if(!$oDocument->getMemberSrl())-->
|
||||
<div class="author">
|
||||
<!--@if($oDocument->isExistsHomepage())-->
|
||||
<a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;">{$oDocument->getNickName()}</a>
|
||||
<!--@else-->
|
||||
{$oDocument->getNickName()}
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@else-->
|
||||
<div class="author"><div class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</div></div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($grant->is_admin)-->
|
||||
<div class="ipaddress">{$oDocument->get('ipaddress')}</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
|
|
@ -122,6 +122,24 @@
|
|||
$oMemberController = &getController('member');
|
||||
$oMemberController->sendMessage($sender_member_srl, $receiver_srl, $title, $content, false);
|
||||
}
|
||||
|
||||
function isExistsHomepage() {
|
||||
if(trim($this->get('homepage'))) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
function getHomepageUrl() {
|
||||
$url = trim($this->get('homepage'));
|
||||
if(!$url) return;
|
||||
|
||||
if(!eregi("^http:\/\/",$url)) $url = "http://".$url;
|
||||
|
||||
return $url;
|
||||
}
|
||||
|
||||
function getMemberSrl() {
|
||||
return $this->get('member_srl');
|
||||
}
|
||||
|
||||
function getUserID() {
|
||||
return htmlspecialchars($this->get('user_id'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue