contact group is now 'channel group'

This commit is contained in:
friendica
2012-10-27 03:54:44 -07:00
parent fb8b44f1b2
commit e29618ee0d
3 changed files with 15 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ function group_post(&$a) {
intval(local_user())
);
if(! count($r)) {
notice( t('Contact group not found.') . EOL );
notice( t('Channel group not found.') . EOL );
goaway($a->get_baseurl() . '/contacts');
return; // NOTREACHED
}
@@ -57,7 +57,7 @@ function group_post(&$a) {
intval($group['id'])
);
if($r)
info( t('Contact group name changed.') . EOL );
info( t('Channel group name changed.') . EOL );
}
$a->page['aside'] = group_side();
@@ -88,7 +88,7 @@ function group_content(&$a) {
return replace_macros($tpl, $context + array(
'$title' => t('Create a group of contacts/friends.'),
'$gname' => array('groupname',t('Contact Group Name: '), '', ''),
'$gname' => array('groupname',t('Channel Group Name: '), '', ''),
'$gid' => 'new',
'$form_security_token' => get_form_security_token("group_edit"),
));
@@ -107,9 +107,9 @@ function group_content(&$a) {
if(count($r))
$result = group_rmv(local_user(),$r[0]['name']);
if($result)
info( t('Contact group removed.') . EOL);
info( t('Channel group removed.') . EOL);
else
notice( t('Unable to remove contact group.') . EOL);
notice( t('Unable to remove channel group.') . EOL);
}
goaway($a->get_baseurl() . '/group');
// NOTREACHED
@@ -134,7 +134,7 @@ function group_content(&$a) {
intval(local_user())
);
if(! count($r)) {
notice( t('Contact group not found.') . EOL );
notice( t('Channel group not found.') . EOL );
goaway($a->get_baseurl() . '/contacts');
}
$group = $r[0];
@@ -174,7 +174,7 @@ function group_content(&$a) {
$context = $context + array(
'$title' => t('Contact Group Editor'),
'$gname' => array('groupname',t('Contact Group Name: '),$group['name'], ''),
'$gname' => array('groupname',t('Channel Group Name: '),$group['name'], ''),
'$gid' => $group['id'],
'$drop' => $drop_txt,
'$form_security_token' => get_form_security_token('group_edit'),
@@ -188,7 +188,7 @@ function group_content(&$a) {
$groupeditor = array(
'label_members' => t('Members'),
'members' => array(),
'label_contacts' => t('All Contacts'),
'label_contacts' => t('All Active Channels'),
'contacts' => array(),
);
@@ -218,7 +218,7 @@ function group_content(&$a) {
}
$context['$groupeditor'] = $groupeditor;
$context['$desc'] = t('Click on a contact to add or remove.');
$context['$desc'] = t('Click on a channel to add or remove.');
if($change) {
$tpl = get_markup_template('groupeditor.tpl');