diff options
author | friendica <info@friendica.com> | 2013-01-31 19:28:00 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-31 19:28:00 -0800 |
commit | 24565182a446924e7000fd2110e4cee9a5dcde50 (patch) | |
tree | a18c84ab01c50ccf7ff204cf596eb4812d1a22be /mod/settings.php | |
parent | 982034b87d341c0bbada64b48d8488a5d2ff711c (diff) | |
download | volse-hubzilla-24565182a446924e7000fd2110e4cee9a5dcde50.tar.gz volse-hubzilla-24565182a446924e7000fd2110e4cee9a5dcde50.tar.bz2 volse-hubzilla-24565182a446924e7000fd2110e4cee9a5dcde50.zip |
make addon (featured) settings page work
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/settings.php b/mod/settings.php index 7d8a3c604..a1561e79c 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -60,7 +60,7 @@ function settings_aside(&$a) { array( 'label' => t('Feature settings'), 'url' => $a->get_baseurl(true).'/settings/featured', - 'selected' => ((argv(1) === 'addon') ? 'active' : ''), + 'selected' => ((argv(1) === 'featured') ? 'active' : ''), ), array( @@ -665,20 +665,20 @@ function settings_content(&$a) { return $o; } - if((argc() > 1) && (argv(1) === 'addon')) { + if((argc() > 1) && (argv(1) === 'featured')) { $settings_addons = ""; $r = q("SELECT * FROM `hook` WHERE `hook` = 'plugin_settings' "); if(! count($r)) - $settings_addons = t('No Plugin settings configured'); + $settings_addons = t('No feature settings configured'); call_hooks('plugin_settings', $settings_addons); $tpl = get_markup_template("settings_addons.tpl"); $o .= replace_macros($tpl, array( - '$form_security_token' => get_form_security_token("settings_addon"), - '$title' => t('Plugin Settings'), + '$form_security_token' => get_form_security_token("settings_featured"), + '$title' => t('Feature Settings'), '$settings_addons' => $settings_addons )); return $o; |