aboutsummaryrefslogtreecommitdiff
path: root/actions
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 /actions
parent28de8d490b284551867be1153747c29a8d59b13c (diff)
downloadelgg-4c9f7458a2c6be523dc98cdb9e94af3242a16b9c.tar.gz
elgg-4c9f7458a2c6be523dc98cdb9e94af3242a16b9c.tar.bz2
added option for turning off ratings
Diffstat (limited to 'actions')
-rw-r--r--actions/settings.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/actions/settings.php b/actions/settings.php
index 23fade8d9..903802dd8 100644
--- a/actions/settings.php
+++ b/actions/settings.php
@@ -25,13 +25,18 @@
set_plugin_setting('download_link', 'enabled', 'tidypics');
else
set_plugin_setting('download_link', 'disabled', 'tidypics');
-
+
if (is_array(get_input('tagging')))
set_plugin_setting('tagging', 'enabled', 'tidypics');
else
set_plugin_setting('tagging', 'disabled', 'tidypics');
- if (is_array(get_input('exif')))
+ if (is_array(get_input('photo_ratings')))
+ set_plugin_setting('photo_ratings', 'enabled', 'tidypics');
+ else
+ set_plugin_setting('photo_ratings', 'disabled', 'tidypics');
+
+ if (is_array(get_input('exif')))
set_plugin_setting('exif', 'enabled', 'tidypics');
else
set_plugin_setting('exif', 'disabled', 'tidypics');