diff options
author | Dave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-23 17:30:14 +0000 |
---|---|---|
committer | Dave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-23 17:30:14 +0000 |
commit | a161b38e65fa698133402f4fb23548242f494018 (patch) | |
tree | e75300111195f40f14c2389abddac65db9068da8 /views/rss/videolist | |
download | elgg-a161b38e65fa698133402f4fb23548242f494018.tar.gz elgg-a161b38e65fa698133402f4fb23548242f494018.tar.bz2 |
This videolist plugin shows real promise so we shall work on it for v1.8 then release it back to the community.
Diffstat (limited to 'views/rss/videolist')
-rw-r--r-- | views/rss/videolist/contentwrapper.php | 15 | ||||
-rw-r--r-- | views/rss/videolist/videolist.php | 17 |
2 files changed, 32 insertions, 0 deletions
diff --git a/views/rss/videolist/contentwrapper.php b/views/rss/videolist/contentwrapper.php new file mode 100644 index 000000000..b967ab371 --- /dev/null +++ b/views/rss/videolist/contentwrapper.php @@ -0,0 +1,15 @@ +<?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
+ */ + +
+ echo $vars['body'];
+
+?> diff --git a/views/rss/videolist/videolist.php b/views/rss/videolist/videolist.php new file mode 100644 index 000000000..f88300d98 --- /dev/null +++ b/views/rss/videolist/videolist.php @@ -0,0 +1,17 @@ +<?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
+ */ +
+ if ($foreach = get_entities('object','',$vars['entity']->guid)) {
+ foreach($foreach as $videos)
+ echo elgg_view_entity($videos);
+ }
+
+?> |