+ $opt_tpl = file_get_contents("view/profile-hide-friends.tpl");
+ $hide_friends = replace_macros($opt_tpl,array(
+ '$yes_selected' => (($r[0]['hide-friends']) ? " checked=\"checked\" " : ""),
+ '$no_selected' => (($r[0]['hide-friends'] == 0) ? " checked=\"checked\" " : "")
+ ));
+