}
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;
}
'$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,
-<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>
<br/>
<div id="settings-default-perms-end"></div>
-<label name="group-selection-lbl" for="group-selection">$group_lbl_select</label>
$group_select