aboutsummaryrefslogtreecommitdiff
path: root/views/default/settings/tidypics/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/settings/tidypics/edit.php')
-rw-r--r--views/default/settings/tidypics/edit.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/views/default/settings/tidypics/edit.php b/views/default/settings/tidypics/edit.php
new file mode 100644
index 000000000..2c63edff8
--- /dev/null
+++ b/views/default/settings/tidypics/edit.php
@@ -0,0 +1,10 @@
+<?php
+ $maxfilesize = $vars['entity']->maxfilesize;
+ if (!$maxfilesize) $maxfilesize = (int) 10240; //set the default maximum file size to 10MB (1024KB * 10 = 10240KB = 10MB)
+
+?>
+<p>
+ <?php echo elgg_echo('tidypics:settings:maxfilesize'); ?>
+
+ <?php echo elgg_view('input/text', array('internalname' => 'params[maxfilesize]', 'value' => $maxfilesize)); ?>
+</p> \ No newline at end of file