diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-02-19 20:18:27 -0500 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-02-19 20:18:27 -0500 |
commit | 490c9db15da89797eea5c3e30fc9a0790bd60b32 (patch) | |
tree | b431679301f76d46d8fbe387475e48591490c46b /apps/bookmarks/templates | |
parent | 9d2379742b92b223dd2cc171e6a155533cabc889 (diff) | |
download | nextcloud-server-490c9db15da89797eea5c3e30fc9a0790bd60b32.tar.gz nextcloud-server-490c9db15da89797eea5c3e30fc9a0790bd60b32.zip |
Added bookmarklet for browser. Inspired by Google Bookmarks
Diffstat (limited to 'apps/bookmarks/templates')
-rw-r--r-- | apps/bookmarks/templates/list.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/list.php b/apps/bookmarks/templates/list.php index ccfe74f008f..d44a0ecbcdb 100644 --- a/apps/bookmarks/templates/list.php +++ b/apps/bookmarks/templates/list.php @@ -22,4 +22,8 @@ </div> <div class="bookmarks_list"> <?php echo $l->t('You have no bookmarks'); ?> -</div>
\ No newline at end of file +</div> +<div id="footer"> +Bookmark pages more easily. Drag this bookmarklet to the Bookmarks bar of your browser: +<a style='background-color:#dddddd;border:1px groove #999; padding:5px;padding-top:0px;padding-bottom:2px; text-decoration:none; margin-top:5px' href='javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open("<?php echo OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') ?>?output=popup&url="+c(b.location)+"&title="+c(b.title),"bkmk_popup","left="+((a.screenX||a.screenLeft)+10)+",top="+((a.screenY||a.screenTop)+10)+",height=510px,width=550px,resizable=1,alwaysRaised=1");a.setTimeout(function(){d.focus()},300)})();'>ownCloud bookmark</a> +</div> |