summaryrefslogtreecommitdiffstats
path: root/templates/subscribelet.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/subscribelet.php')
-rw-r--r--templates/subscribelet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/subscribelet.php b/templates/subscribelet.php
index 4db1c55e7..d4a8994fc 100644
--- a/templates/subscribelet.php
+++ b/templates/subscribelet.php
@@ -3,6 +3,6 @@
function createSubscribelet() {
$l = OC_L10N::get('news');
echo '<small>' . $l->t('Drag this to your browser bookmarks and click on it whenever you want to subscribe to a webpage quickly:') . '</small>'
- . '<a class="button bookmarklet" href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'' . OCP\Util::linkToAbsolute('news', 'subscribe.php') . '?output=popup&url=\'+c(b.location),\'bkmk_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=150px,width=360px,resizable=1,alwaysRaised=1\');a.setTimeout(function(){d.focus()},300);})();">'
+ . '<a class="button bookmarklet" href="javascript:(function() {var a=window,b=document,c=encodeURIComponent,d=a.open(\'' . OCP\Util::linkToAbsolute('news', 'subscribe.php') . '?output=popup&url=\'+c(b.location),\'bkmk_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=150px,width=360px,resizable=1,alwaysRaised=1\');a.setTimeout(function() {d.focus()},300);})();">'
. $l->t('Subscribe') . '</a>';
}