]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/stream.php
correct path to DB_DataObject
[quix0rs-gnu-social.git] / lib / stream.php
index 9129693804ef75c93f24915902c0b8bd7f72a32f..2b8361a7351a50bbce191157d80c254bd395cdab 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
   
-if (!defined('LACONICA')) { exit(1) }
+if (!defined('LACONICA')) { exit(1); }
 
 define('NOTICES_PER_PAGE', 20);
 
@@ -47,7 +47,9 @@ class StreamAction extends Action {
                                           $profile->nickname);
                # FIXME: URL, image, video, audio
                common_element('span', array('class' => 'content'), $notice->content);
-               common_element('span', array('class' => 'date'),
+               $noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
+               common_element('a', array('class' => 'notice',
+                                                                 'href' => $noticeurl),
                                           common_date_string($notice->created));
                common_end_element('div');
        }