mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
#17632578 * 플래닛 작성일시에 퍼머링크 표시(링크) 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5345 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a847118866
commit
359a8b1ff0
3 changed files with 5 additions and 2 deletions
|
|
@ -29,7 +29,7 @@
|
|||
<div class="tag">
|
||||
<!--// class="tag" | class="tag edit" -->
|
||||
{@ $regdate = $item->get('regdate') }
|
||||
<p class="time">{getTimeGap($item->get('regdate'), sprintf('y/m/d a H%s i%s', $lang->unit_hour,$lang->unit_min))}</p>
|
||||
<p class="time"><a href="{$item->getPermanentUrl()}#document_{$item->get('document_srl')}">{getTimeGap($item->get('regdate'), sprintf('y/m/d a H%s i%s', $lang->unit_hour,$lang->unit_min))}</a></p>
|
||||
<dl>
|
||||
<dt>TAG</dt>
|
||||
<!--@if($item->get('mid')==$myplanet->getMid())-->
|
||||
|
|
|
|||
|
|
@ -250,6 +250,7 @@ button span{ position:absolute; width:0; height:0; font:0/0 Sans-serif; visibili
|
|||
.commentBody .comment .tongue .postExtra *{ margin:0; padding:0;}
|
||||
.commentBody .comment .tongue .postExtra .tag { float:left;}
|
||||
.commentBody .comment .tongue .postExtra .tag .time{ display:inline; margin-right:5px; color:#999; font:11px AppleGothic, Dotum, Gulim, Sans-serif;}
|
||||
.commentBody .comment .tongue .postExtra .tag .time a{color:#999;}
|
||||
.commentBody .comment .tongue .postExtra .tag dl{ display:inline;}
|
||||
.commentBody .comment .tongue .postExtra .tag dt{ text-align:center; padding:0 7px; margin-right:5px; display:inline; background:url(../images/bgTag.gif) no-repeat center; font:bold 11px Tahoma; color:#fff;}
|
||||
.commentBody .comment .tongue .postExtra .tag dd{ display:inline; position:relative;}
|
||||
|
|
|
|||
|
|
@ -178,7 +178,9 @@ function planetPreview(obj) {
|
|||
text = text.replace(/>/ig,'>');
|
||||
text = text.replace(/\.\.\./g, '…');
|
||||
text = text.replace(/--/g, '—');
|
||||
$('preview_text').innerHTML = text.replace(/"([^"]*)":(mms|http|ftp|https)([^ ]+)/ig,'<a href="$2$3">$1</a>');
|
||||
text = text.replace(/"([^"]*)":([0-9]+)/ig,'<a href="'+request_uri+'$2">$1</a>');
|
||||
text = text.replace(/"([^"]*)":(mms|http|ftp|https)([^ ]+)/ig,'<a href="$2$3">$1</a>');
|
||||
$('preview_text').innerHTML = text;
|
||||
}else{
|
||||
$Element('preview').addClass('off');
|
||||
$('preview_text').innerHTML = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue