summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-04-25 17:44:31 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-04-27 11:38:33 +0000
commit2b776b59a4c0786850af23e4583ff0dd4d18a66f (patch)
tree0c6eebcc65b234e98a435caceab63c7eac1e9d7e
parent6b39a5ee1e067ab8ecd0c1fc976e21a870ffbe1a (diff)
downloadnextcloud-server-2b776b59a4c0786850af23e4583ff0dd4d18a66f.tar.gz
nextcloud-server-2b776b59a4c0786850af23e4583ff0dd4d18a66f.zip
fix social sharing buttons
Signed-off-by: szaimen <szaimen@e.mail.de>
-rw-r--r--apps/federatedfilesharing/templates/settings-personal.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/templates/settings-personal.php b/apps/federatedfilesharing/templates/settings-personal.php
index 38ca4e69e8c..0539fede42e 100644
--- a/apps/federatedfilesharing/templates/settings-personal.php
+++ b/apps/federatedfilesharing/templates/settings-personal.php
@@ -22,11 +22,11 @@ style('federatedfilesharing', 'settings-personal');
<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>