';
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 '
';
// Watermark Text
echo '' . elgg_echo('tidypics:settings:watermark');
echo elgg_view("input/text", array(
'name' => 'params[watermark_text]',
'value' => $plugin->watermark_text,
));
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 '
';