diff options
-rw-r--r-- | languages/en.php | 3 | ||||
-rw-r--r-- | views/default/settings/tidypics/edit.php | 19 |
2 files changed, 22 insertions, 0 deletions
diff --git a/languages/en.php b/languages/en.php index 61345174b..068616b6d 100644 --- a/languages/en.php +++ b/languages/en.php @@ -29,6 +29,9 @@ 'tidypics:friendmostviewed' => "%s's most viewed images",
'tidypics:friendmostrecent' => "%s's most recent images",
+ //settings
+ 'tidypics:image_lib' => "Image Library",
+
//actions
'album:create' => "Create new album",
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) |