diff options
author | Christian Weiske <cweiske@cweiske.de> | 2010-10-09 12:15:11 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2010-10-09 12:15:11 +0200 |
commit | 2e89b28ed9d902ac208355193e708e9b76845282 (patch) | |
tree | c41a88e9e3bcc9fab067a30a76edb436246e4cdb | |
parent | 894011dd0fb4ba0aeee428d3460665afb71cd9d9 (diff) | |
download | semanticscuttle-2e89b28ed9d902ac208355193e708e9b76845282.tar.gz semanticscuttle-2e89b28ed9d902ac208355193e708e9b76845282.tar.bz2 |
embed the delete link directly in html instead of using javascript
-rw-r--r-- | data/templates/bookmarks.tpl.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index 29d7248..db560f2 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -296,10 +296,9 @@ if ($currenttag!= '') { $edit = ' - <a href="' . createURL('edit', $row['bId']) . '">' . T_('Edit') . '</a>' - . '<script type="text/javascript">' - . 'document.write(" - <a href=\"#\" onclick=\"deleteBookmark(this, '. $row['bId'] .'); return false;\">' + . ' <a href="#" onclick="deleteBookmark(this, '. $row['bId'] .'); return false;">' . T_('Delete') - .'<\/a>");</script>'; + .'</a>'; } // Last update |