From e64fe182875bd9818b6f15652e684003d93e192b Mon Sep 17 00:00:00 2001 From: lucha <lucha@paranoici.org> Date: Sat, 25 Feb 2012 16:08:38 +0100 Subject: [PATCH] added Privacy Share Buttons plugin --- .../css/socialshareprivacy.css | 69 ++++ .../images/dummy_facebook_like.png | Bin 0 -> 753 bytes .../images/dummy_facebook_recommend.png | Bin 0 -> 1149 bytes .../images/dummy_flattr.png | Bin 0 -> 909 bytes .../images/dummy_gplus.png | Bin 0 -> 724 bytes .../images/dummy_identica.png | Bin 0 -> 3913 bytes .../images/dummy_twitter.png | Bin 0 -> 941 bytes .../images/dummy_xing.png | Bin 0 -> 1232 bytes .../privacy-share-buttons/images/settings.png | Bin 0 -> 658 bytes .../images/socialshareprivacy_info.png | Bin 0 -> 166 bytes .../images/socialshareprivacy_on_off.png | Bin 0 -> 1301 bytes .../privacy-share-buttons/js/jquery.cookie.js | 47 +++ .../js/jquery.cookie.min.js | 10 + .../js/jquery.privacysharebuttons.js | 305 ++++++++++++++++ .../js/jquery.privacysharebuttons.min.js | 1 + .../lang/privacy-share-buttons-it_IT.mo | Bin 0 -> 2497 bytes .../lang/privacy-share-buttons-it_IT.po | 98 +++++ .../libs/identishare.php | 98 +++++ .../libs/identishare/bubble-right.png | Bin 0 -> 3035 bytes .../libs/identishare/bubble.png | Bin 0 -> 573 bytes .../libs/identishare/button.png | Bin 0 -> 1429 bytes .../libs/identishare/share.png | Bin 0 -> 3669 bytes .../privacy-share-buttons.php | 342 ++++++++++++++++++ .../plugins/privacy-share-buttons/readme.txt | 38 ++ .../privacy-share-buttons/uninstall.php | 4 + 25 files changed, 1012 insertions(+) create mode 100755 wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css create mode 100644 wp-content/plugins/privacy-share-buttons/images/dummy_facebook_like.png create mode 100644 wp-content/plugins/privacy-share-buttons/images/dummy_facebook_recommend.png create mode 100644 wp-content/plugins/privacy-share-buttons/images/dummy_flattr.png create mode 100644 wp-content/plugins/privacy-share-buttons/images/dummy_gplus.png create mode 100644 wp-content/plugins/privacy-share-buttons/images/dummy_identica.png create mode 100644 wp-content/plugins/privacy-share-buttons/images/dummy_twitter.png create mode 100644 wp-content/plugins/privacy-share-buttons/images/dummy_xing.png create mode 100755 wp-content/plugins/privacy-share-buttons/images/settings.png create mode 100755 wp-content/plugins/privacy-share-buttons/images/socialshareprivacy_info.png create mode 100755 wp-content/plugins/privacy-share-buttons/images/socialshareprivacy_on_off.png create mode 100644 wp-content/plugins/privacy-share-buttons/js/jquery.cookie.js create mode 100644 wp-content/plugins/privacy-share-buttons/js/jquery.cookie.min.js create mode 100644 wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js create mode 100644 wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js create mode 100644 wp-content/plugins/privacy-share-buttons/lang/privacy-share-buttons-it_IT.mo create mode 100644 wp-content/plugins/privacy-share-buttons/lang/privacy-share-buttons-it_IT.po create mode 100644 wp-content/plugins/privacy-share-buttons/libs/identishare.php create mode 100644 wp-content/plugins/privacy-share-buttons/libs/identishare/bubble-right.png create mode 100644 wp-content/plugins/privacy-share-buttons/libs/identishare/bubble.png create mode 100644 wp-content/plugins/privacy-share-buttons/libs/identishare/button.png create mode 100644 wp-content/plugins/privacy-share-buttons/libs/identishare/share.png create mode 100644 wp-content/plugins/privacy-share-buttons/privacy-share-buttons.php create mode 100644 wp-content/plugins/privacy-share-buttons/readme.txt create mode 100644 wp-content/plugins/privacy-share-buttons/uninstall.php diff --git a/wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css b/wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css new file mode 100755 index 000000000..39d46b6c5 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/css/socialshareprivacy.css @@ -0,0 +1,69 @@ +.social_share_privacy {clear:both; margin:0 auto; width:100%; margin-bottom:15px;} +.social_share_privacy_area {clear:both; margin:20px 0 !important; padding:0; height:25px; width:100%;} +.social_share_privacy_area li {margin:0 !important; padding:0; height:20px; float:left; list-style-type:none !important; list-style:none !important; background:none !important;} +.social_share_privacy_area li .dummy_btn {float:left; margin-left:10px; cursor:pointer; padding:0;} + +/* Facebook begin */ +.social_share_privacy_area .facebook {width: 180px;} +/* Facebook end */ + +/* Identica begin */ +.social_share_privacy_area .identica {width:148px;} +/* identica end */ + +/* Twitter begin */ +.social_share_privacy_area .twitter {width:148px;} +.social_share_privacy_area li div.tweet {width:115px;} +/* Twitter end */ + +/* Google+ begin */ +.social_share_privacy_area .gplus {width:123px;} +.social_share_privacy_area li div.gplusone {width:90px;} +/* Google+ end */ + +/* Flattr begin */ +.social_share_privacy_area .flattr {width:148px;} +.social_share_privacy_area li div.flattrbtn {width:115px;} +/* Flattr end */ + +/* Switch begin */ +.social_share_privacy_area li .switch {display: inline-block; text-indent:-9999em; background:transparent url(../images/socialshareprivacy_on_off.png) no-repeat 0 0 scroll; width:23px; height:12px; overflow:hidden; float:left; margin:4px 0 0; cursor:pointer;} +.social_share_privacy_area li .switch.on {background-position:0 -12px;} +/* Switch end */ + +/* Tooltips begin */ +.social_share_privacy_area li.help_info {position:relative; padding:0 !important; margin:10px 0 !important;} +.social_share_privacy_area li.help_info .info, .social_share_privacy_area li .help_info.icon .info {display:none; position:absolute; bottom:40px; left:-10px; width:290px; padding:10px 15px; font-size:12px; line-height:16px; font-weight:bold; border:1px solid #ccc; -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; -moz-box-shadow:0 3px 4px #999; -webkit-box-shadow:0 3px 4px #999; box-shadow:0 3px 4px #999; background-color:#fdfbec; color:#000; z-index:500;} +.social_share_privacy_area li .help_info.icon .info {left:-150px; width:350px;} +.social_share_privacy_area li.help_info.display .info, .social_share_privacy_area li .help_info.icon.display .info {display:block;} +.social_share_privacy_area li.help_info.info_off.display .info {display:none;} +.social_share_privacy_area li .help_info.icon {background:#fff url(../images/socialshareprivacy_info.png) no-repeat center center scroll; width:25px; height:20px; position:relative; display:inline-block; vertical-align:top; border:2px solid #e7e3e3; border-right-width:0; -moz-border-radius:5px 0 0 5px; -webkit-border-radius:5px 0 0 5px; border-radius:5px 0 0 5px;} +.social_share_privacy_area li.settings_info .settings_info_menu.on .help_info.icon {border-top-width:0; border-left-width:0;} +.social_share_privacy_area li.settings_info .settings_info_menu.perma_option_off .help_info.icon {border-right-width:2px; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;} +/* Tooltips end */ + +/* Settings/Info begin */ +.social_share_privacy_area li.settings_info {position:relative; top:8px; width:135px;} +.social_share_privacy_area li.settings_info a {text-decoration:none; margin:0 !important;} +.social_share_privacy_area li.settings_info .settings_info_menu {background-color:#f3f4f5; border:2px solid #e7e3e3; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; -moz-box-shadow:2px 2px 3px #c1c1c1; -webkit-box-shadow:2px 2px 3px #c1c1c1; box-shadow:3px 3px 3px #c1c1c1; left:0; position:absolute; top:0; width:135px; z-index:10;} +.social_share_privacy_area li.settings_info .settings_info_menu.off {border-width:0; -moz-box-shadow:none; -webkit-box-shadow:none; box-shadow:none; background-color:transparent; } +.social_share_privacy_area li.settings_info .settings_info_menu.off form {display:none;} +.social_share_privacy_area li.settings_info .settings_info_menu .settings {text-indent:-9999em; display:inline-block; background: #fff url(../images/settings.png) no-repeat center center scroll; width:25px; height:20px; border:2px solid #e7e3e3; -moz-border-radius:0 5px 5px 0; -webkit-border-radius:0 5px 5px 0; border-radius:0 5px 5px 0; border-left:1px solid #ddd;} +.social_share_privacy_area li.settings_info .settings_info_menu.on .settings {border-top-width:0;} +.social_share_privacy_area li.settings_info .settings_info_menu form fieldset {border-width: 0; margin:0; padding:0 10px 10px; } +.social_share_privacy_area li.settings_info .settings_info_menu form fieldset legend {font-size:11px; font-weight:bold; line-height:14px; margin:0; padding:10px 0; width:115px; color:#151515;} +.social_share_privacy_area li.settings_info .settings_info_menu form fieldset input {clear:both; float:left; margin:4px 10px 4px 0; width:auto;} +.social_share_privacy_area li.settings_info .settings_info_menu form fieldset label {display:inline-block; float:left; font-size:12px; font-weight:bold; line-height:24px; -moz-transition:color .5s ease-in; -webkit-transition:color .5s ease-in; transition:color .5s ease-in; color:#151515;} +.social_share_privacy_area li.settings_info .settings_info_menu form fieldset label.checked {color:#090;} + + +@media (max-width: 800px) { + .social_share_privacy_area .settings_info {clear: left;} +} + +/* Clearfix (as it will come in WP 3.4) +----------------------------------------------- */ +.clearfix:after {content:"."; display:block; clear:both; visibility:hidden; line-height:0; height:0;} +.clearfix {display:inline-block;} +html[xmlns] .clearfix {display:block;} +* html .clearfix {height:1%;} \ No newline at end of file diff --git a/wp-content/plugins/privacy-share-buttons/images/dummy_facebook_like.png b/wp-content/plugins/privacy-share-buttons/images/dummy_facebook_like.png new file mode 100644 index 0000000000000000000000000000000000000000..e93ff6550cdc192cb9713283a45e229ad471405a GIT binary patch literal 753 zcmV<N0uKF&P)<h;3K|Lk000e1NJLTq001-q000yS1^@s6!qgt!0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU!lSxEDRCwCdS377TVGtfKhmXofWh6O# zH7Z&t1_U8d5eo}J5XIuKu{qE_rIn49;7J;hOBXDJKngoUs*^OLP2vO2N9U`uQg7#n z6%%*Y&80YZVBBGT{(t71Z+8Awbbo*E0DzyAUVyOWH>E$mQa?8~o6T{4elBP<gTdgU z*=*h*AfsBXhRtRpXh4X80%Sx$1dPxD(fRWRG?`3bI-Rnv%VaV*J3BiLK<o9ID3??! z6{M7P-Q)2<I2`_Ofav_c>@viqudlD12Wm7L*1az;FObjY_xukJ4@A*UrBb}|;8NZU zVXG~d%WZ3Avsun6F|`Bg`}IH|@MhnkF5$xvFF?EO7>&jc2WCsS(P)sT)9Ku<k47V? z)oKun#Ypk0)hawbK7vZ6f>0;~R;%^%fI6Md*2aK^LgCGNG#VuVxn5W%hH%jACNmrk zp<FIQB9Q=zL<04CopeSnmxJ+mOx7$G%jW?hh~4&kKkXC>1?PS?hUmVh{l#Jt+-^6y zQ_$CHwFn^eqo9r5VlWuE0db9OJOryli{J0x1H<PI<BCE1BasMDpJL!}I6$dX5<l8F zaA-L_J!L#+?;c{SaJSpt+Iqbnyk0NwVenCgOePay|L*P%lF1~P&1MqcZnwj1HiO&S zTS%wVjPdrSoJb@(2uP>X{nI4EV7*=suCK4RKA+FW2-xLvLA%|Cr>7?Z1iK@X$$(TU zg<voUVzHPp2ihm1D4tWa%1=&C7?UZLO3?53i5-u}NfnP#R;v{}KR+)HzC$z^6s=Z! zwBLNZT5dj{!`0Olv5|5%x{pD4O*y$-4wsjgdsR4ghDM9ULXKln$U<QtS0)Yxq~I5& j-vs^_{12ty{|Ybw0=gmvZk(@%00000NkvXXu0mjfV!Ke6 literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/dummy_facebook_recommend.png b/wp-content/plugins/privacy-share-buttons/images/dummy_facebook_recommend.png new file mode 100644 index 0000000000000000000000000000000000000000..0141a6e420b686d445ef0a292e15d13699b223ee GIT binary patch literal 1149 zcmV-@1cLjCP)<h;3K|Lk000e1NJLTq003J6000yS1^@s6;y6Jd0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU$A4x<(RCwC#SUF21Q4p?O29H2I5>E!N z#A5@mKpaHJ6B9u}(L@9TQ5KZ_2L>hvt_Y(G3u+>w2%31CXh)+a9+9K6feM1h1|E@a ze+4zPZ6BlTB+><M`gOf}RquUO_3HI}Q55AH5&cw~mmCTgDQf%SQh$7znVFuXq$CHD zFwxc3l_wAg{07+WxVSiad3kYA2@@qGB;er&*bKA-cKArJ4TAmr{A@Yl`udt~Zf;D+ zqoboKEiKJK)_?@tkRyA3exCOC_f5wuD=R5AHPu1ZF0z5VU1T30A6t$mCnuZgP>TbN zj*h<K!7*K3U2>j%Dq2}t;b(n){oBa40~^Q3<KtuSxELH9v`iNxes*>?_4f7#c?$~* zw7k4bZEbCzHj)L8cY&>q>a46R+bl3LuCEK~b(6NXwwMP;PE1VD$;k=pZ)|Mj$OnIM zagla*cG$__mz0#y;o%|k5d?S#ALBlskDa=@y2|sxpP89qxw^VKs;#Z%d60!|P-kZ+ z%Zu%vo*w2y4l>9*=*iE|=XG3MT(EtuPSD!g8p}g>N=gdbHw4?RK;jq>IzK<>O=+pM zwUy%I<1GsW7Kcp<ZEtT=OG^un0g&S2V(RYhrrq6LUU)}G2l@Se27F*(fWcT_U#Fs? zB9_NEHZ?mt%bTpJsbQJCygV8j8ltJGDbAk0zCOCWy`|ydVXCgK=Jf**=)@Y}WZ1>} zA%nmIpbrlZtOxzc$w|u1&E-8D92`)8e?RLSA0KC(kilBP2aS!5@!CwmwknWNCIlmB zTC%&R%NU+dPfrXefCez&AyNP;_#l7={?XA9Zzd`#ie=H@cx(ij0V*piqm7LXmIHY_ z9-fODf`++xYS)1|A_HAAjwlwpSP#GiVa>3MF$9I^gp8~oeBb~=UyEtT1riFiV9Tb2 z5D|9A3XDOns;Y|LBO@aj*qof4pp1-3A3F8N51g#$>EE?{eI3#3G}DDvSXju85W*KW zg1}6tm2G+dss-Dqi2*rhy<YFDR!~r2IbZ8Y>0=&J5)pxSq$up9r>8R?kqSPXp(qNc zG}3=$WQ1a4W7+wLH1IK=k&*Gnh89S@Bh1z%eb_xcJ!OCq7;|%TuN+|{zqhx?-y&$} zYvn>dvtd*SV7#|Dnia^VrY4%6o@Sl6qc1Hj(dOnRXFz*<JIj`qmeS?rC7-WI-G+t+ z2D`brneY9GbVMNJ{%2$(fb@1FA|gz6CMG8G9&o)yJ%E#pvh9l+8GqCbyIn4qAy6nF zXJ=>J$2Cox`VNKu1*rz@U)usHKucsh|DlBG3-a#njw&iDf<+Cf^pRu4iR=)remEb? z%gf(*$f1u%c0jG_?wFVu2bD0<{rx?E8v^X_>UHav+B^;{VIx0q{wKfyOQE>PtTNYB P00000NkvXXu0mjfSM?1; literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/dummy_flattr.png b/wp-content/plugins/privacy-share-buttons/images/dummy_flattr.png new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qZm6e=yUz~OLk5rN%ivr#k} z<#VOfKf{<#y4~md`uYlti9~|SIx5z|!GY!^xOHI1zmnYD-O<IxMO2kBq##lS(%;`- zG8ivx>~MQ~d)eLlU!N{zt0F3t-|zp>Bozg$8gBPTx3{+*@gl8s!QEAoB!C64uCD&# jgR@G=I+EJ&e*z2uNaJk}Nj-Q@00000NkvXXu0mjf2$#4{ literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/dummy_gplus.png b/wp-content/plugins/privacy-share-buttons/images/dummy_gplus.png new file mode 100644 index 0000000000000000000000000000000000000000..e26102922d7d2720e8f42cc166aff9cfeb2d500c GIT binary patch literal 724 zcmV;_0xSKAP)<h;3K|Lk000e1NJLTq001BW000yS1^@s6?2$iD0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU!c1c7*RCwCNR=uiXK@5(rV7LC_FNk7c zu@-_hR=2Uya^Jv0u<|XeeFrNoL<ApX#YRLF6!8bGL`6Z}lUZ`eiR1Nhn+>QlNlx<3 zH%X4R$KwI@di{aF__5h+mS3mS2|6MFR4N5_yWOJW`$Qt4))bEf_vv&x_`{F~H*i5G z!){4Rdi<dH{eII%iMe<@9@AIKcDwy;r(oO(*ZdUHMnE`l^w;U>S*~O2q$88bKr)%M z1dvI15Pn7657+nm{V6G}$<FgkCKGTd7zTj<AqoJZL1eN>WG%e1eMdMmiUFeTJISPf zr_+JuatXCs?JWoefbK>Xo7|tzXILy2;PraV%IEjK-|wN-YN_NtpU>3mYKV)22azY| z`}uqh&1Mtw`8*VhMKjRpbb@ZT3!~A<1Qn0REv)h@mWNa|aJ${!QcXeRl??_17>~yg z4u|1#xhN(=q0pCNVn;mHfRtXZ2b;|XuGgzVJRA;THk&Chl}ZI%E*F%`Wr#+j&}cN2 z9s$Tx>*`7|@D2bbHzt<pb37j5a5yORsG}ApJxU}JvCITrd>Y#dz-M&f=}@NADYV;d z$mMcSC=@_GhXsns0)c=<uPZ#>LFOFzN)1pzoj(FZ8v>B_&)Qns1-h~9cDo^)&8i9~ z`nVmh3MCecY3Ir-CY~7JlaUJ++sDU;0>>$)1iRf%?Wq9y{c{lVCFPJ#y58liU~+o( z@(Qn3tLC%lBj2F%P$mE!1G*7QiOKe^&tJ9O(-q*?YPEu3F!=P!eKqfOf!_7Jl=XW3 z&)@j^+3)xN7`g<fRtA4Hs`>u{z9&{?JkDaNRQmN-fB^t)*(L4Vt&=wZ0000<MNUMn GLSTYM)K%30 literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/dummy_identica.png b/wp-content/plugins/privacy-share-buttons/images/dummy_identica.png new file mode 100644 index 0000000000000000000000000000000000000000..638f9686ba1a468fde082fe448ef624e26df1c9a GIT binary patch literal 3913 zcmV-P54P}$P)<h;3K|Lk000e1NJLTq001%o000yS1^@s6&&qC^000U@X+uL$Nkc;* zaB^>EX>4Tx0C?J+Q+HUC_ZB|i_hk=OLfG)Jmu!ImA|tE_$Pihg5Rw34gb)%y#f69p zRumNxoJdu~g4GI0orvO~D7a@qiilc^Ra`jkAKa(4eR}Wh?fcjJyyu+f{LXpL4}cL8 zCXwc%Y5+M>g*-agACFH+#L2yY0u@N$1RxOR%fe>`#Q*^C19^CUbg)1C0k3ZW0swH; zE+i7i;s1lWP$pLZAdvvzA`<5d0gzGv$SzdK6adH=0I*ZDWC{S3003-xd_p1ssto|_ z^hrJi0NAOM+!p}Yq8zCR0F40vnJ7mj0zkU}U{!%qECRs70HCZuA}$2Lt^t5qwlYTo zfV~9(c8*w(4?ti5fSE!p%m5%b0suoE6U_r4Oaq`W(!b!TUvP!ENC5!A%azTSOVTqG zxRuZvck=My;vwR~Y_URN7by^C3FIQ2mzyIKNaq7g&I|wm8u`(|{y0C7=jP<$=4R(? z@ASo@{%i1WB0eGU-~POe0t5gMPS5Y!U*+Z218~Oyuywy{sapWrRsd+<`CT*H37}dE z(0cicc{uz)9-g64$UGe!3JVMEC1RnyFyo6p|1;rl;ER6t{6HT5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~j{*=+o;*n?rKaQYc)L<cG`8_usq^b^WHbG2Hp}$%G$SJ; zP0u5a<FK-_g6Da@Wm)ekl}b;4fB!#X)u?#-^l1_Z2CLR@WvJRnip65-!-o&qYPEX# z(xpqE2dl<WH<QUI$8iR=)|Y|rlv1ri2=y(1_kG`UUAGA2ZQK6cFpTl@=g+(TDuI6i X(;+&yB*F5F00000NkvXXu0mjf_}z!? literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/dummy_twitter.png b/wp-content/plugins/privacy-share-buttons/images/dummy_twitter.png new file mode 100644 index 0000000000000000000000000000000000000000..2a5bc2ff720c266b4bb62fe88c5b45bab71346e5 GIT binary patch literal 941 zcmV;e15*5nP)<h;3K|Lk000e1NJLTq001`t000yS1^@s6DdVNy0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU#Pf0{URCwClR?SOlK@>l!*#|^rL`4vN zElQ)T5Q>OEM50ZBuQovh?)?|yLCY4=qGh#_z-kc@WVKKT(sE&BR#f1kR$_q&eW5;o z2S#ps?e*Y2=-mV7&diy)Gv{}H=bpJmJ3Bi+i0EfV^`smLXLL@Jc{m3K2DCLbHHtwN zi^cRlpU<f&D=X9LbUI3>(~1EHJirC!6a`Ew8URxwIACJtQmNE$7r(r`(8k6FC6h^- znwp~W^78M`Ty9z(9v-sey}iB2+pK+SYl}`!PDrcOvW}0B%K~&b9I^*3EiL_Z=N}#( zP&}x+ySp$rDRZ^8wY0XjM*I8wG&nd&BO@aejYi4u_w)SQ+Z!DpA5$WcAiLe3x8dUA zBDZ^cd)$tWj?!1N<4@)6?2Oy4uCA|vtE#FZjYdO{kB_vwyGs`r7tB!ZcX@t(PFGh~ zgeyeu8WHQo-lwOh+?q@#ZkLyrnf=DbM!LPdrBEoubE~VXd^Y+M6BC?0&(F_n$GZ0R zc76|nOoA8;2Hq!ERB!?g2(7ED%Q^swL?RRphh-zPva-SlNZ%JK3Y8c)G&GRc>*fB< z%?$$(?*e#rbu|N+ot>qHg@vs1m|tICr~dwawxe~s-AqDTTN^9-a_7qyl%}R8s;sP} zcs%}TB}J}dbGekuWv;%yp4<ETdu9nvA}cVDv0krdhPJo2c^&!)z|hbT&tn`21bFW5 z?v7?=W*8Ktq@+aF2ibeBr>BQ)E|-g|qnuP!RB+l97Z-mT0O_0nB%Fh@V6C;al}bxX znLUfel3fp*cwcHqU%GFh^Hn0cPft$_M9>QMP+STL3WZv&mQ6{yw1jqcb}|dFBQpT% z=;(;;&CSis6xN{+;DTAOih#h5>UeN)Q1A?)9|{U+_jo*9Oi&TA88*s`hDt?NtCfsK z<EIrcH!UFm1Zin$VS7hM2Lk{&jBPd>ZEkLIps{9bY>e$@vzdz<t|_oPJw2VR4^F3( z_wDQJ%k!Zq^Kqu(C<Kwi2G`fuJO(pTP^d`5!^0fG?=Hb$@Z&d!s7y{ye(BfdzxcQO zR~PKJ{QXiCxJ>a#W>k%mt`vEHe@9VFg1NcN%gcFOgi4Xu*H<)izXTWn`UEu}K8Bzz P00000NkvXXu0mjfg)_2n literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/dummy_xing.png b/wp-content/plugins/privacy-share-buttons/images/dummy_xing.png new file mode 100644 index 0000000000000000000000000000000000000000..608a51388a96ac07b4cc25a00c48fa6accb1fa1b GIT binary patch literal 1232 zcmV;>1TXuEP)<h;3K|Lk000e1NJLTq001`t000yS1^@s6DdVNy0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU$a!Eu%RCwClSl3D<Q4lT1EGlM4M@B_a zL=fX*UUNVn6a{}^KVV?L!I%AjRiE~C5m6K|yMhsOz?@MB6QW{{vwdp0O*_-0uR9i$ zbNlwaed|;>)vev|@bFh6`XT8T`aJSSQiFr^=XX?8l-AGB@6#YVIy%bR-roKRa9Uqq zUox3YHV2}ip@B9wHpto8nQCim<#{hJFZ}2M&L)A)&d$=@+#HVqPKiN`|4VSN=jG*v z$M*L2WM^mh=K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n_sYx5*-%6e z42XW2o}RAibr2Jxi(lnDNCjs=CMG7hC8_O~Yg~F8F~KXgB53HyDhS@5&^OHmQQzI& z-LqPA|Eq#sMNQ+4N&2*TzvgV|s{rhY^hB=&2!O-;rL{h1lvq(G7|j+WB_)N`9E=dW u`+^q%?wiygf8nF`6aAZEP15gw1sDLK8v$!UEz=GF0000<MNUMnLSTXeo=v9! literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/settings.png b/wp-content/plugins/privacy-share-buttons/images/settings.png new file mode 100755 index 0000000000000000000000000000000000000000..3016b7bd4085833db1df41e405ef4facf120d6ed GIT binary patch literal 658 zcmV;D0&V??P)<h;3K|Lk000e1NJLTq000jF000jN1^@s6JJyv-0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU!G)Y83RCwBKlCf_RaTLeDzoVnaWC!UV zz$Gd|%XN~|1GgHfiAilOQ5SWy6^%=mnhvE#O`BK~Tc<kMl$e4M(<TLD6%sJs;y|$r z19bL|vG#nw9|t|6FZuAe-@W&H-}eRBwyh8)VvbNj5jYc68jZ$JdKMJF6&KH*4#@PK zGfJd+y+pN-37HrrmbCL1)0ETM%m;L0cJ@h(Qfd9&`V!?iLgDp&^pPP{r%u)`Xi7Gd z#oF3iRLW(TmW5`cDPBgjh>GK|_~ad;+C4E%*!GdgmCASQRrl!GhJ9qiG%Z&zmRWnp zbBp0{I3~*{kk1#|uWX1WcX+*C#IMFt$bZJcLGv0*K6t2XZ*8Z$6;6{ntU^`8LUwjD z3#(;;F^OOVc-~~(%?$0hFuwrvw<-D+#gC2m8{PW~q-J_5*=d5V>qtIIg71uY{0jVj zf44Y#DcU1fkLr*lMo5B*$#M96r_kpvV(qJ8S*@OCi=^|WwqydrDtHo!ggSBk#z3uB z6FYf466*Cj0)YVC?h}pApS{5TuYE9n0g=mnBInJ9<94t_vScw?C~zAiIf~#+brgc7 zgzQ_lZ<a%$V2n??d*>cnt=4~=MlO$FYWhBMA9Fa_-(TTw577BmXTO!#t5{um^Y0|0 zSo-R=Vu!mu={_+GgZ5$w4-H}Y)k~zFro^5SDcSw9>n@E+=#7f;!<dm6tB#G2VQ?@6 sO^aYyRW1IfI6V9_!_Dvf2!90_0Ay6+M}r#{h5!Hn07*qoM6N<$g1Nad-v9sr literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/socialshareprivacy_info.png b/wp-content/plugins/privacy-share-buttons/images/socialshareprivacy_info.png new file mode 100755 index 0000000000000000000000000000000000000000..6d705703452ae6352d4151917f782d37c764eaa4 GIT binary patch literal 166 zcmeAS@N?(olHy`uVBq!ia0vp^{2<K11|+SoP4xm&k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5XJUm?-Ln>}1{rUgjo_S{j>vWdICv|qL{C|FlVN&qnBMyuU zJdBl9>z18J6RTl#Eox{Kc@$(*;Z)s`b<9KM#v-opDS=ZCF);Bk=oHA5ACcSt31}vR Mr>mdKI;Vst0106?k^lez literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/images/socialshareprivacy_on_off.png b/wp-content/plugins/privacy-share-buttons/images/socialshareprivacy_on_off.png new file mode 100755 index 0000000000000000000000000000000000000000..8e9e725298455777a11e11bd504a3434b3673396 GIT binary patch literal 1301 zcmV+w1?u{VP)<h;3K|Lk000e1NJLTq000*N000;W1^@s65qxHK0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU$w@E}nRCwBqRb5P5bre7M_V)I+y=`eb zHfl$^70MFIz~E#rJeZga2r)4RUKZa?7WF}WU$*$NCu58=fd>*F%m@!ACMKG=$}At- zw8~hd9YQuL*biuFOX+Rt$Mu~5D6|YGCpqc8|Npt?{Lb%ul>6%TZ6K*sD*E~R_diip z^*yWAdPYFWWHJyAhanUS!Eu7N!1H{`U@$DB?T>qVd!LJ<7}09A>|WTn>wL7h_`qZ` z$wNa!;BvVDKY*Q`9avpmg+L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-9bFZ zt@BPt^Bt4L4w7s|I?N#G^f-;ebHoj8$bq7Bop=Y~r&GKr@VC0$mK4#z^8!ZH9C3Om zdBX)b$qtHcrthJ7knNU^SA<LXc=kc5m~F1`>VAK}C<TxqT4@E`LGWKY=;=l(jHYkY zkN?xZe)l`t&bdCzRy6NcRo+_PCH0a<O(NZipC5u*H;={BLB4>07Q2;XHebGhu)a7L z|0BEQL(*(?$%cr|b8tL8In)Fzu?nY}<kN{{X8MBn{0qC~UjYUHP~nw!TB`}b00000 LNkvXXu0mjf{0(zp literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/js/jquery.cookie.js b/wp-content/plugins/privacy-share-buttons/js/jquery.cookie.js new file mode 100644 index 000000000..6d5974a2c --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/js/jquery.cookie.js @@ -0,0 +1,47 @@ +/*! + * jQuery Cookie Plugin + * https://github.com/carhartl/jquery-cookie + * + * Copyright 2011, Klaus Hartl + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://www.opensource.org/licenses/mit-license.php + * http://www.opensource.org/licenses/GPL-2.0 + */ +(function($) { + $.cookie = function(key, value, options) { + + // key and at least value given, set cookie... + if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) { + options = $.extend({}, options); + + if (value === null || value === undefined) { + options.expires = -1; + } + + if (typeof options.expires === 'number') { + var days = options.expires, t = options.expires = new Date(); + t.setDate(t.getDate() + days); + } + + value = String(value); + + return (document.cookie = [ + encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value), + options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE + options.path ? '; path=' + options.path : '', + options.domain ? '; domain=' + options.domain : '', + options.secure ? '; secure' : '' + ].join('')); + } + + // key and possibly options given, get cookie... + options = value || {}; + var decode = options.raw ? function(s) { return s; } : decodeURIComponent; + + var pairs = document.cookie.split('; '); + for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) { + if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined + } + return null; + }; +})(jQuery); diff --git a/wp-content/plugins/privacy-share-buttons/js/jquery.cookie.min.js b/wp-content/plugins/privacy-share-buttons/js/jquery.cookie.min.js new file mode 100644 index 000000000..589d67239 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/js/jquery.cookie.min.js @@ -0,0 +1,10 @@ +/*! + * jQuery Cookie Plugin + * https://github.com/carhartl/jquery-cookie + * + * Copyright 2011, Klaus Hartl + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://www.opensource.org/licenses/mit-license.php + * http://www.opensource.org/licenses/GPL-2.0 + */ +(function(a){a.cookie=function(g,f,k){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(f))||f===null||f===undefined)){k=a.extend({},k);if(f===null||f===undefined){k.expires=-1}if(typeof k.expires==="number"){var h=k.expires,j=k.expires=new Date();j.setDate(j.getDate()+h)}f=String(f);return(document.cookie=[encodeURIComponent(g),"=",k.raw?f:encodeURIComponent(f),k.expires?"; expires="+k.expires.toUTCString():"",k.path?"; path="+k.path:"",k.domain?"; domain="+k.domain:"",k.secure?"; secure":""].join(""))}k=f||{};var b=k.raw?function(i){return i}:decodeURIComponent;var c=document.cookie.split("; ");for(var e=0,d;d=c[e]&&c[e].split("=");e++){if(b(d[0])===g){return b(d[1]||"")}}return null}})(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js new file mode 100644 index 000000000..13f9d7d67 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.js @@ -0,0 +1,305 @@ +/* + * jQuery Privacy Share Buttons plugin + * + * ideas, original code and images taken from: + * http://www.heise.de/extras/socialshareprivacy/ + * Copyright (c) 2011 Hilko Holweg, Sebastian Hilbig, Nicolas Heiringhoff, Juergen Schmidt, + * Heise Zeitschriften Verlag GmbH & Co. KG, http://www.heise.de + * + * Copyright (c) 2012 lucha <lucha@paranoici.org> + * + * released under the terms of either the MIT License or the GNU General Public License (GPL) Version 2 + */ +;(function($) { + +var SocialButton = function(elements, options){ + + this.elements = elements; + this.options = $.extend(true, {}, this.defaults, options); + + if (!this.is_on()) + return; + + this.append_css(); + this.attach(); + +}; SocialButton.prototype = { + // defalt values for options + defaults : { + 'info_link' : 'http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html', + 'txt_help' : 'When you activate these buttons by clicking on them, some of your personal data will be transferred to third parties and can be stored by them. For more information click on the <em> i </em>', + 'settings_perma' : 'Permanently enable data transfer for:', + 'css_path' : '', + 'uri' : '', + 'cookie_options' : { + 'path' : '/', + 'expires' : 365 + }, + 'services' : { + 'facebook' : { + 'display_name' : 'Facebook', + 'status' : 'off', + 'perma' : 'on', + 'txt_info' : '2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Facebook. When enabled, data will be transferred to third parties - see <em> i </em>.', + 'txt_off' : 'not connected with Facebook', + 'txt_on' : 'connected with Facebook', + 'dummy_img' : '', + 'action' : 'recommend', + 'iframe_src' : function (options){ + return '<iframe src="//www.facebook.com/plugins/like.php?href=' + + options.uri + + '&send=false&layout=button_count&width=100&show_faces=false' + + '&action=' + options.services.facebook.action + + '&colorscheme=light&font&height=21" scrolling="no" frameborder="0" ' + + 'style="border:none; overflow:hidden; width:130px; height:25px;" allowTransparency="true"></iframe>'; + } + }, + 'twitter' : { + 'display_name' : 'Twitter', + 'status' : 'off', + 'perma' : 'on', + 'txt_info' : '2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Twitter. When enabled, data will be transferred to third parties - see <em> i </em>.', + 'txt_off' : 'not connected with Twitter', + 'txt_on' : 'connected with Twitter', + 'dummy_img' : '', + 'reply_to' : '', + 'text' : encodeURIComponent(document.title), + 'iframe_src' : function(options){ + var reply_to = (options.services.twitter.reply_to != '') ? '&via=' + options.services.twitter.reply_to : ''; + + return '<iframe allowtransparency="true" frameborder="0" scrolling="no" ' + + 'src="http://platform.twitter.com/widgets/tweet_button.html?' + + 'url=' + options.uri + '&counturl=' + options.uri + + '&text=' + options.services.twitter.text + + reply_to + + '&count=horizontal' + + '&lang=' + options.services.twitter.language + + '" style="width:100px; height:25px;"></iframe>'; + } + }, + 'identica' : { + 'display_name' : 'Identi.ca', + 'status' : 'off', + 'perma' : 'on', + 'txt_info' : '2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Identi.ca. When enabled, data will be transferred to third parties - see <em> i </em>.', + 'txt_off' : 'not connected with Identi.ca', + 'txt_on' : 'connected with Identi.ca', + 'dummy_img' : '', + 'text' : encodeURIComponent(document.title), + 'identica_lib' : '', + 'iframe_src' : function(options){ + return '<iframe scrolling="no" frameborder="0" src="' + + options.services.identica.identica_lib + + '?noscript&style2' + + '&title=' + options.services.identica.text + + '" allowtransparency="true" style="width:130px; height:25px; position: absolute;"></iframe>'; + } + }, + 'gplus' : { + 'display_name' : 'Google+', + 'status' : 'off', + 'perma' : 'on', + 'txt_info' : '2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Google+. When enabled, data will be transferred to third parties - see <em> i </em>.', + 'txt_off' : 'not connected with Google+', + 'txt_on' : 'connected with Google+', + 'dummy_img' : '', + 'language' : 'en', + 'iframe_src' : function(options){ + var gplusdiv = $('<div class="g-plusone" data-size="medium"></div>'); + var gplusjs = '<script type="text/javascript">window.___gcfg = {lang: "' + options.services.gplus.language + + '"}; (function() { var po = document.createElement("script"); po.type = "text/javascript";' + + 'po.async = true; po.src = "https://apis.google.com/js/plusone.js";' + + ' var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); </script>'; + return gplusdiv.append(gplusjs); + } + }, + 'flattr' : { + 'display_name' : 'Flattr', + 'status' : 'off', + 'perma' : 'on', + 'txt_info' : '2 click for more privacy: only if you click here, the button will activate and you will be able to send yout recommendation to Flattr. When enabled, data will be transferred to third parties - see <em> i </em>.', + 'txt_flattr_off' : 'not connected with Flattr', + 'txt_flattr_on' : 'connected with Flattr', + 'dummy_img' : '', + 'iframe_src' : function(){return '';} + }, + 'xing' : { + 'display_name' : 'Xing', + 'status' : 'off', + 'perma' : 'on', + 'txt_info' : '2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Xing. When enabled, data will be transferred to third parties - see <em> i </em>.', + 'txt_gplus_off' : 'not connected with Xing', + 'txt_plus_on' : 'connected with Xing', + 'dummy_img' : '', + 'xing_lib' : '', + 'iframe_src' : function(){return '';} + } + } + }, + + // let's check if at least one service is active + is_on : function(){ + var is_on = false; + for (var name in this.options.services){ + var serv = this.options.services[name]; + if (serv.status == 'on'){ + is_on = true; + break; + } + } + return is_on; + }, + + // let's check if we have to show the settings area + perma_is_on : function(){ + var perma_is_on = false; + for (var name in this.options.services){ + var serv = this.options.services[name]; + if (serv.status == 'on' && serv.perma == 'on'){ + perma_is_on = true; + break; + } + } + // IE7 has problems with cookies and JSON, so we don't show them the settings area + return perma_is_on && (!$.browser.msie || ($.browser.msie && ($.browser.version > 7.0))); + }, + + // adds CSS to head if we have to do so + append_css : function(){ + // insert stylesheet into document and prepend target element + if (this.options.css_path.length > 0) { + // IE fix (needed for IE < 9 - but this is done for all IE versions) + if (document.createStyleSheet) { + document.createStyleSheet(options.css_path); + } else { + $('head').append('<link rel="stylesheet" type="text/css" href="' + options.css_path + '" />'); + } + } + }, + + dummy_image : function(service){ + return $('<img/>', { + src : service.dummy_img, + alt : service.display_name + ' Dummy Image', + "class" : 'dummy_img' + }); + }, + + switch_button : function(service, element){ + var c_switch = $('.switch',$(element)); + var dummy_div = $('div.dummy_btn',$(element)); + + if (c_switch.hasClass('off')){ + $(element).addClass('info_off'); + c_switch.addClass('on').removeClass('off').html(service.txt_on); + dummy_div.html(service.iframe_src(this.options)); + } else { + $(element).removeClass('info_off'); + c_switch.addClass('off').removeClass('on').html(service.txt_off); + dummy_div.html(this.dummy_image(service)); + } + }, + + attach : function(){ + var self = this; + this.elements.each( function(){ + // contex will hold all the button, whether active or not, and the info and setting area + var context = $('<ul class="social_share_privacy_area"></ul>').appendTo(this); + + // let's add the single buttons + for (var name in self.options.services){ + var serv = self.options.services[name]; + if (serv.status != 'on') + continue; + + var iframe = serv.iframe_src(self.options); + + var container = $('<li class="help_info '+name +'"><span class="info">' + serv.txt_info + '</span></li>').appendTo(context); + + $('<span class="switch off">' + serv.txt_off + '</span>').appendTo(container); + var dummy_div = $('<div class="dummy_btn"></div>').appendTo(container); + dummy_div.append(self.dummy_image(serv)); + + container.click( {serv:serv, element:container}, function(event){ + self.switch_button(event.data.serv,event.data.element); + }); + } + + // now it's time for the info area + var container = $('<li class="settings_info">' + +'<div class="settings_info_menu off perma_option_off">' + + '<a href="'+ self.options.info_link +'">' + + '<span class="help_info icon">' + + '<span class="info">' + self.options.txt_help + '</span>' + + '</span></a>' + + '</div></li>' + ).appendTo(context); + + // show the overlays of the buttons and info area + $('.help_info').each(function(){ + $(this).mouseenter(function() { + if(!$(this).hasClass('info_off')) + $('.info',this).show(); + }); + $(this).mouseleave(function() { $('.info',this).hide();}); + }); + + // and finally it's time for the settings area (i.e. permanent activation) + if (self.perma_is_on()){ + var info_menu = container.find('.settings_info_menu').removeClass('perma_option_off'); + $('<span class="settings">Settings</span><form><fieldset><legend>' + self.options.settings_perma + '</legend></fieldset></form>').appendTo(info_menu); + + for (var name in self.options.services){ + var serv = self.options.services[name]; + // first let's check if we have the perma option activated + if (!(serv.status == 'on' && serv.perma=='on')) + continue; + + // let's get the cookie and check if we have to activate the button + var checked = ($.cookie('privacyShareButtons_'+name) == 'perma_on') ? 'checked="checked"' : ''; + info_menu.find('form fieldset').append( + '<input type="checkbox" name="perma_status_'+name+'" id="perma_status_' + name + '" ' + + checked +' />' + + '<label for="perma_status_'+name+'">' + + serv.display_name + '</label>'); + + // if it's need, let's click the button so it gets activated + if (checked != '') + $('li.'+name+' span.switch',context).click(); + } + + info_menu.find('span.settings').css('cursor', 'pointer'); + // show the overlay of the setting area + info_menu.find('span.settings').mouseenter(function(){ + info_menu.removeClass('off').addClass('on'); + }); + container.mouseleave(function(){ + info_menu.removeClass('on').addClass('off'); + }); + + // let's handle changes in the settings + $(info_menu.find('fieldset input')).click( function (event) { + var click = event.target.id; + var service = click.substr(click.lastIndexOf('_') + 1, click.length); + var cookie_name = 'privacyShareButtons_' + service; + + if ($('#' + event.target.id + ':checked').length) { + $.cookie(cookie_name,'perma_on',self.options.cookie_options); + $('form fieldset label[for=' + click + ']', context).addClass('checked'); + } else { + $.cookie(cookie_name,null,self.options.cookie_options); + $('form fieldset label[for=' + click + ']', context).removeClass('checked'); + } + }); + } + }); + } + +} + +$.fn.socialShareButtons = function(options){ + new SocialButton(this, options); + return this; +} +$(document).ready($(".social_share_privacy").socialShareButtons(socialshareprivacy_settings)); +})(jQuery); diff --git a/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js new file mode 100644 index 000000000..130a31495 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/js/jquery.privacysharebuttons.min.js @@ -0,0 +1 @@ +(function(b){var a=function(d,c){this.elements=d;this.options=b.extend(true,{},this.defaults,c);if(!this.is_on()){return}this.append_css();this.attach()};a.prototype={defaults:{info_link:"http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html",txt_help:"When you activate these buttons by clicking on them, some of your personal data will be transferred to third parties and can be stored by them. For more information click on the <em> i </em>",settings_perma:"Permanently enable data transfer for:",css_path:"",uri:"",cookie_options:{path:"/",expires:365},services:{facebook:{display_name:"Facebook",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Facebook. When enabled, data will be transferred to third parties - see <em> i </em>.",txt_off:"not connected with Facebook",txt_on:"connected with Facebook",dummy_img:"",action:"recommend",iframe_src:function(c){return'<iframe src="//www.facebook.com/plugins/like.php?href='+c.uri+"&send=false&layout=button_count&width=100&show_faces=false&action="+c.services.facebook.action+'&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:130px; height:25px;" allowTransparency="true"></iframe>'}},twitter:{display_name:"Twitter",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Twitter. When enabled, data will be transferred to third parties - see <em> i </em>.",txt_off:"not connected with Twitter",txt_on:"connected with Twitter",dummy_img:"",reply_to:"",text:encodeURIComponent(document.title),iframe_src:function(d){var c=(d.services.twitter.reply_to!="")?"&via="+d.services.twitter.reply_to:"";return'<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url='+d.uri+"&counturl="+d.uri+"&text="+d.services.twitter.text+c+"&count=horizontal&lang="+d.services.twitter.language+'" style="width:100px; height:25px;"></iframe>'}},identica:{display_name:"Identi.ca",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Identi.ca. When enabled, data will be transferred to third parties - see <em> i </em>.",txt_off:"not connected with Identi.ca",txt_on:"connected with Identi.ca",dummy_img:"",text:encodeURIComponent(document.title),identica_lib:"",iframe_src:function(c){return'<iframe scrolling="no" frameborder="0" src="'+c.services.identica.identica_lib+"?noscript&style2&title="+c.services.identica.text+'" allowtransparency="true" style="width:130px; height:25px; position: absolute;"></iframe>'}},gplus:{display_name:"Google+",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Google+. When enabled, data will be transferred to third parties - see <em> i </em>.",txt_off:"not connected with Google+",txt_on:"connected with Google+",dummy_img:"",language:"en",iframe_src:function(d){var c=b('<div class="g-plusone" data-size="medium"></div>');var e='<script type="text/javascript">window.___gcfg = {lang: "'+d.services.gplus.language+'"}; (function() { var po = document.createElement("script"); po.type = "text/javascript";po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); <\/script>';return c.append(e)}},flattr:{display_name:"Flattr",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send yout recommendation to Flattr. When enabled, data will be transferred to third parties - see <em> i </em>.",txt_flattr_off:"not connected with Flattr",txt_flattr_on:"connected with Flattr",dummy_img:"",iframe_src:function(){return""}},xing:{display_name:"Xing",status:"off",perma:"on",txt_info:"2 click for more privacy: only if you click here, the button will activate and you will be able to send your recommendation to Xing. When enabled, data will be transferred to third parties - see <em> i </em>.",txt_gplus_off:"not connected with Xing",txt_plus_on:"connected with Xing",dummy_img:"",xing_lib:"",iframe_src:function(){return""}}}},is_on:function(){var d=false;for(var c in this.options.services){var e=this.options.services[c];if(e.status=="on"){d=true;break}}return d},perma_is_on:function(){var d=false;for(var c in this.options.services){var e=this.options.services[c];if(e.status=="on"&&e.perma=="on"){d=true;break}}return d&&(!b.browser.msie||(b.browser.msie&&(b.browser.version>7)))},append_css:function(){if(this.options.css_path.length>0){if(document.createStyleSheet){document.createStyleSheet(options.css_path)}else{b("head").append('<link rel="stylesheet" type="text/css" href="'+options.css_path+'" />')}}},dummy_image:function(c){return b("<img/>",{src:c.dummy_img,alt:c.display_name+" Dummy Image","class":"dummy_img"})},switch_button:function(c,f){var e=b(".switch",b(f));var d=b("div.dummy_btn",b(f));if(e.hasClass("off")){b(f).addClass("info_off");e.addClass("on").removeClass("off").html(c.txt_on);d.html(c.iframe_src(this.options))}else{b(f).removeClass("info_off");e.addClass("off").removeClass("on").html(c.txt_off);d.html(this.dummy_image(c))}},attach:function(){var c=this;this.elements.each(function(){var g=b('<ul class="social_share_privacy_area"></ul>').appendTo(this);for(var f in c.options.services){var k=c.options.services[f];if(k.status!="on"){continue}var h=k.iframe_src(c.options);var e=b('<li class="help_info '+f+'"><span class="info">'+k.txt_info+"</span></li>").appendTo(g);b('<span class="switch off">'+k.txt_off+"</span>").appendTo(e);var d=b('<div class="dummy_btn"></div>').appendTo(e);d.append(c.dummy_image(k));e.click({serv:k,element:e},function(l){c.switch_button(l.data.serv,l.data.element)})}var e=b('<li class="settings_info"><div class="settings_info_menu off perma_option_off"><a href="'+c.options.info_link+'"><span class="help_info icon"><span class="info">'+c.options.txt_help+"</span></span></a></div></li>").appendTo(g);b(".help_info").each(function(){b(this).mouseenter(function(){if(!b(this).hasClass("info_off")){b(".info",this).show()}});b(this).mouseleave(function(){b(".info",this).hide()})});if(c.perma_is_on()){var j=e.find(".settings_info_menu").removeClass("perma_option_off");b('<span class="settings">Settings</span><form><fieldset><legend>'+c.options.settings_perma+"</legend></fieldset></form>").appendTo(j);for(var f in c.options.services){var k=c.options.services[f];if(!(k.status=="on"&&k.perma=="on")){continue}var i=(b.cookie("privacyShareButtons_"+f)=="perma_on")?'checked="checked"':"";j.find("form fieldset").append('<input type="checkbox" name="perma_status_'+f+'" id="perma_status_'+f+'" '+i+' /><label for="perma_status_'+f+'">'+k.display_name+"</label>");if(i!=""){b("li."+f+" span.switch",g).click()}}j.find("span.settings").css("cursor","pointer");j.find("span.settings").mouseenter(function(){j.removeClass("off").addClass("on")});e.mouseleave(function(){j.removeClass("on").addClass("off")});b(j.find("fieldset input")).click(function(n){var m=n.target.id;var l=m.substr(m.lastIndexOf("_")+1,m.length);var o="privacyShareButtons_"+l;if(b("#"+n.target.id+":checked").length){b.cookie(o,"perma_on",c.options.cookie_options);b("form fieldset label[for="+m+"]",g).addClass("checked")}else{b.cookie(o,null,c.options.cookie_options);b("form fieldset label[for="+m+"]",g).removeClass("checked")}})}})}};b.fn.socialShareButtons=function(c){new a(this,c);return this};b(document).ready(b(".social_share_privacy").socialShareButtons(socialshareprivacy_settings))})(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/privacy-share-buttons/lang/privacy-share-buttons-it_IT.mo b/wp-content/plugins/privacy-share-buttons/lang/privacy-share-buttons-it_IT.mo new file mode 100644 index 0000000000000000000000000000000000000000..b46ed0ae84f8d66c54c72df255e672e92150c809 GI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<hV!6MbI9-q&w?of}TNCcR1Kz@2|}= zo^N+s7p)065^YU$<Pg-g(82Z6<~*)|bg1{MZ*5(Q7H9kF28`AWt^>;3qs5^Pt#_h< zRf!JK>uS1dUE((oQjfN`&yUcBFx%j^u{J-yt!5`yq*u8NX^%R~d5*3rS@oU%a(~cC zLt<m!VUxL29{=T0T*Zt)ixDnVC$G9cDlc7Bw_s=HprNZrYY-ak)7jFdk}ggM@E&!0 z)NYB(d>sm=MA0dTi_I<RtP(eL$XG(p>fx$xv~3QJHMA^mnkLGDB4g2xxb$2KU*H8( zHq(tAHP-Yorf~^KLYyWnL2y$UQKDa-#mOv_tYzA8%fncl-fj_loHnt}Wv0aXn3Y)W zq2mxB0@5B5ruX*BDJb?(XFA9RXQ4wM$j1r{HM*zh^h}c=e7QwN8oI~fX3&oRFMJ6Y zb)b?$VRa>a;G@H#cIpI~42(5LUh>g!S_|Z%X!gU$sY)r;xGdVN5?HAuvNXu6_6|aM zh%zrT7PP}W`dSI`fdQp5iwlrj3guo&GFmdx)iuB4N%3X@1+!Jb^^EsYr=V+Sbl9}H zlXH~^h-$H~XjMItQ>mH<`b?XNW&y^>LAgDAhgmJ>aDDlc9Gn^s6^KWG94;E9O#>!c U|NKKEmX&GN>sZ!3cStS&1&ToT!~g&Q literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/lang/privacy-share-buttons-it_IT.po b/wp-content/plugins/privacy-share-buttons/lang/privacy-share-buttons-it_IT.po new file mode 100644 index 000000000..b93475376 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/lang/privacy-share-buttons-it_IT.po @@ -0,0 +1,98 @@ +msgid "" +msgstr "" +"Project-Id-Version: Privacy Share Buttons\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-02-24 14:31+0100\n" +"PO-Revision-Date: 2012-02-24 14:53+0100\n" +"Last-Translator: lucha <lucha@paranoici.org>\n" +"Language-Team: Autistici/Inventati <lucha@paranoici.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: __;gettext;gettext_noop;_e\n" +"X-Poedit-Basepath: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/privacy-share-buttons/\n" +"X-Poedit-Language: English\n" +"X-Poedit-SearchPath-0: .\n" + +#: privacy-share-buttons.php:47 +#: privacy-share-buttons.php:56 +#: privacy-share-buttons.php:65 +#: privacy-share-buttons.php:71 +msgid "Click here to enable the button" +msgstr "Premi qui per attivare il bottone" + +#: privacy-share-buttons.php:86 +msgid "When you activate these buttons by clicking on them, some of your personal data will be transferred to third parties and can be stored by them. For more information click on the <em> i </em>" +msgstr "Quando attivi i bottoni cliccandoci sopra, alcune tue informazioni personali verranno inviate a terze parti, che potrebbero conservale. Per più informazioni clicca sulla <em> i </em>" + +#: privacy-share-buttons.php:89 +msgid "Permanently enable data transfer for:" +msgstr "Abilita permanentemente i bottoni per:" + +#: privacy-share-buttons.php:195 +#: privacy-share-buttons.php:196 +msgid "Privacy Share Buttons" +msgstr "Privacy Share Buttons" + +#: privacy-share-buttons.php:207 +msgid "Enable Social Share Buttons" +msgstr "Abilita i bottoni" + +#: privacy-share-buttons.php:214 +msgid "Display settings" +msgstr "Impostazioni di visualizzazione" + +#: privacy-share-buttons.php:219 +msgid "Display on the Index page" +msgstr "Mostra sulla pagina principale" + +#: privacy-share-buttons.php:226 +msgid "Display on Pages" +msgstr "Mostra sulla pagine statiche" + +#: privacy-share-buttons.php:232 +msgid "Position" +msgstr "Posizionamento" + +#: privacy-share-buttons.php:239 +msgid "Specific Service settings" +msgstr "Impostazioni specifiche" + +#: privacy-share-buttons.php:255 +#, php-format +msgid "%s username" +msgstr "Nome utente %s" + +#: privacy-share-buttons.php:268 +#: privacy-share-buttons.php:293 +msgid "Enable" +msgstr "Abilita" + +#: privacy-share-buttons.php:274 +msgid "Settings specific to some Social Share services." +msgstr "Impostazioni specifiche di alcuni servizi di condivisione" + +#: privacy-share-buttons.php:278 +msgid "By default buttons will be showed on single Posts" +msgstr "Di default, i bottoni verranno mostrati sui singoli post" + +#: privacy-share-buttons.php:304 +msgid "After the post" +msgstr "Dopo il post" + +#: privacy-share-buttons.php:305 +msgid "Before the post" +msgstr "Prima del post" + +#: privacy-share-buttons.php:306 +msgid "Manual (shortcode)" +msgstr "Manuale (shortcode)" + +#: privacy-share-buttons.php:313 +msgid "If you choose \"Manual (Shortcode)\", you can use the shortcode <strong>[share_buttons]</strong> inside your articles" +msgstr "Se scegli \"Manuale (shortcode)\", potrai usare lo shortcode <strong>[share_buttons]</strong> dentro i tuoi articoli/post/pagine per posizionare i bottoni" + +#: privacy-share-buttons.php:329 +msgid "Settings saved." +msgstr "Impostazioni salvate" + diff --git a/wp-content/plugins/privacy-share-buttons/libs/identishare.php b/wp-content/plugins/privacy-share-buttons/libs/identishare.php new file mode 100644 index 000000000..d784f6026 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/libs/identishare.php @@ -0,0 +1,98 @@ +<?php +// +// Copyright (C) 2011 Jacob Barkdull, Roberto Guido +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. +// + +if (isset($_GET["source"])) { + header("Content-type: text/plain"); + echo file_get_contents("." . $_SERVER["PHP_SELF"]); + die(); +} + +$server = $_SERVER["SERVER_NAME"]; +if (isset($_SERVER["HTTP_REFERER"])) { + $referer = $_SERVER["HTTP_REFERER"]; + $referringurl = str_replace(array("http://", "www."), "", $referer); + $jsondata = file_get_contents("http://identi.ca/api/search.json?q=" . $referringurl . "&rpp=100"); + $results = substr_count($jsondata, str_replace("/", "\/", addslashes($referringurl))); + + if ($results <= 0) { + $results = "0"; + } +} else { + $results = "0"; + $referer = "http://www.tildehash.com/"; +} +$referer = str_replace(array("?", "&"), array("%3F", "%26"), $referer); +$referringurl = str_replace(array("?", "&"), array("%3F", "%26"), $referringurl); + +$style = '<a href="http://identi.ca/index.php?action=newnotice&status_textarea=PAGE_TITLE_HERE' . $referer . '" target="_blank" style="display: inline-block; background-image: url(\'http://' . $server . '/identishare/share.png\'); background-repeat: no-repeat; width: 61px; height: 53px; padding: 10px 0px 0px 0px !important; margin: 0px !important; font-family: \'Arial\'; font-size: 20px; text-decoration: none; line-height: 1.2em; color: #000000; text-align: center;" title="Share on Identi.ca"><b style="float: none !important; margin: 0px !important;">' . $results . '</b></a>'; + +$style2 = <<<STYLE2 +<div style="width: 130px; height: 23px; margin: 2px 0px 4px 0px;"> + <div dir="ltr" style="position:relative"> + <div style="height: 23px;"> + <div> + <a href="http://identi.ca/index.php?action=newnotice&status_textarea=PAGE_TITLE_HERE${referer}" target="_blank" style="display: inline-block; background-image: url('identishare/button.png'); font-family: arial; text-decoration: none; line-height: 1.2em; color: #000000; width: 50px; height: 20px;" title="Share on Identi.ca"></a> + </div> + <div style="position: absolute; top: 1px; left:51px; background: no-repeat url('identishare/bubble-right.png'); height: 23px; width: 50px; text-align: center; overflow: hidden; font-size: 12px; padding-top:1px;"> + <a href="http://identi.ca/search/notice?q=${referringurl}&search=Search" target="_blank" style="vertical-align: top; color: #666666; font-family: 'Arial',sans-serif; text-decoration:none; padding-right:8px"><b>$results</b></a> + </div> + </div> + </div> + </div> +STYLE2; + +if (isset($_GET["style2"])) { + $style = $style2; +} + +if (!isset($_GET["noscript"])) { + $style = str_replace(array("\n", "\t"), "", addslashes($style)); +} + +if (isset($_GET["title"])) { + $style = str_replace("PAGE_TITLE_HERE", str_replace(array("?", "&"), array("%3F", "%26"), $_GET["title"]) . " ", $style); +} else { + if (!isset($_GET["noscript"])) { + $style = str_replace("PAGE_TITLE_HERE", '"+document.title+" - ', $style); + } else { + $style = str_replace("PAGE_TITLE_HERE", "", $style); + } +} + +$html = <<<HTML +<html> + <head> + <title>Share on Identi.ca</title> + </head> + + <body marginwidth="0" marginheight="0"> + ${style} + </body> +</html> +HTML; + +if (isset($_GET["noscript"])) { + echo $html; +} else { + header("Content-type: text/javascript"); + echo 'document.getElementById("identishare").style.display="inline-block";'."\n"; + echo 'document.getElementById("identishare").style.width="140px";'."\n"; + echo 'document.getElementById("identishare").style.overflow="hidden";'."\n"; + echo 'document.getElementById("identishare").innerHTML="' . $style . '";'; +} +?> diff --git a/wp-content/plugins/privacy-share-buttons/libs/identishare/bubble-right.png b/wp-content/plugins/privacy-share-buttons/libs/identishare/bubble-right.png new file mode 100644 index 0000000000000000000000000000000000000000..28018f6ebc6967e19f7b79f4f70edad9386ff131 GIT binary patch literal 3035 zcmV<13ncW3P)<h;3K|Lk000e1NJLTq001Tc000pP1^@s6u|nRv000U@X+uL$Nkc;* zaB^>EX>4Tx0C?J+Q+HUC_ZB|i_hk=OLfG)Jmu!ImA|tE_$Pihg5Rw34gb)%y#f69p zRumNxoJdu~g4GI0orvO~D7a@qiilc^Ra`jkAKa(4eR}Wh?fcjJyyu+f{LXpL4}cL8 zCXwc%Y5+M>g*-agACFH+#L2yY0u@N$1RxOR%fe>`#Q*^C19^CUbg)1C0k3ZW0swH; zE+i7i;s1lWP$pLZAdvvzA`<5d0gzGv$SzdK6adH=0I*ZDWC{S3003-xd_p1ssto|_ z^hrJi0NAOM+!p}Yq8zCR0F40vnJ7mj0zkU}U{!%qECRs70HCZuA}$2Lt^t5qwlYTo zfV~9(c8*w(4?ti5fSE!p%m5%b0suoE6U_r4Oaq`W(!b!TUvP!ENC5!A%azTSOVTqG zxRuZvck=My;vwR~Y_URN7by^C3FIQ2mzyIKNaq7g&I|wm8u`(|{y0C7=jP<$=4R(? z@ASo@{%i1WB0eGU-~POe0t5gMPS5Y!U*+Z218~Oyuywy{sapWrRsd+<`CT*H37}dE z(0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DShCa zBO>nJMgRau2yw?4d*PfL*L8^vPyhgqG3I_41{lZD&PiJog;7f3o+`@{f4xej)MZsw z@3s_b0n4)NbsWbx>%e~gom)@-vtUsaT}UZ$kI6qxlcALUy<N0zd(c`R`@Y|Ny9j~+ dIOhax*B5i<@;ViZ#`XXJ002ovPDHLkV1hcr%sc=9 literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/libs/identishare/bubble.png b/wp-content/plugins/privacy-share-buttons/libs/identishare/bubble.png new file mode 100644 index 0000000000000000000000000000000000000000..e6b7f3e2aa9ee1c08740bd7bb0aba1ab0ca0e995 GIT binary patch literal 573 zcmeAS@N?(olHy`uVBq!ia0vp^MnJ60!3HF+ZH?>)QY^(zo*^7SP{WbZ0pxQQctjQh z)n5l;MkkHg6+l7B64!{5;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq!<_&cX_%v zhD5Z!y|F(_Bv7Q`<NGuB=ca6a$s&L7p2m)e3CS)s4GtdKc8!a6Fa|o-GIL9Ji>!>j z>A9hx+feOgZF@szn(=PyH)l3Z;5evthNqhO`|C8ecb4{f=0*}c>&~~xZQv}~;nmr5 zp(wrW^D%9iZGrQ4tXu6UaHe{zx9MEJ+e=R+^T+s4)jeLgV|!KjA%i*J^QLQ^FW$$y zKX}^HHfEi+#1o;;3@nZX`@SzSexLg4l#|bC{7BeBvj6z?y7}`iy$t!E{A#D3(x>;4 zp^X2k&9%EuZN6lZYBW=!;L*xYf(y$FYC?V{G#vQ8v$nYP+$Es`L52x^Zhvg-l4d>M zdWKox$>cX`yDvKJ+QYhwQzzWUm?7`SzVmaZMsK<OmRtV(CgVwmoj>jGh<7mUousts z@!@pK{l9kok~;oAv_fjDQta!pqouJ7U5gTaC|}e$?J|X*|N8a$S1q@faX8rb-B;Sv z5v3dZdL7pR15Xp_^hGaryMLFrSzn!|EYP4|UA>;QR&uM7sNgIYhh~9>e|3MjQl%Go ovY7BNzIcD!HZ(Rvi17pa(Tqh0r*`w*0Y){0r>mdKI;Vst0Q&Isi2wiq literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/libs/identishare/button.png b/wp-content/plugins/privacy-share-buttons/libs/identishare/button.png new file mode 100644 index 0000000000000000000000000000000000000000..1eb2b2cb7f2395b3f6278e772d94e96747ddc788 GIT binary patch literal 1429 zcmV;G1#0?<P)<h;3K|Lk000e1NJLTq001%o000yS1^@s6&&qC^00004b3#c}2nYxW zd<bNS00009a7bBm000fw000fw0YWI7cmMzZ8FWQhbW?9;ba!ELWdL_~cP?peYja~^ zaAhuUa%Y?FJQ@H11rkX_K~zYI#g|=d6jc<*f9Kx2yR#ocmyaU0MU1X|h@vJUhG=Mv z28@_MOpw-SqKTU5gRdIjeDwoA9wbB)Nl<yvM5BTxvXammMIV%kR6>Q8mKLEcx*wg{ znYlhJvup|4Zfn9nnN04Pd*=NAbLQN0uUKmV5E0q2V~1I~Y}sQ*sZK<e8m&`;D1@nC z0DsC^Gld0<4SnA)11CJ+-`#)g*!xdE^^|YH0>}j+vTxtMC9za;Pqt~^s&qP&##%%` z5Nvhs6+^@!Vo@p<OJifBhdpbzZdkv*AFu+*-o1O5#8av7TCQnXtc@lScQD!@qCloE zBFgUB^S?1X-o?=9L9o!W;BFSpUB|+v6_e&oA}dp*-3r!*RDuew>k$S4LnEh$-AZNc z#`gAp$>;ON7dhD0(z?dP;*xZdBoc9q)?6mue+mFN^!sb{pZO-D7tH|R+UEPYW7+eU z6*Hv}Km`0Cz;ivy6J@-L$Kc?pL&tl2*O`eR=xAQBaFy0tl1`GO<DitPIZg)=iJy9R z(0}F|nzJ{tcExin%&tU$bAKJ9t7khW&wLGGk~>yBjfm9zthLh;0${X3IaPk44av@% zf76m&?r{~5#kQr>>2xCD;3N_?5skoFOQ}3g-^i!TO}DXe%_}r#SJs}-pOfRkwQn$g z&JCPA`x#!Pgot3RZAe4}r4;daoJ2f9CY4IXjp<YfIZ+Cu^^8P7H6sJ(_5+rcOScd+ zsj7WaaKrK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y-share-buttons/libs/identishare/share.png new file mode 100644 index 0000000000000000000000000000000000000000..eff05bbb7188e13f5f93c2fe7731a35e2f3e3908 GIT binary patch literal 3669 zcmV-b4yy5qP)<h;3K|Lk000e1NJLTq002Dz002D*1^@s69%5nX00001b5ch_0Itp) z=>Px#24YJ`L;!dIk^n%ssy%-I000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyS( z12hO;_tjDW01eeiL_t(&-sM_*R8`lR|Lt=x_X(GWaJhiUV+x3hQHdC1R9bOjB#w<O zlGTjCPScLsnL5o{=@>-?gVTvg*Q}Y?mAbNKnL55ot!*ce)QnOeD5x<JjiSi={SpxF zxzBUYH-ES<x#GPF%B6AjthE=H?|l2)`?tSufBU!h*}z}n!zQYsLW5TCa!TnW%X1l6 zG%*AMkO1mugcc^SdZ?9^g#)&sCmQrlLx|31H^0mny-b8f0Mrku;skIGj1@B`{AP#M zar=n@y)#^)u?=A(1N#|)!XD9#6<{9-O!;=9&DQ?42EARQ{3a3oHvtLbWYP?<9hxxu zk1ZW8>1zf0!#I<ozN@E*2><G*2&#Yr-+RmAYW!M&F4F6?c9*>vgctpsgL=T&3vbz^ zOMg+&MS7jqA=y77V9CRDwZXv%Po0jyhzRJ7MmVe@%$;4h)6#<5w`xY)WxD{jtkCW} z`4<7bGir%o>pOKApd4R1N{t5TYrl`wl`kRgxrI;!1bEdOXl}xdk`i40pI@W>i_ag{ zZ5tD?dWTi|Xu?5nQ!6(UXs56DX{%RbY0=LSG9_-*Hi-z=fB!oi-?k06Yai(SUO_25 zS13AfP8jH|8f7|&DgfN)I)zGwZ~y88JoUX-9(h0=qKG4F*WkuS|NEfMf36P0ys>6= z#iNC_Lg})h1VGHlcj_Pm)_hcoso9U0(-bNdX5_5KV0#<7u3iBVc~gs$tjv7cC7<&< z=mnBu9SA?TZ{(SP+=GYljjW~PLn0VMO7@Eod%Dr~*=N4g=6^Fl{p(YbG~_qXJEKf0 z$to5D2p;(^Gd~}5U;EMcQbxv*^!y9xzJ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kq}^Ns>gq?%M(MhK7b-+pu9n)jRLJGrO&=O-N2oj?c)* zh)^gLu3NWmsT&#^v>6#0wOhAtb@1qY=*fw!R;w+sv9Ue<{r##lXU+tdl#~QlS62rp zl}cK=bZN`G@4ovR0JQ+>MNu5Sh$@O=D-Xd|i^XF0kk=+9C0!^eD5%tGwX)0QLRndv z-fp+M3JMD9hBxFxLjwR>0knA5H=E6Ee2{INoLt|vYuDa_f`ST@$z&fI8WK*NI1%*e zr=Ny2G&E=@Po6w9Z{EBwd7b;hn~fwVoF>Krn9<kQm-59IU&QwH_38C`y)!*My(Ka- z@)m%be2(e)vS8vKuH$S;4<H#pByY5pdoZT6voqz~xpRq=CQY&|Uc9)OdqTlOw}rDk z0YE(8!C3*+@HYG1<d3tvWB`fh&!10hZEX!!tJTi5w6w0cxVQ%1mzw~(_^wa(1=_u3 z4CG5k80WukUTfi_*Uv{?$@#gKQ^g@4ax?#{=c|Ax1$BBPQ8!<Q2d8%19pv-V9ickD z28Z%N2;d&IbKQP7?;lA+nJ+rZJMJz5Hz;`&*&{Ew-@A)2A`43%omGvHdv-|n_+J=l n*R%5;4)QE+UH4q}y1o5>b<dK|db;Rm00000NkvXXu0mjf({uth literal 0 HcmV?d00001 diff --git a/wp-content/plugins/privacy-share-buttons/privacy-share-buttons.php b/wp-content/plugins/privacy-share-buttons/privacy-share-buttons.php new file mode 100644 index 000000000..40ad354c8 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/privacy-share-buttons.php @@ -0,0 +1,342 @@ +<?php +/* +Plugin Name: Privacy Share Buttons +Plugin URI: http://cavallette.noblogs.org +Description: Enables the well-known "Share this" buttons for different social networks, but with respect toward's your user privacy and data. +Version: 0.1 +Author: lucha <lucha@paranoici.org> +Author URI: http://autistici.org +Tags: privacy, social, twitter, facebook, identica, googleplus +License: GPL2 + +Copyright (C) 2012 lucha <lucha@paranoici.org> + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License, version 2, as +published by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +class ShareButton { + function ShareButton() { + $this->__construct(func_get_args()); + } + + function __construct() { + // we need to load the textdomain now, because we are creating the default + // values for the help text and we want them localized. + load_plugin_textdomain('privacy-share-buttons', false, basename( dirname( __FILE__ ) ) . '/lang/' ); + + $this->url = plugins_url(basename(dirname(__FILE__))); + $this->css = $this->url .'/css/socialshareprivacy.css'; + $this->js = $this->url .'/js/jquery.privacysharebuttons.js'; + $this->jquery_cookie = $this->url .'/js/jquery.cookie.js'; + $this->images = $this->url .'/images/'; + $this->libs = $this->url .'/libs/'; + $this->services = array( + 'twitter' => array( + 'name' => 'Twitter', + 'specific-settings' => true, + 'username' => 'reply_to', + 'jsconf' => array( + 'language' => 'en', + 'txt_info' => __('Click here to enable the button','privacy-share-buttons') + ), + ), + 'identica' => array( + 'name' => 'Identi.ca', +// 'specific-settings' => true, +// 'username' => 'reply_to', + 'lib' => 'identishare.php', + 'jsconf' => array( + 'txt_info' => __('Click here to enable the button','privacy-share-buttons') + + ) + ), + 'facebook' => array( + 'name' => 'Facebook', + 'jsconf' => array( + 'action' => 'recommend', + 'dummy_img' => $this->images . 'dummy_facebook_recommend.png', + 'txt_info' => __('Click here to enable the button','privacy-share-buttons') + ) + ), + 'gplus' => array( + 'name' => 'Googleplus', + 'jsconf' => array( + 'txt_info' => __('Click here to enable the button','privacy-share-buttons') + ) + ) +/* ,'flattr' => array( + 'name' => 'Flattr', + 'specific-setings' => true, + 'username' => 'uid' + ) + */ + ); + $this->js_conf_default = array( + 'txt_help' => __('When you activate these buttons by clicking on them, ' + . 'some of your personal data will be transferred to third parties and can be stored by them. ' + . 'For more information click on the <em> i </em>','privacy-share-buttons'), + 'settings_perma' => __('Permanently enable data transfer for:','privacy-share-buttons'), + ); + $this->settings = new ShareButtonSettings($this->services); + $this->settings = $this->settings->settings; + $this->content_class = 'privacy_share_buttons_post'; + add_action( 'init', array( &$this, 'init' ) ); + } + + function init() { + $activate = false; + foreach ($this->services as $service => $info){ + if ($this->settings[$service.'-status']) + $activate = true; + } + if (!$activate) + return; + + add_action('wp_enqueue_scripts',array(&$this, 'enqueue_styles')); + add_action('wp_footer',array(&$this, 'enqueue_scripts')); + + add_shortcode('share_buttons',array(&$this,'short_code')); + add_filter('the_content', array(&$this, 'filter_content'), 8); + + } + + function enqueue_scripts() { + wp_register_script('jquery-cookie',$this->jquery_cookie); + wp_enqueue_script('social-share-privacy',$this->js,array('jquery','jquery-cookie')); + wp_localize_script('social-share-privacy','socialshareprivacy_settings',$this->jsconf()); + } + + function enqueue_styles() { + wp_enqueue_style('privacy-share-buttons',$this->css); + } + + function short_code($atts) { + if ($this->settings['position'] == 'manual') + return $this->generate_html(); + return ''; + } + + function filter_content($content){ + if (!$this->settings['index'] && is_home()) + return $content; + if (!$this->settings['pages'] && is_page()) + return $content; + + $newcontent = $this->generate_html(); + $position = $this->settings['position']; + + if ($position == 'before'){ + return $newcontent . $content; + } else if ($position == 'after') { + return $content . $newcontent; + } + + return $content; + } + + function generate_html() { + global $post; + return '<div class="'.$this->content_class.'_'.$post->ID.' social_share_privacy clearfix"></div>' . "\n" ; + } + + function jsconf(){ + $conf = $this->js_conf_default; + foreach ($this->services as $service => $info){ + if ($this->settings[$service.'-status']){ + $conf['services'][$service]['status'] = 'on'; + $conf['services'][$service]['display_name'] = $info['name']; + $conf['services'][$service]['dummy_img'] = $this->images.'dummy_'.$service.'.png'; + if ($info['username']) + $conf['services'][$service][$info['username']] = $this->settings[$service.'-username']; + if ($info['lib']) + $conf['services'][$service][$service.'_lib'] = $this->libs . $info['lib']; + if ($info['jsconf']) + $conf['services'][$service] = array_merge($conf['services'][$service],$info['jsconf']); + } else { + $conf['services'][$service]['status'] = 'off'; + } + } + $conf['uri'] = get_permalink(); + return $conf; + } +} + +class ShareButtonSettings { + function ShareButtonSettings() { + $this->__construct(func_get_args()); + } + + function __construct($services) { + $this->services = $services; + $this->settings_section = 'share-button-settings'; + $this->display_section = $this->settings_section . '-display'; + $this->services_section = $this->settings_section . '-services'; + $this->settings = get_option($this->settings_section); + add_action('admin_init', array( &$this, 'admin_init')); + add_action('admin_menu', array( &$this, 'admin_menu')); + + } + + function admin_menu() { + add_options_page( + __('Privacy Share Buttons','privacy-share-buttons'), + __('Privacy Share Buttons','privacy-share-buttons'), + 'manage_options', + $this->settings_section, + array( &$this, 'submenu_page') + ); + } + + function admin_init() { + register_setting($this->settings_section, $this->settings_section, array(&$this, 'settings_validate')); + + add_settings_section($this->settings_section, + __('Enable Social Share Buttons','privacy-share-buttons'), array(&$this, 'settings_section'), $this->settings_section); + + foreach ($this->services as $service => $info){ + $this->add_default_fields($service,$info); + } + + add_settings_section($this->display_section, + __('Display settings','privacy-share-buttons'), + array(&$this, 'display_section'), + $this->settings_section); + + add_settings_field($this->display_section."[index]", + __('Display on the Index page','privacy-share-buttons'), + array(&$this, 'checkbox'), + $this->settings_section, $this->display_section, + array('id' => 'index')); + + + add_settings_field($this->display_section."[pages]", + __('Display on Pages','privacy-share-buttons'), + array(&$this, 'checkbox'), + $this->settings_section, $this->display_section, + array('id' => 'pages')); + + add_settings_field($this->display_section."[position]", + __('Position','privacy-share-buttons'), + array(&$this, 'position_field'), + $this->settings_section, $this->display_section); + + foreach ($this->services as $service => $info){ + if ($info['specific-settings']){ + add_settings_section($this->services_section, + __('Specific Service settings','privacy-share-buttons'), + array(&$this, 'services_section'), + $this->settings_section); + break; + } + } + + foreach ($this->services as $service => $info){ + if ($info['username']){ + $this->username_settings($service,$info); + } + } + } + + function username_settings($service,$info) { + $userfield = $this->service_section."[$service-username]"; + add_settings_field($userfield, sprintf(__("%s username",'privacy-share-buttons'),$info['name']), array(&$this, 'username_field'), $this->settings_section, $this->services_section,$service.'-username'); + } + + function username_field($id) { + $field = $this->settings_section."[$id]"; + $value = $this->settings[$id]; + echo "<input type='text' name='{$field}' value='{$value}' size='20' />"; + } + + function add_default_fields($serviceid, $info) { + $display_id = "{$serviceid}-status"; + + $info['id'] = $display_id; + $info['label'] = __('Enable','privacy-share-buttons'); + add_settings_field( $this->settings_section."[$display_id]" , $info['name'], array(&$this, 'checkbox'), $this->settings_section, $this->settings_section, $info); + + } + + function services_section() { + _e("Settings specific to some Social Share services.",'privacy-share-buttons'); + } + + function display_section() { + _e("By default buttons will be showed on single Posts",'privacy-share-buttons'); + } + + function settings_section() { + echo ''; + } + + function checkbox($info) { + $id = $info['id']; + $field = $this->settings_section."[$id]"; + $value = $this->settings[$id]; + $checked = checked( '1', $value, false); + + echo "<input type='checkbox' name='{$field}' value='1' $checked />"; + echo "<label for='{$field}'>"; + echo __('Enable','privacy-share-buttons'); + echo "</label>"; + + } + + function position_field() { + $field = "{$this->settings_section}[position]"; + $value = $this->settings['position']; + echo "<div><select name='{$field}'>"; + + $options = array( + 'after' => __("After the post",'privacy-share-buttons'), + 'before' => __("Before the post",'privacy-share-buttons'), + 'manual' => __("Manual (shortcode)",'privacy-share-buttons') + ); + foreach ($options as $key => $label) { + $selected = selected($value, $key, false); + echo "<option value='{$key}' $selected>$label</option>"; + } + echo "</select></div>"; + echo "<div> <p>"._e('If you choose "Manual (Shortcode)", you can use the shortcode <strong>[share_buttons]</strong> inside your articles','privacy-share-buttons')."</p></div>"; + } + + function settings_validate($input) { + return $input; + } + + function submenu_page() { + ?> + <div class="wrap"> + <div id="icon-themes" class="icon32"><br></div> + <h2>Privacy Share Button Settings</h2> + <?php + if ( !empty( $_POST['action'] ) && 'update' == $_POST['action'] ) { + update_option( $this->settings_section, $_POST[$this->settings_section] ); + $this->settings = get_option( $this->settings_section ); + echo '<div id="message" class="updated fade"><p><strong>'.__('Settings saved.','privacy-share-buttons').'</strong></p></div>'; + } + ?> + + <form method="post" action="<?php echo $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']; ?>"> + <?php settings_fields( $this->settings_section ); ?> + <?php do_settings_sections( $this->settings_section ); ?> + <p class="submit"> + <input type="submit" class="button-primary" value="Save Changes" /> + </p> + </form> + <?php + } +} + +new ShareButton(); \ No newline at end of file diff --git a/wp-content/plugins/privacy-share-buttons/readme.txt b/wp-content/plugins/privacy-share-buttons/readme.txt new file mode 100644 index 000000000..daaf071f2 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/readme.txt @@ -0,0 +1,38 @@ +=== Privacy Share Buttons === +Contributors: lucha +Tags: privacy, social, twitter, facebook, identica, googleplus +Requires at least: 2.7 +Tested up to: 3.3.1 +Stable tag: 0.1 + +Enables the well-known "Share this" buttons for different social networks, but with respect toward's your user privacy and data. + +== Description == +A simple interface to a jQuery plug-in, originally written by heisde.de and thereafter re-written by the author. + +The plugins offers the possibility of showing in posts (and optionally pages) buttons for sharing content to Facebook, +Google Plus, Twitter, and Identi.ca. These buttons are dummy-button by default, and only after explicit action by the visitor +they are activated and become the real buttons. This allows to give control to the single visitor if he wants to send +sensible personal information to third-parties sites, and thus providing a nice compromise between privacy and social sharing. + + +* Stable tag should indicate the Subversion "tag" of the latest stable version, or "trunk," if you use `/trunk/` for +stable. + + +== Installation == + +1. Upload `privacy-share-buttons` to the `/wp-content/plugins/` directory +1. Activate the plugin through the 'Plugins' menu in WordPress +1. Go to the configuration page of the plugins to choose which buttons to show (and where) + +== Changelog == + += 0.1 = +* First version + +== Arbitrary section == + +You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated +plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or +"installation." Arbitrary sections will be shown below the built-in sections outlined above. \ No newline at end of file diff --git a/wp-content/plugins/privacy-share-buttons/uninstall.php b/wp-content/plugins/privacy-share-buttons/uninstall.php new file mode 100644 index 000000000..19e5ca459 --- /dev/null +++ b/wp-content/plugins/privacy-share-buttons/uninstall.php @@ -0,0 +1,4 @@ +if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) + exit(); + +delete_option('share-button-settings'); \ No newline at end of file -- GitLab