aboutsummaryrefslogtreecommitdiff
path: root/templates/editbookmark.tpl.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-13 09:49:11 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-13 09:49:11 +0000
commite44a7e37b6c7b5961adaffc62b9042b8d442938e (patch)
tree95b67c356e93163467db2451f2b8cce84ed5d582 /templates/editbookmark.tpl.php
parenta62b9742ee5e28bcec6872d88f50f25b820914f6 (diff)
downloadsemanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.gz
semanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.bz2
New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/editbookmark.tpl.php')
-rw-r--r--templates/editbookmark.tpl.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/editbookmark.tpl.php b/templates/editbookmark.tpl.php
index b4c74ba..0b6899b 100644
--- a/templates/editbookmark.tpl.php
+++ b/templates/editbookmark.tpl.php
@@ -18,9 +18,9 @@ switch ($row['bStatus']) {
?>
<script type="text/javascript">
-window.onload = function() {
- document.getElementById("address").focus();
-}
+//window.onload = function() {
+// document.getElementById("address").focus();
+//}
</script>
<form action="<?php echo $formaction; ?>" method="post">
@@ -42,9 +42,13 @@ window.onload = function() {
</tr>
<tr>
<th align="left"><?php echo T_('Tags'); ?></th>
- <td><input type="text" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" /></td>
+ <td class="scuttletheme">
+ <span dojoType="dojo.data.ItemFileReadStore" jsId="memberTagStore" url="<?php echo $GLOBALS['root']?>ajax/gettags.php"></span>
+ <input type="text" dojoType="dojox.widget.MultiComboBox" id="tags" name="tags" size="75" value="<?php echo filter(implode(', ', $row['tags']), 'xml'); ?>" store="memberTagStore" delimiter="," searchAttr="tag" hasDownArrow="false"/></td>
<td>&larr; <?php echo T_('Comma-separated'); ?></td>
</tr>
+
+
<tr>
<th></th>
<td align="right"><small><?php echo T_('Note: use ">" to include one tag in another. e.g.: europe>france>paris')?><small></td>