diff options
author | Evan Prodromou <evan@status.net> | 2010-10-18 11:29:52 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-10-18 11:29:52 -0400 |
commit | 7c05b0dafc609e978040e5612f6f6a86b0bb6420 (patch) | |
tree | bdf880a247ce8ca86f648a878e3f90cfe160c010 /actions/showfavorites.php | |
parent | 505ac6eba0e671e8823b5102de3caa0e0040c2cf (diff) |
options to nofollow external links in notices
Diffstat (limited to 'actions/showfavorites.php')
-rw-r--r-- | actions/showfavorites.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/actions/showfavorites.php b/actions/showfavorites.php index d8042e91c..77b73711d 100644 --- a/actions/showfavorites.php +++ b/actions/showfavorites.php @@ -227,7 +227,7 @@ class ShowfavoritesAction extends OwnerDesignAction function showContent() { - $nl = new NoticeList($this->notice, $this); + $nl = new FavoritesNoticeList($this->notice, $this); $cnt = $nl->show(); if (0 == $cnt) { @@ -244,3 +244,15 @@ class ShowfavoritesAction extends OwnerDesignAction } } +class FavoritesNoticeList extends NoticeList +{ + function newListItem($notice) + { + return new FavoritesNoticeListItem($notice, $this->out); + } +} + +// All handled by superclass +class FavoritesNoticeListItem extends DoFollowListItem +{ +} |