aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/theme.php
diff options
context:
space:
mode:
authorMichael Vogel <icarus@dabo.de>2012-04-21 19:26:24 +0200
committerMichael Vogel <icarus@dabo.de>2012-04-21 19:26:24 +0200
commit71e2dbf3522dcf076458805ee65dc976fb35a6f3 (patch)
tree5c11d463eff15245458f5033d7d425671df8f1d0 /view/theme/dispy/theme.php
parenta147d6113c081694d4209002fa5e57106d4c6f41 (diff)
parentbdbe068b95e8c302179530dff7583997ff35f246 (diff)
downloadvolse-hubzilla-71e2dbf3522dcf076458805ee65dc976fb35a6f3.tar.gz
volse-hubzilla-71e2dbf3522dcf076458805ee65dc976fb35a6f3.tar.bz2
volse-hubzilla-71e2dbf3522dcf076458805ee65dc976fb35a6f3.zip
Merge commit 'upstream/master'
Diffstat (limited to 'view/theme/dispy/theme.php')
-rw-r--r--view/theme/dispy/theme.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/view/theme/dispy/theme.php b/view/theme/dispy/theme.php
index 125910593..b72de51e5 100644
--- a/view/theme/dispy/theme.php
+++ b/view/theme/dispy/theme.php
@@ -147,14 +147,6 @@ function dispy_community_info() {
$url = $a->get_baseurl($ssl_state);
$aside['$url'] = $url;
- $fpostitJS = "javascript:(function() {"
- . "the_url = '" . $url . "/view/theme/".$a->theme_info['name']."/fpostit/fpostit.php?url=' + encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' + encodeURIComponent(''+(window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text));
- a_funct = function() {
- if (!window.open(the_url, 'fpostit', 'location=yes,links=no,scrollbars=no,toolbar=no,width=600,height=300')) location.href = the_url;};
- if (/Firefox/.test(navigator.userAgent)) {setTimeout(a_funct, 0);}
- else {a_funct();}})()";
-
- $aside['$fpostitJS'] = $fpostitJS;
$tpl = file_get_contents(dirname(__file__) . '/communityhome.tpl');
return $a->page['aside_bottom'] = replace_macros($tpl, $aside);
}