aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/group.php5
-rw-r--r--mod/settings.php2
-rw-r--r--view/group_selection.tpl5
-rw-r--r--view/settings.tpl1
4 files changed, 9 insertions, 4 deletions
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 @@
-<select name="group-selection" id="group-selection">
+<div class="field custom">
+<label for="group-selection" id="group-selection-lbl">$label</label>
+<select name="group-selection" id="group-selection" >
{{ for $groups as $group }}
<option value="$group.id" {{ if $group.selected }}selected="selected"{{ endif }} >$group.name</option>
{{ endfor }}
</select>
+</div>
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
<br/>
<div id="settings-default-perms-end"></div>
-<label name="group-selection-lbl" for="group-selection">$group_lbl_select</label>
$group_select