]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add notice id
authorEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 15:36:29 +0000 (11:36 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 15:36:29 +0000 (11:36 -0400)
darcs-hash:20080520153629-84dde-bcbde039e19b50b75528e30881eb877c276068ee.gz

doc/TODO
lib/stream.php

index 7884fb2e59d0872ed21de5afb070de5dd66150e6..7fad3c8c05b7d28b08068aac2b0f4246048eb93a 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -31,8 +31,8 @@
 - doc action
 + default to public stream
 - default avatar
-- default HTML type
-- set Content-Type
++ default HTML type
++ set Content-Type
 + show current values in profile settings
 + save profile URL in profilesettings
 + save profile URL on registration
index 71a4865462b846bc53ea0c02f2bfdb3181ab913f..79544a073cb6ca3743e20c111bffd22f1fb69730 100644 (file)
@@ -31,7 +31,8 @@ class StreamAction extends Action {
        function show_notice($notice) {
                $profile = $notice->getProfile();
                # XXX: RDFa
-               common_element_start('div', array('class' => 'notice'));
+               common_element_start('div', array('class' => 'notice',
+                                                                                 'id' => 'notice-' . $notice->id));
                $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);
                common_element_start('a', array('href' => $profile->profileurl));
                common_element('img', array('src' => ($avatar) ? $avatar->url : DEFAULT_STREAM_AVATAR,