From c40aafcd1aaefc3ba6026b832b36f8f434ac2903 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 3 Apr 2018 11:19:25 +0200 Subject: [PATCH] Backport --- .../serendipity_event_gravatar.php | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/plugins/serendipity_event_gravatar/serendipity_event_gravatar.php b/plugins/serendipity_event_gravatar/serendipity_event_gravatar.php index 46c98627..e3e8fc27 100755 --- a/plugins/serendipity_event_gravatar/serendipity_event_gravatar.php +++ b/plugins/serendipity_event_gravatar/serendipity_event_gravatar.php @@ -49,6 +49,57 @@ class serendipity_event_gravatar extends serendipity_event 'external_plugin' => true, 'css' => true, )); + + $propbag->add('legal', array( + 'services' => array( + 'gravatar' => array( + 'url' => 'https://developers.google.com/recaptcha/', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + 'favatar' => array( + 'url' => 'http://www.peej.co.uk/projects/favatars.html', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + 'pavatar' => array( + 'url' => 'http://www.pavatar.com', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + 'twitter' => array( + 'url' => 'http://www.twitter.com', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + 'identica' => array( + 'url' => 'http://identi.ca', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + 'monsterid' => array( + 'url' => 'http://www.splitbrain.org/go/monsterid', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + 'identicon' => array( + 'url' => 'http://scott.sherrillmix.com/blog/blogger/wp_identicon/', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + 'wavatars' => array( + 'url' => 'http://www.shamusyoung.com/twentysidedtale/?p=1462', + 'desc' => 'Transmits comment data to retrieve unique avatar for a user.' + ), + + ), + 'frontend' => array( + 'To display unique avatar images for blog comments, data specific to the correspondig service is transmitted to retrieve the proper avatar.', + ), + 'backend' => array( + ), + 'cookies' => array( + ), + 'stores_user_input' => true, + 'stores_ip' => false, + 'uses_ip' => true, + 'transmits_user_input' => true + )); + + $configuration = array('longdescription', 'separator'); $config_methods = array(); for ($idx=1; $idx<=PLUGIN_EVENT_GRAVATAR_METHOD_MAX; $idx++) {