aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/connections.php3
-rw-r--r--mod/message.php3
-rw-r--r--mod/settings.php2
3 files changed, 8 insertions, 0 deletions
diff --git a/mod/connections.php b/mod/connections.php
index bcb78f138..efdf0fd55 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -32,6 +32,9 @@ function connections_init(&$a) {
function connections_aside(&$a) {
+if (! local_user())
+ return;
+
if(x($a->data,'abook')) {
$a->set_widget('vcard',vcard_from_xchan($a->data['abook'],$a->get_observer()));
}
diff --git a/mod/message.php b/mod/message.php
index 1b4c6ae26..bd2545ea5 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -9,6 +9,9 @@ require_once('include/Contact.php');
function message_aside(&$a) {
+ if (! local_user())
+ return;
+
$a->set_widget('msgaside',replace_macros(get_markup_template('message_side.tpl'), array(
'$tabs'=> array(),
diff --git a/mod/settings.php b/mod/settings.php
index 5f1106be5..ab3ac4f12 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -22,6 +22,8 @@ function settings_init(&$a) {
function settings_aside(&$a) {
+if (! local_user())
+ return;
// default is channel settings in the absence of other arguments