From 4c9f7458a2c6be523dc98cdb9e94af3242a16b9c Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 7 Jun 2009 21:27:47 +0000 Subject: added option for turning off ratings --- actions/settings.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'actions/settings.php') 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'); -- cgit v1.2.3