From 52255de580654f351205b19565be601bd4caaacb Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Fri, 26 Mar 2010 22:44:48 +0000 Subject: First pass at cleaning up videolist. --- views/default/staticvideo/index.php | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'views/default/staticvideo/index.php') diff --git a/views/default/staticvideo/index.php b/views/default/staticvideo/index.php index 1b32f316b..256eb5b92 100644 --- a/views/default/staticvideo/index.php +++ b/views/default/staticvideo/index.php @@ -1,14 +1,14 @@ - * @copyright Prateek Choudhary - */ - + * 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 + * @copyright Prateek Choudhary + */ + $owner = $_SESSION['guid']; $number = 10; @@ -19,10 +19,8 @@ $height = "275"; ?>
url; $title = $node->title; $video_guid = $node->guid; @@ -31,12 +29,12 @@ if(!empty($owner_videos)) $videodiv .= ""; $videodiv .= "no video"; $videodiv .= ""; - + $videodiv .= "
"; $videodiv .= "
"; $videodiv .= "Title : ".$title."
"; $videodiv .= "
"; - + $videodiv .= "
"; $videodiv .= elgg_view("output/confirmlink", array( 'href' => $vars['url'] . "action/videolist/remove?video_id=" . $video_guid, @@ -51,12 +49,10 @@ if(!empty($owner_videos)) $videodiv .= "
"; $videodiv .= "
"; } + print $videodiv; -} -else -{ +} else { echo "No videos were found."; } ?> - -- cgit v1.2.3