diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-17 01:27:43 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-17 01:27:43 +0000 |
commit | 9eadf21d8a1782f4f77d99826c91d705cade404d (patch) | |
tree | 3d609c2a6e3833560aaaead5156011ca9f985dae /actions/settings.php | |
parent | 4928e46d6b93ccd1256117e08283341bdc224791 (diff) | |
download | elgg-9eadf21d8a1782f4f77d99826c91d705cade404d.tar.gz elgg-9eadf21d8a1782f4f77d99826c91d705cade404d.tar.bz2 |
added another setting - now view counter can be turned on and off
Diffstat (limited to 'actions/settings.php')
-rw-r--r-- | actions/settings.php | 7 |
1 files changed, 6 insertions, 1 deletions
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
|