}
?>
-<script type="text/javascript">
-window.onload = function() {
- document.getElementById("address").focus();
-}
-</script>
-
<form action="<?php echo $formaction; ?>" method="post">
<table>
<tr>
</tr>
<tr>
<th align="left"><?php echo T_('Description'); ?></th>
- <td><input type="text" name="description" size="75" maxlength="255" value="<?php echo filter($row['bDescription'], 'xml'); ?>" /></td>
+ <td><textarea name="description" cols="74" rows="5" maxlength="1000"><?php echo filter($row['bDescription'], 'xml'); ?></textarea></td>
<td></td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" name="submitted" value="<?php echo $btnsubmit; ?>" />
- <?php
- if ($showdelete) {
- ?>
- <input type="submit" name="delete" value="<?php echo T_('Delete Bookmark'); ?>" />
- <?php
- }
- if ($popup) {
- ?>
- <input type="hidden" name="popup" value="1" />
- <?php
- } elseif ($referrer) {
- ?>
- <input type="hidden" name="referrer" value="<?php echo $referrer; ?>" />
- <?php
- }
- ?>
+ <?php if ($showdelete): ?>
+ <input type="submit" name="delete" value="<?php echo T_('Delete Bookmark'); ?>" />
+ <?php endif; ?>
+ <?php if ($popup): ?>
+ <input type="hidden" name="popup" value="1" />
+ <?php elseif ($referrer): ?>
+ <input type="hidden" name="referrer" value="<?php echo $referrer; ?>" />
+ <?php endif; ?>
</td>
<td></td>
</tr>
</table>
</form>
+<script type="text/javascript">
+$(function() {
+ $("#address").focus();
+});
+</script>
<?php
// Dynamic tag selection
<?php
}
$this->includeTemplate($GLOBALS['bottom_include']);
-?>
\ No newline at end of file
+?>