Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix social sharing buttons
Signed-off-by: szaimen <[email protected]>
  • Loading branch information
szaimen authored and backportbot-nextcloud[bot] committed Apr 27, 2022
commit 111dea12af57418ff2e6cc14f7099e70f91e8ca0
6 changes: 3 additions & 3 deletions apps/federatedfilesharing/templates/settings-personal.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

<p>
<?php p($l->t('Share it so your friends can share files with you:')); ?><br>
<button class="social-facebook pop-up"
<button class="social-facebook pop-up social_sharing_buttons"
data-url='https://www.facebook.com/sharer/sharer.php?u=<?php p(urlencode($_['reference'])); ?>'>
Facebook
</button>
<button class="social-twitter pop-up"
<button class="social-twitter pop-up social_sharing_buttons"
data-url='https://twitter.com/intent/tweet?text=<?php p(urlencode($_['message_with_URL'])); ?>'>
Twitter
</button>
<button class="social-diaspora pop-up"
<button class="social-diaspora pop-up social_sharing_buttons"
data-url='https://share.diasporafoundation.org/?title=<?php p($_['message_without_URL']); ?>&url=<?php p(urlencode($_['reference'])); ?>'>
Diaspora
</button>
Expand Down