diff --git a/inc/poche/config.inc.default.php b/inc/poche/config.inc.default.php index 0f88f3352..3eaee3a3e 100755 --- a/inc/poche/config.inc.default.php +++ b/inc/poche/config.inc.default.php @@ -44,6 +44,8 @@ @define ('SHARE_MAIL', TRUE); @define ('SHARE_SHAARLI', FALSE); @define ('SHAARLI_URL', 'http://myshaarliurl.com'); +@define ('SHARE_DIASPORA', FALSE); +@define ('DIASPORA_URL', 'http://diasporapod.com'); # Don't add a / at the end @define ('FLATTR', TRUE); @define ('FLATTR_API', 'https://api.flattr.com/rest/v2/things/lookup/?url='); @define ('NOT_FLATTRABLE', '0'); diff --git a/themes/_global/img/icons/diaspora-icon--black.png b/themes/_global/img/icons/diaspora-icon--black.png new file mode 100644 index 000000000..32bca1947 Binary files /dev/null and b/themes/_global/img/icons/diaspora-icon--black.png differ diff --git a/themes/_global/img/icons/diaspora-icon--white.png b/themes/_global/img/icons/diaspora-icon--white.png new file mode 100644 index 000000000..fc48d47c4 Binary files /dev/null and b/themes/_global/img/icons/diaspora-icon--white.png differ diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index c8196885d..37f1a9847 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig @@ -15,6 +15,7 @@ {% if constant('SHARE_TWITTER') == 1 %}
  • {% trans "Tweet" %}
  • {% endif %} {% if constant('SHARE_MAIL') == 1 %}
  • {% trans "Email" %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} + {% if constant('SHARE_DIASPORA') == 1 %}
  • {% trans "diaspora" %}
  • {% endif %} {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %} ({{ flattr.numFlattrs }})
  • {% endif %}{% endif %} {% if constant('CARROT') == 1 %}
  • Carrot
  • {% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}