]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
move some things around
authorEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 08:01:10 +0000 (04:01 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 08:01:10 +0000 (04:01 -0400)
darcs-hash:20080709080110-84dde-2d8169e2fbe28300d099090100547a19cb8c6a7d.gz

actions/showstream.php
lib/stream.php

index 8f06d60e6ce714418107b9082abde934c6b2f261..c4061da4fdd4431cdd7c4620800e291d8169bdca 100644 (file)
@@ -360,10 +360,18 @@ class ShowstreamAction extends StreamAction {
                common_raw(common_render_content($notice->content, $notice));
                common_element_end('p');
                common_element_start('p', array('class' => 'time'));
-               common_element('a', array('class' => 'notice',
-                                                                 'href' => $noticeurl),
+               common_element('a', array('class' => 'permalink',
+                                                                 'href' => $noticeurl,
+                                                                 'title' => common_exact_date($notice->created)),
                                           common_date_string($notice->created));
                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('&rarr;');
                common_element_end('li');
        }
-}
+}
\ No newline at end of file
index 431580b13662cd2d2d4c3cee0dba3c5ac3d21f00..c13be22849c7e3d7aa90cba40715d2c1fbecc49d 100644 (file)
@@ -101,8 +101,8 @@ class StreamAction extends Action {
                                                                   'title' => _t('reply'),
                                                                   'class' => 'replybutton'));
                common_raw('&rarr;');
-               common_element_end('a');
                common_element_end('p');
+               common_element_end('a');
                common_element_end('li');
        }
 }