summaryrefslogtreecommitdiff
path: root/themes/default/views/movie.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/views/movie.html.php')
-rw-r--r--themes/default/views/movie.html.php23
1 files changed, 3 insertions, 20 deletions
diff --git a/themes/default/views/movie.html.php b/themes/default/views/movie.html.php
index e8559697..66c80ded 100644
--- a/themes/default/views/movie.html.php
+++ b/themes/default/views/movie.html.php
@@ -1,5 +1,4 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<script src="<?= url::file("lib/flowplayer.js") ?>" type="text/javascript"></script>
<div id="gItem">
<?= $theme->photo_top() ?>
@@ -13,27 +12,11 @@
<? endif ?>
</ul>
- <a id="gMovieId-<?= $item->id ?>"
- href="<?= $item->file_url(true) ?>"
- style="display: block; width: <?= $item->width ?>px; height: <?= $item->height ?>px">
- </a>
- <script>
- flowplayer("gMovieId-<?= $item->id ?>", "<?= url::abs_file("lib/flowplayer.swf") ?>", {
- plugins: {
- h264streaming: {
- url: "<?= url::abs_file("lib/flowplayer.h264streaming.swf") ?>"
- },
- controls: {
- autoHide: 'always',
- hideDelay: 2000
- }
- }
- })
- </script>
+ <?= $item->movie_img(array("class" => "gMovie", "id" => "gMovieId-{$item->id}")) ?>
<div id="gInfo">
- <h1><?= p::clean($item->title) ?></h1>
- <div><?= p::clean($item->description) ?></div>
+ <h1><?= p::purify($item->title) ?></h1>
+ <div><?= nl2br(p::purify($item->description)) ?></div>
</div>
<script type="text/javascript">