diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-04 11:37:41 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-04 11:37:41 -0700 |
commit | 7d0d89ddea7ae21f7c1526c170a20aa865d7c376 (patch) | |
tree | f033721e7e82ea60518338c3dfb0eb837c7f6da1 /plugins/NoticeTitle/NoticeTitlePlugin.php | |
parent | 54c88cba571a74a901f2d15e7d8db0d349d896d3 (diff) | |
parent | 5dee862b2cb9cbcb0e73842802dc2387c8e84825 (diff) |
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/NoticeTitle/NoticeTitlePlugin.php')
-rw-r--r-- | plugins/NoticeTitle/NoticeTitlePlugin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/NoticeTitle/NoticeTitlePlugin.php b/plugins/NoticeTitle/NoticeTitlePlugin.php index 269f06189..a3b4489f2 100644 --- a/plugins/NoticeTitle/NoticeTitlePlugin.php +++ b/plugins/NoticeTitle/NoticeTitlePlugin.php @@ -221,7 +221,9 @@ class NoticeTitlePlugin extends Plugin $title = Notice_title::fromNotice($nli->notice); if (!empty($title)) { - $nli->out->element('h4', array('class' => 'notice_title'), $title); + $nli->out->elementStart('h4', array('class' => 'notice_title')); + $nli->out->element('a', array('href' => $nli->notice->bestUrl()), $title); + $nli->out->elementEnd('h4'); } return true; |