From 154ed4151a3f0394e6bdefb8650b5908ec916f62 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 31 Jan 2013 20:39:14 -0800 Subject: plugin_settings are now feature_settings --- mod/settings.php | 8 ++------ view/tpl/settings_addons.tpl | 2 +- view/tpl/smarty3/settings_addons.tpl | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/mod/settings.php b/mod/settings.php index a1561e79c..f5501dd95 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -181,11 +181,7 @@ function settings_post(&$a) { if((argc() > 1) && (argv(1) == 'featured')) { check_form_security_token_redirectOnErr('/settings/featured', 'settings_featured'); - - - - - call_hooks('featured_settings_post', $_POST); + call_hooks('feature_settings_post', $_POST); return; } @@ -672,7 +668,7 @@ function settings_content(&$a) { if(! count($r)) $settings_addons = t('No feature settings configured'); - call_hooks('plugin_settings', $settings_addons); + call_hooks('feature_settings', $settings_addons); $tpl = get_markup_template("settings_addons.tpl"); diff --git a/view/tpl/settings_addons.tpl b/view/tpl/settings_addons.tpl index 84171dc8d..9a4f95341 100644 --- a/view/tpl/settings_addons.tpl +++ b/view/tpl/settings_addons.tpl @@ -1,7 +1,7 @@

$title

-
+ $settings_addons diff --git a/view/tpl/smarty3/settings_addons.tpl b/view/tpl/smarty3/settings_addons.tpl index 52b71f1db..b8613bec6 100644 --- a/view/tpl/smarty3/settings_addons.tpl +++ b/view/tpl/smarty3/settings_addons.tpl @@ -6,7 +6,7 @@

{{$title}}

- + {{$settings_addons}} -- cgit v1.2.3