Comanche: allow widgets to be class based and stored appropriately in Zotlabs
This commit is contained in:
@@ -174,22 +174,6 @@ function widget_follow($args) {
|
||||
}
|
||||
|
||||
|
||||
function widget_notes($arr) {
|
||||
if(! local_channel())
|
||||
return '';
|
||||
if(! feature_enabled(local_channel(),'private_notes'))
|
||||
return '';
|
||||
|
||||
$text = get_pconfig(local_channel(),'notes','text');
|
||||
|
||||
$o = replace_macros(get_markup_template('notes.tpl'), array(
|
||||
'$banner' => t('Notes'),
|
||||
'$text' => $text,
|
||||
'$save' => t('Save'),
|
||||
));
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
function widget_savedsearch($arr) {
|
||||
|
Reference in New Issue
Block a user