From 9eadf21d8a1782f4f77d99826c91d705cade404d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 17 Jun 2009 01:27:43 +0000 Subject: added another setting - now view counter can be turned on and off --- actions/settings.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'actions') diff --git a/actions/settings.php b/actions/settings.php index 903802dd8..ae74b8945 100644 --- a/actions/settings.php +++ b/actions/settings.php @@ -36,11 +36,16 @@ else set_plugin_setting('photo_ratings', 'disabled', 'tidypics'); - if (is_array(get_input('exif'))) + if (is_array(get_input('exif'))) set_plugin_setting('exif', 'enabled', 'tidypics'); else set_plugin_setting('exif', 'disabled', 'tidypics'); + if (is_array(get_input('view_count'))) + set_plugin_setting('view_count', 'enabled', 'tidypics'); + else + set_plugin_setting('view_count', 'disabled', 'tidypics'); + if (is_array(get_input('grp_perm_override'))) set_plugin_setting('grp_perm_override', 'enabled', 'tidypics'); else -- cgit v1.2.3