<atype="button"class="bookmarks_addBml"href="javascript:var url = encodeURI(location.href);window.open('<?phpecho(isset($_SERVER['HTTPS'])?'https://':'http://').$_SERVER['HTTP_HOST'].OC_Helper::linkTo('bookmarks','addBm.php');?>?url='+url, 'owncloud-bookmarks');"title="Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.">Bookmarklet</a>
<aclass="bookmarks_addBml"href="javascript:var url = encodeURI(location.href);window.open('<?phpecho(isset($_SERVER['HTTPS'])?'https://':'http://').$_SERVER['HTTP_HOST'].OC_Helper::linkTo('bookmarks','addBm.php');?>?url='+url, 'owncloud-bookmarks');"title="Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.">Add page to ownCloud</a>