From 7c2c49d9b10104e0850f536d33588b8216416a45 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sat, 6 Dec 2014 18:42:29 +0100 Subject: [PATCH] added diaspora sharing --- inc/poche/config.inc.default.php | 2 ++ .../_global/img/icons/diaspora-icon--black.png | Bin 0 -> 1555 bytes .../_global/img/icons/diaspora-icon--white.png | Bin 0 -> 612 bytes themes/baggy/view.twig | 1 + 4 files changed, 3 insertions(+) create mode 100644 themes/_global/img/icons/diaspora-icon--black.png create mode 100644 themes/_global/img/icons/diaspora-icon--white.png diff --git a/inc/poche/config.inc.default.php b/inc/poche/config.inc.default.php index 0f88f33..3eaee3a 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 0000000000000000000000000000000000000000..32bca1947d5417dd4c0b8275e131aaa36fc292e5 GIT binary patch literal 1555 zcmV+u2JHEXP)@Hba;M!SxL?4FtanA>&h_;9OkSKsuk*@Dv__g0Zl~NK( zp_IzKxZ1n_Dy4p^lzK7NrL{&WMWfN6-|v^34FCX)F;K=a5bTHEy@6cTOH4TN{|o=F zh@QU>ycWEvRH-)0vI;rep@7)O+Mpl$`jI*EI#+)QlIv8^AC9S zcEBOvyG&SJ4d)z1QBV{G#u&8LGbKrqYF@3L1Y$RU?***kBe3=hz!xVQDR+C~#0hTS zzRjgemzbZQ$6CwY-X8U_x3@=86wJ@hbM4wS?%cUUv)Qb?5{2V+N`jVN5Rt@lVA&W` z#Vbh?0i@k-i-<^36w>K*WNmFt+U>S3pnREa^y&LR?Ip%L)?{896NRlYb^^4 z3uvta9~5O~Dazsopv*IxqT!t5^5x5%Idg^!7cQ{4xX9_#r#X4@By)3f715MZf0$@22DKQ5 zf`YP+yx~J&;!5|gfT<2wYmG66X0yr4$_i2&}=qI({!q4#HxTj z;G@b`lm!>P2OQC9r<4+{wE%MO-aQc!>G%6$t(9J{C%s-zthLhb_eDhH?%lfrh}ODZ z6|MjOk1Wex@E%Zc2wpVCeBg~&VF<>rUcD;LIT;KFG8_(NJRVD{)sj}LCFAk9dOjMB zWNB$>YOR;C&w@379GkcwFaXAww*%U+dq7T|IwjlN+v1#)-Q8Ug5m{Ybt(32>u8N4r z&d!dAh-__b$?@aI>t}=WzrXGQ=ooCm$Iu-K;cTw zGV3tZES!Zvo!|enLsixZw=lZ;;R}t7zVPz!l)P2iO6> zJCY>97!%s^076lQ<7dD-z?;A~fX{!7!ZGj&_#^OppigwU389PZlmNQjF4o%mwM>}Y z5&jAM0Qd~>72tEgJn(66bQ|~(cntiN$^Ef@tpi|ZXQ$$j0l0YaB1exNjR_Qk2tX3x zKfs^8eB20Rn|b4%o13e=pg!UCJZ|BFz~o{QQt!Ey{tqTNwd<4h^Pd0!002ovPDHLk FV1i!J`d$D4 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..fc48d47c4f842d56bf96034c4def0d38b4934fa3 GIT binary patch literal 612 zcmV-q0-ODbP)UJ%bAIQ0&iS2}=iwjIyb@T_;b6ET%jWtk- z^nQrq87R3a^G5g#z64(CHmu@M@FuLr@-{$gc#GG#kDGXyz^-RSIfTvFf?ctKSGEZH z9QW`5Pw+HniRIG5Fw#na{lfW97tNW1RX!Ej>j-U)^c8Kj%bghMLwMXqzn^Reyb^ag zn*neecQfQ)v7xL3`=f808J~_6@5>p_&&q%g;$?=>8rCNC$8+lBVo?Vsa_;t6%5_a< z=+EFtkuRd5*lKBX0oPN8&nVtCIrBbj7W!d1jyDaFJj$7d2U4QH5@Wp-t%*vn<6F#x yJUSivKO-yEP7I?loN7_GinG|+D?hWnO@9EnclW6Qc{% endif %} {% if constant('SHARE_MAIL') == 1 %}
  • {% 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 %}