diff --git a/doc/TODO b/doc/TODO index 7884fb2e59..7fad3c8c05 100644 --- 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 diff --git a/lib/stream.php b/lib/stream.php index 71a4865462..79544a073c 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -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,