Changeset 3427 for trunk/lib/piece/blog/entries.php
- Timestamp:
- 06/10/07 20:01:22 (19 months ago)
- Files:
-
- 1 modified
-
trunk/lib/piece/blog/entries.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/piece/blog/entries.php
r3392 r3427 47 47 dress('tag_label', $tagLabelView, $entryView); 48 48 } 49 $name = teamblogUser::name(); 50 if (doesHaveOwnership() && !empty($name[2])) { 49 if (doesHaveOwnership()) { 51 50 $managementView = $skin->management; 52 51 dress('s_ad_m_link', "$blogURL/owner/entry/edit/{$entry['id']}?returnURL=" . (@$service['useEncodedURL'] ? $permalink : str_replace('%2F', '/', rawurlencode($permalink))), $managementView); … … 64 63 dress('ad_div', $managementView, $entryView); 65 64 } 66 if(!empty($name[3])) dress('teamblog_name',$name[3],$entryView); 65 $author = teamblogUser::authorName($owner, $entry['id']); 66 dress('article_rep_author',$author,$entryView); 67 67 dress('article_rep_id', $entry['id'], $entryView); 68 68 dress('article_rep_link', $permalink, $entryView); 69 dress('article_rep_title', htmlspecialchars(fireEvent('ViewPostTitle', $entry['title'], $entry['id'])) .$name[1], $entryView);69 dress('article_rep_title', htmlspecialchars(fireEvent('ViewPostTitle', $entry['title'], $entry['id'])), $entryView); 70 70 // 사용자가 작성한 본문은 lib/piece/blog/end.php의 removeAllTags() 다음에 처리하기 위한 조치. 71 71 $contentContainer["article_{$entry['id']}"] = getEntryContentView($owner, $entry['id'], $entry['content'], $entry['contentFormatter'], getKeywordNames($owner)); … … 95 95 $entriesView .= $entryView; 96 96 } else { 97 $ name = teamblogUser::name();98 if(!empty($name[3])) dress('teamblog_name',$name[3],$entryView);97 $author = teamblogUser::authorName($owner,$entry['id']); 98 dress('article_rep_author',$author,$entryView); 99 99 $protectedEntryView = $skin->entryProtected; 100 100 dress('article_rep_id', $entry['id'], $protectedEntryView); 101 101 dress('article_rep_link', $permalink, $protectedEntryView); 102 dress('article_rep_title', htmlspecialchars(fireEvent('ViewPostTitle', $entry['title'], $entry['id'])) .$name[1], $protectedEntryView);103 dress('article_rep_date', fireEvent('ViewPostDate', Timestamp::format5($entry['published'])) .$name[0], $protectedEntryView);102 dress('article_rep_title', htmlspecialchars(fireEvent('ViewPostTitle', $entry['title'], $entry['id'])), $protectedEntryView); 103 dress('article_rep_date', fireEvent('ViewPostDate', Timestamp::format5($entry['published'])), $protectedEntryView); 104 104 dress('article_password', "entry{$entry['id']}password", $protectedEntryView); 105 105 dress('article_dissolve', "reloadEntry({$entry['id']});", $protectedEntryView);
