diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-08-26 15:10:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-26 15:10:03 +0200 |
commit | c20aef87956ce0cc442d809f417f40d61bcd1485 (patch) | |
tree | cb87075d9f4cc36838ea56f655ecc6049f5fae12 /apps/federatedfilesharing/templates | |
parent | 53725d4d15680f7254427dac92e231c3fe669d0b (diff) | |
parent | 6b885bbc56dfd06a7732864e8f8feb2bcb7203e3 (diff) | |
download | nextcloud-server-c20aef87956ce0cc442d809f417f40d61bcd1485.tar.gz nextcloud-server-c20aef87956ce0cc442d809f417f40d61bcd1485.zip |
Merge pull request #1085 from nextcloud/fix-ffs-sharing-syntax
Fix the syntax of the federation ID share buttons
Diffstat (limited to 'apps/federatedfilesharing/templates')
-rw-r--r-- | apps/federatedfilesharing/templates/settings-personal.php | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/apps/federatedfilesharing/templates/settings-personal.php b/apps/federatedfilesharing/templates/settings-personal.php index 0f51e6a5c4e..6b43f70495f 100644 --- a/apps/federatedfilesharing/templates/settings-personal.php +++ b/apps/federatedfilesharing/templates/settings-personal.php @@ -3,10 +3,6 @@ /** @var array $_ */ script('federatedfilesharing', 'settings-personal'); style('federatedfilesharing', 'settings-personal'); -if ($_['showShareIT']) { - script('federatedfilesharing', '3rdparty/gs-share/gs-share'); - style('federatedfilesharing', '3rdparty/gs-share/style'); -} ?> <?php if ($_['outgoingServer2serverShareEnabled']): ?> @@ -23,30 +19,23 @@ if ($_['showShareIT']) { <?php if ($_['showShareIT']) {?> <p> - <?php p($l->t('Share it:')); ?> - <div class="gs-share"> - <button data-url="<?php p(urlencode($_['reference'])); ?>" - data-title='<?php p(urlencode($_['message_without_URL'])); ?>' - class='js-gs-share social-gnu'> - GNU Social - </button> - </div> - <button class="social-diaspora pop-up" - data-url='https://sharetodiaspora.github.io/?title=<?php p($_['message_without_URL']); ?>&url=<?php p(urlencode($_['reference'])); ?>'> - Diaspora + <?php p($l->t('Share it:')); ?><br> + <button class="social-facebook pop-up" + data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p(urlencode($_['reference'])); ?>'> + Facebook </button> <button class="social-twitter pop-up" data-url='https://twitter.com/intent/tweet?text=<?php p(urlencode($_['message_with_URL'])); ?>'> Twitter </button> - <button class="social-facebook pop-up" - data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p(urlencode($_['reference'])); ?>'> - Facebook - </button> <button class="social-googleplus pop-up" - data-url='https://plus.google.com/share?url=<?php p(urlencode($_['reference'])); ?>'/> + data-url='https://plus.google.com/share?url=<?php p(urlencode($_['reference'])); ?>'> Google+ </button> + <button class="social-diaspora pop-up" + data-url='https://sharetodiaspora.github.io/?title=<?php p($_['message_without_URL']); ?>&url=<?php p(urlencode($_['reference'])); ?>'> + Diaspora + </button> <button id="oca-files-sharing-add-to-your-website"> <?php p($l->t('Add to your website')) ?> </button> |