aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-01 21:49:01 -0800
committerfriendica <info@friendica.com>2015-01-01 21:49:01 -0800
commit545e47933a0816699c68d98a7742a03260d6a54f (patch)
tree1590e642e1eb48c76dd7c82b4bab4bb93ddf344d /mod/profiles.php
parent0286c5a35b7f6fb0f02e50110deb78ae66a028cf (diff)
parent9d4c4efb5176afe5284bc5c22df277510c64786b (diff)
downloadvolse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.gz
volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.tar.bz2
volse-hubzilla-545e47933a0816699c68d98a7742a03260d6a54f.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index f2695f332..6bdc7f11a 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -596,13 +596,12 @@ function profiles_content(&$a) {
$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'),
- '$no_str' => t('No'),
- '$yes_selected' => (($r[0]['hide_friends']) ? " checked=\"checked\" " : ""),
- '$no_selected' => (($r[0]['hide_friends'] == 0) ? " checked=\"checked\" " : "")
- ));
+ $hide_friends = replace_macros($opt_tpl,array('$field' => array(
+ 'hide-friends',
+ t('Hide your contact/friend list from viewers of this profile?'),
+ $r[0]['hide_friends'],
+ '',
+ )));
$q = q("select * from profdef where true");
if($q) {