From: Sem Date: Thu, 3 Nov 2011 21:23:57 +0000 (+0100) Subject: Moved url parse functions to a library. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ecf03771557e24e86a982e5f79ebcb84d8d54883;p=lorea%2Felgg.git Moved url parse functions to a library. --- diff --git a/lib/videolist.php b/lib/videolist.php new file mode 100644 index 000000000..50f83c923 --- /dev/null +++ b/lib/videolist.php @@ -0,0 +1,86 @@ +'; $body .= elgg_view('input/hidden',array('internalname'=>'video_action', 'value'=>'add_video')); diff --git a/views/default/forms/videolist/edit.php b/views/default/forms/videolist/edit.php index 7d7901bcd..9bcc64a7a 100644 --- a/views/default/forms/videolist/edit.php +++ b/views/default/forms/videolist/edit.php @@ -2,6 +2,9 @@ /** * Elgg Video Plugin > Edit view */ + +elgg_load_library('elgg:videolist'); + // Make sure we're logged in (send us to the front page if not) gatekeeper(); $page_owner = page_owner_entity(); @@ -40,4 +43,4 @@ if($owner instanceof ElggGroup){ " />

- \ No newline at end of file +