image_lib; if (!$image_lib) $image_lib = 'GD'; $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 .= '
'; // Image Magick Path $im_path = $plugin->im_path; if(!$im_path) $im_path = "/usr/bin/"; $form_body .= "" . elgg_echo('tidypics:settings:im_path') . "
";
$form_body .= elgg_view("input/text",array('internalname' => 'params[im_path]', 'value' => $im_path)) . "
' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => true), 'internalname' => 'tagging', 'value' => ($tagging=='enabled' ? true : false) )) . "
"; // Download Link $download_link = $download_link; if(!$download_link) $download_link = "enabled"; $form_body .= '' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download_link') => true), 'internalname' => 'download_link', 'value' => ($download_link=='enabled' ? 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:maxfilesize') . "
";
$form_body .= elgg_view("input/text",array('internalname' => 'params[maxfilesize]', 'value' => $maxfilesize)) . "
' . elgg_echo('tidypics:settings:river_view'); $form_body .= elgg_view('input/pulldown', array( 'internalname' => 'params[river_view]', 'options_values' => array( 'all' => 'all', '1' => '1', 'none' => 'none', ), 'value' => $river_view )); $form_body .= '
'; // Thumbnail sizes $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))); echo elgg_view('input/form', array('action' => $action, 'body' => $form_body));