X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Ftools.html;h=2df73598173ae522306ae1007ba5188824dcfbd8;hb=495545f2f07f00ead911908d8bee9a572889eced;hp=35173d179144aab4bac64494cd2e4177e13f61f2;hpb=e2bcb9d915fdda15253dd730a6d172323a8e8564;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/tools.html b/tpl/default/tools.html index 35173d17..2df73598 100644 --- a/tpl/default/tools.html +++ b/tpl/default/tools.html @@ -1,5 +1,5 @@ - + {include="includes"} @@ -11,35 +11,41 @@

{'Settings'|t}

+ {if="!$openshaarli"} {/if}
- {'Export database'|t} @@ -78,7 +84,7 @@ alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); } window.open( - '{$pageabsaddr}?post='%20+%20encodeURIComponent(url)+ + '{$pageabsaddr}admin/shaare?post='%20+%20encodeURIComponent(url)+ '&title='%20+%20encodeURIComponent(title)+ '&description='%20+%20encodeURIComponent(desc)+ '&source=bookmarklet','_blank','menubar=no,height=800,width=600,toolbar=no,scrollbars=yes,status=no,dialog=1' @@ -97,7 +103,7 @@ var%20desc=document.getSelection().toString(); if(desc.length>4000){ desc=desc.substr(0,4000)+'...'; - alert("{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}"); + alert('{function="str_replace(' ', '%20', t('The selected text is too long, it will be truncated.'))"}'); } window.open( '{$pageabsaddr}?private=1&post='+ @@ -112,42 +118,28 @@
-{if="$sslenabled"} -
-
-
-

Firefox Social API

-

{'You need to browse your Shaarli over HTTPS to use this functionality.'|t}

- - -
-
-{/if} -