diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-02-25 12:16:53 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-02-25 12:16:53 +0000 |
commit | 4e0c1576475390faa2f1fb4c4dc2902a953f440e (patch) | |
tree | cd3a47df019344d7f6c938ebe31c60cfa9b03677 /views/default/settings | |
download | elgg-4e0c1576475390faa2f1fb4c4dc2902a953f440e.tar.gz elgg-4e0c1576475390faa2f1fb4c4dc2902a953f440e.tar.bz2 |
First commit
Diffstat (limited to 'views/default/settings')
-rw-r--r-- | views/default/settings/tidypics/edit.php | 10 |
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 |