summaryrefslogtreecommitdiff
path: root/modules/downloadfullsize/views/downloadfullsize_block.html.php
blob: a9ccc2a6659a1f33f829930b78450637464bb81b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php defined("SYSPATH") or die("No direct script access.") ?>

<? if ($theme->item->is_photo()) { ?>
<div class="g-download-fullsize-block">
<a href="<?= url::site("downloadfullsize/send/{$theme->item->id}") ?>"
   title="<?= t("Download Photo") ?>"
  class="g-button ui-icon-left ui-state-default ui-corner-all"><?= t("Download Fullsize Image") ?></a>
</div>
<? } ?>

<? if ($theme->item->is_movie()) { ?>
<div class="g-download-fullsize-block">
<a href="<?= url::site("downloadfullsize/send/{$theme->item->id}") ?>"
   title="<?= t("Download Video") ?>"
  class="g-button ui-icon-left ui-state-default ui-corner-all"><?= t("Download Movie") ?></a>
</div>
<? } ?>