3 <head>{
include="includes"}
</head>
6 {
include="page.header"}
8 <a href=
"?do=configure"><b>Configure your Shaarli
</b><span>: Change Title, timezone...
</span></a>
10 <a href=
"?do=pluginadmin"><b>Plugin administration
</b><span>: Enable, disable and configure plugins.
</span></a>
12 {
if="!$openshaarli"}
<a href=
"?do=changepasswd"><b>Change password
</b><span>: Change your password.
</span></a>
14 <a href=
"?do=changetag"><b>Rename/delete tags
</b><span>: Rename or delete a tag in all links
</span></a>
16 <a href=
"?do=import"><b>Import
</b><span>: Import Netscape html bookmarks (as exported from Firefox, Chrome, Opera, delicious...)
</span></a>
18 <a href=
"?do=export"><b>Export
</b><span>: Export Netscape html bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)
</span></a>
20 <a class=
"smallbutton"
21 onclick=
"return alertBookmarklet();"
24 var%20url%20=%20location.href;
25 var%20title%20=%20document.title%20||%20url;
27 '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+
28 '&title='%20+%20encodeURIComponent(title)+
29 '&description='%20+%20encodeURIComponent(document.getSelection())+
30 '&source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1'
36 <a href=
"#" onclick=
"return alertBookmarklet();">
38 ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).
<br>
39 Then click "✚Shaare link" button in any page you want to share.
42 <a class=
"smallbutton"
43 onclick=
"return alertBookmarklet();"
44 href=
"?private=1&post=">
47 <a href=
"#" onclick=
"return alertBookmarklet();">
49 ⇐ Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).
<br>
50 Then click "✚Add Note" button anytime to start composing a private Note (text post) to your Shaarli.
53 <a class=
"smallbutton" onclick=
"activateFirefoxSocial(this)">
54 <b>✚Add to Firefox social
</b>
57 <span>⇐ Click on this button to add Shaarli to the "Share this page" button in Firefox.
</span>
60 {
loop="$tools_plugin"}
64 <div class=
"clear"></div>
67 function activateFirefoxSocial(node) {
68 var loc = location.href;
69 var baseURL = loc.substring(
0, loc.lastIndexOf("/"));
71 // Keeping the data separated (ie. not in the DOM) so that it's maintainable and diffable.
73 name: "{$shaarlititle}",
74 description: "The personal, minimalist, super-fast, no-database delicious clone.",
78 iconURL: baseURL + "/images/favicon.ico",
79 icon32URL: baseURL + "/images/favicon.ico",
80 icon64URL: baseURL + "/images/favicon.ico",
82 shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{text}&source=firefoxsocialapi{/noparse}",
85 node.setAttribute("data-service", JSON.stringify(data));
87 var activate = new CustomEvent("ActivateSocialFeature");
88 node.dispatchEvent(activate);
91 function alertBookmarklet() {
92 alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');
98 {
include="page.footer"}