diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-05-12 01:48:53 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-05-12 01:48:53 +0000 |
commit | 3eb517748157da5d94efc1e6a58e42a55c7e1d0c (patch) | |
tree | e6dd180901cdf1afdeb903cfb1afad2d7b72cf2c /views/default | |
parent | 501af5b28c7fb2ec36658df16849572c14d050a4 (diff) | |
download | elgg-3eb517748157da5d94efc1e6a58e42a55c7e1d0c.tar.gz elgg-3eb517748157da5d94efc1e6a58e42a55c7e1d0c.tar.bz2 |
Add setting to select between GD and ImageMagick - not using setting yet
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/settings/tidypics/edit.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/views/default/settings/tidypics/edit.php b/views/default/settings/tidypics/edit.php index 2c63edff8..455be9bd3 100644 --- a/views/default/settings/tidypics/edit.php +++ b/views/default/settings/tidypics/edit.php @@ -1,4 +1,23 @@ <?php + $image_lib = $vars['entity']->image_lib; + if (!$image_lib) $image_lib = 'GD'; +?> +<p> + <?php echo elgg_echo('tidypics:image_lib'); ?> + + <?php + echo elgg_view('input/pulldown', array( + 'internalname' => 'params[image_lib]', + 'options_values' => array( + 'weekly' => 'GD', + 'monthly' => 'ImageMagick', + ), + 'value' => $image_lib + )); + ?> +</p> + +<?php $maxfilesize = $vars['entity']->maxfilesize; if (!$maxfilesize) $maxfilesize = (int) 10240; //set the default maximum file size to 10MB (1024KB * 10 = 10240KB = 10MB) |