aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-23 18:17:02 -0700
committerFriendika <info@friendika.com>2011-05-23 18:17:02 -0700
commit78b2db3a9840f551c951bf0a58a54cce08133bcf (patch)
tree95ed3bd4e52218640d0c13f9691da5a051be5cd8 /mod/network.php
parent3e6180183bdc01edfa01dc4b966daa4081c29604 (diff)
parentdd32a2366c52f7cd234a562c2d9ab7627f162305 (diff)
downloadvolse-hubzilla-78b2db3a9840f551c951bf0a58a54cce08133bcf.tar.gz
volse-hubzilla-78b2db3a9840f551c951bf0a58a54cce08133bcf.tar.bz2
volse-hubzilla-78b2db3a9840f551c951bf0a58a54cce08133bcf.zip
Merge branch 'fabrixxm-master'
Conflicts: boot.php
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/network.php b/mod/network.php
index 16739b434..f38fb8c21 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -61,8 +61,9 @@ 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( sprintf( tt('Warning: This group contains %s member from an insecure network.',
+ 'Warning: This group contains %s members from an insecure network.',
+ $t), $t ) . EOL);
notice( t('Private messages to this group are at risk of public disclosure.') . EOL);
}
}
@@ -136,7 +137,7 @@ function network_content(&$a, $update = 0) {
}
else {
$contact_str = ' 0 ';
- notice( t('Group is empty'));
+ info( t('Group is empty'));
}
$sql_extra = " AND `item`.`parent` IN ( SELECT `parent` FROM `item` WHERE `id` = `parent` AND ( `contact-id` IN ( $contact_str ) OR `allow_gid` REGEXP '<" . intval($group) . ">' )) ";