From ac7b07f54be91fd2ce1e2ff8c2ddbc23c71e2345 Mon Sep 17 00:00:00 2001
From: Cash Costello ' . elgg_echo('tidypics:settings:image_lib');
$form_body .= elgg_view('input/pulldown', array(
'internalname' => 'params[image_lib]',
@@ -29,19 +29,46 @@
));
$form_body .= ' " . elgg_echo('tidypics:settings:im_path') . " ' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => true), 'internalname' => 'tagging', 'value' => ($plugin->tagging ? true : false) )) . " ' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => true), 'internalname' => 'tagging', 'value' => ($tagging=='enabled' ? true : false) )) . " ' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download') => true), 'internalname' => 'download_link', 'value' => ($plugin->download_link ? true : false) )) . " ' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download_link') => true), 'internalname' => 'download_link', 'value' => ($download_link=='enabled' ? true : false) )) . " " . elgg_echo('tidypics:settings:watermark') . "
";
+ $form_body .= elgg_view("input/text",array('internalname' => 'params[im_path]', 'value' => $im_path)) . "
";
- $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)) . "
" . 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 -- cgit v1.2.3