aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/videolist/notfound.php19
-rw-r--r--views/default/widgets/videolist_view/edit.php23
-rw-r--r--views/default/widgets/videolist_view/view.php60
3 files changed, 0 insertions, 102 deletions
diff --git a/views/default/videolist/notfound.php b/views/default/videolist/notfound.php
deleted file mode 100644
index b797c54f7..000000000
--- a/views/default/videolist/notfound.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-/**
- * Elgg blog not found page
- *
- * @package ElggBlog
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd <info@elgg.com>
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
- */
-
-?>
-
-<p>
- <?php
- echo elgg_echo("video:none");
- ?>
-</p>
diff --git a/views/default/widgets/videolist_view/edit.php b/views/default/widgets/videolist_view/edit.php
deleted file mode 100644
index 10ba89af9..000000000
--- a/views/default/widgets/videolist_view/edit.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<p>
-<?php echo elgg_echo("videolist:num_videos"); ?>:
-
-<?
- if($vars['entity']->num_display == '') {
- $vars['entity']->num_display = 6;
- }
-?>
-<select name="params[num_display]">
- <option value="1" <?php if($vars['entity']->num_display == 1) echo "SELECTED"; ?>>1</option>
- <option value="2" <?php if($vars['entity']->num_display == 2) echo "SELECTED"; ?>>2</option>
- <option value="3" <?php if($vars['entity']->num_display == 3) echo "SELECTED"; ?>>3</option>
- <option value="4" <?php if($vars['entity']->num_display == 4) echo "SELECTED"; ?>>4</option>
- <option value="5" <?php if($vars['entity']->num_display == 5) echo "SELECTED"; ?>>5</option>
- <option value="6" <?php if($vars['entity']->num_display == 6) echo "SELECTED"; ?>>6</option>
- <option value="7" <?php if($vars['entity']->num_display == 7) echo "SELECTED"; ?>>7</option>
- <option value="8" <?php if($vars['entity']->num_display == 8) echo "SELECTED"; ?>>8</option>
- <option value="9" <?php if($vars['entity']->num_display == 9) echo "SELECTED"; ?>>9</option>
- <option value="10" <?php if($vars['entity']->num_display == 10) echo "SELECTED"; ?>>10</option>
- <option value="15" <?php if($vars['entity']->num_display == 15) echo "SELECTED"; ?>>15</option>
- <option value="20" <?php if($vars['entity']->num_display == 20) echo "SELECTED"; ?>>20</option>
-</select>
-</p>
diff --git a/views/default/widgets/videolist_view/view.php b/views/default/widgets/videolist_view/view.php
deleted file mode 100644
index cd2aa37a3..000000000
--- a/views/default/widgets/videolist_view/view.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-/**
- * Elgg Videolist Plugin
- * This plugin allows users to create a library of youtube videos
- *
- * @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
- */
-
-
-//the number of files to display
-$number = (int) $vars['entity']->num_display;
-if (!$number) {
- $number = 5;
-}
-
-$owner = page_owner_entity();
-$owner_videos = get_entities("object", "videolist", page_owner(), $order_by="time_created desc", $limit=$number);
-//echo "<div class=\"clearfloat\"></div>";
-if ($owner_videos) {
- echo '<div id="profile_video_widget_container">';
- foreach($owner_videos as $videos) {
- $url = $videos->url;
- $title = $videos->title;
- $video_id = $videos->video_id;
- $videothumbnail = $videos->thumbnail;
- echo '<div id="profile_video_image_container">';
- //get video cover image
- echo '<div id="videothumbnail-box">';
- echo "<a href='".$vars['url']."pg/videolist/watch/".$videos->guid."'>";
- echo "<img src=\"".$videothumbnail."\" width=\"75\"/>";
- echo '</a>';
- echo '</div>';
- echo '<div id="videotitle-box">';
- echo "<a href='".$vars['url']."pg/videolist/watch/".$videos->guid."'>";
- echo $title;
- echo '</a>';
-
- $numcomments = elgg_count_comments($videos);
- if ($numcomments) {
- echo "<br /><span class='vid-comment-widget'><a href=\"".$vars['url']."pg/videolist/watch/".$videos->guid."\">" . sprintf(elgg_echo("comments")) . " (" . $numcomments . ")</a></span> <br />";
- }
-
- echo '</div>';
- echo '</div>';
- }
-
- echo "</div>";
- echo "<div class=\"clearfloat\"></div>";
- //get a link to the users videos
- $users_video_url = $vars['url'] . "pg/videolist/owned/" . $owner->username;
- echo "<div style=\"margin-left:10px;\">";
- echo "<span class=\"profile_album_link\"><a href=\"{$users_video_url}\">" . elgg_echo('video:more') . "</a></span>";
- echo "</div>";
- echo "<div id=\"widget-boundary\"></div>";
-} else {
- echo elgg_echo("album:none");
-} \ No newline at end of file