1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-04-02 19:25:18 +02:00

Merge pull request #58 from cnylnk/master

renamed "read later", fixed #56
This commit is contained in:
Jan-Christoph Borchardt 2013-11-19 01:24:25 -08:00
commit c9cc55627e

View File

@ -12,7 +12,7 @@ function bookmarklet(){
$blet .= OCP\Util::linkToAbsolute('bookmarks', 'addBm.php');
$blet .= "?output=popup&url='+c(b.location)+'&title='+e,'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=400px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300);})();";
$help_msg = $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage quickly:');
return '<div class="bkm_hint">'.$help_msg.'</div><br /><a class="button bookmarklet" href="' . $blet . '">' . $l->t('Read later') . '</a>';
return '<div class="bkm_hint">'.$help_msg.'</div><br /><a class="button bookmarklet" href="' . $blet . '">' . $l->t('Add to ownCloud') . '</a>';
}
?>