]> git.mxchange.org Git - friendica.git/blobdiff - include/group.php
Item cache now is one day.
[friendica.git] / include / group.php
old mode 100644 (file)
new mode 100755 (executable)
index cae76eb..4a35912
@@ -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'),