Changeset 6394
- Timestamp:
- 07/07/08 13:48:25 (6 months ago)
- Location:
- trunk/library
- Files:
-
- 2 modified
-
piece/blog/end.php (modified) (1 diff)
-
view/view.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/library/piece/blog/end.php
r6393 r6394 51 51 52 52 if (preg_match("@\\[##_rct_notice_##\\]@iU", $view)) { 53 $noticeView = getRecentNoticesView(getNotices($blogid), $skin->recentNotice );53 $noticeView = getRecentNoticesView(getNotices($blogid), $skin->recentNotice, $skin->recentNoticeItem); 54 54 dress('rct_notice', $noticeView, $view, false, true); 55 55 } -
trunk/library/view/view.php
r6393 r6394 952 952 } 953 953 954 function getRecentNoticesView($notices, $noticeView ) {954 function getRecentNoticesView($notices, $noticeView, $itemView) { 955 955 global $blog, $service, $blogURL, $skinSetting, $contentContainer; 956 956 if (sizeof($notices) > 0) { 957 957 $itemsView = ''; 958 958 foreach ($notices as $notice) { 959 $itemView = $skin->recentNoticeItem;960 959 dress('notice_rep_title', htmlspecialchars(fireEvent('ViewNoticeTitle', UTF8::lessenAsEm($notice['title'], $skinSetting['recentNoticeLength']), $notice['id'])), $itemView); 961 960 dress('notice_rep_link', "$blogURL/notice/".($blog['useSloganOnPost'] ? URL::encode($notice['slogan'], $itemView) : $notice['id']), $itemView);
