aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-31 20:39:14 -0800
committerfriendica <info@friendica.com>2013-01-31 20:39:14 -0800
commit154ed4151a3f0394e6bdefb8650b5908ec916f62 (patch)
tree22e53e89bc92dcc0a44e12b8efcab2fbf58623b5
parent24565182a446924e7000fd2110e4cee9a5dcde50 (diff)
downloadvolse-hubzilla-154ed4151a3f0394e6bdefb8650b5908ec916f62.tar.gz
volse-hubzilla-154ed4151a3f0394e6bdefb8650b5908ec916f62.tar.bz2
volse-hubzilla-154ed4151a3f0394e6bdefb8650b5908ec916f62.zip
plugin_settings are now feature_settings
-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}}