aboutsummaryrefslogtreecommitdiff
path: root/views/default/staticvideo/index.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-10 20:42:29 +0100
committerSem <sembrestels@riseup.net>2011-11-10 20:42:29 +0100
commit643951237699a76a6af0f3058c81905e38aa6194 (patch)
tree5aa9ec1c0b712bb69f93a35f8576d33641bf57f1 /views/default/staticvideo/index.php
parent201f1ffc0737ed3794b038c4cce0dfa1a4073c99 (diff)
downloadelgg-643951237699a76a6af0f3058c81905e38aa6194.tar.gz
elgg-643951237699a76a6af0f3058c81905e38aa6194.tar.bz2
Removed unused files.
Diffstat (limited to 'views/default/staticvideo/index.php')
-rw-r--r--views/default/staticvideo/index.php53
1 files changed, 0 insertions, 53 deletions
diff --git a/views/default/staticvideo/index.php b/views/default/staticvideo/index.php
deleted file mode 100644
index 8d265fd50..000000000
--- a/views/default/staticvideo/index.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-/**
- * Elgg Candidate Profile Plugin - file search.php
- * This plugin allows users to create custom candidate profile
- *
- * @package ElggProfile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Prateek Choudhary <synapticfield@gmail.com>
- * @copyright Prateek Choudhary
- */
-
-
-$owner = $_SESSION['guid'];
-$number = 10;
-$owner_videos = elgg_get_entities(array('types' => 'object', 'subtypes' => 'videolist', 'owner_guids' => $_SESSION['guid']));
-//get_entities("object", "videolist", $_SESSION['guid'], $number);
-$videodiv = '';
-$width = "390";
-$height = "275";
-?>
-<div id="video-list-main">
-<?php
-if(!empty($owner_videos)) {
- foreach($owner_videos as $node) {
- $url = $node->url;
- $title = $node->title;
- $video_guid = $node->guid;
- $video_id = $node->video_id;
- $videodiv .= "<div id='videobox'>";
- $videodiv .= "<a href='".$vars['url']."videolist/watch/".$video_guid."'>";
- $videodiv .= "<img src='http://img.youtube.com/vi/".$video_id."/default.jpg' width='150' alt='no video'/>";
- $videodiv .= "</a>";
-
- $videodiv .= "</div>";
- $videodiv .= "<div id='videoDescbox'>";
- $videodiv .= "<span class='title'>Title : </span>".$title."<br />";
- $videodiv .= "</div>";
-
- $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 .= "</div>";
- }
-
- print $videodiv;
-} else {
- echo "<p class='margin_top'>".elgg_echo('videolist:none:found')."</p>";
-}
-?>
-</div>