aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/watch.php
diff options
context:
space:
mode:
authorroot <root@migration.vz.lan>2012-10-12 17:02:09 +0000
committerroot <root@migration.vz.lan>2012-10-12 17:02:09 +0000
commitdf98993b828ad4b12f64c54824e439804bc4af5c (patch)
treea7e9151b0203ae88662b229b29565c73086d34ec /views/default/videolist/watch.php
parentcd216f6feae68146c8997a17c9fa37b674357b63 (diff)
parentc02bb30c3539587511bd866efbb00ce33b0ba853 (diff)
downloadelgg-df98993b828ad4b12f64c54824e439804bc4af5c.tar.gz
elgg-df98993b828ad4b12f64c54824e439804bc4af5c.tar.bz2
Merge branch 'master' of git://gitorious.org/lorea/videolist
Diffstat (limited to 'views/default/videolist/watch.php')
-rw-r--r--views/default/videolist/watch.php8
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);
+}