X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fgroup.php;h=4a35912e5d288d126770ffe9dbee351e4a7fc71e;hb=64d0616762efcff413a335f2fdde4d8219d44895;hp=cae76eb6d2c6fdfbcb6f556f49dc4c3c11a6b5ba;hpb=ea04263f52dc30ca21e2bfb61ff41cf4428f69f2;p=friendica.git diff --git a/include/group.php b/include/group.php old mode 100644 new mode 100755 index cae76eb6d2..4a35912e5d --- a/include/group.php +++ b/include/group.php @@ -109,7 +109,7 @@ function group_add_member($uid,$name,$member) { ); if(count($r)) return true; // You might question this, but - // we indicate success because the group was in fact created + // we indicate success because the group member was in fact created // -- It was just created at another time if(! count($r)) $r = q("INSERT INTO `group_member` (`uid`, `gid`, `contact-id`) @@ -166,6 +166,7 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0 $groups[] = array( 'text' => t('Everybody'), + 'id' => 0, 'selected' => (($group_id == 0) ? 'group-selected' : ''), 'href' => $every, ); @@ -209,6 +210,7 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0 $tpl = get_markup_template("group_side.tpl"); $o = replace_macros($tpl, array( '$title' => t('Groups'), + '$edittext' => t('Edit group'), '$createtext' => t('Create a new group'), '$groups' => $groups, '$add' => t('add'),