summaryrefslogtreecommitdiffstats
path: root/templates/subscribelet.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-01-27 04:15:53 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-01-27 04:15:53 +0100
commitae7393db3d99a7ac223ae917129cccd9f49888e3 (patch)
tree7f54b72b0d01c38afd1378365a67e4f192922423 /templates/subscribelet.php
parent483784caa38bd6131405ac474347a215584e30a5 (diff)
merged the angularjs branch
Diffstat (limited to 'templates/subscribelet.php')
-rw-r--r--templates/subscribelet.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/templates/subscribelet.php b/templates/subscribelet.php
deleted file mode 100644
index d0c5f371d..000000000
--- a/templates/subscribelet.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-
-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);})();">'
- . $l->t('Subscribe') . '</a>';
-}