aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-05-27 01:15:50 +0000
committerCash Costello <cash.costello@gmail.com>2009-05-27 01:15:50 +0000
commitfcbfde4da4a2928e960dc4851a6d44d4353a14c7 (patch)
treefdbd0b274f1b41e0eeb885f79c5adb7840730f34 /actions
parent620be743083e3c7c53d71c7686175c8ad341c7cb (diff)
downloadelgg-fcbfde4da4a2928e960dc4851a6d44d4353a14c7.tar.gz
elgg-fcbfde4da4a2928e960dc4851a6d44d4353a14c7.tar.bz2
added action framework for new settings page
Diffstat (limited to 'actions')
-rw-r--r--actions/settings.php23
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']);
+?>