aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2015-07-15 11:47:12 +0200
committerArthurHoaro <arthur@hoa.ro>2015-11-07 15:27:22 +0100
commit567967fdf94b2b8ba2b2fc9c8836e89ac23c8c71 (patch)
tree6a8b3b2706b253a782a0b094e977524dccdf68da /tpl
parent0aec972a8bee1689ae79a436ae6e4236022b52ef (diff)
downloadShaarli-567967fdf94b2b8ba2b2fc9c8836e89ac23c8c71.tar.gz
Shaarli-567967fdf94b2b8ba2b2fc9c8836e89ac23c8c71.tar.zst
Shaarli-567967fdf94b2b8ba2b2fc9c8836e89ac23c8c71.zip
Template upgrade to handle plugin zones
Add a bunch of plugin placeholders in templates
Diffstat (limited to 'tpl')
-rw-r--r--tpl/configure.html1
-rw-r--r--tpl/daily.html57
-rw-r--r--tpl/editlink.html5
-rw-r--r--tpl/includes.html3
-rw-r--r--tpl/linklist.html90
-rw-r--r--tpl/linklist.paging.html5
-rw-r--r--tpl/page.footer.html7
-rw-r--r--tpl/page.header.html5
-rw-r--r--tpl/picwall.html19
-rw-r--r--tpl/tagcloud.html18
-rw-r--r--tpl/tools.html3
11 files changed, 136 insertions, 77 deletions
diff --git a/tpl/configure.html b/tpl/configure.html
index e4bd0760..9c725a51 100644
--- a/tpl/configure.html
+++ b/tpl/configure.html
@@ -38,6 +38,7 @@
38 <input type="checkbox" name="updateCheck" id="updateCheck" {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/> 38 <input type="checkbox" name="updateCheck" id="updateCheck" {if="!empty($GLOBALS['config']['ENABLE_UPDATECHECK'])"}checked{/if}/>
39 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label></td> 39 <label for="updateCheck">&nbsp;Notify me when a new release is ready</label></td>
40 </tr> 40 </tr>
41
41 <tr><td></td><td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr> 42 <tr><td></td><td class="right"><input type="submit" name="Save" value="Save config" class="bigbutton"></td></tr>
42 </table> 43 </table>
43 </form> 44 </form>
diff --git a/tpl/daily.html b/tpl/daily.html
index 38aa4012..93a3ab45 100644
--- a/tpl/daily.html
+++ b/tpl/daily.html
@@ -2,18 +2,43 @@
2<html> 2<html>
3<head>{include="includes"}</head> 3<head>{include="includes"}</head>
4<body> 4<body>
5<div id="pageheader">{include="page.header"}</div> 5<div id="pageheader">
6 {include="page.header"}
7</div>
6<div class="daily"> 8<div class="daily">
9 <div id="plugin_zone_start_picwall" class="plugin_zone">
10 {loop="$plugin_start_zone"}
11 {$value}
12 {/loop}
13 </div>
14
7 <div class="dailyAbout"> 15 <div class="dailyAbout">
8 All links of one day<br>in a single page.<br> 16 All links of one day<br>in a single page.<br>
9 {if="$previousday"} <a href="?do=daily&amp;day={$previousday}"><b>&lt;</b>Previous day</a>{else}<b>&lt;</b>Previous day{/if} 17 {if="$previousday"} <a href="?do=daily&amp;day={$previousday}"><b>&lt;</b>Previous day</a>{else}<b>&lt;</b>Previous day{/if}
10 - 18 -
11 {if="$nextday"}<a href="?do=daily&amp;day={$nextday}">Next day<b>&gt;</b></a>{else}Next day<b>&gt;</b>{/if} 19 {if="$nextday"}<a href="?do=daily&amp;day={$nextday}">Next day<b>&gt;</b></a>{else}Next day<b>&gt;</b>{/if}
12 <br><br> 20 <br>
13 <a href="?do=dailyrss" title="1 RSS entry per day"><img src="images/feed-icon-14x14.png#" alt="rss_feed">Daily RSS Feed</a> 21
22 {loop="$daily_about_plugin"}
23 {$value}
24 {/loop}
25
26 <br>
27 <a href="?do=dailyrss" title="1 RSS entry per day"><img src="images/feed-icon-14x14.png#" alt="rss_feed">Daily RSS Feed</a>
14 </div> 28 </div>
15 <div class="dailyTitle"><img src="../images/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left"> The Daily Shaarli <img src="../images/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right"></div> 29
16 <div class="dailyDate"><span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span> {function="strftime('%A %d, %B %Y', $day)"} <span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span></div> 30 <div class="dailyTitle">
31 <img src="../images/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left">
32 The Daily Shaarli
33 <img src="../images/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right">
34 </div>
35
36 <div class="dailyDate">
37 <span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span>
38 {function="strftime('%A %d, %B %Y', $day)"}
39 <span class="nomobile">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span>
40 </div>
41
17 <div class="clear"></div> 42 <div class="clear"></div>
18 43
19 {if="$linksToDisplay"} 44 {if="$linksToDisplay"}
@@ -47,6 +72,12 @@
47 <div class="dailyEntryThumbnail">{$link.thumbnail}</div> 72 <div class="dailyEntryThumbnail">{$link.thumbnail}</div>
48 {/if} 73 {/if}
49 <div class="dailyEntryDescription">{$link.formatedDescription}</div> 74 <div class="dailyEntryDescription">{$link.formatedDescription}</div>
75
76 <div class="dailyEntryFooter">
77 {loop="$link.link_plugin"}
78 {$value}
79 {/loop}
80 </div>
50 </div> 81 </div>
51 {/loop} 82 {/loop}
52 </div> 83 </div>
@@ -55,6 +86,14 @@
55 {else} 86 {else}
56 <div class="dailyNoEntry">No articles on this day.</div> 87 <div class="dailyNoEntry">No articles on this day.</div>
57 {/if} 88 {/if}
89
90 <div class="clear"></div>
91
92 <div id="plugin_zone_end_picwall" class="plugin_zone">
93 {loop="$plugin_end_zone"}
94 {$value}
95 {/loop}
96 </div>
58 <div id="closing"><img src="../images/squiggle_closing.png" width="66" height="61" alt="-"></div> 97 <div id="closing"><img src="../images/squiggle_closing.png" width="66" height="61" alt="-"></div>
59</div> 98</div>
60{include="page.footer"} 99{include="page.footer"}
diff --git a/tpl/editlink.html b/tpl/editlink.html
index 3733ca21..889d913d 100644
--- a/tpl/editlink.html
+++ b/tpl/editlink.html
@@ -21,6 +21,11 @@
21 <label for="lf_tags"><i>Tags</i></label><br> 21 <label for="lf_tags"><i>Tags</i></label><br>
22 <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input" 22 <input type="text" name="lf_tags" id="lf_tags" value="{$link.tags}" class="lf_input"
23 data-list="{loop="$tags"}{$key}, {/loop}" data-multiple autocomplete="off" ><br> 23 data-list="{loop="$tags"}{$key}, {/loop}" data-multiple autocomplete="off" ><br>
24
25 {loop="$edit_link_plugin"}
26 {$value}
27 {/loop}
28
24 {if="($link_is_new && $GLOBALS['privateLinkByDefault']==true) || $link.private == true"} 29 {if="($link_is_new && $GLOBALS['privateLinkByDefault']==true) || $link.private == true"}
25 <input type="checkbox" checked="checked" name="lf_private" id="lf_private"> 30 <input type="checkbox" checked="checked" name="lf_private" id="lf_private">
26 &nbsp;<label for="lf_private"><i>Private</i></label><br> 31 &nbsp;<label for="lf_private"><i>Private</i></label><br>
diff --git a/tpl/includes.html b/tpl/includes.html
index 623e19ed..bdf3a07d 100644
--- a/tpl/includes.html
+++ b/tpl/includes.html
@@ -8,3 +8,6 @@
8<link type="text/css" rel="stylesheet" href="../inc/reset.css" /> 8<link type="text/css" rel="stylesheet" href="../inc/reset.css" />
9<link type="text/css" rel="stylesheet" href="../inc/shaarli.css" /> 9<link type="text/css" rel="stylesheet" href="../inc/shaarli.css" />
10{if="is_file('inc/user.css')"}<link type="text/css" rel="stylesheet" href="../inc/user.css" />{/if} 10{if="is_file('inc/user.css')"}<link type="text/css" rel="stylesheet" href="../inc/user.css" />{/if}
11{loop="$plugins_includes.css_files"}
12<link type="text/css" rel="stylesheet" href="{$value}#"/>
13{/loop} \ No newline at end of file
diff --git a/tpl/linklist.html b/tpl/linklist.html
index daf87060..9ed28853 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -17,6 +17,9 @@
17 </datalist> 17 </datalist>
18 <input type="submit" value="Search" class="bigbutton"> 18 <input type="submit" value="Search" class="bigbutton">
19 </form> 19 </form>
20 {loop="$plugins_header.fields_toolbar"}
21 {$value}
22 {/loop}
20 </div> 23 </div>
21</div> 24</div>
22 25
@@ -24,6 +27,12 @@
24 27
25 {include="linklist.paging"} 28 {include="linklist.paging"}
26 29
30 <div id="plugin_zone_start_linklist" class="plugin_zone">
31 {loop="$plugin_start_zone"}
32 {$value}
33 {/loop}
34 </div>
35
27 {if="count($links)==0"} 36 {if="count($links)==0"}
28 <div id="searchcriteria">Nothing found.</i></div> 37 <div id="searchcriteria">Nothing found.</i></div>
29 {else} 38 {else}
@@ -40,7 +49,7 @@
40 <ul> 49 <ul>
41 {loop="links"} 50 {loop="links"}
42 <li{if="$value.class"} class="{$value.class}"{/if}> 51 <li{if="$value.class"} class="{$value.class}"{/if}>
43 <a id="{$value.linkdate|smallHash}"></a> 52 <a id="{$value.shorturl}"></a>
44 <div class="thumbnail">{$value.url|thumbnail}</div> 53 <div class="thumbnail">{$value.url|thumbnail}</div>
45 <div class="linkcontainer"> 54 <div class="linkcontainer">
46 {if="isLoggedIn()"} 55 {if="isLoggedIn()"}
@@ -56,89 +65,38 @@
56 {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"} 65 {if="!$GLOBALS['config']['HIDE_TIMESTAMPS'] || isLoggedIn()"}
57 <span class="linkdate" title="Permalink"><a href="?{$value.linkdate|smallHash}">{function="strftime('%c', $value.timestamp)"} - permalink</a> - </span> 66 <span class="linkdate" title="Permalink"><a href="?{$value.linkdate|smallHash}">{function="strftime('%c', $value.timestamp)"} - permalink</a> - </span>
58 {else} 67 {else}
59 <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> 68 <span class="linkdate" title="Short link here"><a href="?{$value.shorturl}">permalink</a> - </span>
60 {/if} 69 {/if}
61 {if="$GLOBALS['config']['ARCHIVE_ORG']"} 70
62 <span class="linkarchive"><a href="https://web.archive.org/web/{$value.url}">archive</a> - </span> 71 {loop="$value.link_plugin"}
63 {/if} 72 <span>{$value}</span> -
64 <div class="linkqrcode"><a href="http://qrfree.kaywa.com/?l=1&amp;s=8&amp;d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" 73 {/loop}
65 onclick="return showQrCode(this);" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"> 74
66 <img src="images/qrcode.png#" alt="QR-Code" title="{function="strftime('%c', $value.timestamp)"}"></a></div> -
67 <a href="{$value.url}"><span class="linkurl" title="Short link">{$value.url}</span></a><br> 75 <a href="{$value.url}"><span class="linkurl" title="Short link">{$value.url}</span></a><br>
68 {if="$value.tags"} 76 {if="$value.tags"}
69 <div class="linktaglist"> 77 <div class="linktaglist">
70 {loop="value.taglist"}<span class="linktag" title="Add tag"><a href="?addtag={$value|urlencode}">{$value}</a></span> {/loop} 78 {loop="value.taglist"}<span class="linktag" title="Add tag"><a href="?addtag={$value|urlencode}">{$value}</a></span> {/loop}
71 </div> 79 </div>
72 {/if} 80 {/if}
81
82
73 </div> 83 </div>
74 </li> 84 </li>
75 {/loop} 85 {/loop}
76 </ul> 86 </ul>
77 87
88 <div id="plugin_zone_end_linklist" class="plugin_zone">
89 {loop="$plugin_end_zone"}
90 {$value}
91 {/loop}
92 </div>
93
78 {include="linklist.paging"} 94 {include="linklist.paging"}
79 95
80</div> 96</div>
81 97
82 {include="page.footer"} 98 {include="page.footer"}
83 99
84<script>
85// Remove any displayed QR-Code
86function remove_qrcode()
87{
88 var elem = document.getElementById("permalinkQrcode");
89 if (elem) elem.parentNode.removeChild(elem);
90 return false;
91}
92
93function isCanvasSupported(){
94 var elem = document.createElement('canvas');
95 return !!(elem.getContext && elem.getContext('2d'));
96}
97
98// Show the QR-Code of a permalink (when the QR-Code icon is clicked).
99function showQrCode(caller,loading)
100{
101 if( !isCanvasSupported() ) return true;
102
103 // Dynamic javascript lib loading: We only load qr.js if the QR code icon is clicked:
104 if (typeof(qr)=='undefined') // Load qr.js only if not present.
105 {
106 loading = typeof loading !== 'undefined' ? loading : false;
107 if (!loading) // If javascript lib is still loading, do not append script to body.
108 {
109 var element = document.createElement("script");
110 element.src = "inc/qr-1.1.3.min.js";
111 document.body.appendChild(element);
112 }
113 setTimeout(function() { showQrCode(caller,true);}, 200); // Retry in 200 milliseconds.
114 return false;
115 }
116
117 // Remove previous qrcode if present.
118 remove_qrcode();
119
120 // Build the div which contains the QR-Code:
121 var element = document.createElement('div');
122 element.id="permalinkQrcode";
123
124 // Make QR-Code div commit sepuku when clicked:
125 element.addEventListener('click', remove_qrcode ); // Works on every canvas supported browser
126
127 // Build the QR-Code:
128 var image = qr.image({size: 8,value: caller.getAttribute('data-permalink')});
129 if (image)
130 {
131 element.appendChild(image);
132 element.innerHTML+= "<br>Click to close";
133 caller.parentNode.appendChild(element);
134 }
135 else
136 {
137 element.innerHTML="Your browser does not seem to be HTML5 compatible.";
138 }
139 return false;
140}
141</script>
142<script src="inc/awesomplete.min.js#"></script> 100<script src="inc/awesomplete.min.js#"></script>
143</body> 101</body>
144</html> 102</html>
diff --git a/tpl/linklist.paging.html b/tpl/linklist.paging.html
index 848541cd..e91c8f86 100644
--- a/tpl/linklist.paging.html
+++ b/tpl/linklist.paging.html
@@ -8,8 +8,13 @@
8 <img src="images/private_16x16.png#" width="16" height="16" title="Click to see only private links" alt="Click to see only private links"> 8 <img src="images/private_16x16.png#" width="16" height="16" title="Click to see only private links" alt="Click to see only private links">
9 {/if} 9 {/if}
10 </a> 10 </a>
11
12
11 </div> 13 </div>
12{/if} 14{/if}
15 {loop="$action_plugin"}
16 {$value}
17 {/loop}
13 <div class="paging_linksperpage"> 18 <div class="paging_linksperpage">
14 Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a> 19 Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a>
15 <form method="GET" class="linksperpage"><input type="text" name="linksperpage" size="2"></form> 20 <form method="GET" class="linksperpage"><input type="text" name="linksperpage" size="2"></form>
diff --git a/tpl/page.footer.html b/tpl/page.footer.html
index 8143669d..6c29850f 100644
--- a/tpl/page.footer.html
+++ b/tpl/page.footer.html
@@ -1,5 +1,8 @@
1<div id="footer"> 1<div id="footer">
2 <b><a href="https://github.com/shaarli/Shaarli">Shaarli</a></b> - The personal, minimalist, super-fast, no-database delicious clone by the <a href="https://github.com/shaarli/Shaarli">Shaarli</a> community - <a href="doc/Home.html">Help/documentation</a> 2 <b><a href="https://github.com/shaarli/Shaarli">Shaarli</a></b> - The personal, minimalist, super-fast, no-database delicious clone by the <a href="https://github.com/shaarli/Shaarli">Shaarli</a> community - <a href="doc/Home.html">Help/documentation</a>
3 {loop="$plugins_footer.text"}
4 {$value}
5 {/loop}
3</div> 6</div>
4{if="$newversion"} 7{if="$newversion"}
5 <div id="newversion"><span id="version_id">&#x25CF;</span> Shaarli {$newversion} is <a href="https://github.com/shaarli/Shaarli/releases">available</a>.</div> 8 <div id="newversion"><span id="version_id">&#x25CF;</span> Shaarli {$newversion} is <a href="https://github.com/shaarli/Shaarli/releases">available</a>.</div>
@@ -7,3 +10,7 @@
7{if="isLoggedIn()"} 10{if="isLoggedIn()"}
8<script>function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script> 11<script>function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script>
9{/if} 12{/if}
13
14{loop="$plugins_footer.js_files"}
15 <script src="{$value}#"></script>
16{/loop}
diff --git a/tpl/page.header.html b/tpl/page.header.html
index 2d186aa2..1d46d80c 100644
--- a/tpl/page.header.html
+++ b/tpl/page.header.html
@@ -11,7 +11,7 @@
11 <a href="{$titleLink}">{$shaarlititle}</a> 11 <a href="{$titleLink}">{$shaarlititle}</a>
12 </span> 12 </span>
13 </li> 13 </li>
14 14
15{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} 15{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
16 {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} 16 {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
17{else} 17{else}
@@ -33,6 +33,9 @@
33 <li><a href="?do=tagcloud">Tag cloud</a></li> 33 <li><a href="?do=tagcloud">Tag cloud</a></li>
34 <li><a href="?do=picwall{$searchcrits}">Picture wall</a></li> 34 <li><a href="?do=picwall{$searchcrits}">Picture wall</a></li>
35 <li><a href="?do=daily">Daily</a></li> 35 <li><a href="?do=daily">Daily</a></li>
36 {loop="$plugins_header.buttons_toolbar"}
37 {$value}
38 {/loop}
36{/if} 39{/if}
37 </ul> 40 </ul>
38</div> 41</div>
diff --git a/tpl/picwall.html b/tpl/picwall.html
index f59685cf..97d5efdf 100644
--- a/tpl/picwall.html
+++ b/tpl/picwall.html
@@ -5,15 +5,34 @@
5</head> 5</head>
6<body> 6<body>
7<div id="pageheader">{include="page.header"}</div> 7<div id="pageheader">{include="page.header"}</div>
8
9<div id="plugin_zone_start_picwall" class="plugin_zone">
10 {loop="$plugin_start_zone"}
11 {$value}
12 {/loop}
13</div>
14
8<div class="center"> 15<div class="center">
9 <div id="picwall_container"> 16 <div id="picwall_container">
10 {loop="linksToDisplay"} 17 {loop="linksToDisplay"}
11 <div class="picwall_pictureframe"> 18 <div class="picwall_pictureframe">
12 {$value.thumbnail}<a href="{$value.url}"><span class="info">{$value.title}</span></a> 19 {$value.thumbnail}<a href="{$value.url}"><span class="info">{$value.title}</span></a>
20 {loop="$value.picwall_plugin"}
21 {$value}
22 {/loop}
13 </div> 23 </div>
14 {/loop} 24 {/loop}
15 </div> 25 </div>
16</div> 26</div>
27
28<div class="clear"></div>
29
30<div id="plugin_zone_end_picwall" class="plugin_zone">
31 {loop="$plugin_end_zone"}
32 {$value}
33 {/loop}
34</div>
35
17{include="page.footer"} 36{include="page.footer"}
18 37
19<script> 38<script>
diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html
index 092f2294..5891cd25 100644
--- a/tpl/tagcloud.html
+++ b/tpl/tagcloud.html
@@ -4,9 +4,25 @@
4<body> 4<body>
5 <div id="pageheader">{include="page.header"}</div> 5 <div id="pageheader">{include="page.header"}</div>
6<div class="center"> 6<div class="center">
7 <div id="plugin_zone_start_tagcloud" class="plugin_zone">
8 {loop="$plugin_start_zone"}
9 {$value}
10 {/loop}
11 </div>
12
7 <div id="cloudtag"> 13 <div id="cloudtag">
8 {loop="tags"} 14 {loop="tags"}
9 <span class="count">{$value.count}</span><a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt;">{$key}</a> 15 <span class="count">{$value.count}</span>
16 <a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt;">{$key}</a>
17 {loop="$value.tag_plugin"}
18 {$value}
19 {/loop}
20 {/loop}
21 </div>
22
23 <div id="plugin_zone_end_tagcloud" class="plugin_zone">
24 {loop="$plugin_end_zone"}
25 {$value}
10 {/loop} 26 {/loop}
11 </div> 27 </div>
12</div> 28</div>
diff --git a/tpl/tools.html b/tpl/tools.html
index a3b469de..c9ada4ac 100644
--- a/tpl/tools.html
+++ b/tpl/tools.html
@@ -13,6 +13,9 @@
13 <a class="smallbutton" onclick="alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');return false;" href="javascript:javascript:(function(){var%20url%20=%20location.href;var%20title%20=%20document.title%20||%20url;window.open('{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+'&amp;title='%20+%20encodeURIComponent(title)+'&amp;description='%20+%20encodeURIComponent(document.getSelection())+'&amp;source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1');})();"><b>✚Shaare link</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>&nbsp;&nbsp;&nbsp;&nbsp;Then click "✚Shaare link" button in any page you want to share.</span></a><br><br> 13 <a class="smallbutton" onclick="alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');return false;" href="javascript:javascript:(function(){var%20url%20=%20location.href;var%20title%20=%20document.title%20||%20url;window.open('{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+'&amp;title='%20+%20encodeURIComponent(title)+'&amp;description='%20+%20encodeURIComponent(document.getSelection())+'&amp;source=bookmarklet','_blank','menubar=no,height=390,width=600,toolbar=no,scrollbars=no,status=no,dialog=1');})();"><b>✚Shaare link</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>&nbsp;&nbsp;&nbsp;&nbsp;Then click "✚Shaare link" button in any page you want to share.</span></a><br><br>
14 <a class="smallbutton" onclick="alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');return false;" href="?private=1&post="><b>✚Add Note</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>&nbsp;&nbsp;&nbsp;&nbsp;Then click "✚Add Note" button anytime to start composing a (default private) Note (text post) to your Shaarli.</span></a><br><br> 14 <a class="smallbutton" onclick="alert('Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link...');return false;" href="?private=1&post="><b>✚Add Note</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Drag this link to your bookmarks toolbar (or right-click it and choose Bookmark This Link....).<br>&nbsp;&nbsp;&nbsp;&nbsp;Then click "✚Add Note" button anytime to start composing a (default private) Note (text post) to your Shaarli.</span></a><br><br>
15 <a class="smallbutton" onclick="activateFirefoxSocial(this)"><b>✚Add to Firefox social</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Click on this button to add Shaarli to the "Share this page" button in Firefox.</span></a><br><br> 15 <a class="smallbutton" onclick="activateFirefoxSocial(this)"><b>✚Add to Firefox social</b></a> <a href="#" style="clear:none;"><span>&#x21D0; Click on this button to add Shaarli to the "Share this page" button in Firefox.</span></a><br><br>
16 {loop="$tools_plugin"}
17 {$value}
18 {/loop}
16 <div class="clear"></div> 19 <div class="clear"></div>
17 20
18 <script> 21 <script>