diff -r 58852672ff12 -r 68f8a9cc0a18 plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Wed Jul 09 21:04:51 2008 -0400 +++ b/plugins/SpecialAdmin.php Wed Jul 09 22:40:41 2008 -0400 @@ -341,6 +341,11 @@ setConfig('avatar_enable_anim', ( isset($_POST['avatar_enable_anim']) ? '1' : '0' )); setConfig('avatar_upload_file', ( isset($_POST['avatar_upload_file']) ? '1' : '0' )); setConfig('avatar_upload_http', ( isset($_POST['avatar_upload_http']) ? '1' : '0' )); + setConfig('avatar_upload_gravatar', ( isset($_POST['avatar_upload_gravatar']) ? '1' : '0' )); + if ( in_array($_POST['gravatar_rating'], array('g', 'pg', 'r', 'x')) ) + { + setConfig('gravatar_rating', $_POST['gravatar_rating']); + } if ( is_dir(ENANO_ROOT . '/' . $_POST['avatar_directory']) ) { @@ -497,22 +502,6 @@ - - - -