aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-10 12:57:56 +0000
committerCash Costello <cash.costello@gmail.com>2011-07-10 12:57:56 +0000
commitd94bfb36201438a48cbe2c521e28e18232682a51 (patch)
treeefa6b3d3d80fb94d933c88596174fad4bb4d4d5f /views/default/tidypics/forms
parente6f2aab29afb89bc07ff8bd867a9c69f85f1eb21 (diff)
downloadelgg-d94bfb36201438a48cbe2c521e28e18232682a51.tar.gz
elgg-d94bfb36201438a48cbe2c521e28e18232682a51.tar.bz2
admins can turn off flash uploader
Diffstat (limited to 'views/default/tidypics/forms')
-rw-r--r--views/default/tidypics/forms/settings.php7
1 files changed, 7 insertions, 0 deletions
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 .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:view_count') => 'enabled'), 'internalname' => 'view_count', 'value' => $view_count )) . "</p>";
+// Use flash uploader
+$uploader = $plugin->uploader;
+if (!$uploader) {
+ $uploader = "enabled";
+}
+$form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:uploader') => 'enabled'), 'internalname' => 'uploader', 'value' => $uploader )) . "</p>";
+
// Watermark Text
$form_body .= "<p>" . elgg_echo('tidypics:settings:watermark') . "<br />";
$form_body .= elgg_view("input/text",array('internalname' => 'params[watermark_text]', 'value' => $plugin->watermark_text)) . "</p>";