blob: 2e6c481ee9ee13f5dcc6999a4c0916b11631fa05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
p($l->t('Drag this to your bookmarks bar'))
?>
<a class="button"
href="javascript:(function() {
var a=window,
b=document,
c=encodeURIComponent,
d=a.open('<?php print_unescaped(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);
})();">
<?php p($l->t('Subscribe')) ?>
</a>
|