diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/tidypics/forms/admin.php | 2 | ||||
-rw-r--r-- | views/default/tidypics/forms/upload.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php index 1685f7791..c52348ecc 100644 --- a/views/default/tidypics/forms/admin.php +++ b/views/default/tidypics/forms/admin.php @@ -70,8 +70,10 @@ $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>";
// 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>";
+*/
// Max Image Size
$maxfilesize = $plugin->maxfilesize;
diff --git a/views/default/tidypics/forms/upload.php b/views/default/tidypics/forms/upload.php index d3fc7828d..522a51c4b 100644 --- a/views/default/tidypics/forms/upload.php +++ b/views/default/tidypics/forms/upload.php @@ -7,7 +7,7 @@ $album = get_entity($vars['album']); $access_id = $album->access_id; - $maxfilesize = (int) get_plugin_setting('maxfilesize','tidypics'); + $maxfilesize = (float) get_plugin_setting('maxfilesize','tidypics'); if (!$maxfilesize) $maxfilesize = 5; |