diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-05-27 01:15:50 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-05-27 01:15:50 +0000 |
commit | fcbfde4da4a2928e960dc4851a6d44d4353a14c7 (patch) | |
tree | fdbd0b274f1b41e0eeb885f79c5adb7840730f34 /actions/settings.php | |
parent | 620be743083e3c7c53d71c7686175c8ad341c7cb (diff) | |
download | elgg-fcbfde4da4a2928e960dc4851a6d44d4353a14c7.tar.gz elgg-fcbfde4da4a2928e960dc4851a6d44d4353a14c7.tar.bz2 |
added action framework for new settings page
Diffstat (limited to 'actions/settings.php')
-rw-r--r-- | actions/settings.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/actions/settings.php b/actions/settings.php new file mode 100644 index 000000000..2c043426f --- /dev/null +++ b/actions/settings.php @@ -0,0 +1,23 @@ +<?php
+ /**
+ * Save settings of Tidypics
+ *
+ */
+
+ global $CONFIG;
+
+ gatekeeper();
+ action_gatekeeper();
+
+ $params = get_input('params');
+
+ foreach ($params as $k => $v) {
+
+ error_log("$k : $v");
+
+ }
+
+ system_message(elgg_echo('tidypics:settings:save:ok'));
+
+ forward($_SERVER['HTTP_REFERER']);
+?>
|