aboutsummaryrefslogtreecommitdiff
path: root/views/default/icon
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/icon')
-rw-r--r--views/default/icon/object/videolist/large.php11
-rw-r--r--views/default/icon/object/videolist/master.php11
-rw-r--r--views/default/icon/object/videolist/medium.php11
-rw-r--r--views/default/icon/object/videolist/small.php11
-rw-r--r--views/default/icon/object/videolist/tiny.php11
-rw-r--r--views/default/icon/object/videolist/topbar.php11
6 files changed, 66 insertions, 0 deletions
diff --git a/views/default/icon/object/videolist/large.php b/views/default/icon/object/videolist/large.php
new file mode 100644
index 000000000..62815f7c4
--- /dev/null
+++ b/views/default/icon/object/videolist/large.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Display a video's icon.
+ */
+
+$entity = elgg_get_array_value('entity', $vars, NULL);
+$size = 'large';
+
+if ($entity) {
+ echo videolist_get_entity_icon_url($entity, $size);
+} \ No newline at end of file
diff --git a/views/default/icon/object/videolist/master.php b/views/default/icon/object/videolist/master.php
new file mode 100644
index 000000000..65d0ea6e0
--- /dev/null
+++ b/views/default/icon/object/videolist/master.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Display a video's icon.
+ */
+
+$entity = elgg_get_array_value('entity', $vars, NULL);
+$size = 'master';
+
+if ($entity) {
+ echo videolist_get_entity_icon_url($entity, $size);
+} \ No newline at end of file
diff --git a/views/default/icon/object/videolist/medium.php b/views/default/icon/object/videolist/medium.php
new file mode 100644
index 000000000..c2d85cf6e
--- /dev/null
+++ b/views/default/icon/object/videolist/medium.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Display a video's icon.
+ */
+
+$entity = elgg_get_array_value('entity', $vars, NULL);
+$size = 'medium';
+
+if ($entity) {
+ echo videolist_get_entity_icon_url($entity, $size);
+} \ No newline at end of file
diff --git a/views/default/icon/object/videolist/small.php b/views/default/icon/object/videolist/small.php
new file mode 100644
index 000000000..34d08cd1e
--- /dev/null
+++ b/views/default/icon/object/videolist/small.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Display a video's icon.
+ */
+
+$entity = elgg_get_array_value('entity', $vars, NULL);
+$size = 'small';
+
+if ($entity) {
+ echo videolist_get_entity_icon_url($entity, $size);
+} \ No newline at end of file
diff --git a/views/default/icon/object/videolist/tiny.php b/views/default/icon/object/videolist/tiny.php
new file mode 100644
index 000000000..2dce0f06d
--- /dev/null
+++ b/views/default/icon/object/videolist/tiny.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Display a video's icon.
+ */
+
+$entity = elgg_get_array_value('entity', $vars, NULL);
+$size = 'tiny';
+
+if ($entity) {
+ echo videolist_get_entity_icon_url($entity, $size);
+} \ No newline at end of file
diff --git a/views/default/icon/object/videolist/topbar.php b/views/default/icon/object/videolist/topbar.php
new file mode 100644
index 000000000..82b38c0a0
--- /dev/null
+++ b/views/default/icon/object/videolist/topbar.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Display a video's icon.
+ */
+
+$entity = elgg_get_array_value('entity', $vars, NULL);
+$size = 'topbar';
+
+if ($entity) {
+ echo videolist_get_entity_icon_url($entity, $size);
+} \ No newline at end of file