Plugin Directory

Changeset 1345255


Ignore:
Timestamp:
02/07/2016 03:04:06 PM (10 years ago)
Author:
3UU
Message:

update to Heise version 1.23.0; changed diaspora share url to official one; fix rss button of round theme css in widget; fix accessibility of share button text

Location:
shariff/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • shariff/trunk/admin/admin_menu.php

    r1334839 r1345255  
    10861086            echo '<div class="shariff_shortcode_cell"></div>';
    10871087            echo '<div class="shariff_shortcode_cell">' . __( 'The url of the current post or page.</div>', 'shariff3UU' );
    1088             echo '<div class="shariff_shortcode_cell">[shariff url="http://www.mydomain.com"]</div>';
     1088            echo '<div class="shariff_shortcode_cell">[shariff url="http://www.mydomain.com/somepost"]</div>';
    10891089            echo '<div class="shariff_shortcode_cell">' . __( 'Changes the url to share. Only for special use cases.', 'shariff3UU' ) . '</div>';
    10901090        echo '</div>';
     
    10941094            echo '<div class="shariff_shortcode_cell"></div>';
    10951095            echo '<div class="shariff_shortcode_cell">' . __( 'The title of the current post or page.</div>', 'shariff3UU' );
    1096             echo '<div class="shariff_shortcode_cell">[shariff title="My WordPress Blog"]</div>';
     1096            echo '<div class="shariff_shortcode_cell">' . __( '[shariff title="My Post Title"]</div>', 'shariff3UU' );
    10971097            echo '<div class="shariff_shortcode_cell">' . __( 'Changes the title to share. Only for special use cases.', 'shariff3UU' ) . '</div>';
     1098        echo '</div>';
     1099        // rssfeed
     1100        echo '<div class="shariff_shortcode_row">';
     1101            echo '<div class="shariff_shortcode_cell">rssfeed</div>';
     1102            echo '<div class="shariff_shortcode_cell"></div>';
     1103            echo '<div class="shariff_shortcode_cell">' . __( 'http://www.mydomain.com/feed/rss/</div>', 'shariff3UU' );
     1104            echo '<div class="shariff_shortcode_cell">[shariff rssfeed="http://www.mydomain.com/feed/rss2/"]</div>';
     1105            echo '<div class="shariff_shortcode_cell">' . __( 'Changes the rss feed url to another feed.', 'shariff3UU' ) . '</div>';
    10981106        echo '</div>';
    10991107
  • shariff/trunk/css/shariff.min.local.css

    r1334839 r1345255  
    11/*!
    2  * shariff - v1.22.0 - 18.01.2016
     2 * shariff - v1.23.0 - 30.01.2016
    33 * https://github.com/heiseonline/shariff
    44 * Copyright (c) 2016 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli
    55 * Licensed under the MIT license
    6  */@font-face{font-family:shariff3uu;src:url(../fonts/shariff3uu.eot) format('embedded-opentype'),url(../fonts/shariff3uu.woff) format('woff'),url(../fonts/shariff3uu.ttf) format('truetype'),url(../fonts/shariff3uu.svg) format('svg');font-weight:400;font-style:normal}.shariff .s3uu{font-family:shariff3uu;speak:none;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-feature-settings:normal;font-feature-settings:normal;-webkit-font-kerning:auto;font-kerning:auto;-webkit-font-language-override:normal;font-language-override:normal;font-size:inherit;font-size-adjust:none;font-stretch:normal;font-synthesis:weight style;text-rendering:auto;width:35px;line-height:35px;text-align:center;vertical-align:middle;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shariff .s3uu-google-plus:before{content:"\e900"}.shariff .s3uu-threema:before{content:"\e901"}.shariff .s3uu-addthis:before{content:"\e902"}.shariff .s3uu-tumblr:before{content:"\eabb"}.shariff .s3uu-facebook:before{content:"\e800"}.shariff .s3uu-twitter:before{content:"\e801"}.shariff .s3uu-pinterest:before{content:"\e803"}.shariff .s3uu-xing:before{content:"\e804"}.shariff .s3uu-linkedin:before{content:"\e805"}.shariff .s3uu-reddit:before{content:"\e806"}.shariff .s3uu-stumbleupon:before{content:"\e807"}.shariff .s3uu-envelope:before{content:"\e808"}.shariff .s3uu-print:before{content:"\e809"}.shariff .s3uu-info:before{content:"\e80a"}.shariff .s3uu-flattr:before{content:"\e80b"}.shariff .s3uu-whatsapp:before{content:"\f232"}.shariff .s3uu-paypal:before{content:"\e603"}.shariff .s3uu-patreon:before{content:"\e602"}.shariff .s3uu-bitcoin:before{content:"\e601"}.shariff .s3uu-vk:before{content:"\e600"}.shariff .s3uu-diaspora:before{content:"\e903"}.shariff .s3uu-rss:before{content:"\e904"}.flattr_warning{background-color:red;color:#fff;font-size:20px;font-weight:700;padding:10px;text-align:center;margin:0 auto;line-height:1.5}.shariff_mailform{background:#eee none repeat scroll 0 0;border:1px solid;margin:10px;max-width:750px;padding:10px 15px}.shariff_mailform form{margin:0}.shariff_mailform fieldset{border:none;margin:0;padding:0}.shariff_mailform label{margin-left:3px;display:inline-block}.shariff_mailform p{margin:10px 0 0 0!important}.shariff_mailform textarea{height:auto!important;width:90%!important}.shariff_mailform input,.shariff_mailform select{vertical-align:baseline}.shariff_mailform_error{color:red;font-weight:700;padding:0 0 5px}.shariff_mailform_disabled{color:red;font-weight:700;padding:2px 0 0}.shariff_mailform_headline{font-weight:700;padding:0}.shariff::after,.shariff::before{content:" ";display:table}.shariff::after{clear:both}.shariff span{color:inherit}.shariff ul{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;padding:0!important;margin:0!important}.shariff ul li{list-style-type:none}.shariff ul li::before{content:normal!important}.shariff li{height:35px;box-sizing:border-box;overflow:hidden!important;margin:5px!important;padding:0!important;text-indent:0!important}.shariff li a{color:#fff;position:relative;display:block;height:35px;text-decoration:none;box-sizing:border-box;border:0}.shariff li .share_text{vertical-align:top!important}.shariff li .share_count,.shariff li .share_text{font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:36px}.shariff li .s3uu{width:35px;line-height:35px;text-align:center;vertical-align:top;font-size:20px}.shariff li .share_count{padding:0 8px;height:33px;position:absolute;top:0;right:0;margin:1px;background-color:rgba(255,255,255,.5);vertical-align:middle}.shariff .orientation-horizontal li{-webkit-box-flex:1}.shariff .orientation-horizontal .info{-webkit-box-flex:0}.shariff .orientation-horizontal li{float:left;-webkit-flex:none;-ms-flex:none;flex:none}.shariff .orientation-horizontal li .share_text{display:block;text-indent:-9999px;padding-left:3px}.shariff .orientation-horizontal li .share_count{display:none}.shariff .theme-default .shariff-button a{color:#fff}.shariff .theme-color .share_count{background-color:transparent!important;color:#fff}.shariff .theme-color a{color:#fff!important}.shariff .theme-color a:hover{color:#fff}.shariff .theme-grey .share_count{background-color:transparent}.shariff .theme-grey .shariff-button a{background-color:#b0b0b0;color:#fff}.shariff .theme-white .share_count{background-color:transparent}.shariff .theme-white .shariff-button{border:1px solid #ddd}.shariff .theme-white .shariff-button a{background-color:#fff;color:0}.shariff .theme-white .shariff-button a:hover{background-color:#eee}.shariff .theme-round .share_count{display:inline;height:100%;padding:0;right:0;left:0;top:0;margin:0;width:100%;background-color:transparent;color:transparent!important}.shariff .theme-round .shariff-button{width:35px!important;min-width:35px!important;max-width:35px!important;height:35px;border-radius:50%;margin:5px}.shariff .theme-round .share_text{display:block;text-indent:-9999px}.shariff .theme-round li{background:0 0}.shariff .theme-round li .s3uu{vertical-align:baseline}.shariff .theme-round li a{color:#fff}.shariff .theme-round a{text-align:center;color:#fff;position:relative;height:35px;border-radius:50%}.shariff .theme-round li.facebook .share_count:hover{background-color:#99adcf!important;color:#183a75!important}.shariff .theme-round li.twitter .share_count:hover{background-color:#96d4ee!important;color:#0174a4!important}.shariff .theme-round li.googleplus .share_count:hover{background-color:#eda79d!important;color:#a31601!important}.shariff .theme-round li.pinterest .share_count:hover{background-color:#ff050f!important;color:#fff!important}.shariff .theme-round li.linkedin .share_count:hover{background-color:#99adcf!important;color:#183a75!important}.shariff .theme-round li.xing .share_count:hover{background-color:#4fa5a7!important;color:#15686a!important}.shariff .theme-round li.reddit .share_count:hover{background-color:#e9f2fa!important;color:#000!important}.shariff .theme-round li.stumbleupon .share_count:hover{background-color:#fb613c!important;color:#fff!important}.shariff .theme-round li.flattr .share_count:hover{background-color:#F67C1A!important;color:#fff!important}.shariff .theme-round li.paypal .share_count:hover{background-color:#0285d2!important;color:#fff!important}.shariff .theme-round li.bitcoin .share_count:hover{background-color:#f7931a!important;color:#fff!important}.shariff .theme-round li.tumblr .share_count:hover{background-color:#529ecc!important;color:#fff!important}.shariff .theme-round li.patreon .share_count:hover{background-color:#e6461a!important;color:#fff!important}.shariff .theme-round li.vk .share_count:hover{background-color:#99adcf!important;color:#fff!important}.shariff .orientation-vertical{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.shariff .orientation-vertical li{width:135px}.shariff .orientation-vertical li a{color:#fff}.shariff .buttonsize-small li{height:25px}.shariff .buttonsize-small li a{height:25px}.shariff .buttonsize-small li .share_count,.shariff .buttonsize-small li .share_text{font-size:11px;line-height:25px;padding:0 5px;height:23px}.shariff .buttonsize-small li .s3uu{width:25px;line-height:25px;font-size:16px}.shariff .buttonsize-small li .share_text{padding-left:1px!important}.shariff .orientation-vertical.buttonsize-small li{width:115px}.shariff .theme-round.buttonsize-small li .s3uu{margin-top:0}.shariff .theme-round.buttonsize-small .shariff-button{width:25px!important;min-width:25px!important;max-width:25px!important;height:25px!important}.shariff .theme-round.buttonsize-small .share_count{padding:0!important;height:25px!important}.widget .shariff .theme-color li a,.widget .shariff .theme-default li a,.widget .shariff .theme-grey li a,.widget .shariff .theme-round li a{color:#fff}.widget .shariff .theme-color li a:hover,.widget .shariff .theme-default li a:hover,.widget .shariff .theme-grey li a:hover,.widget .shariff .theme-round li a:hover{color:#fff}@media only screen and (max-width:360px){.shariff .orientation-horizontal li{min-width:35px;max-width:35px}.shariff .orientation-horizontal.buttonsize-small li{min-width:25px;max-width:25px}}@media only screen and (min-width:360px){.shariff .orientation-horizontal li{min-width:80px;width:auto}.shariff .orientation-horizontal li .share_count{display:block}.shariff .orientation-horizontal.col-1 li,.shariff .orientation-horizontal.col-2 li{min-width:130px}.shariff .orientation-horizontal.col-1 li .share_text,.shariff .orientation-horizontal.col-2 li .share_text{text-indent:0;display:inline!important}.shariff .orientation-horizontal.col-5 li,.shariff .orientation-horizontal.col-6 li{-webkit-flex:none;-ms-flex:none;flex:none}}@media only screen and (min-width:640px){.shariff .orientation-horizontal.col-3 li{min-width:130px}.shariff .orientation-horizontal.col-3 li .share_text{text-indent:0;display:inline!important}.shariff .orientation-horizontal.col-3.buttonsize-small li{min-width:105px}.shariff .orientation-horizontal.col-3.buttonsize-small li .share_text{text-indent:0;display:inline!important}}@media only screen and (min-width:768px){.shariff .orientation-horizontal li{min-width:130px}.shariff .orientation-horizontal li .share_text{text-indent:0;display:inline!important}.shariff .orientation-horizontal.buttonsize-small li{min-width:105px}.shariff .orientation-horizontal.buttonsize-small li .share_text{text-indent:0;display:inline!important}}@media only screen and (min-width:1024px){.shariff li{height:35px}.shariff li a{height:35px}.shariff li .s3uu{width:35px;line-height:35px}.shariff .buttonsize-small li{height:25px}.shariff .buttonsize-small li a{height:25px}.shariff .buttonsize-small li .s3uu{width:25px;line-height:25px}}.shariff .twitter a{background-color:#55acee}.shariff .twitter a:hover{background-color:#32bbf5}.shariff .theme-default .twitter .share_count{color:#147bc9}.shariff .theme-white .twitter a{color:#55acee}.shariff .theme-white .twitter a:hover{color:#55acee}.shariff .facebook a{background-color:#3b5998;color:#fff}.shariff .facebook a:hover{background-color:#4273c8}.shariff .theme-default .facebook .share_count{color:#1e2e4f}.shariff .theme-white .facebook a{color:#3b5998!important}.shariff .theme-white .facebook a:hover{color:#3b5998}.shariff .googleplus a{background-color:#d34836}.shariff .googleplus a:hover{background-color:#f75b44}.shariff .theme-default .googleplus .share_count{color:#86291d}.shariff .theme-white .googleplus a{color:#d34836}.shariff .theme-white .googleplus a:hover{color:#d34836}.shariff .vk a{background-color:#527498;color:#fff}.shariff .vk a:hover{background-color:#4273c8}.shariff .theme-default .vk .share_count{color:#1e2e4f}.shariff .theme-white .vk a{color:#527498!important}.shariff .theme-white .vk a:hover{color:#527498}.shariff .mailform a{background-color:#999}.shariff .mailform a:hover{background-color:#a8a8a8}.shariff .theme-white .mailform a{color:#999}.shariff .theme-white .mailform a:hover{color:#999}.shariff .buttonsize-small .mailform .s3uu{font-size:14px!important}.shariff .mailto a{background-color:#999}.shariff .mailto a:hover{background-color:#a8a8a8}.shariff .theme-white .mailto a{color:#999}.shariff .theme-white .mailto a:hover{color:#999}.shariff .buttonsize-small .mailto .s3uu{font-size:14px!important}.shariff .info{border:1px solid #ccc}.shariff .info a{color:#666!important;background-color:#fff;text-align:center}.shariff .info a:hover{background-color:#efefef}.shariff .info .s3uu-info{width:35px;max-width:35px}.shariff .info .share_text{display:block!important;text-indent:-9999px!important}.shariff .theme-grey .info a{background-color:#fff}.shariff .theme-grey .info a:hover{background-color:#efefef}.shariff .orientation-vertical .info{width:35px;float:left}.shariff .orientation-vertical.buttonsize-small .info{width:25px;float:left}@media only screen and (min-width:360px){.shariff .orientation-horizontal .info{-webkit-flex:none!important;-ms-flex:none!important;flex:none!important;width:35px;min-width:35px;max-width:35px}.shariff .orientation-vertical .info{width:35px}.shariff .orientation-vertical.buttonsize-small .info{width:25px}.shariff .orientation-vertical.buttonsize-small .info .s3uu{line-height:24px;width:23px}.shariff .orientation-horizontal.buttonsize-small .info{width:25px;min-width:25px;max-width:25px}.shariff .orientation-horizontal.buttonsize-small .info .s3uu{line-height:24px;width:23px}}.shariff .whatsapp a{background-color:#5cbe4a}.shariff .whatsapp a:hover{background-color:#34af23}.shariff .s3uu-whatsapp{margin-left:1px}.shariff .theme-white .whatsapp a{color:#5cbe4a}.shariff .theme-white .whatsapp a:hover{color:#5cbe4a}.shariff .xing a{background-color:#126567;color:#fff}.shariff .xing a:hover{background-color:#29888a}.shariff .theme-default .xing .share_count{color:#031010}.shariff .theme-white .xing a{color:#126567}.shariff .theme-white .xing a:hover{color:#126567}.shariff .pinterest a{background-color:#cb2027;color:#fff}.shariff .pinterest a:hover{background-color:#e70f18}.shariff .theme-default .pinterest .share_count{color:#731216}.shariff .theme-white .pinterest a{color:#cb2027!important}.shariff .theme-white .pinterest a:hover{color:#cb2027}.shariff .stumbleupon a{background-color:#eb4b24}.shariff .stumbleupon a:hover{background-color:#e1370e}.shariff .stumbleupon .s3uu-stumbleupon{font-size:20px}.shariff .stumbleupon .s3uu-stumbleupon .buttonsize-small{font-size:16px}.shariff .theme-default .stumbleupon .share_count{color:#9b2a0e}.shariff .theme-white .stumbleupon a{color:#eb4b24!important}.shariff .theme-white .stumbleupon a:hover{color:#eb4b24}.shariff .printer a{background-color:#999}.shariff .printer a:hover{background-color:#a8a8a8}.shariff .theme-white .printer a{color:#999}.shariff .theme-white .printer a:hover{color:#999}.shariff .reddit a{background-color:#cee3f8;color:#000!important}.shariff .reddit a:hover{background-color:#bedcf9}.shariff .reddit .share_count{color:#000}.shariff .theme-white .reddit a{color:#000!important}.shariff .theme-grey .reddit a{color:#fff!important}.shariff .theme-grey .reddit a .share_count{color:#fff!important}.widget .shariff .theme-color .reddit a,.widget .shariff .theme-round .reddit a,.widget .shariff .theme-white .reddit a{color:#000!important}.shariff .linkedin a{background-color:#0077b5}.shariff .linkedin a:hover{background-color:#1488bf}.shariff .theme-default .linkedin .share_count{background-color:#33AAE8}.shariff .theme-white .linkedin a{color:#0077b5}.shariff .theme-white .linkedin a:hover{color:#0077b5}.shariff .flattr a{background-color:#7ea352;color:#fff}.shariff .flattr a .s3uu{font-size:18px}.shariff .flattr a:hover{background-color:#F67C1A}.shariff .theme-default .flattr .share_count{color:#4a5f30}.shariff .theme-default .flattr a:hover .share_count{color:#a44c06}.shariff .theme-white .flattr a{color:#7ea352}.shariff .theme-white .flattr a:hover{color:#7ea352}.shariff .buttonsize-small .flattr a .s3uu{font-size:14px}.shariff .paypal a{background-color:#009cde;color:#fff}.shariff .paypal a .s3uu{font-size:18px}.shariff .paypal a:hover{background-color:#0285d2}.shariff .theme-default .paypal .share_count{color:#005478}.shariff .theme-default .paypal a:hover .share_count{color:#005478}.shariff .theme-white .paypal a{color:#009cde}.shariff .theme-white .paypal a:hover{color:#0285d2}.shariff .buttonsize-small .paypal a .s3uu{font-size:14px}.shariff .bitcoin a{background-color:#f7931a;color:#fff}.shariff .bitcoin a .s3uu{font-size:18px}.shariff .bitcoin a:hover{background-color:#000}.shariff .theme-default .bitcoin .share_count{color:#a55d06}.shariff .theme-default .bitcoin a:hover .share_count{color:#a55d06}.shariff .theme-white .bitcoin a{color:#f7931a}.shariff .theme-white .bitcoin a:hover{color:#000}.shariff .buttonsize-small .bitcoin a .s3uu{font-size:14px}.shariff .tumblr a{background-color:#36465d;color:#fff}.shariff .tumblr a .s3uu{font-size:18px}.shariff .tumblr a:hover{background-color:#529ecc}.shariff .theme-default .tumblr .share_count{color:#11151c}.shariff .theme-default .tumblr a:hover .share_count{color:#11151c}.shariff .theme-white .tumblr a{color:#36465d}.shariff .theme-white .tumblr a:hover{color:#529ecc}.shariff .buttonsize-small .tumblr a .s3uu{font-size:14px}.shariff .patreon a{background-color:#e6461a;color:#fff}.shariff .patreon a .s3uu{font-size:18px}.shariff .patreon a:hover{background-color:#f09076}.shariff .theme-default .patreon .share_count{color:#8b2a0f}.shariff .theme-default .patreon a:hover .share_count{color:#8b2a0f}.shariff .theme-white .patreon a{color:#e6461a}.shariff .theme-white .patreon a:hover{color:#232d32}.shariff .buttonsize-small .patreon a .s3uu{font-size:14px}.shariff .addthis a{background-color:#f8694d;color:#fff}.shariff .addthis a:hover{background-color:#f75b44}.shariff .theme-default .addthis .share_count{color:#d72a08}.shariff .theme-white .addthis a{color:#f8694d}.shariff .theme-white .addthis a:hover{color:#f8694d}.shariff .diaspora a{background-color:#999;color:#fff}.shariff .diaspora a:hover{background-color:#b3b3b3}.shariff .theme-default .diaspora .share_count{color:#666}.shariff .theme-white .diaspora a{color:#999}.shariff .theme-white .diaspora a:hover{color:#999}.shariff .threema a{background-color:#1f1f1f;color:#fff}.shariff .threema a:hover{background-color:#4fbc24}.shariff .theme-default .threema .share_count{color:#000}.shariff .theme-white .threema a{color:#1f1f1f}.shariff .theme-white .threema a:hover{color:#1f1f1f}.shariff .paypalme a{background-color:#009cde;color:#fff}.shariff .paypalme a .s3uu{font-size:18px}.shariff .paypalme a:hover{background-color:#0285d2}.shariff .theme-default .paypalme .share_count{color:#005478}.shariff .theme-default .paypalme a:hover .share_count{color:#005478}.shariff .theme-white .paypalme a{color:#009cde}.shariff .theme-white .paypalme a:hover{color:#0285d2}.shariff .buttonsize-small .paypalme a .s3uu{font-size:14px}.shariff .rss a{background-color:#f7931a;color:#000}.shariff .rss a .s3uu{font-size:18px}.shariff .rss a:hover{background-color:#fff;color:#f7931a}.shariff .theme-default .rss .share_count{color:#a55d06}.shariff .theme-default .rss a:hover .share_count{color:#a55d06}.shariff .theme-color .rss a:hover{color:#f7931a!important}.shariff .theme-grey .rss a{color:#fff}.shariff .theme-grey .rss a:hover{color:#fff;background-color:#f7931a}.shariff .theme-white .rss a{color:#f7931a}.shariff .theme-white .rss a:hover{color:#000}.shariff .buttonsize-small .rss a .s3uu{font-size:14px}
     6 */@font-face{font-family:shariff3uu;src:url(../fonts/shariff3uu.eot) format('embedded-opentype'),url(../fonts/shariff3uu.woff) format('woff'),url(../fonts/shariff3uu.ttf) format('truetype'),url(../fonts/shariff3uu.svg) format('svg');font-weight:400;font-style:normal}.shariff .s3uu{font-family:shariff3uu;speak:none;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-feature-settings:normal;font-feature-settings:normal;-webkit-font-kerning:auto;font-kerning:auto;-webkit-font-language-override:normal;font-language-override:normal;font-size:inherit;font-size-adjust:none;font-stretch:normal;font-synthesis:weight style;text-rendering:auto;width:35px;line-height:35px;text-align:center;vertical-align:middle;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shariff .s3uu-google-plus:before{content:"\e900"}.shariff .s3uu-threema:before{content:"\e901"}.shariff .s3uu-addthis:before{content:"\e902"}.shariff .s3uu-tumblr:before{content:"\eabb"}.shariff .s3uu-facebook:before{content:"\e800"}.shariff .s3uu-twitter:before{content:"\e801"}.shariff .s3uu-pinterest:before{content:"\e803"}.shariff .s3uu-xing:before{content:"\e804"}.shariff .s3uu-linkedin:before{content:"\e805"}.shariff .s3uu-reddit:before{content:"\e806"}.shariff .s3uu-stumbleupon:before{content:"\e807"}.shariff .s3uu-envelope:before{content:"\e808"}.shariff .s3uu-print:before{content:"\e809"}.shariff .s3uu-info:before{content:"\e80a"}.shariff .s3uu-flattr:before{content:"\e80b"}.shariff .s3uu-whatsapp:before{content:"\f232"}.shariff .s3uu-paypal:before{content:"\e603"}.shariff .s3uu-patreon:before{content:"\e602"}.shariff .s3uu-bitcoin:before{content:"\e601"}.shariff .s3uu-vk:before{content:"\e600"}.shariff .s3uu-diaspora:before{content:"\e903"}.shariff .s3uu-rss:before{content:"\e904"}.flattr_warning{background-color:red;color:#fff;font-size:20px;font-weight:700;padding:10px;text-align:center;margin:0 auto;line-height:1.5}.shariff_mailform{background:#eee none repeat scroll 0 0;border:1px solid;margin:10px;max-width:750px;padding:10px 15px}.shariff_mailform form{margin:0}.shariff_mailform fieldset{border:none;margin:0;padding:0}.shariff_mailform label{margin-left:3px;display:inline-block}.shariff_mailform p{margin:10px 0 0 0!important}.shariff_mailform textarea{height:auto!important;width:90%!important}.shariff_mailform input,.shariff_mailform select{vertical-align:baseline}.shariff_mailform_error{color:red;font-weight:700;padding:0 0 5px}.shariff_mailform_disabled{color:red;font-weight:700;padding:2px 0 0}.shariff_mailform_headline{font-weight:700;padding:0}.shariff::after,.shariff::before{content:" ";display:table}.shariff::after{clear:both}.shariff span{color:inherit}.shariff ul{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;padding:0!important;margin:0!important}.shariff ul li{list-style-type:none}.shariff ul li::before{content:normal!important}.shariff li{height:35px;box-sizing:border-box;overflow:hidden!important;margin:5px!important;padding:0!important;text-indent:0!important}.shariff li a{color:#fff;position:relative;display:block;height:35px;text-decoration:none;box-sizing:border-box;border:0}.shariff li .share_text{vertical-align:top!important}.shariff li .share_count,.shariff li .share_text{font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:36px}.shariff li .s3uu{width:35px;line-height:35px;text-align:center;vertical-align:top;font-size:20px}.shariff li .share_count{padding:0 8px;height:33px;position:absolute;top:0;right:0;margin:1px;background-color:rgba(255,255,255,.5);vertical-align:middle}.shariff .orientation-horizontal li{-webkit-box-flex:1}.shariff .orientation-horizontal .info{-webkit-box-flex:0}.shariff .orientation-horizontal li{float:left;-webkit-flex:none;-ms-flex:none;flex:none}.shariff .orientation-horizontal li .share_text{display:block;text-indent:-9999px;padding-left:3px}.shariff .orientation-horizontal li .share_count{display:none}.shariff .theme-default .shariff-button a{color:#fff}.shariff .theme-color .share_count{background-color:transparent!important;color:#fff}.shariff .theme-color a{color:#fff!important}.shariff .theme-color a:hover{color:#fff}.shariff .theme-grey .share_count{background-color:transparent}.shariff .theme-grey .shariff-button a{background-color:#b0b0b0;color:#fff}.shariff .theme-white .share_count{background-color:transparent}.shariff .theme-white .shariff-button{border:1px solid #ddd}.shariff .theme-white .shariff-button a{background-color:#fff;color:0}.shariff .theme-white .shariff-button a:hover{background-color:#eee}.shariff .theme-round .share_count{display:inline;height:100%;padding:0;right:0;left:0;top:0;margin:0;width:100%;background-color:transparent;color:transparent!important}.shariff .theme-round .shariff-button{width:35px!important;min-width:35px!important;max-width:35px!important;height:35px;border-radius:50%;margin:5px}.shariff .theme-round .share_text{display:block;text-indent:-9999px}.shariff .theme-round li{background:0 0}.shariff .theme-round li .s3uu{vertical-align:baseline}.shariff .theme-round li a{color:#fff}.shariff .theme-round a{text-align:center;color:#fff;position:relative;height:35px;border-radius:50%}.shariff .theme-round li.facebook .share_count:hover{background-color:#99adcf!important;color:#183a75!important}.shariff .theme-round li.twitter .share_count:hover{background-color:#96d4ee!important;color:#0174a4!important}.shariff .theme-round li.googleplus .share_count:hover{background-color:#eda79d!important;color:#a31601!important}.shariff .theme-round li.pinterest .share_count:hover{background-color:#ff050f!important;color:#fff!important}.shariff .theme-round li.linkedin .share_count:hover{background-color:#99adcf!important;color:#183a75!important}.shariff .theme-round li.xing .share_count:hover{background-color:#4fa5a7!important;color:#15686a!important}.shariff .theme-round li.reddit .share_count:hover{background-color:#e9f2fa!important;color:#000!important}.shariff .theme-round li.stumbleupon .share_count:hover{background-color:#fb613c!important;color:#fff!important}.shariff .theme-round li.flattr .share_count:hover{background-color:#F67C1A!important;color:#fff!important}.shariff .theme-round li.paypal .share_count:hover{background-color:#0285d2!important;color:#fff!important}.shariff .theme-round li.bitcoin .share_count:hover{background-color:#f7931a!important;color:#fff!important}.shariff .theme-round li.tumblr .share_count:hover{background-color:#529ecc!important;color:#fff!important}.shariff .theme-round li.patreon .share_count:hover{background-color:#e6461a!important;color:#fff!important}.shariff .theme-round li.vk .share_count:hover{background-color:#99adcf!important;color:#fff!important}.shariff .orientation-vertical{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.shariff .orientation-vertical li{width:135px}.shariff .orientation-vertical li a{color:#fff}.shariff .buttonsize-small li{height:25px}.shariff .buttonsize-small li a{height:25px}.shariff .buttonsize-small li .share_count,.shariff .buttonsize-small li .share_text{font-size:11px;line-height:25px;padding:0 5px;height:23px}.shariff .buttonsize-small li .s3uu{width:25px;line-height:25px;font-size:16px}.shariff .buttonsize-small li .share_text{padding-left:1px!important}.shariff .orientation-vertical.buttonsize-small li{width:115px}.shariff .theme-round.buttonsize-small li .s3uu{margin-top:0}.shariff .theme-round.buttonsize-small .shariff-button{width:25px!important;min-width:25px!important;max-width:25px!important;height:25px!important}.shariff .theme-round.buttonsize-small .share_count{padding:0!important;height:25px!important}.widget .shariff .theme-color li a,.widget .shariff .theme-default li a,.widget .shariff .theme-grey li a,.widget .shariff .theme-round li a{color:#fff}.widget .shariff .theme-color li a:hover,.widget .shariff .theme-default li a:hover,.widget .shariff .theme-grey li a:hover,.widget .shariff .theme-round li a:hover{color:#fff}@media only screen and (max-width:360px){.shariff .orientation-horizontal li{min-width:35px;max-width:35px}.shariff .orientation-horizontal.buttonsize-small li{min-width:25px;max-width:25px}}@media only screen and (min-width:360px){.shariff .orientation-horizontal li{min-width:80px;width:auto}.shariff .orientation-horizontal li .share_count{display:block}.shariff .orientation-horizontal.col-1 li,.shariff .orientation-horizontal.col-2 li{min-width:130px}.shariff .orientation-horizontal.col-1 li .share_text,.shariff .orientation-horizontal.col-2 li .share_text{text-indent:0;display:inline!important}.shariff .orientation-horizontal.col-5 li,.shariff .orientation-horizontal.col-6 li{-webkit-flex:none;-ms-flex:none;flex:none}}@media only screen and (min-width:640px){.shariff .orientation-horizontal.col-3 li{min-width:130px}.shariff .orientation-horizontal.col-3 li .share_text{text-indent:0;display:inline!important}.shariff .orientation-horizontal.col-3.buttonsize-small li{min-width:105px}.shariff .orientation-horizontal.col-3.buttonsize-small li .share_text{text-indent:0;display:inline!important}}@media only screen and (min-width:768px){.shariff .orientation-horizontal li{min-width:130px}.shariff .orientation-horizontal li .share_text{text-indent:0;display:inline!important}.shariff .orientation-horizontal.buttonsize-small li{min-width:105px}.shariff .orientation-horizontal.buttonsize-small li .share_text{text-indent:0;display:inline!important}}@media only screen and (min-width:1024px){.shariff li{height:35px}.shariff li a{height:35px}.shariff li .s3uu{width:35px;line-height:35px}.shariff .buttonsize-small li{height:25px}.shariff .buttonsize-small li a{height:25px}.shariff .buttonsize-small li .s3uu{width:25px;line-height:25px}}.shariff .twitter a{background-color:#55acee}.shariff .twitter a:hover{background-color:#32bbf5}.shariff .theme-default .twitter .share_count{color:#147bc9}.shariff .theme-white .twitter a{color:#55acee}.shariff .theme-white .twitter a:hover{color:#55acee}.shariff .facebook a{background-color:#3b5998;color:#fff}.shariff .facebook a:hover{background-color:#4273c8}.shariff .theme-default .facebook .share_count{color:#1e2e4f}.shariff .theme-white .facebook a{color:#3b5998!important}.shariff .theme-white .facebook a:hover{color:#3b5998}.shariff .googleplus a{background-color:#d34836}.shariff .googleplus a:hover{background-color:#f75b44}.shariff .theme-default .googleplus .share_count{color:#86291d}.shariff .theme-white .googleplus a{color:#d34836}.shariff .theme-white .googleplus a:hover{color:#d34836}.shariff .vk a{background-color:#527498;color:#fff}.shariff .vk a:hover{background-color:#4273c8}.shariff .theme-default .vk .share_count{color:#1e2e4f}.shariff .theme-white .vk a{color:#527498!important}.shariff .theme-white .vk a:hover{color:#527498}.shariff .mailform a{background-color:#999}.shariff .mailform a:hover{background-color:#a8a8a8}.shariff .theme-white .mailform a{color:#999}.shariff .theme-white .mailform a:hover{color:#999}.shariff .buttonsize-small .mailform .s3uu{font-size:14px!important}.shariff .mailto a{background-color:#999}.shariff .mailto a:hover{background-color:#a8a8a8}.shariff .theme-white .mailto a{color:#999}.shariff .theme-white .mailto a:hover{color:#999}.shariff .buttonsize-small .mailto .s3uu{font-size:14px!important}.shariff .info{border:1px solid #ccc}.shariff .info a{color:#666!important;background-color:#fff;text-align:center}.shariff .info a:hover{background-color:#efefef}.shariff .info .s3uu-info{width:35px;max-width:35px}.shariff .info .share_text{display:block!important;text-indent:-9999px!important}.shariff .theme-grey .info a{background-color:#fff}.shariff .theme-grey .info a:hover{background-color:#efefef}.shariff .orientation-vertical .info{width:35px;float:left}.shariff .orientation-vertical.buttonsize-small .info{width:25px;float:left}@media only screen and (min-width:360px){.shariff .orientation-horizontal .info{-webkit-flex:none!important;-ms-flex:none!important;flex:none!important;width:35px;min-width:35px;max-width:35px}.shariff .orientation-vertical .info{width:35px}.shariff .orientation-vertical.buttonsize-small .info{width:25px}.shariff .orientation-vertical.buttonsize-small .info .s3uu{line-height:24px;width:23px}.shariff .orientation-horizontal.buttonsize-small .info{width:25px;min-width:25px;max-width:25px}.shariff .orientation-horizontal.buttonsize-small .info .s3uu{line-height:24px;width:23px}}.shariff .whatsapp a{background-color:#5cbe4a}.shariff .whatsapp a:hover{background-color:#34af23}.shariff .s3uu-whatsapp{margin-left:1px}.shariff .theme-white .whatsapp a{color:#5cbe4a}.shariff .theme-white .whatsapp a:hover{color:#5cbe4a}.shariff .xing a{background-color:#126567;color:#fff}.shariff .xing a:hover{background-color:#29888a}.shariff .theme-default .xing .share_count{color:#031010}.shariff .theme-white .xing a{color:#126567}.shariff .theme-white .xing a:hover{color:#126567}.shariff .pinterest a{background-color:#cb2027;color:#fff}.shariff .pinterest a:hover{background-color:#e70f18}.shariff .theme-default .pinterest .share_count{color:#731216}.shariff .theme-white .pinterest a{color:#cb2027!important}.shariff .theme-white .pinterest a:hover{color:#cb2027}.shariff .stumbleupon a{background-color:#eb4b24}.shariff .stumbleupon a:hover{background-color:#e1370e}.shariff .stumbleupon .s3uu-stumbleupon{font-size:20px}.shariff .stumbleupon .s3uu-stumbleupon .buttonsize-small{font-size:16px}.shariff .theme-default .stumbleupon .share_count{color:#9b2a0e}.shariff .theme-white .stumbleupon a{color:#eb4b24!important}.shariff .theme-white .stumbleupon a:hover{color:#eb4b24}.shariff .printer a{background-color:#999}.shariff .printer a:hover{background-color:#a8a8a8}.shariff .theme-white .printer a{color:#999}.shariff .theme-white .printer a:hover{color:#999}.shariff .reddit a{background-color:#cee3f8;color:#000!important}.shariff .reddit a:hover{background-color:#bedcf9}.shariff .reddit .share_count{color:#000}.shariff .theme-white .reddit a{color:#000!important}.shariff .theme-grey .reddit a{color:#fff!important}.shariff .theme-grey .reddit a .share_count{color:#fff!important}.widget .shariff .theme-color .reddit a,.widget .shariff .theme-round .reddit a,.widget .shariff .theme-white .reddit a{color:#000!important}.shariff .linkedin a{background-color:#0077b5}.shariff .linkedin a:hover{background-color:#1488bf}.shariff .theme-default .linkedin .share_count{background-color:#33AAE8}.shariff .theme-white .linkedin a{color:#0077b5}.shariff .theme-white .linkedin a:hover{color:#0077b5}.shariff .flattr a{background-color:#7ea352;color:#fff}.shariff .flattr a .s3uu{font-size:18px}.shariff .flattr a:hover{background-color:#F67C1A}.shariff .theme-default .flattr .share_count{color:#4a5f30}.shariff .theme-default .flattr a:hover .share_count{color:#a44c06}.shariff .theme-white .flattr a{color:#7ea352}.shariff .theme-white .flattr a:hover{color:#7ea352}.shariff .buttonsize-small .flattr a .s3uu{font-size:14px}.shariff .paypal a{background-color:#009cde;color:#fff}.shariff .paypal a .s3uu{font-size:18px}.shariff .paypal a:hover{background-color:#0285d2}.shariff .theme-default .paypal .share_count{color:#005478}.shariff .theme-default .paypal a:hover .share_count{color:#005478}.shariff .theme-white .paypal a{color:#009cde}.shariff .theme-white .paypal a:hover{color:#0285d2}.shariff .buttonsize-small .paypal a .s3uu{font-size:14px}.shariff .bitcoin a{background-color:#f7931a;color:#fff}.shariff .bitcoin a .s3uu{font-size:18px}.shariff .bitcoin a:hover{background-color:#000}.shariff .theme-default .bitcoin .share_count{color:#a55d06}.shariff .theme-default .bitcoin a:hover .share_count{color:#a55d06}.shariff .theme-white .bitcoin a{color:#f7931a}.shariff .theme-white .bitcoin a:hover{color:#000}.shariff .buttonsize-small .bitcoin a .s3uu{font-size:14px}.shariff .tumblr a{background-color:#36465d;color:#fff}.shariff .tumblr a .s3uu{font-size:18px}.shariff .tumblr a:hover{background-color:#529ecc}.shariff .theme-default .tumblr .share_count{color:#11151c}.shariff .theme-default .tumblr a:hover .share_count{color:#11151c}.shariff .theme-white .tumblr a{color:#36465d}.shariff .theme-white .tumblr a:hover{color:#529ecc}.shariff .buttonsize-small .tumblr a .s3uu{font-size:14px}.shariff .patreon a{background-color:#e6461a;color:#fff}.shariff .patreon a .s3uu{font-size:18px}.shariff .patreon a:hover{background-color:#f09076}.shariff .theme-default .patreon .share_count{color:#8b2a0f}.shariff .theme-default .patreon a:hover .share_count{color:#8b2a0f}.shariff .theme-white .patreon a{color:#e6461a}.shariff .theme-white .patreon a:hover{color:#232d32}.shariff .buttonsize-small .patreon a .s3uu{font-size:14px}.shariff .addthis a{background-color:#f8694d;color:#fff}.shariff .addthis a:hover{background-color:#f75b44}.shariff .theme-default .addthis .share_count{color:#d72a08}.shariff .theme-white .addthis a{color:#f8694d}.shariff .theme-white .addthis a:hover{color:#f8694d}.shariff .diaspora a{background-color:#999;color:#fff}.shariff .diaspora a:hover{background-color:#b3b3b3}.shariff .theme-default .diaspora .share_count{color:#666}.shariff .theme-white .diaspora a{color:#999}.shariff .theme-white .diaspora a:hover{color:#999}.shariff .threema a{background-color:#1f1f1f;color:#fff}.shariff .threema a:hover{background-color:#4fbc24}.shariff .theme-default .threema .share_count{color:#000}.shariff .theme-white .threema a{color:#1f1f1f}.shariff .theme-white .threema a:hover{color:#1f1f1f}.shariff .paypalme a{background-color:#009cde;color:#fff}.shariff .paypalme a .s3uu{font-size:18px}.shariff .paypalme a:hover{background-color:#0285d2}.shariff .theme-default .paypalme .share_count{color:#005478}.shariff .theme-default .paypalme a:hover .share_count{color:#005478}.shariff .theme-white .paypalme a{color:#009cde}.shariff .theme-white .paypalme a:hover{color:#0285d2}.shariff .buttonsize-small .paypalme a .s3uu{font-size:14px}.shariff .rss a{background-color:#f7931a;color:#000}.shariff .rss a .s3uu{font-size:18px}.shariff .rss a:hover{background-color:#fff;color:#f7931a}.shariff .theme-default .rss .share_count{color:#a55d06}.shariff .theme-default .rss a:hover .share_count{color:#a55d06}.shariff .theme-color .rss a:hover,.shariff .theme-default .rss a:hover,.shariff .theme-round .rss a:hover{color:#f7931a!important}.shariff .theme-grey .rss a{color:#fff}.shariff .theme-grey .rss a:hover{color:#fff;background-color:#f7931a}.shariff .theme-white .rss a{color:#f7931a}.shariff .theme-white .rss a:hover{color:#000}.shariff .buttonsize-small .rss a .s3uu{font-size:14px}
  • shariff/trunk/locale/shariff3UU-de_DE.po

    r1334839 r1345255  
    22msgstr ""
    33"Project-Id-Version: Shariff Wrapper for Wordpress\n"
    4 "PO-Revision-Date: 2016-01-18 19:55+0100\n"
     4"PO-Revision-Date: 2016-01-30 19:32+0100\n"
    55"Last-Translator: JP\n"
    66"Plural-Forms: nplurals=2; plural=n != 1;\n"
     
    166166#. Text in function
    167167#: shariff.php:1
     168msgid "[shariff title=\"My Post Title\"]</div>"
     169msgstr "[shariff title=\"Mein Beitragstitel\"]</div>"
     170
     171# @ shariff3UU
     172#. Text in function
     173#: shariff.php:1
     174msgid "Changes the rss feed url to another feed."
     175msgstr "Ändert die Feed-URL für den RSS-Button."
     176
     177# @ shariff3UU
     178#. Text in function
     179#: shariff.php:1
    168180msgid "Choose image"
    169181msgstr "Wähle Bild"
  • shariff/trunk/readme.txt

    r1334839 r1345255  
    189189
    190190== Changelog ==
     191
     192= 3.4.1 =
     193- changed diaspora share url to official one
     194- fix css of rss button when using round theme in widget
     195- fix accessibility of share button text
     196- added rssfeed option to help section
     197- update to Heise version 1.23.0
    191198
    192199= 3.4.0 =
  • shariff/trunk/shariff.js

    r1334839 r1345255  
    11
    22/*!
    3  * shariff - v1.22.0 - 18.01.2016
     3 * shariff - v1.23.0 - 30.01.2016
    44 * https://github.com/heiseonline/shariff
    55 * Copyright (c) 2016 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli
     
    3535
    3636},{}],9:[function(require,module,exports){
    37 "use strict";var url=require("url");module.exports=function(e){var r=url.parse("https://sharetodiaspora.github.io/",!0);return r.query.url=e.getURL(),r.query.title=e.getTitle()||e.getMeta("DC.title"),r.protocol="https",delete r.search,{popup:!0,mobileonly:!1,shareText:{de:"teilen",en:"share"},name:"diaspora",faName:"s3uu-diaspora",title:{de:"Bei Diaspora teilen",en:"Share on Diaspora"},shareUrl:url.format(r)+e.getReferrerTrack()}};
     37"use strict";var url=require("url");module.exports=function(e){var r=url.parse("https://share.diasporafoundation.org/",!0);return r.query.url=e.getURL(),r.query.title=e.getTitle()||e.getMeta("DC.title"),r.protocol="https",delete r.search,{popup:!0,mobileonly:!1,shareText:{de:"teilen",en:"share"},name:"diaspora",faName:"s3uu-diaspora",title:{de:"Bei Diaspora teilen",en:"Share on Diaspora"},shareUrl:url.format(r)+e.getReferrerTrack()}};
    3838
    3939},{"url":6}],10:[function(require,module,exports){
     
    104104},{}],31:[function(require,module,exports){
    105105(function (global){
    106 "use strict";var $=(typeof window !== "undefined" ? window['jQuery'] : typeof global !== "undefined" ? global['jQuery'] : null),url=require("url"),window=require("browserify-window"),Shariff=function(e,t){var r=this;this.element=e,$(e).empty(),this.options=$.extend({},this.defaults,t,$(e).data());var i=[require("./services/facebook.js"),require("./services/vk.js"),require("./services/googleplus.js"),require("./services/twitter.js"),require("./services/whatsapp.js"),require("./services/mailform.js"),require("./services/info.js"),require("./services/mailto.js"),require("./services/linkedin.js"),require("./services/xing.js"),require("./services/pinterest.js"),require("./services/reddit.js"),require("./services/stumbleupon.js"),require("./services/printer.js"),require("./services/flattr.js"),require("./services/paypal.js"),require("./services/bitcoin.js"),require("./services/tumblr.js"),require("./services/patreon.js"),require("./services/addthis.js"),require("./services/diaspora.js"),require("./services/threema.js"),require("./services/paypalme.js"),require("./services/rss.js")];this.services=$.map(this.options.services,function(e){var t;return i.forEach(function(i){return i=i(r),"mail"===e&&(e="mailform"),i.name===e?(t=i,null):void 0}),t}),this._addButtonList(),null!==this.options.backendUrl&&this.getShares().then($.proxy(this._updateCounts,this))};Shariff.prototype={defaults:{theme:"default",backendUrl:null,infoUrl:"http://ct.de/-2467514",lang:"de",langFallback:"en",mailUrl:function(){var e=url.parse(this.getURL(),!0);return e.query.view="mail",delete e.search,url.format(e)},mailSubject:function(){return this.getMeta("DC.title")||this.getTitle()},mailBody:function(){return"<"+this.getURL()+">"},mediaUrl:null,orientation:"horizontal",buttonsize:"big",referrerTrack:null,services:["twitter","facebook","googleplus","info"],title:function(){return $("head title").text()},twitterVia:null,flattruser:null,url:function(){var e=global.document.location.href,t=$("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return t.length>0&&(t.indexOf("http")<0&&(t=global.document.location.protocol+"//"+global.document.location.host+t),e=t),e}},$socialshareElement:function(){return $(this.element)},getLocalized:function(e,t){return"object"==typeof e[t]?"undefined"==typeof e[t][this.options.lang]?e[t][this.options.langFallback]:e[t][this.options.lang]:"string"==typeof e[t]?e[t]:void 0},getMeta:function(e){var t=$('meta[name="'+e+'"],[property="'+e+'"]').attr("content");return t||""},getInfoUrl:function(){return this.options.infoUrl},getURL:function(){return this.getOption("url")},getOption:function(e){var t=this.options[e];return"function"==typeof t?$.proxy(t,this)():t},getTitle:function(){return this.getOption("title")},getReferrerTrack:function(){return this.options.referrerTrack||""},getMedia:function(){return this.getOption("media")},getShares:function(){var e=url.parse(this.options.backendUrl,!0);return e.query.url=this.getURL(),delete e.search,e.query.timestamp=this.getOption("timestamp"),$.getJSON(url.format(e))},_updateCounts:function(e){var t=this;$.each(e,function(e,r){r>=1e3&&(r=Math.round(r/1e3)+"k"),$(t.element).find("."+e+" a").append('<span class="share_count">'+r)})},_addButtonList:function(){var e=this,t=this.$socialshareElement(),r="theme-"+this.options.theme,i="orientation-"+this.options.orientation,s="col-"+this.options.services.length,n="buttonsize-"+this.options.buttonsize,a=$("<ul>").addClass(r).addClass(i).addClass(s).addClass(n);this.services.forEach(function(t){if(!t.mobileonly||"undefined"!=typeof window.orientation||"object"==typeof window.document.ontouchstart){var r=$('<li class="shariff-button">').addClass(t.name),i='<span class="share_text">'+e.getLocalized(t,"shareText"),s=$("<a>").attr("href",t.shareUrl).append(i);"undefined"!=typeof t.faName&&s.prepend('<span class="s3uu '+t.faName+'">'),t.popup?s.attr("data-rel","popup"):t.blank&&s.attr("target","_blank"),s.attr("title",e.getLocalized(t,"title")),s.attr("role","button"),s.attr("aria-label",e.getLocalized(t,"title")),r.append(s),a.append(r)}}),a.on("click",'[data-rel="popup"]',function(e){e.preventDefault();var t=$(this).attr("href"),r="_blank",i="1000",s="500",n="width="+i+",height="+s+",scrollbars=yes";global.window.open(t,r,n)}),t.append(a)}},module.exports=Shariff,global.Shariff=Shariff,$(".shariff").each(function(){this.hasOwnProperty("shariff")||(this.shariff=new Shariff(this))});
     106"use strict";var $=(typeof window !== "undefined" ? window['jQuery'] : typeof global !== "undefined" ? global['jQuery'] : null),url=require("url"),window=require("browserify-window"),Shariff=function(e,t){var r=this;this.element=e,$(e).empty(),this.options=$.extend({},this.defaults,t,$(e).data());var i=[require("./services/facebook.js"),require("./services/vk.js"),require("./services/googleplus.js"),require("./services/twitter.js"),require("./services/whatsapp.js"),require("./services/mailform.js"),require("./services/info.js"),require("./services/mailto.js"),require("./services/linkedin.js"),require("./services/xing.js"),require("./services/pinterest.js"),require("./services/reddit.js"),require("./services/stumbleupon.js"),require("./services/printer.js"),require("./services/flattr.js"),require("./services/paypal.js"),require("./services/bitcoin.js"),require("./services/tumblr.js"),require("./services/patreon.js"),require("./services/addthis.js"),require("./services/diaspora.js"),require("./services/threema.js"),require("./services/paypalme.js"),require("./services/rss.js")];this.services=$.map(this.options.services,function(e){var t;return i.forEach(function(i){return i=i(r),"mail"===e&&(e="mailform"),i.name===e?(t=i,null):void 0}),t}),this._addButtonList(),null!==this.options.backendUrl&&this.getShares().then($.proxy(this._updateCounts,this))};Shariff.prototype={defaults:{theme:"default",backendUrl:null,infoUrl:"http://ct.de/-2467514",lang:"de",langFallback:"en",mailUrl:function(){var e=url.parse(this.getURL(),!0);return e.query.view="mail",delete e.search,url.format(e)},mailSubject:function(){return this.getMeta("DC.title")||this.getTitle()},mailBody:function(){return"<"+this.getURL()+">"},mediaUrl:null,orientation:"horizontal",buttonsize:"big",referrerTrack:null,services:["twitter","facebook","googleplus","info"],title:function(){return $("head title").text()},twitterVia:null,flattruser:null,url:function(){var e=global.document.location.href,t=$("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return t.length>0&&(t.indexOf("http")<0&&(t=global.document.location.protocol+"//"+global.document.location.host+t),e=t),e}},$socialshareElement:function(){return $(this.element)},getLocalized:function(e,t){return"object"==typeof e[t]?"undefined"==typeof e[t][this.options.lang]?e[t][this.options.langFallback]:e[t][this.options.lang]:"string"==typeof e[t]?e[t]:void 0},getMeta:function(e){var t=$('meta[name="'+e+'"],[property="'+e+'"]').attr("content");return t||""},getInfoUrl:function(){return this.options.infoUrl},getURL:function(){return this.getOption("url")},getOption:function(e){var t=this.options[e];return"function"==typeof t?$.proxy(t,this)():t},getTitle:function(){return this.getOption("title")},getReferrerTrack:function(){return this.options.referrerTrack||""},getMedia:function(){return this.getOption("media")},getShares:function(){var e=url.parse(this.options.backendUrl,!0);return e.query.url=this.getURL(),delete e.search,e.query.timestamp=this.getOption("timestamp"),$.getJSON(url.format(e))},_updateCounts:function(e){var t=this;$.each(e,function(e,r){r>=1e3&&(r=Math.round(r/1e3)+"k"),$(t.element).find("."+e+" a").append('&nbsp;<span class="share_count">'+r)})},_addButtonList:function(){var e=this,t=this.$socialshareElement(),r="theme-"+this.options.theme,i="orientation-"+this.options.orientation,s="col-"+this.options.services.length,n="buttonsize-"+this.options.buttonsize,a=$("<ul>").addClass(r).addClass(i).addClass(s).addClass(n);this.services.forEach(function(t){if(!t.mobileonly||"undefined"!=typeof window.orientation||"object"==typeof window.document.ontouchstart){var r=$('<li class="shariff-button">').addClass(t.name),i='<span class="share_text">'+e.getLocalized(t,"shareText"),s=$("<a>").attr("href",t.shareUrl).append(i);"undefined"!=typeof t.faName&&s.prepend('<span class="s3uu '+t.faName+'">'),t.popup?s.attr("data-rel","popup"):t.blank&&s.attr("target","_blank"),s.attr("title",e.getLocalized(t,"title")),s.attr("role","button"),s.attr("aria-label",e.getLocalized(t,"title")),r.append(s),a.append(r)}}),a.on("click",'[data-rel="popup"]',function(e){e.preventDefault();var t=$(this).attr("href"),r="_blank",i="1000",s="500",n="width="+i+",height="+s+",scrollbars=yes";global.window.open(t,r,n)}),t.append(a)}},module.exports=Shariff,global.Shariff=Shariff,$(".shariff").each(function(){this.hasOwnProperty("shariff")||(this.shariff=new Shariff(this))});
    107107}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
    108108},{"./services/addthis.js":7,"./services/bitcoin.js":8,"./services/diaspora.js":9,"./services/facebook.js":10,"./services/flattr.js":11,"./services/googleplus.js":12,"./services/info.js":13,"./services/linkedin.js":14,"./services/mailform.js":15,"./services/mailto.js":16,"./services/patreon.js":17,"./services/paypal.js":18,"./services/paypalme.js":19,"./services/pinterest.js":20,"./services/printer.js":21,"./services/reddit.js":22,"./services/rss.js":23,"./services/stumbleupon.js":24,"./services/threema.js":25,"./services/tumblr.js":26,"./services/twitter.js":27,"./services/vk.js":28,"./services/whatsapp.js":29,"./services/xing.js":30,"browserify-window":1,"url":6}]},{},[31]);
  • shariff/trunk/shariff.php

    r1334839 r1345255  
    44 * Plugin URI: http://www.3uu.org/plugins.htm
    55 * Description: This is a wrapper to Shariff. It enables shares with Twitter, Facebook ... on posts, pages and themes with no harm for visitors privacy.
    6  * Version: 3.4.0
     6 * Version: 3.4.1
    77 * Author: 3UU, JP
    88 * Author URI: http://www.DatenVerwurstungsZentrale.com/
     
    5050
    5151    /******************** ADJUST VERSION ********************/
    52     $code_version = "3.4.0"; // set code version - needs to be adjusted for every new version!
     52    $code_version = "3.4.1"; // set code version - needs to be adjusted for every new version!
    5353    /******************** ADJUST VERSION ********************/
    5454
Note: See TracChangeset for help on using the changeset viewer.