Skip to content

Commit

Permalink
refs #1300
Browse files Browse the repository at this point in the history
  * 스킨 치환자 추가
  • Loading branch information
inureyes committed Feb 11, 2010
1 parent 1c0cde2 commit 0c974d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 8 additions & 9 deletions interface/common/blog/line.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,20 @@
$printDate = '';
foreach ($lines as $item) {
$time = Timestamp::getHumanReadable($item['created']);
/*
if($printDate != Timestamp::formatDate($item['created'])) {
$time = Timestamp::format5($item['created']);
$printDate = Timestamp::formatDate($item['created']);
} else {
$time = Timestamp::format('%H:%M',$item['created']);
}*/
$itemsView .= str_replace(
array(
'[##_line_rep_regdate_##]',
'[##_line_rep_content_##]'
'[##_line_rep_content_##]',
'[##_line_rep_author_##]',
'[##_line_rep_source_##]',
'[##_line_rep_permalink_##]'
),
array(
fireEvent('ViewLineDate', $time, $item['created']),
fireEvent('ViewLineContent', htmlspecialchars($item['content']))
fireEvent('ViewLineContent', htmlspecialchars($item['content'])),
fireEvent('ViewLineAuthor', htmlspecialchars($item['author'])),
fireEvent('ViewLineSource', htmlspecialchars($item['source'])),
fireEvent('ViewLinePermalink', $item['permalink'])
),
$skin->lineItem
);
Expand Down
2 changes: 2 additions & 0 deletions skin/blog/coolant/skin.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ <h3>Lines
<dl class="box">
<dt class="date">[##_line_rep_regdate_##]</li>
<dd class="content">[##_line_rep_content_##]</li>
<dd class="author">[##_line_rep_author_##]</li>
<dd class="source">[##_line_rep_source_##]</li>
</dl>
</s_line_rep>
</div>
Expand Down

0 comments on commit 0c974d8

Please # to comment.