move some things around

darcs-hash:20080709080110-84dde-2d8169e2fbe28300d099090100547a19cb8c6a7d.gz
This commit is contained in:
Evan Prodromou 2008-07-09 04:01:10 -04:00
parent 59866e0648
commit b1620f6a6e
2 changed files with 12 additions and 4 deletions

View File

@ -360,10 +360,18 @@ class ShowstreamAction extends StreamAction {
common_raw(common_render_content($notice->content, $notice)); common_raw(common_render_content($notice->content, $notice));
common_element_end('p'); common_element_end('p');
common_element_start('p', array('class' => 'time')); common_element_start('p', array('class' => 'time'));
common_element('a', array('class' => 'notice', common_element('a', array('class' => 'permalink',
'href' => $noticeurl), 'href' => $noticeurl,
'title' => common_exact_date($notice->created)),
common_date_string($notice->created)); common_date_string($notice->created));
common_element_end('p'); common_element_end('p');
common_element_start('a',
array('href' => common_local_url('newnotice',
array('replyto' => $profile->nickname)),
'onclick' => 'doreply("'.$profile->nickname.'"); return false',
'title' => _t('reply'),
'class' => 'replybutton'));
common_raw('→');
common_element_end('li'); common_element_end('li');
} }
} }

View File

@ -101,8 +101,8 @@ class StreamAction extends Action {
'title' => _t('reply'), 'title' => _t('reply'),
'class' => 'replybutton')); 'class' => 'replybutton'));
common_raw('→'); common_raw('→');
common_element_end('a');
common_element_end('p'); common_element_end('p');
common_element_end('a');
common_element_end('li'); common_element_end('li');
} }
} }