|
4 | 4 | <ul<?php if ($this->theme): ?> class="theme <?= $this->theme ?>"<?php endif ?>> |
5 | 5 | <?php foreach ($this->networks as $network): ?> |
6 | 6 | <?php if ($network == 'facebook'): ?> |
7 | | - <li><a class="facebook fa fa-facebook-official" href="https://www.facebook.com/sharer/sharer.php?u=<?= $this->url ?>&t=<?= $this->title ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_facebook'] ?>" onclick="return shd.open(this.href,600,300);"></a></li> |
| 7 | + <li><a class="facebook fa fa-facebook-official" href="https://www.facebook.com/sharer/sharer.php?u=<?= $this->url ?>&t=<?= $this->title ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_facebook'] ?>" onclick="return shd.open(this.href,600,300);"></a></li> |
8 | 8 | <?php elseif ($network == 'twitter'): ?> |
9 | | - <li><a class="twitter fa fa-twitter" href="https://twitter.com/intent/tweet?url=<?= $this->url ?>&text=<?= $this->title ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_twitter'] ?>" onclick="return shd.open(this.href,500,260);"></a></li> |
| 9 | + <li><a class="twitter fa fa-twitter" href="https://twitter.com/intent/tweet?url=<?= $this->url ?>&text=<?= $this->title ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_twitter'] ?>" onclick="return shd.open(this.href,500,260);"></a></li> |
10 | 10 | <?php elseif ($network == 'linkedin'): ?> |
11 | | - <li><a class="linkedin fa fa-linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=<?= $this->url ?>&title=<?= $this->title ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_linkedin'] ?>" onclick="return shd.open(this.href,520,570);"></a></li> |
| 11 | + <li><a class="linkedin fa fa-linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=<?= $this->url ?>&title=<?= $this->title ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_linkedin'] ?>" onclick="return shd.open(this.href,520,570);"></a></li> |
12 | 12 | <?php elseif ($network == 'xing'): ?> |
13 | | - <li><a class="xing fa fa-xing" href="https://www.xing.com/social_plugins/share/new?sc_p=xing-share&h=1&url=<?= $this->url ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_xing'] ?>" onclick="return shd.open(this.href,460,460);"></a></li> |
| 13 | + <li><a class="xing fa fa-xing" href="https://www.xing.com/social_plugins/share/new?sc_p=xing-share&h=1&url=<?= $this->url ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_xing'] ?>" onclick="return shd.open(this.href,460,460);"></a></li> |
14 | 14 | <?php elseif ($network == 'mail'): ?> |
15 | 15 | <li><a class="mail fa fa-envelope" href="mailto:?subject=<?= $this->lang['mail_subject'] ?>:%20<?= $this->title ?>&body=<?= $this->url ?>"></a></li> |
16 | 16 | <?php elseif ($network == 'tumblr'): ?> |
17 | | - <li><a class="tumblr fa fa-tumblr" href="http://www.tumblr.com/share?v=3&u=<?= $this->url ?>&t=<?= $this->title ?>&s=<?= $this->description ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_tumblr'] ?>" onclick="return shd.open(this.href,800,450);"></a></li> |
| 17 | + <li><a class="tumblr fa fa-tumblr" href="http://www.tumblr.com/share?v=3&u=<?= $this->url ?>&t=<?= $this->title ?>&s=<?= $this->description ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_tumblr'] ?>" onclick="return shd.open(this.href,800,450);"></a></li> |
18 | 18 | <?php elseif ($network == 'pinterest' && $this->image): ?> |
19 | | - <li><a class="pinterest fa fa-pinterest" href="http://pinterest.com/pin/create/button/?url=<?= $this->url ?>&media=<?= $this->image ?>&description=<?= $this->description ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_pinterest'] ?>" onclick="return shd.open(this.href,460,460);"></a></li> |
| 19 | + <li><a class="pinterest fa fa-pinterest" href="http://pinterest.com/pin/create/button/?url=<?= $this->url ?>&media=<?= $this->image ?>&description=<?= $this->description ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_pinterest'] ?>" onclick="return shd.open(this.href,460,460);"></a></li> |
20 | 20 | <?php endif ;?> |
21 | 21 | <?php if ($network == 'reddit'): ?> |
22 | | - <li><a class="reddit fa fa-reddit" href="http://www.reddit.com/submit?url=<?= $this->url ?>&title=<?= $this->title ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_reddit'] ?>" onclick="return shd.open(this.href,855,900);"></a></li> |
| 22 | + <li><a class="reddit fa fa-reddit" href="http://www.reddit.com/submit?url=<?= $this->url ?>&title=<?= $this->title ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_reddit'] ?>" onclick="return shd.open(this.href,855,900);"></a></li> |
23 | 23 | <?php elseif ($network == 'whatsapp' && \Environment::get('agent')->mobile): ?> |
24 | | - <li><a class="whatsapp fa fa-whatsapp" href="whatsapp://send?text=<?= $this->description ? $this->description . '%0A%0A' : '' ?><?= $this->url ?>" data-action="share/whatsapp/share" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_whatsapp'] ?>"></a></li> |
| 24 | + <li><a class="whatsapp fa fa-whatsapp" href="whatsapp://send?text=<?= $this->description ? $this->description . '%0A%0A' : '' ?><?= $this->url ?>" data-action="share/whatsapp/share" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['share_on_whatsapp'] ?>"></a></li> |
25 | 25 | <?php elseif ($network == 'print'): ?> |
26 | | - <li><a class="print fa fa-print" href="#" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['print_page'] ?>" onclick="window.print();return false"></a></li> |
| 26 | + <li><a class="print fa fa-print" href="#" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['print_page'] ?>" onclick="window.print();return false"></a></li> |
27 | 27 | <?php elseif ($network == 'pdf' && $this->pdfLink): ?> |
28 | | - <li><a class="pdf fa fa-file-pdf-o fa-file-pdf" href="<?= $this->pdfLink ?>" rel="nofollow" data-skip-broken-link-checker title="<?= $this->lang['create_pdf'] ?>"></a></li> |
| 28 | + <li><a class="pdf fa fa-file-pdf-o fa-file-pdf" href="<?= $this->pdfLink ?>" rel="noopener noreferrer nofollow" data-skip-broken-link-checker title="<?= $this->lang['create_pdf'] ?>"></a></li> |
29 | 29 | <?php endif; ?> |
30 | 30 | <?php endforeach; ?> |
31 | 31 | </ul> |
|
0 commit comments