diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-03-17 08:46:15 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-03-17 08:46:15 +0100 |
commit | 8146646a0e1c7535e62aeebab049f7b1740c86ae (patch) | |
tree | 024e72fef24db07cc8287affd6b47d6c2a255b05 /data/templates | |
parent | 6e46a9329e9d6f7d86ca66725efd79c0f21dbe83 (diff) | |
download | semanticscuttle-8146646a0e1c7535e62aeebab049f7b1740c86ae.tar.gz semanticscuttle-8146646a0e1c7535e62aeebab049f7b1740c86ae.tar.bz2 |
prepare jquery autocomplete (does not work yet)
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/editbookmark.tpl.php | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/data/templates/editbookmark.tpl.php b/data/templates/editbookmark.tpl.php index 44e3ac3..504249b 100644 --- a/data/templates/editbookmark.tpl.php +++ b/data/templates/editbookmark.tpl.php @@ -26,12 +26,12 @@ function jsEscTitle($title) <tr> <th align="left"><?php echo T_('Address'); ?></th> <td><input type="text" id="address" name="address" size="75" maxlength="65535" value="<?php echo filter($row['bAddress'], 'xml'); ?>" onblur="useAddress(this)" /></td> - <td>← <?php echo T_('Required'); ?></td> + <td>← <?php echo T_('Required'); ?></td> </tr> <tr> <th align="left"><?php echo T_('Title'); ?></th> <td><input type="text" id="titleField" name="title" size="75" maxlength="255" value="<?php echo filter($row['bTitle'], 'xml'); ?>" onkeypress="this.style.backgroundImage = 'none';" /></td> - <td>← <?php echo T_('Required'); ?></td> + <td>← <?php echo T_('Required'); ?></td> </tr> <tr> <th align="left"> @@ -39,7 +39,7 @@ function jsEscTitle($title) <a onclick="var nz = document.getElementById('privateNoteZone'); nz.style.display='';this.style.display='none';"><?php echo T_("Add Note"); ?></a> </th> <td><textarea name="description" id="description" rows="5" cols="63" ><?php echo filter($row['bDescription'], 'xml'); ?></textarea></td> - <td>← <?php echo T_('You can use anchors to delimite attributes. for example: [publisher]blah[/publisher] '); ?> + <td>← <?php echo T_('You can use anchors to delimite attributes. for example: [publisher]blah[/publisher] '); ?> <?php if(count($GLOBALS['descriptionAnchors'])>0): ?> <br /><br /> <?php echo T_('Suggested anchors: '); ?> @@ -56,19 +56,15 @@ function jsEscTitle($title) <tr id="privateNoteZone" <?php if(strlen($row['bPrivateNote'])==0):?>style="display:none"<?php endif; ?>> <th align="left"><?php echo T_('Private Note'); ?></th> <td><textarea name="privateNote" id="privateNote" rows="1" cols="63" ><?php echo filter($row['bPrivateNote'], 'xml'); ?></textarea></td> - <td>← <?php echo T_('Just visible by you and your contacts.'); ?> + <td>← <?php echo T_('Just visible by you and your contacts.'); ?> </td> </tr> <tr> <th align="left"><?php echo T_('Tags'); ?></th> <td class="scuttletheme"> -<!-- - <span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo ROOT?>ajax/<?php echo ($GLOBALS['adminsAreAdvisedTagsFromOtherAdmins'] && $currentUser->isAdmin())?'getadmintags':'getcontacttags'?>.php"></span> - <input type="text" dojoType="js.MultiComboBox" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" store="memberTagStore" delimiter="," searchAttr="tag" hasDownArrow="false" queryExpr="*${0}*" autoComplete="false" highlightMatch="all"/> ---> <input type="text" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>"/> </td> - <td>← <?php echo T_('Comma-separated'); ?></td> + <td>← <?php echo T_('Comma-separated'); ?></td> </tr> <tr> <th></th> @@ -104,7 +100,7 @@ function jsEscTitle($title) echo ' (<a href="'.createURL('bookmarkcommondescriptionedit', $row['bHash']).'">'; echo T_('edit common description').'</a>)'; } - + if ($popup) { ?> <input type="hidden" name="popup" value="1" /> @@ -135,7 +131,6 @@ jQuery(document).ready(function() { }); </script> - <?php // Dynamic tag selection //FIXME$this->includeTemplate('dynamictags.inc'); @@ -204,5 +199,5 @@ else if (false) <?php } -$this->includeTemplate($GLOBALS['bottom_include']); +$this->includeTemplate($GLOBALS['bottom_include']); ?> |