summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 11:36:29 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 11:36:29 -0400
commitf08b9d1bc5d4b9b349a66a7e9afe133ff37d0c57 (patch)
tree115b4c31b7f532a4df7617302401490bd27a3edc
parentf614bb5bf24ca063ab99994776fab9fc54bea4d9 (diff)
add notice id
darcs-hash:20080520153629-84dde-bcbde039e19b50b75528e30881eb877c276068ee.gz
-rw-r--r--doc/TODO4
-rw-r--r--lib/stream.php3
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/TODO b/doc/TODO
index 7884fb2e5..7fad3c8c0 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 71a486546..79544a073 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,