aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/settings.php8
-rw-r--r--view/tpl/settings_addons.tpl2
-rw-r--r--view/tpl/smarty3/settings_addons.tpl2
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 @@
<h1>$title</h1>
-<form action="settings/addon" method="post" autocomplete="off">
+<form action="settings/featured" method="post" autocomplete="off">
<input type='hidden' name='form_security_token' value='$form_security_token'>
$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 @@
<h1>{{$title}}</h1>
-<form action="settings/addon" method="post" autocomplete="off">
+<form action="settings/featured" method="post" autocomplete="off">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
{{$settings_addons}}