Fixed input box sizes and added javascript select code.
This commit is contained in:
parent
0fe270bd23
commit
9fccd596c9
@ -1,4 +1,9 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||||
|
<style>
|
||||||
|
input[type="text"] {
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<? if (module::get_var("embedlinks", "HTMLCode")) { ?>
|
<? if (module::get_var("embedlinks", "HTMLCode")) { ?>
|
||||||
<table class="gMetadata">
|
<table class="gMetadata">
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -8,12 +13,12 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><textarea rows="2" cols="6" height="5" readonly><a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>">Click Here</a></textarea></td>
|
<td><input onclick="this.focus(); this.select();" name="forum" type="text" readonly="true" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>">Click Here</a>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<th><?= t("Thumbnail:") ?></th>
|
||||||
<td><textarea rows="2" cols="6" height="5" readonly><a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>"><img src="<?= $item->thumb_url(true) ?>"></a></textarea></td>
|
<td><input onclick="this.focus(); this.select();" name="forum" type="text" readonly="true" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -28,12 +33,12 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><textarea rows="2" cols="6" height="5" readonly>[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>]Click Here[/url]</textarea></td>
|
<td><input onclick="this.focus(); this.select();" name="forum" type="text" readonly="true" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>]Click Here[/url]" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<th><?= t("Thumbnail:") ?></th>
|
||||||
<td><textarea rows="2" cols="6" height="5" readonly>[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]</textarea></td>
|
<td><input onclick="this.focus(); this.select();" name="forum" type="text" readonly="true" size="85" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||||
<style>
|
<style>
|
||||||
#gExifData {font-size: .85em;}
|
input[type="text"] {
|
||||||
.gOdd {background: #BDD2FF;}
|
width: 95%;
|
||||||
.gEven {background: #DFEFFC;}
|
}
|
||||||
</style>
|
</style>
|
||||||
<h1 style="display: none;"><?= t("BBCode") ?></h1>
|
<h1 style="display: none;"><?= t("BBCode") ?></h1>
|
||||||
<div id="gExifData">
|
<div id="gEmbedLinksBBCodeData">
|
||||||
<? $counter = 0; ?>
|
<? $counter = 0; ?>
|
||||||
<? for ($i = 0; $i < count($titles); $i++): ?>
|
<? for ($i = 0; $i < count($titles); $i++): ?>
|
||||||
<table class="gMetadata" >
|
<table class="gLinksBBCode" >
|
||||||
<thead><tr><th cellspan="2"><?= t($titles[$i][0]) ?></th></thead>
|
<thead><tr><th colspan="2"><?= t($titles[$i][0]) ?></th></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<? for ($j = $counter; $j < $titles[$i][1]+$counter; $j++): ?>
|
<? for ($j = $counter; $j < $titles[$i][1]+$counter; $j++): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= t($details[$j][0]) ?></td>
|
<td width="100"><?= t($details[$j][0]) ?></td>
|
||||||
<td><input type="text" value="<?= $details[$j][1] ?>" readonly></td>
|
<td><input type="text" onclick="this.focus(); this.select();" value="<?= $details[$j][1] ?>" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? endfor ?>
|
<? endfor ?>
|
||||||
<? $counter+= $titles[$i][1]; ?>
|
<? $counter+= $titles[$i][1]; ?>
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||||
<style>
|
<style>
|
||||||
#gExifData {font-size: .85em;}
|
input[type="text"] {
|
||||||
.gOdd {background: #BDD2FF;}
|
width: 95%;
|
||||||
.gEven {background: #DFEFFC;}
|
}
|
||||||
</style>
|
</style>
|
||||||
<h1 style="display: none;"><?= t("HTML Code") ?></h1>
|
<h1 style="display: none;"><?= t("HTML Code") ?></h1>
|
||||||
<div id="gExifData">
|
<div id="gEmbedLinksHTMLData">
|
||||||
<? $counter = 0; ?>
|
<? $counter = 0; ?>
|
||||||
<? for ($i = 0; $i < count($titles); $i++): ?>
|
<? for ($i = 0; $i < count($titles); $i++): ?>
|
||||||
<table class="gMetadata" >
|
<table class="gLinksHTML" >
|
||||||
<thead><tr><th cellspan="2"><?= t($titles[$i][0]) ?></th></thead>
|
<thead><tr><th colspan="2"><?= t($titles[$i][0]) ?></th></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<? for ($j = $counter; $j < $titles[$i][1]+$counter; $j++): ?>
|
<? for ($j = $counter; $j < $titles[$i][1]+$counter; $j++): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= t($details[$j][0]) ?></td>
|
<td width="100"><?= t($details[$j][0]) ?></td>
|
||||||
<td><input type="text" value="<?= $details[$j][1] ?>" readonly></td>
|
<td><input type="text" onclick="this.focus(); this.select();" value="<?= $details[$j][1] ?>" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? endfor ?>
|
<? endfor ?>
|
||||||
<? $counter+= $titles[$i][1]; ?>
|
<? $counter+= $titles[$i][1]; ?>
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||||
|
<style>
|
||||||
|
input[type="text"] {
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<? if (module::get_var("embedlinks", "HTMLCode")) { ?>
|
<? if (module::get_var("embedlinks", "HTMLCode")) { ?>
|
||||||
<h3 align="center"><?= t("HTML Links")?></h3>
|
<h3 align="center"><?= t("HTML Links")?></h3>
|
||||||
@ -10,17 +15,17 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><input type="text" value="<a href="<?= url::abs_site("{$item->type}s/{$item->id}") ?>">Click Here</a>" readonly></td>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<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>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Resized:") ?></th>
|
<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>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<? if (access::can("view_full", $item)) { ?>
|
<? if (access::can("view_full", $item)) { ?>
|
||||||
@ -30,17 +35,17 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>">Click Here</a>" readonly></td>
|
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>">Click Here</a>" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<th><?= t("Thumbnail:") ?></th>
|
||||||
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" readonly></td>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Resized:") ?></th>
|
<th><?= t("Resized:") ?></th>
|
||||||
<td><input type="text" value="<a href="<?= $item->file_url(true) ?>"><img src="<?= $item->resize_url(true) ?>"></a>" readonly></td>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
@ -50,17 +55,17 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><input type="text" value="<a href="<?= $item->resize_url(true) ?>">Click Here</a>" readonly></td>
|
<td><input type="text" value="<a href="<?= $item->resize_url(true) ?>">Click Here</a>" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<th><?= t("Thumbnail:") ?></th>
|
||||||
<td><input type="text" value="<a href="<?= $item->resize_url(true) ?>"><img src="<?= $item->thumb_url(true) ?>"></a>" readonly></td>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Image:") ?></th>
|
<th><?= t("Image:") ?></th>
|
||||||
<td><input type="text" value="<img src="<?= $item->resize_url(true) ?>">" readonly></td>
|
<td><input type="text" value="<img src="<?= $item->resize_url(true) ?>">" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -77,17 +82,17 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>]Click Here[/url]" readonly></td>
|
<td><input type="text" value="[url=<?= url::abs_site("{$item->type}s/{$item->id}") ?>]Click Here[/url]" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<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>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Resized:") ?></th>
|
<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>
|
<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>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<? if (access::can("view_full", $item)) { ?>
|
<? if (access::can("view_full", $item)) { ?>
|
||||||
@ -97,17 +102,17 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><input type="text" value="[url=<?= $item->file_url(true) ?>]Click Here[/url]" readonly></td>
|
<td><input type="text" value="[url=<?= $item->file_url(true) ?>]Click Here[/url]" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<th><?= t("Thumbnail:") ?></th>
|
||||||
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" readonly></td>
|
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Resized:") ?></th>
|
<th><?= t("Resized:") ?></th>
|
||||||
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->resize_url(true) ?>[/img][/url]" readonly></td>
|
<td><input type="text" value="[url=<?= $item->file_url(true) ?>][img]<?= $item->resize_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|
||||||
@ -117,17 +122,17 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Text:") ?></th>
|
<th><?= t("Text:") ?></th>
|
||||||
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>]Click Here[/url]" readonly></td>
|
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>]Click Here[/url]" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Thumbnail:") ?></th>
|
<th><?= t("Thumbnail:") ?></th>
|
||||||
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" readonly></td>
|
<td><input type="text" value="[url=<?= $item->resize_url(true) ?>][img]<?= $item->thumb_url(true) ?>[/img][/url]" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= t("Image:") ?></th>
|
<th><?= t("Image:") ?></th>
|
||||||
<td><input type="text" value="[img]<?= $item->resize_url(true) ?>[/img]" readonly></td>
|
<td><input type="text" value="[img]<?= $item->resize_url(true) ?>[/img]" onclick="this.focus(); this.select();" readonly></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Reference in New Issue
Block a user