diff options
author | Sem <sembrestels@riseup.net> | 2011-11-09 01:35:57 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-09 01:35:57 +0100 |
commit | 6b16fa9b322ae12a54c66ba5160cc7547d6e7667 (patch) | |
tree | 3fc01c57d72c0d76a0dfefa5d6e5c2136ec79117 /views/default/object/videolist_item.php | |
parent | 314f5c66f927a3b542e908e0794a8602129f2f8f (diff) | |
download | elgg-6b16fa9b322ae12a54c66ba5160cc7547d6e7667.tar.gz elgg-6b16fa9b322ae12a54c66ba5160cc7547d6e7667.tar.bz2 |
Videolist on groups and edit/delete functionalities.
Diffstat (limited to 'views/default/object/videolist_item.php')
-rw-r--r-- | views/default/object/videolist_item.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/object/videolist_item.php b/views/default/object/videolist_item.php index f2543dd19..63f3e6334 100644 --- a/views/default/object/videolist_item.php +++ b/views/default/object/videolist_item.php @@ -22,7 +22,7 @@ $base_type = substr($mime, 0, strpos($mime,'/')); $body = elgg_view('output/longtext', array('value' => $entity->description)); $owner_link = elgg_view('output/url', array( - 'href' => "file/owner/$owner->username", + 'href' => "videolist/owner/$owner->username", 'text' => $owner->name, )); $author_text = elgg_echo('byline', array($owner_link)); @@ -38,7 +38,7 @@ $comments_count = $entity->countComments(); if ($comments_count != 0) { $text = elgg_echo("comments") . " ($comments_count)"; $comments_link = elgg_view('output/url', array( - 'href' => $entity->getURL() . '#file-comments', + 'href' => $entity->getURL() . '#videolist-item-comments', 'text' => $text, )); } else { @@ -47,7 +47,7 @@ if ($comments_count != 0) { $metadata = elgg_view_menu('entity', array( 'entity' => $vars['entity'], - 'handler' => 'file', + 'handler' => 'videolist', 'sort_by' => 'priority', 'class' => 'elgg-menu-hz', )); @@ -57,6 +57,7 @@ $subtitle = "$author_text $date $categories $comments_link"; // do not show the metadata and controls in widget view if (elgg_in_context('widgets')) { $metadata = ''; + $excerpt = ''; } if ($full && !elgg_in_context('gallery')) { |