diff options
author | Nathan Kinkade <nath@nkinka.de> | 2014-01-14 23:37:41 +0000 |
---|---|---|
committer | Nathan Kinkade <nath@nkinka.de> | 2014-01-14 23:37:41 +0000 |
commit | 2b9b6991b28cada6abf4af73f9286495358a3839 (patch) | |
tree | 256eff86095296ab95010b0444c92cd48a518dc1 /modules/movie_overlay/views | |
parent | 75451124fe8856e832b49f04f038f7ec6f141350 (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')
-rw-r--r-- | modules/movie_overlay/views/admin_movie_overlay.html.php | 26 | ||||
-rw-r--r-- | modules/movie_overlay/views/movie_thumb_bottom.html.php | 12 |
2 files changed, 38 insertions, 0 deletions
diff --git a/modules/movie_overlay/views/admin_movie_overlay.html.php b/modules/movie_overlay/views/admin_movie_overlay.html.php new file mode 100644 index 00000000..a0b1a02a --- /dev/null +++ b/modules/movie_overlay/views/admin_movie_overlay.html.php @@ -0,0 +1,26 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<div id="g-admin-code-block"> + <h2><?= t("Movie overly page administration") ?></h2> + <table border="1" bordercolor="#000000" + style="background-color:#FFFFFF" width="550px" + cellpadding="1" cellspacing="1"> + <tr> + <td>Icon:</td> + <td><img src="<?= url::file("modules/movie_overlay/images/1.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/2.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/3.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/4.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/5.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/6.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/7.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/8.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/9.png") ?>" /></td> + <td><img src="<?= url::file("modules/movie_overlay/images/10.png") ?>" /></td> + </tr> + <tr> + <td>Number:</td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td> + <td>6</td><td>7</td><td>8</td><td>9</td><td>10</td> + </tr> + </table> + <?= $form ?> +</div> 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;">▷ <?= $movie_time ?></span> +<? endif ?> +</a> +</div> |