2009-06-12 19:58:54 +00:00
|
|
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
2009-07-25 18:03:16 +00:00
|
|
|
<style>
|
|
|
|
input[type="text"] {
|
|
|
|
width: 95%;
|
|
|
|
}
|
|
|
|
</style>
|
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-08-02 19:11:07 +00:00
|
|
|
<table class="gEmbedLink">
|
2009-06-12 19:58:54 +00:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th colspan="2"><?= t("Link To This Page:") ?></th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Text:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>">Click Here</a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Resized:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>"><img src="<?= $item->resize_url(true) ?>"></a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</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>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>">Click Here</a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Resized:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>"><img src="<?= $item->resize_url(true) ?>"></a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</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>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= $item->resize_url(true) ?>">Click Here</a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<a href="<?= $item->resize_url(true) ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Image:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="<img src="<?= $item->resize_url(true) ?>">" onclick="this.focus(); this.select();" readonly></td>
|
2009-06-12 19:58:54 +00:00
|
|
|
</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>
|
2009-08-02 19:11:07 +00:00
|
|
|
<table class="gEmbedLinks">
|
2009-07-08 22:08:39 +00:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th colspan="2"><?= t("Link To This Page:") ?></th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Text:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>]Click Here[/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Resized:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>][img]<?= $item->resize_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</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>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= $item->file_url(true) ?>]Click Here[/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Resized:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->resize_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</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>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>]Click Here[/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Image:") ?></th>
|
2009-07-25 18:03:16 +00:00
|
|
|
<td><input type="text" value="[img]<?= $item->resize_url(true) ?>[/img]" onclick="this.focus(); this.select();" readonly></td>
|
2009-07-08 22:08:39 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2009-08-02 19:11:07 +00:00
|
|
|
<? } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<? if (module::get_var("embedlinks", "FullURL")) { ?>
|
|
|
|
<h3 align="center"><?= t("URLs")?></h3>
|
|
|
|
<table class="gEmbedLinks">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th><?= t("This Page:") ?></th>
|
|
|
|
<td><input type="text" value="<?= url::abs_site("{$item->type}s/{$item->id}") ?>" onclick="this.focus(); this.select();" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Thumbnail:") ?></th>
|
|
|
|
<td><input type="text" value="<?= $item->thumb_url(true) ?>" onclick="this.focus(); this.select();" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Resized:") ?></th>
|
|
|
|
<td><input type="text" value="<?= $item->resize_url(true) ?>" onclick="this.focus(); this.select();" readonly></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<? if (access::can("view_full", $item)) { ?>
|
|
|
|
<tr>
|
|
|
|
<th><?= t("Fullsize:") ?></th>
|
|
|
|
<td><input type="text" value="<?= $item->file_url(true) ?>" onclick="this.focus(); this.select();" readonly></td>
|
|
|
|
</tr>
|
|
|
|
<? } ?>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2009-07-08 23:26:21 +00:00
|
|
|
<? } ?>
|