This commit is contained in:
Thomas Willingham 2014-12-13 15:00:00 +00:00
parent 13b50610d6
commit 5fac8e80de
2 changed files with 18 additions and 1 deletions

View File

@ -585,7 +585,7 @@ function profiles_content(&$a) {
$fields = $profile_fields_basic;
$opt_tpl = get_markup_template("profile-hide_friends.tpl");
$opt_tpl = get_markup_template("profile_hide_friends.tpl");
$hide_friends = replace_macros($opt_tpl,array(
'$desc' => t('Hide your contact/friend list from viewers of this profile?'),
'$yes_str' => t('Yes'),

View File

@ -0,0 +1,17 @@
<p id="hide-friends-text">
{{$desc}}
</p>
<div id="hide-friends-yes-wrapper">
<label id="hide-friends-yes-label" for="hide-friends-yes">{{$yes_str}}</label>
<input type="radio" name="hide-friends" id="hide-friends-yes" {{$yes_selected}} value="1" />
<div id="hide-friends-break" ></div>
</div>
<div id="hide-friends-no-wrapper">
<label id="hide-friends-no-label" for="hide-friends-no">{{$no_str}}</label>
<input type="radio" name="hide-friends" id="hide-friends-no" {{$no_selected}} value="0" />
<div id="hide-friends-end"></div>
</div>