aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-17 01:27:43 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-17 01:27:43 +0000
commit9eadf21d8a1782f4f77d99826c91d705cade404d (patch)
tree3d609c2a6e3833560aaaead5156011ca9f985dae /views/default/tidypics
parent4928e46d6b93ccd1256117e08283341bdc224791 (diff)
downloadelgg-9eadf21d8a1782f4f77d99826c91d705cade404d.tar.gz
elgg-9eadf21d8a1782f4f77d99826c91d705cade404d.tar.bz2
added another setting - now view counter can be turned on and off
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/forms/admin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php
index 564b89987..6094a776c 100644
--- a/views/default/tidypics/forms/admin.php
+++ b/views/default/tidypics/forms/admin.php
@@ -55,6 +55,11 @@
if(!$exif) $exif = "disabled";
$form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:exif') => 'enabled'), 'internalname' => 'exif', 'value' => $exif )) . "</p>";
+ // Show EXIF
+ $view_count = $plugin->view_count;
+ if(!$view_count) $view_count = "enabled";
+ $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>";