aboutsummaryrefslogtreecommitdiff
path: root/views/default/settings/tidypics
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-05-17 04:55:17 +0000
committerGreg Froese <greg.froese@gmail.com>2009-05-17 04:55:17 +0000
commit600effcfc450689f3a01788da0fc8ded87bb45ae (patch)
tree799b937012a0cd92bad2fcd8dccb4595f669cae3 /views/default/settings/tidypics
parentfcd9762b51d26998445d7061261d18df70c8941c (diff)
downloadelgg-600effcfc450689f3a01788da0fc8ded87bb45ae.tar.gz
elgg-600effcfc450689f3a01788da0fc8ded87bb45ae.tar.bz2
fixed views topping out at 10 and made the download link an option
Diffstat (limited to 'views/default/settings/tidypics')
-rw-r--r--views/default/settings/tidypics/edit.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/views/default/settings/tidypics/edit.php b/views/default/settings/tidypics/edit.php
index f800d313f..ecfee33bd 100644
--- a/views/default/settings/tidypics/edit.php
+++ b/views/default/settings/tidypics/edit.php
@@ -44,6 +44,28 @@
<?php echo elgg_view('input/text', array('internalname' => 'params[maxfilesize]', 'value' => $maxfilesize)); ?>
</p>
<?php
+ $image_lib = $vars['entity']->image_lib;
+ if (!$image_lib) $image_lib = 'GD';
+?>
+<p>
+ <?php
+ echo elgg_echo('tidypics:settings:download_link');
+ $download_link = $vars['entity']->download_link;
+ if (!$download_link) $download_link = 'yes';
+ ?>
+
+ <?php
+ echo elgg_view('input/pulldown', array(
+ 'internalname' => 'params[download_link]',
+ 'options_values' => array(
+ 'yes' => 'yes',
+ 'no' => 'no',
+ ),
+ 'value' => $download_link));
+ ?>
+</p>
+
+<?php
$watermark_text = $vars['entity']->watermark_text;
if(!$watermark_text) $watermark_text = "";
?>