1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/modules/embedlinks/views/embedlinks_photo_block.html.php

133 lines
4.2 KiB
PHP
Raw Normal View History

2009-06-12 19:58:54 +00:00
<?php defined("SYSPATH") or die("No direct script access.") ?>
2009-07-08 22:08:39 +00:00
<h3 align="center"><?= t("HTML Links")?></h3>
2009-06-12 19:58:54 +00:00
<table class="gMetadata">
<tbody>
<tr>
<th colspan="2"><?= t("Link To This Page:") ?></th>
</tr>
<tr>
<th><?= t("Text:") ?></th>
<td><input type="text" value="<a href=&quot;<?= url::abs_site("{$item->type}s/{$item->id}") ?>&quot;>Click Here</a>" readonly></td>
</tr>
<tr>
<th><?= t("Thumbnail:") ?></th>
<td><input type="text" value="<a href=&quot;<?= url::abs_site("{$item->type}s/{$item->id}") ?>&quot;><img src=&quot;<?= $item->thumb_url(true) ?>&quot;></a>" readonly></td>
</tr>
<tr>
<th><?= t("Resized:") ?></th>
<td><input type="text" value="<a href=&quot;<?= url::abs_site("{$item->type}s/{$item->id}") ?>&quot;><img src=&quot;<?= $item->resize_url(true) ?>&quot;></a>" readonly></td>
</tr>
<? if (access::can("view_full", $item)) { ?>
2009-06-12 19:58:54 +00:00
<tr>
<th colspan="2"><br/><?= t("Link To Fullsize Image:") ?></th>
</tr>
<tr>
<th><?= t("Text:") ?></th>
<td><input type="text" value="<a href=&quot;<?= $item->file_url(true) ?>&quot;>Click Here</a>" readonly></td>
</tr>
<tr>
<th><?= t("Thumbnail:") ?></th>
<td><input type="text" value="<a href=&quot;<?= $item->file_url(true) ?>&quot;><img src=&quot;<?= $item->thumb_url(true) ?>&quot;></a>" readonly></td>
</tr>
<tr>
<th><?= t("Resized:") ?></th>
<td><input type="text" value="<a href=&quot;<?= $item->file_url(true) ?>&quot;><img src=&quot;<?= $item->resize_url(true) ?>&quot;></a>" readonly></td>
</tr>
2009-07-08 22:08:39 +00:00
<? } ?>
2009-06-12 19:58:54 +00:00
<tr>
<th colspan="2"><br/><?= t("Link To Resized Image:") ?></th>
</tr>
<tr>
<th><?= t("Text:") ?></th>
<td><input type="text" value="<a href=&quot;<?= $item->resize_url(true) ?>&quot;>Click Here</a>" readonly></td>
</tr>
<tr>
<th><?= t("Thumbnail:") ?></th>
<td><input type="text" value="<a href=&quot;<?= $item->resize_url(true) ?>&quot;><img src=&quot;<?= $item->thumb_url(true) ?>&quot;></a>" readonly></td>
</tr>
<tr>
<th><?= t("Image:") ?></th>
<td><input type="text" value="<img src=&quot;<?= $item->resize_url(true) ?>&quot;>" readonly></td>
</tr>
</tbody>
</table>
2009-07-08 22:08:39 +00:00
<h3 align="center"><?= t("BBCode Links")?></h3>
<table class="gMetadata">
<tbody>
<tr>
<th colspan="2"><?= t("Link To This Page:") ?></th>
</tr>
<tr>
<th><?= t("Text:") ?></th>
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>]Click Here[/url]" readonly></td>
</tr>
<tr>
<th><?= t("Thumbnail:") ?></th>
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" readonly></td>
</tr>
<tr>
<th><?= t("Resized:") ?></th>
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>][img]<?= $item->resize_url(true) ?>[/img][/url]" readonly></td>
</tr>
<? if (access::can("view_full", $item)) { ?>
<tr>
<th colspan="2"><br/><?= t("Link To Fullsize Image:") ?></th>
</tr>
<tr>
<th><?= t("Text:") ?></th>
<td><input type="text" value="[url=<?= $item->file_url(true) ?>]Click Here[/url]" readonly></td>
</tr>
<tr>
<th><?= t("Thumbnail:") ?></th>
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" readonly></td>
</tr>
<tr>
<th><?= t("Resized:") ?></th>
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->resize_url(true) ?>[/img][/url]" readonly></td>
</tr>
<? } ?>
<tr>
<th colspan="2"><br/><?= t("Link To Resized Image:") ?></th>
</tr>
<tr>
<th><?= t("Text:") ?></th>
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>]Click Here[/url]" readonly></td>
</tr>
<tr>
<th><?= t("Thumbnail:") ?></th>
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" readonly></td>
</tr>
<tr>
<th><?= t("Image:") ?></th>
<td><input type="text" value="[img]<?= $item->resize_url(true) ?>[/img]" readonly></td>
</tr>
</tbody>
</table>