summaryrefslogtreecommitdiff
path: root/modules/movie_overlay/views/movie_thumb_bottom.html.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2014-01-14 23:37:41 +0000
committerNathan Kinkade <nath@nkinka.de>2014-01-14 23:37:41 +0000
commit2b9b6991b28cada6abf4af73f9286495358a3839 (patch)
tree256eff86095296ab95010b0444c92cd48a518dc1 /modules/movie_overlay/views/movie_thumb_bottom.html.php
parent75451124fe8856e832b49f04f038f7ec6f141350 (diff)
Added a module that displays a play button icon over movie thumbnails so people know they are actually movies and not just photos.HEADmaster
Diffstat (limited to 'modules/movie_overlay/views/movie_thumb_bottom.html.php')
-rw-r--r--modules/movie_overlay/views/movie_thumb_bottom.html.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/movie_overlay/views/movie_thumb_bottom.html.php b/modules/movie_overlay/views/movie_thumb_bottom.html.php
new file mode 100644
index 00000000..376b92ee
--- /dev/null
+++ b/modules/movie_overlay/views/movie_thumb_bottom.html.php
@@ -0,0 +1,12 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<a href="<?= $url ?>" style="text-decoration: none">
+<span style="position:absolute; top:<?= $top ?>px;
+left:<?= $left ?>px; height: 48px; width: 48px;
+background-image:url('<?= $images_url ?>/<?= $icon ?>.png');
+opacity:0.<?= $trans ?>; filter:alpha(opacity=<?= $trans ?>);">
+</span>
+<? if (module::get_var("movie_overlay", "time")) : ?>
+ <span class="g-movie-time" style="top:<?= $texttime_top ?>px;">&#9655;&nbsp;<?= $movie_time ?></span>
+<? endif ?>
+</a>
+</div>