diff options
Diffstat (limited to 'themes/default/views')
| -rw-r--r-- | themes/default/views/header.html.php | 4 | ||||
| -rw-r--r-- | themes/default/views/movie.html.php | 18 | 
2 files changed, 3 insertions, 19 deletions
| diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php index b38cffed..51f55b41 100644 --- a/themes/default/views/header.html.php +++ b/themes/default/views/header.html.php @@ -3,8 +3,8 @@  <? if ($header_text = module::get_var("gallery", "header_text")): ?>  <?= $header_text ?>  <? else: ?> -<a href="<?= url::site("albums/1") ?>"> -  <img width="107" height="48" id="gLogo" alt="<?= t("Gallery: Your photos on your web site") ?>" src="<?= $theme->theme_url("images/logo.png") ?>" /> +<a id="gLogo" href="<?= url::site("albums/1") ?>" title="<?= t("go back to the Gallery home") ?>"> +  <img width="107" height="48" alt="<?= t("Gallery logo: Your photos on your web site") ?>" src="<?= $theme->theme_url("images/logo.png") ?>" />  </a>  <? endif ?> diff --git a/themes/default/views/movie.html.php b/themes/default/views/movie.html.php index 134e3571..c2fb0e30 100644 --- a/themes/default/views/movie.html.php +++ b/themes/default/views/movie.html.php @@ -12,23 +12,7 @@      <? 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> | 
