diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-13 15:00:00 +0000 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-13 15:00:00 +0000 |
commit | 5fac8e80de1951ef9c68925001000d74d3c52a8e (patch) | |
tree | cba0180704b66a8ba24350369be36263e76e9ece | |
parent | 13b50610d647e2a6984450f19925d1085d826795 (diff) | |
download | volse-hubzilla-5fac8e80de1951ef9c68925001000d74d3c52a8e.tar.gz volse-hubzilla-5fac8e80de1951ef9c68925001000d74d3c52a8e.tar.bz2 volse-hubzilla-5fac8e80de1951ef9c68925001000d74d3c52a8e.zip |
Issue #739
-rw-r--r-- | mod/profiles.php | 2 | ||||
-rw-r--r-- | view/tpl/profile_hide_friends.tpl | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 910c48743..6ecf7444a 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -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'), diff --git a/view/tpl/profile_hide_friends.tpl b/view/tpl/profile_hide_friends.tpl new file mode 100644 index 000000000..1d748cd4e --- /dev/null +++ b/view/tpl/profile_hide_friends.tpl @@ -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> + |