diff --git a/include/group.php b/include/group.php index cc6540b31..854ac06a9 100644 --- a/include/group.php +++ b/include/group.php @@ -172,7 +172,10 @@ function mini_group_select($uid,$gid = 0) { } logger('groups: ' . print_r($grps,true)); - $o = replace_macros(get_markup_template('group_selection.tpl'), array('$groups' => $grps )); + $o = replace_macros(get_markup_template('group_selection.tpl'), array( + '$label' => t('Default privacy group for new contacts'), + '$groups' => $grps + )); return $o; } diff --git a/mod/settings.php b/mod/settings.php index 8c7b1c49c..40fa55eea 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -991,7 +991,7 @@ function settings_content(&$a) { '$suggestme' => $suggestme, '$blockwall'=> $blockwall, // array('blockwall', t('Allow friends to post to your profile page:'), !$blockwall, ''), '$blocktags'=> $blocktags, // array('blocktags', t('Allow friends to tag your posts:'), !$blocktags, ''), - '$group_lbl_select' => t('Default privacy group for new contacts'), + '$group_select' => $group_select, diff --git a/view/group_selection.tpl b/view/group_selection.tpl index d09ba676d..3809cb994 100644 --- a/view/group_selection.tpl +++ b/view/group_selection.tpl @@ -1,5 +1,8 @@ - {{ for $groups as $group }} {{ endfor }} + diff --git a/view/settings.tpl b/view/settings.tpl index e25d67463..556cd3ba3 100644 --- a/view/settings.tpl +++ b/view/settings.tpl @@ -93,7 +93,6 @@ $unkmail
- $group_select