]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Minor markup consistency
authorSarven Capadisli <csarven@controlyourself.ca>
Thu, 5 Feb 2009 21:26:06 +0000 (21:26 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Thu, 5 Feb 2009 21:26:06 +0000 (21:26 +0000)
actions/noticesearch.php

index a0d723b1235d7425b31eb1d79247960f442eb4bb..630fb8857475b20749007355def56aad09a9bd65 100644 (file)
@@ -154,7 +154,8 @@ class NoticesearchAction extends SearchAction
         $this->elementStart('div', 'entry-title');
         $this->elementStart('span', 'vcard author');
         $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);
-        $this->elementStart('a', array('href' => $profile->profileurl));
+        $this->elementStart('a', array('href' => $profile->profileurl,
+                                       'class' => 'url'));
         $this->element('img', array('src' => ($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_STREAM_SIZE),
                                     'class' => 'avatar photo',
                                     'width' => AVATAR_STREAM_SIZE,
@@ -223,15 +224,6 @@ class NoticesearchAction extends SearchAction
         $this->elementEnd('a');
         $this->elementEnd('dd');
         $this->elementEnd('dl');
-
-        $this->elementStart('a',
-                             array('href' => common_local_url('newnotice',
-                                                              array('replyto' => $profile->nickname)),
-                                   'onclick' => 'doreply("'.$profile->nickname.'"); return false',
-                                   'title' => _('reply'),
-                                   'class' => 'replybutton'));
-        $this->hidden('posttoken', common_session_token());
-        $this->elementEnd('a');
         $this->elementEnd('div');
         $this->elementEnd('li');
     }