turn private notes into a feature

This commit is contained in:
friendica
2013-12-09 18:54:50 -08:00
parent d13f693f85
commit 251720bfd3
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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(