access_id; if (get_plugin_setting('maxfilesize','tidypics')) { if (((int) get_plugin_setting('maxfilesize','tidypics')) < 1 || ((int) get_plugin_setting('maxfilesize','tidypics')) > 1048576) { $maxfilesize = 10240; //if file size is less than 1KB or greater than 1GB, default to 10MB } else { $maxfilesize = (int) get_plugin_setting('maxfilesize','tidypics'); } } else { $maxfilesize = 10240; //if the file size limit is not set, default to 10MB } ?>



    ' . elgg_view("input/file",array('internalname' => "upload_$x")) . "\n"; } ?>

'; if ($access_id) echo ''; ?> " onclick="showhide('tidypics_loader');" />

"{$vars['url']}action/tidypics/upload", 'body' => $form_body, 'internalid' => 'tidypicsUpload', 'enctype' => 'multipart/form-data', 'method' => 'post',)); ?>