aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/tidypics/forms/admin.php')
-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