diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-20 18:24:21 +0100 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-20 18:24:21 +0100 |
commit | 843f5e0fd29577489f14164c2e0e664cc67e36fc (patch) | |
tree | 25caaa7415335e0141aa993793e7886545c9fa96 /templates | |
parent | 97855d5d6aa19bb1b02934b8415fb56651e63304 (diff) |
findAll functions in the itemmapper
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.subscribelet.php~ | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/part.subscribelet.php~ b/templates/part.subscribelet.php~ new file mode 100644 index 000000000..2e6c481ee --- /dev/null +++ b/templates/part.subscribelet.php~ @@ -0,0 +1,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> + |