diff options
author | Christophe HENRY <christophe.henry@sbgodin.fr> | 2017-02-22 14:55:52 +0100 |
---|---|---|
committer | Christophe HENRY <christophe.henry@sbgodin.fr> | 2017-02-22 20:01:40 +0100 |
commit | b848615c52660f9e3173ab7eedab29af0c49a4fc (patch) | |
tree | b81e7668180e7160a35fbcd1e1d2e0a6c2829538 | |
parent | b9eb50c09947ec35838051e1bcfe5bc09a839f8e (diff) | |
download | Shaarli-b848615c52660f9e3173ab7eedab29af0c49a4fc.tar.gz Shaarli-b848615c52660f9e3173ab7eedab29af0c49a4fc.tar.zst Shaarli-b848615c52660f9e3173ab7eedab29af0c49a4fc.zip |
Removes spaces before and after bookmarklet's name
Carriage returns turns into space in some cases. The name of the
bookmarklet, once in the browser bookmarks, is surrounded by spaces.
-rw-r--r-- | tpl/default/tools.html | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tpl/default/tools.html b/tpl/default/tools.html index e06d239d..c36aa5b5 100644 --- a/tpl/default/tools.html +++ b/tpl/default/tools.html | |||
@@ -30,9 +30,7 @@ | |||
30 | '&source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1' | 30 | '&source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1' |
31 | ); | 31 | ); |
32 | } | 32 | } |
33 | )();"> | 33 | )();"><b>✚Shaare link</b></a> |
34 | <b>✚Shaare link</b> | ||
35 | </a> | ||
36 | <a href="#" onclick="return alertBookmarklet();"> | 34 | <a href="#" onclick="return alertBookmarklet();"> |
37 | <span> | 35 | <span> |
38 | ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> | 36 | ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> |
@@ -41,9 +39,7 @@ | |||
41 | </a><br><br> | 39 | </a><br><br> |
42 | <a class="smallbutton" | 40 | <a class="smallbutton" |
43 | onclick="return alertBookmarklet();" | 41 | onclick="return alertBookmarklet();" |
44 | href="?private=1&post="> | 42 | href="?private=1&post="><b>✚Add Note</b></a> |
45 | <b>✚Add Note</b> | ||
46 | </a> | ||
47 | <a href="#" onclick="return alertBookmarklet();"> | 43 | <a href="#" onclick="return alertBookmarklet();"> |
48 | <span> | 44 | <span> |
49 | ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> | 45 | ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br> |
@@ -52,9 +48,7 @@ | |||
52 | </a><br><br> | 48 | </a><br><br> |
53 | 49 | ||
54 | {if="$sslenabled"} | 50 | {if="$sslenabled"} |
55 | <a class="smallbutton" onclick="activateFirefoxSocial(this)"> | 51 | <a class="smallbutton" onclick="activateFirefoxSocial(this)"><b>✚Add to Firefox social</b></a> |
56 | <b>✚Add to Firefox social</b> | ||
57 | </a> | ||
58 | <a href="#"> | 52 | <a href="#"> |
59 | <span>⇐ Click on this button to add Shaarli to the "Share this page" button in Firefox.</span> | 53 | <span>⇐ Click on this button to add Shaarli to the "Share this page" button in Firefox.</span> |
60 | </a><br><br> | 54 | </a><br><br> |