aboutsummaryrefslogtreecommitdiff
path: root/views/default/staticvideo
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 16:59:14 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-29 16:59:14 +0000
commitdd489f623628930e527e8112142576bb0de24b57 (patch)
tree553f57964d3995b61c4cb1d0dfeaeb405e370a3d /views/default/staticvideo
parente8123c694c232509ea0c96ab19edf7cb1168b571 (diff)
downloadelgg-dd489f623628930e527e8112142576bb0de24b57.tar.gz
elgg-dd489f623628930e527e8112142576bb0de24b57.tar.bz2
Beginnings of updating VideoList to v1.8 interface, edit, delete, favorite added. Amongst other updates Friends view and breadcrumbs added.
Diffstat (limited to 'views/default/staticvideo')
-rw-r--r--views/default/staticvideo/index.php16
1 files changed, 5 insertions, 11 deletions
diff --git a/views/default/staticvideo/index.php b/views/default/staticvideo/index.php
index 256eb5b92..d8619917e 100644
--- a/views/default/staticvideo/index.php
+++ b/views/default/staticvideo/index.php
@@ -37,22 +37,16 @@ if(!empty($owner_videos)) {
$videodiv .= "<div id='videoActionbox'>";
$videodiv .= elgg_view("output/confirmlink", array(
- 'href' => $vars['url'] . "action/videolist/remove?video_id=" . $video_guid,
- 'text' => elgg_echo('delete'),
- 'confirm' => elgg_echo('deleteconfirm'),
- ));
- /*
- $videodiv .= "<a href='".$vars['url']."pg/videolist/remove/".$video_id."'>";
- $videodiv .= "delete";
- $videodiv .= "</a>";
- */
+ 'href' => $vars['url'] . "action/videolist/remove?video_id=" . $video_guid,
+ 'text' => elgg_echo('delete'),
+ 'confirm' => elgg_echo('deleteconfirm'),
+ ));
$videodiv .= "</div>";
- $videodiv .= "<div class=\"clearfloat\"></div>";
}
print $videodiv;
} else {
- echo "No videos were found.";
+ echo "<p class='margin_top'>".elgg_echo('videolist:none:found')."</p>";
}
?>
</div>