From dd489f623628930e527e8112142576bb0de24b57 Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Mon, 29 Mar 2010 16:59:14 +0000 Subject: Beginnings of updating VideoList to v1.8 interface, edit, delete, favorite added. Amongst other updates Friends view and breadcrumbs added. --- views/default/forms/add.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'views/default/forms/add.php') diff --git a/views/default/forms/add.php b/views/default/forms/add.php index 2da5353b7..3933af251 100644 --- a/views/default/forms/add.php +++ b/views/default/forms/add.php @@ -116,8 +116,7 @@ if(isset($confirm_action) && ($confirm_action == 'add_video')) { $_SESSION['videolisttags'] = $tags; $_SESSION['Pagecontainer'] = $Pagecontainer; $_SESSION['container_guid'] = $container_guid; - //echo $_SESSION['candidate_profile_video']; - $url = "action/videolist/addvideo?__elgg_ts={$timestamp}&__elgg_token={$token}"; + $url = "action/videolist/add?__elgg_ts={$timestamp}&__elgg_token={$token}"; forward($url); } else @@ -128,9 +127,7 @@ if(isset($confirm_action) && ($confirm_action == 'add_video')) { } } -$body = '
'; - -$body .= '
'; +$body = ''; $body .= elgg_view('input/hidden',array('internalname'=>'video_action', 'value'=>'add_video')); $body .= elgg_view('input/hidden',array('internalname'=>'guid', 'value'=>$vars['guid'])); @@ -151,6 +148,5 @@ $body .= elgg_view('input/access',array('internalname'=>'access_id', 'value' => $body .= '

'; $body .= elgg_view('input/submit', array('internalname'=>'submit','value'=>elgg_echo('videolist:submit'))); $body .= '
'; -$body .= '
'; -print $body."

"; +print $body; -- cgit v1.2.3