aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 15:15:30 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 15:15:30 -0400
commit2d8b04169dda48a5dba8503d9943bdeee2c64685 (patch)
tree85a7d4f4b2c64621ba62634fddb6bfd3cfca37a6 /views/default/forms
parent2893bbf881b1bdca005b4751fbb4e7e1c52f31f8 (diff)
downloadelgg-2d8b04169dda48a5dba8503d9943bdeee2c64685.tar.gz
elgg-2d8b04169dda48a5dba8503d9943bdeee2c64685.tar.bz2
watermarking returns
Diffstat (limited to 'views/default/forms')
-rw-r--r--views/default/forms/photos/admin/settings.php4
-rw-r--r--views/default/forms/photos/admin/settings/main.php8
2 files changed, 8 insertions, 4 deletions
diff --git a/views/default/forms/photos/admin/settings.php b/views/default/forms/photos/admin/settings.php
index 2b6399a67..7e9c17ac2 100644
--- a/views/default/forms/photos/admin/settings.php
+++ b/views/default/forms/photos/admin/settings.php
@@ -28,10 +28,6 @@ echo elgg_view('input/submit', array('value' => elgg_echo("save")));
return true;
-// Watermark Text
-$form_body .= "<p>" . elgg_echo('tidypics:settings:watermark') . "<br />";
-$form_body .= elgg_view("input/text",array('internalname' => 'params[watermark_text]', 'value' => $plugin->watermark_text)) . "</p>";
-
// Quota Size
$quota = $plugin->quota;
if (!$quota) {
diff --git a/views/default/forms/photos/admin/settings/main.php b/views/default/forms/photos/admin/settings/main.php
index 349c951f9..352a9c5a1 100644
--- a/views/default/forms/photos/admin/settings/main.php
+++ b/views/default/forms/photos/admin/settings/main.php
@@ -26,3 +26,11 @@ echo elgg_view('input/text', array(
'value' => $plugin->maxfilesize,
));
echo '</div>';
+
+// Watermark Text
+echo '<div>' . elgg_echo('tidypics:settings:watermark');
+echo elgg_view("input/text", array(
+ 'name' => 'params[watermark_text]',
+ 'value' => $plugin->watermark_text,
+));
+echo '</div>';