aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-05-12 13:52:21 +0000
committerGreg Froese <greg.froese@gmail.com>2009-05-12 13:52:21 +0000
commit36dbbe5be6781b3816283a35054067c99bb5cc10 (patch)
tree134e875f88f0b51067fd7dc3efd603eaf781c149 /views/default
parent7e944576f4bce2fb95718d0a233af438a7bf9cd8 (diff)
downloadelgg-36dbbe5be6781b3816283a35054067c99bb5cc10.tar.gz
elgg-36dbbe5be6781b3816283a35054067c99bb5cc10.tar.bz2
added watermark option and re-enabled the code for watermarks if one is set in settings
Diffstat (limited to 'views/default')
-rw-r--r--views/default/settings/tidypics/edit.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/settings/tidypics/edit.php b/views/default/settings/tidypics/edit.php
index 57c63683f..98f348699 100644
--- a/views/default/settings/tidypics/edit.php
+++ b/views/default/settings/tidypics/edit.php
@@ -26,4 +26,12 @@
<?php echo elgg_echo('tidypics:settings:maxfilesize'); ?>
<?php echo elgg_view('input/text', array('internalname' => 'params[maxfilesize]', 'value' => $maxfilesize)); ?>
+</p>
+<?php
+ $watermark_text = $vars['entity']->watermark_text;
+ if(!$watermark_text) $watermark_text = "";
+?>
+<p>
+ <?php echo elgg_echo('tidypics:settings:watermark'); ?>
+ <?php echo elgg_view('input/text', array('internalname' => 'params[watermark_text]', 'value' => $watermark_text)); ?>
</p> \ No newline at end of file