aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/forms
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-07 21:27:47 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-07 21:27:47 +0000
commit4c9f7458a2c6be523dc98cdb9e94af3242a16b9c (patch)
treea7cc859f6fc16f43b446a49779297f1d3536258b /views/default/tidypics/forms
parent28de8d490b284551867be1153747c29a8d59b13c (diff)
downloadelgg-4c9f7458a2c6be523dc98cdb9e94af3242a16b9c.tar.gz
elgg-4c9f7458a2c6be523dc98cdb9e94af3242a16b9c.tar.bz2
added option for turning off ratings
Diffstat (limited to 'views/default/tidypics/forms')
-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 64e1ed3d1..c5d71409c 100644
--- a/views/default/tidypics/forms/admin.php
+++ b/views/default/tidypics/forms/admin.php
@@ -45,6 +45,11 @@
if(!$download_link) $download_link = "enabled";
$form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download_link') => 'enabled'), 'internalname' => 'download_link', 'value' => $download_link )) . "</p>";
+ // Download Link
+ $photo_ratings = $plugin->photo_ratings;
+ if(!$photo_ratings) $photo_ratings = "disabled";
+ $form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:photo_ratings') => 'enabled'), 'internalname' => 'photo_ratings', 'value' => $photo_ratings )) . "</p>";
+
// Show EXIF
$exif = $plugin->exif;
if(!$exif) $exif = "disabled";