From d94bfb36201438a48cbe2c521e28e18232682a51 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 10 Jul 2011 12:57:56 +0000 Subject: admins can turn off flash uploader --- views/default/tidypics/forms/settings.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'views/default/tidypics') diff --git a/views/default/tidypics/forms/settings.php b/views/default/tidypics/forms/settings.php index c8a1b4bd9..5eae9becc 100644 --- a/views/default/tidypics/forms/settings.php +++ b/views/default/tidypics/forms/settings.php @@ -48,6 +48,13 @@ if (!$view_count) { } $form_body .= '

' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:view_count') => 'enabled'), 'internalname' => 'view_count', 'value' => $view_count )) . "

"; +// Use flash uploader +$uploader = $plugin->uploader; +if (!$uploader) { + $uploader = "enabled"; +} +$form_body .= '

' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:uploader') => 'enabled'), 'internalname' => 'uploader', 'value' => $uploader )) . "

"; + // Watermark Text $form_body .= "

" . elgg_echo('tidypics:settings:watermark') . "
"; $form_body .= elgg_view("input/text",array('internalname' => 'params[watermark_text]', 'value' => $plugin->watermark_text)) . "

"; -- cgit v1.2.3