From a89fce27cbc3f3cdfe0cbc10f1ba63a85efa8ebb Mon Sep 17 00:00:00 2001 From: maTh Date: Wed, 16 Mar 2022 23:23:15 +0100 Subject: New sharing service: Web sharing API (#4271) * new optional option: HTMLtag * Update main.js * add: web sharing API * Update gen.php * Update gen.php * Update gen.php * fix spaces * Update shares.php * fixed JavaScript * Update template.rtl.css * Typo * improved: if (!navigator.share) * Update main.js * comma-dangle only for arrays and objects * Update app/i18n/fr/gen.php Co-authored-by: Alexandre Alapetite * i18n: System sharing Co-authored-by: Alexandre Alapetite --- app/views/helpers/index/normal/entry_bottom.phtml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'app/views/helpers/index') diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml index 9be6b99f7..220fc5f62 100644 --- a/app/views/helpers/index/normal/entry_bottom.phtml +++ b/app/views/helpers/index/normal/entry_bottom.phtml @@ -96,9 +96,14 @@ $share_options['title'] = $title; $share->update($share_options); ?>
  • - method()) {?> + method()) { + if ($share->HTMLtag() !== 'button') {?> name() ?> - + + + name() ?>
    -- cgit v1.2.3