diff options
author | Sem <sembrestels@riseup.net> | 2012-10-06 15:38:08 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-10-06 15:38:08 +0200 |
commit | 3e44ab82c6e25d2ffe00cd23efffb32adffa2f78 (patch) | |
tree | 51f6cabb2efd4e3db1e9df0ce6e534881b84db8d /views/default/videolist/watch.php | |
parent | d2b3600e49bfac698042e39e6b6ac79124b1080e (diff) | |
download | elgg-3e44ab82c6e25d2ffe00cd23efffb32adffa2f78.tar.gz elgg-3e44ab82c6e25d2ffe00cd23efffb32adffa2f78.tar.bz2 |
Added an unitary view to watch all videos.
Diffstat (limited to 'views/default/videolist/watch.php')
-rw-r--r-- | views/default/videolist/watch.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/videolist/watch.php b/views/default/videolist/watch.php new file mode 100644 index 000000000..2e1dbacec --- /dev/null +++ b/views/default/videolist/watch.php @@ -0,0 +1,8 @@ +<?php + +$entity = elgg_extract('entity', $vars); +if (elgg_view_exists("videolist/watch/$entity->videotype")) { + echo elgg_view("videolist/watch/$entity->videotype", $vars); +} else { + echo elgg_view("videolist/watch/default", $vars); +} |