aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/connections.php5
-rw-r--r--mod/message.php1
-rw-r--r--mod/network.php3
-rw-r--r--mod/settings.php5
4 files changed, 14 insertions, 0 deletions
diff --git a/mod/connections.php b/mod/connections.php
index 89c0bcbc0..1b97412d4 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -23,6 +23,11 @@ function connections_init(&$a) {
$a->data['abook'] = $r[0];
}
}
+
+ $channel = $a->get_channel();
+ if($channel)
+ head_set_icon($channel['xchan_photo_s']);
+
}
function connections_aside(&$a) {
diff --git a/mod/message.php b/mod/message.php
index 54615f081..f5a2101ab 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -206,6 +206,7 @@ function message_content(&$a) {
}
$channel = $a->get_channel();
+ head_set_icon($channel['xchan_photo_s']);
$tpl = get_markup_template('mail_head.tpl');
$header = replace_macros($tpl, array(
diff --git a/mod/network.php b/mod/network.php
index aa134eece..0f4b4f7e8 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -7,6 +7,9 @@ function network_init(&$a) {
notice( t('Permission denied.') . EOL);
return;
}
+
+ $channel = $a->get_channel();
+ head_set_icon($channel['xchan_photo_s']);
$is_a_date_query = false;
diff --git a/mod/settings.php b/mod/settings.php
index e830d7070..164a2a8a0 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -580,6 +580,11 @@ function settings_content(&$a) {
return;
}
+
+ $channel = $a->get_channel();
+ if($channel)
+ head_set_icon($channel['xchan_photo_s']);
+
// if(x($_SESSION,'submanage') && intval($_SESSION['submanage'])) {
// notice( t('Permission denied.') . EOL );
// return;