obj.innerHTML = "<?php echo str_innerHTML($tempComments); ?> "; } catch(e) { } try { obj = loader.document.getElementById("recentComments"); obj.innerHTML = "<?php echo str_innerHTML($tempRecentComments); ?> "; } catch(e) { } try { <?php $commentCount = getCommentCount($blogid, $comment['entry']); list($tempTag, $commentView) = getCommentCountPart($commentCount, $skin); $commentCount = $commentCount > 0 ? "({$commentCount})" : ''; ?> obj = loader.document.getElementById("commentCount<?php echo $comment['entry']; ?> "); if (obj != null) obj.innerHTML = "<?php echo str_innerHTML($commentView); ?> "; } catch(e) { } try { obj = loader.document.getElementById("commentCountOnRecentEntries<?php echo $comment['entry']; ?>
dress('article_rep_category', htmlspecialchars(empty($entry['category']) ? _text('분류없음') : $entry['categoryLabel'], $entry['id']), $entryView); dress('article_rep_category_link', $context->getProperty('uri.blog') . "/category/" . (empty($entry['category']) ? "" : ($blog['useSloganOnCategory'] ? URL::encode($entry['categoryLabel'], $service['useEncodedURL']) : $entry['category'])), $entryView); dress('article_rep_category_rssurl', $context->getProperty('uri.default') . "/rss/category/" . (empty($entry['category']) ? "" : ($blog['useSloganOnCategory'] ? URL::encode($entry['categoryLabel'], $service['useEncodedURL']) : $entry['category'])), $entryView); dress('article_rep_category_atomurl', $context->getProperty('uri.default') . "/atom/category/" . (empty($entry['category']) ? "" : ($blog['useSloganOnCategory'] ? URL::encode($entry['categoryLabel'], $service['useEncodedURL']) : $entry['category'])), $entryView); dress('article_rep_microformat_published', Timestamp::getISO8601($entry['published']), $entryView); dress('article_rep_microformat_updated', Timestamp::getISO8601($entry['modified']), $entryView); dress('article_rep_date', fireEvent('ViewPostDate', Timestamp::format5($entry['published']), $entry['published']), $entryView); dress('article_rep_date_modified', fireEvent('ViewPostDate', Timestamp::format5($entry['modified']), $entry['modified']), $entryView); dress('entry_archive_link', $context->getProperty('uri.blog') . "/archive/" . Timestamp::getDate($entry['published']), $entryView); if ($entry['acceptcomment'] || $entry['comments'] > 0) { dress('article_rep_rp_link', "loadComment({$entry['id']},1,false,false); return false", $entryView); } else { dress('article_rep_rp_link', "return false", $entryView); } dress('article_rep_rp_cnt_id', "commentCount{$entry['id']}", $entryView); list($tempTag, $commentView) = getCommentCountPart($entry['comments'], $skin); dress($tempTag, $commentView, $entryView); if ($entry['accepttrackback'] || $entry['trackbacks'] > 0) { dress('article_rep_tb_link', "toggleLayer('entry{$entry['id']}Trackback'); return false", $entryView); } else { dress('article_rep_tb_link', "return false", $entryView); } dress('article_rep_tb_cnt_id', "trackbackCount{$entry['id']}", $entryView); list($tempTag, $trackbackView) = getTrackbackCountPart($entry['trackbacks'], $skin); dress($tempTag, $trackbackView, $entryView); $entriesView .= $entryView; } else { // Protected entries $protectedEntryView = $skin->entryProtected; $author = User::getName($entry['userid']); dress('article_rep_author', fireEvent('ViewPostAuthor', $author, $entry['id']), $protectedEntryView);