aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms
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 /views/default/tidypics/forms
parent620be743083e3c7c53d71c7686175c8ad341c7cb (diff)
downloadelgg-fcbfde4da4a2928e960dc4851a6d44d4353a14c7.tar.gz
elgg-fcbfde4da4a2928e960dc4851a6d44d4353a14c7.tar.bz2
added action framework for new settings page
Diffstat (limited to 'views/default/tidypics/forms')
-rw-r--r--views/default/tidypics/forms/admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php
index 8006cc69f..7e1c2bf53 100644
--- a/views/default/tidypics/forms/admin.php
+++ b/views/default/tidypics/forms/admin.php
@@ -9,7 +9,7 @@
// 3. clean up and organize
- $action = $vars['url'];// . "action/";
+ $action = $vars['url'] . 'action/tidypics/settings';
$plugin = find_plugin_settings('tidypics');
@@ -37,11 +37,11 @@
// Watermark Text
$form_body .= "<p>" . elgg_echo('tidypics:settings:watermark') . "<br />";
- $form_body .= elgg_view("input/text",array('internalname' => 'watermark_text', 'value' => $plugin->$watermark_text)) . "</p>";
+ $form_body .= elgg_view("input/text",array('internalname' => 'params[watermark_text]', 'value' => $plugin->$watermark_text)) . "</p>";
// Max Image Size
$form_body .= "<p>" . elgg_echo('tidypics:settings:img_size') . "<br />";
- $form_body .= elgg_view("input/text",array('internalname' => 'maxfilesize', 'value' => $plugin->$maxfilesize)) . "</p>";
+ $form_body .= elgg_view("input/text",array('internalname' => 'params[maxfilesize]', 'value' => $plugin->$maxfilesize)) . "</p>";
// Thumbnail sizes