aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-04-04 09:31:12 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-04-04 09:31:12 +0200
commit92156cd8403fa1521ecf3c3f9ed3823c03c73dcd (patch)
tree38e7b6573c7162254e56dddcaa1543361ead1dbc /mod/network.php
parentb48e82d12ab3d5ea07f9e8410aacb9c3ae842539 (diff)
parent9b50b0e16f2046b91cb4c734c56024524d8b178b (diff)
downloadvolse-hubzilla-92156cd8403fa1521ecf3c3f9ed3823c03c73dcd.tar.gz
volse-hubzilla-92156cd8403fa1521ecf3c3f9ed3823c03c73dcd.tar.bz2
volse-hubzilla-92156cd8403fa1521ecf3c3f9ed3823c03c73dcd.zip
Merge remote-tracking branch 'friendika-master/master' into iconpopup
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 13ce81abc..42c6c0c29 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -54,6 +54,14 @@ function network_content(&$a, $update = 0) {
}
if(! $update) {
+ if(group) {
+ if(($t = group_public_members($group)) && (! get_pconfig(local_user(),'system','nowarn_insecure'))) {
+ $plural_form = sprintf( tt('%d member', '%d members', $t), $t);
+ notice( sprintf( t('Warning: This group contains %s from an insecure network.'), $plural_form ) . EOL);
+ notice( t('Private messages to this group are at risk of public disclosure.') . EOL);
+ }
+ }
+
$o .= '<script> $(document).ready(function() { $(\'#nav-network-link\').addClass(\'nav-selected\'); });</script>';
$_SESSION['return_url'] = $a->cmd;