image_lib; if (!$image_lib) $image_lib = 'GD'; // Image Library $form_body = 'Not functional!!!!!!!
' . elgg_echo('tidypics:settings:image_lib'); $form_body .= elgg_view('input/pulldown', array( 'internalname' => 'params[image_lib]', 'options_values' => array( 'GD' => 'GD', 'ImageMagick' => 'ImageMagick', 'ImageMagick Cmdline' => 'ImageMagick Cmdline', ), 'value' => $image_lib )); $form_body .= '
'; // Tagging $form_body .= '' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => true), 'internalname' => 'tagging', 'value' => ($plugin->tagging ? true : false) )) . "
"; // Download Link $form_body .= '' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download') => true), 'internalname' => 'download_link', 'value' => ($plugin->download_link ? true : false) )) . "
"; // Watermark Text $form_body .= "" . elgg_echo('tidypics:settings:watermark') . "
";
$form_body .= elgg_view("input/text",array('internalname' => 'params[watermark_text]', 'value' => $plugin->$watermark_text)) . "
" . elgg_echo('tidypics:settings:img_size') . "
";
$form_body .= elgg_view("input/text",array('internalname' => 'params[maxfilesize]', 'value' => $plugin->$maxfilesize)) . "