'; echo elgg_view('input/checkbox', array( 'name' => "params[$checkbox]", 'value' => true, 'checked' => (bool)$plugin->$checkbox, )); echo ' ' . elgg_echo("tidypics:settings:$checkbox"); echo ''; } // max image size echo '
'; echo elgg_echo('tidypics:settings:maxfilesize'); echo elgg_view('input/text', array( 'name' => 'params[maxfilesize]', 'value' => $plugin->maxfilesize, )); echo '
'; // Quota Size $quota = $plugin->quota; if (!$quota) { $quota = 0; } echo '
' . elgg_echo('tidypics:settings:quota'); echo elgg_view('input/text', array( 'name' => 'params[quota]', 'value' => $quota, )); echo '
';