diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-08 06:09:02 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-08 06:09:02 +0000 |
commit | 978c2a7bba800e92d21b17d5398cba02ccd63645 (patch) | |
tree | 6aff590e6fe3f496c64eb4a3b6c2eaa2543548f2 /mod/thewire/views/default/object/thewire.php | |
parent | 47d476c3a6a1a58fc7cc0d4078248d83e1ab7de8 (diff) | |
download | elgg-978c2a7bba800e92d21b17d5398cba02ccd63645.tar.gz elgg-978c2a7bba800e92d21b17d5398cba02ccd63645.tar.bz2 |
Fixes #3025: The wire uses core's metadata view.
git-svn-id: http://code.elgg.org/elgg/trunk@8633 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/views/default/object/thewire.php')
-rw-r--r-- | mod/thewire/views/default/object/thewire.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php index 2baadd30b..b784c5c08 100644 --- a/mod/thewire/views/default/object/thewire.php +++ b/mod/thewire/views/default/object/thewire.php @@ -29,9 +29,11 @@ $owner_link = elgg_view('output/url', array( $author_text = elgg_echo('byline', array($owner_link)); $date = elgg_view_friendly_time($post->time_created); -$metadata = elgg_view('thewire/metadata', array( - 'entity' => $post, - 'handler' => 'thewire', +$metadata = elgg_view_menu('entity', array( + 'entity' => $post, + 'handler' => 'thewire', + 'sort_by' => 'priority', + 'class' => 'elgg-menu-hz', )); $subtitle = "$author_text $date"; |