]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - tpl/default/tools.html
chmod -x russian translation file
[github/shaarli/Shaarli.git] / tpl / default / tools.html
CommitLineData
402b0346 1<!DOCTYPE html>
cb974e47 2<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
402b0346
A
3<head>
4 {include="includes"}
5</head>
6<body>
7{include="page.header"}
8
9<div class="pure-g">
10 <div class="pure-u-lg-1-3 pure-u-1-24"></div>
11 <div class="pure-u-lg-1-3 pure-u-22-24 page-form page-form-light">
12 <h2 class="window-title">{'Settings'|t}</h2>
13 <div class="tools-item">
9c75f877 14 <a href="{$base_path}/admin/configure" title="{'Change Shaarli settings: title, timezone, etc.'|t}">
402b0346
A
15 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Configure your Shaarli'|t}</span>
16 </a>
17 </div>
18 <div class="tools-item">
1b8620b1 19 <a href="{$base_path}/admin/plugins" title="{'Enable, disable and configure plugins'|t}">
402b0346
A
20 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Plugin administration'|t}</span>
21 </a>
22 </div>
0cf76ccb
A
23 <div class="tools-item">
24 <a href="{$base_path}/admin/server"
25 title="{'Check instance\'s server configuration'|t}">
26 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Server administration'|t}</span>
27 </a>
28 </div>
402b0346
A
29 {if="!$openshaarli"}
30 <div class="tools-item">
9c75f877 31 <a href="{$base_path}/admin/password" title="{'Change your password'|t}">
402b0346
A
32 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Change password'|t}</span>
33 </a>
34 </div>
35 {/if}
36 <div class="tools-item">
9c75f877 37 <a href="{$base_path}/admin/tags" title="{'Rename or delete a tag in all links'|t}">
402b0346
A
38 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Manage tags'|t}</span>
39 </a>
40 </div>
41 <div class="tools-item">
78657347 42 <a href="{$base_path}/admin/import"
402b0346
A
43 title="{'Import Netscape HTML bookmarks (as exported from Firefox, Chrome, Opera, delicious...)'|t}">
44 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Import links'|t}</span>
45 </a>
46 </div>
47 <div class="tools-item">
c70ff64a 48 <a href="{$base_path}/admin/export"
402b0346
A
49 title="{'Export Netscape HTML bookmarks (which can be imported in Firefox, Chrome, Opera, delicious...)'|t}">
50 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Export database'|t}</span>
51 </a>
52 </div>
53
54 {loop="$tools_plugin"}
55 <div class="tools-item">
56 {$value}
57 </div>
58 {/loop}
59 </div>
60
61
62 <div class="clear"></div>
63</div>
64
65<div class="pure-g">
66 <div class="pure-u-lg-1-3 pure-u-1-24"></div>
67 <div class="pure-u-lg-1-3 pure-u-22-24 page-form page-form-light">
68 <h2 class="window-title">Bookmarklets</h2>
69 <p>
70 {'Drag one of these button to your bookmarks toolbar or right-click it and "Bookmark This Link"'|t},
71 {'then click on the bookmarklet in any page you want to share.'|t}
72 </p>
73 <div class="tools-item">
74 <a title="{'Drag this link to your bookmarks toolbar or right-click it and Bookmark This Link'|t},
75 {'then click ✚Shaare link button in any page you want to share'|t}"
b9b41d25 76 class="bookmarklet-link"
402b0346
A
77 href="javascript:(
78 function(){
79 var%20url%20=%20location.href;
80 var%20title%20=%20document.title%20||%20url;
e2bcb9d9
A
81 var%20desc=document.getSelection().toString();
82 if(desc.length>4000){
83 desc=desc.substr(0,4000)+'...';
84 alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}');
85 }
402b0346 86 window.open(
1ab67544 87 '{$pageabsaddr}admin/shaare?post='%20+%20encodeURIComponent(url)+
402b0346 88 '&amp;title='%20+%20encodeURIComponent(title)+
e2bcb9d9 89 '&amp;description='%20+%20encodeURIComponent(desc)+
402b0346
A
90 '&amp;source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'
91 );
92 }
93 )();">
94 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">✚ {'Shaare link'|t}</span>
95 </a>
96 </div>
97 <div class="tools-item">
98 <a title="{'Drag this link to your bookmarks toolbar or right-click it and Bookmark This Link'|t},
99 {'Then click ✚Add Note button anytime to start composing a private Note (text post) to your Shaarli'|t}"
bb8cf6d3 100 class="bookmarklet-link"
101 href="javascript:(
102 function(){
e2bcb9d9
A
103 var%20desc=document.getSelection().toString();
104 if(desc.length>4000){
105 desc=desc.substr(0,4000)+'...';
958fc15f 106 alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}');
e2bcb9d9 107 }
bb8cf6d3 108 window.open(
109 '{$pageabsaddr}?private=1&amp;post='+
e2bcb9d9 110 '&amp;description='%20+%20encodeURIComponent(desc)+
bb8cf6d3 111 '&amp;source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1'
112 );
113 }
114 )();">
402b0346
A
115 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">✚ {'Add Note'|t}</span>
116 </a>
117 </div>
118 </div>
119</div>
120
402b0346
A
121<div class="pure-g">
122 <div class="pure-u-lg-1-3 pure-u-1-24"></div>
123 <div class="pure-u-lg-1-3 pure-u-22-24 page-form page-form-light">
124 <h2 class="window-title">{'3rd party'|t}</h2>
125 <div class="tools-item">
be5db0a5 126 <a href="https://addons.mozilla.org/fr/firefox/addon/shaarli/">
402b0346
A
127 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">Firefox {'plugin'|t}</span>
128 </a>
129 </div>
130 <div class="tools-item">
be5db0a5 131 <a href="https://chrome.google.com/webstore/detail/shiny-shaarli/hajdfkmbdmadjmmpkkbbcnllepomekin">
402b0346
A
132 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">Chrome {'plugin'|t}</span>
133 </a>
134 </div>
135 <div class="tools-item">
be5db0a5 136 <a href="https://play.google.com/store/apps/details?id=com.dimtion.shaarlier&hl=fr">
4de024d7
A
137 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">Android Shaarlier</span>
138 </a>
139 </div>
140 <div class="tools-item">
be5db0a5 141 <a href="https://stakali.toneiv.eu/">
4de024d7 142 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">Android Stakali</span>
402b0346
A
143 </a>
144 </div>
145 <div class="tools-item">
146 <a href="https://itunes.apple.com/app/ShaarliOS/id1027441388?mt=8"
147 title="iOS">
148 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">iOS</span>
149 </a>
150 </div>
151 </div>
152</div>
153
154{include="page.footer"}
b9b41d25
A
155<input type="hidden" id="bookmarklet-alert"
156 value="{'Drag this link to your bookmarks toolbar, or right-click it and choose Bookmark This Link'|t}">
402b0346
A
157</body>
158</html>