2009-06-12 19:58:54 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-07-08 23:26:21 +00:00
|
|
|
|
|
|
|
<? if (module::get_var("embedlinks", "HTMLCode")) { ?>
|
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="<?= url::abs_site("{$item->type}s/{$item->id}") ?>">Click Here</a>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
|
|
|
<td><input type="text" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Resized:") ?></th>
|
|
|
|
<td><input type="text" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>"><img src="<?= $item->resize_url(true) ?>"></a>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
2009-07-08 21:09:42 +00:00
|
|
|
<? if (access::can("view_full", $item)) { ?>
|
2009-06-12 19:58:54 +00:00
|
|
|
<tr>
|
2009-07-08 23:26:21 +00:00
|
|
|
<th colspan="2"><br/><?= t("Link To The Fullsize Image:") ?></th>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Text:") ?></th>
|
|
|
|
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>">Click Here</a>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
|
|
|
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Resized:") ?></th>
|
|
|
|
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>"><img src="<?= $item->resize_url(true) ?>"></a>" readonly></td>
|
|
|
|
</tr>
|
2009-07-08 22:08:39 +00:00
|
|
|
<? } ?>
|
2009-06-12 19:58:54 +00:00
|
|
|
|
|
|
|
<tr>
|
2009-07-08 23:26:21 +00:00
|
|
|
<th colspan="2"><br/><?= t("Link To The Resized Image:") ?></th>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Text:") ?></th>
|
|
|
|
<td><input type="text" value="<a href="<?= $item->resize_url(true) ?>">Click Here</a>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
|
|
|
<td><input type="text" value="<a href="<?= $item->resize_url(true) ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Image:") ?></th>
|
|
|
|
<td><input type="text" value="<img src="<?= $item->resize_url(true) ?>">" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2009-07-08 23:26:21 +00:00
|
|
|
<? } ?>
|
2009-07-08 22:08:39 +00:00
|
|
|
|
2009-07-08 23:26:21 +00:00
|
|
|
<? if (module::get_var("embedlinks", "BBCode")) { ?>
|
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>
|
2009-07-08 23:26:21 +00:00
|
|
|
<th colspan="2"><br/><?= t("Link To The Fullsize Image:") ?></th>
|
2009-07-08 22:08:39 +00:00
|
|
|
</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>
|
2009-07-08 23:26:21 +00:00
|
|
|
<th colspan="2"><br/><?= t("Link To The Resized Image:") ?></th>
|
2009-07-08 22:08:39 +00:00
|
|
|
</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>
|
2009-07-08 23:26:21 +00:00
|
|
|
<? } ?>
|