From fcbfde4da4a2928e960dc4851a6d44d4353a14c7 Mon Sep 17 00:00:00 2001
From: Cash Costello
Date: Wed, 27 May 2009 01:15:50 +0000
Subject: added action framework for new settings page
---
views/default/tidypics/forms/admin.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'views/default/tidypics/forms')
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 .= "" . elgg_echo('tidypics:settings:watermark') . "
";
- $form_body .= elgg_view("input/text",array('internalname' => 'watermark_text', 'value' => $plugin->$watermark_text)) . "
";
+ $form_body .= elgg_view("input/text",array('internalname' => 'params[watermark_text]', 'value' => $plugin->$watermark_text)) . "
";
// Max Image Size
$form_body .= "" . elgg_echo('tidypics:settings:img_size') . "
";
- $form_body .= elgg_view("input/text",array('internalname' => 'maxfilesize', 'value' => $plugin->$maxfilesize)) . "
";
+ $form_body .= elgg_view("input/text",array('internalname' => 'params[maxfilesize]', 'value' => $plugin->$maxfilesize)) . "";
// Thumbnail sizes
--
cgit v1.2.3