diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-04 00:01:22 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-04 00:01:22 +0300 |
commit | bc3c047a1636a10ce0c69769ed47c58b69bb5470 (patch) | |
tree | c8aa7d7a1f40d968eb463184ad7c3943b9e68673 /plugins/Installation/FormDefaultSettings.php | |
parent | 67fc32b2c5109cd353824c03c95f35fc7656f803 (diff) |
#5052 #6566 Added a form on the last installation step that plugins can enrich
The PrivacyManager plugins adds 2 settings to that form to let user disable (enabled by default) DoNotTrack and IP anonymization
Diffstat (limited to 'plugins/Installation/FormDefaultSettings.php')
-rw-r--r-- | plugins/Installation/FormDefaultSettings.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/Installation/FormDefaultSettings.php b/plugins/Installation/FormDefaultSettings.php new file mode 100644 index 0000000000..19f24e6cda --- /dev/null +++ b/plugins/Installation/FormDefaultSettings.php @@ -0,0 +1,23 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Plugins\Installation; + +use Piwik\QuickForm2; + +class FormDefaultSettings extends QuickForm2 +{ + public function __construct($id = 'defaultsettingsform', $method = 'post', $attributes = null, $trackSubmit = false) + { + parent::__construct($id, $method, $attributes, $trackSubmit); + } + + public function init() + { + } +} |