From 251720bfd32541901b9e845651dbc037b34065e2 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Dec 2013 18:54:50 -0800 Subject: turn private notes into a feature --- include/widgets.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/widgets.php') diff --git a/include/widgets.php b/include/widgets.php index 2e8169bd7..3534c3978 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -140,6 +140,9 @@ function widget_follow($args) { function widget_notes($arr) { if(! local_user()) return ''; + if(! feature_enabled(local_user(),'private_notes')) + return ''; + $text = htmlspecialchars(get_pconfig(local_user(),'notes','text')); $o = replace_macros(get_markup_template('notes.tpl'), array( -- cgit v1.2.3