1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
matomo/plugins/ProfessionalServices/templates/promoServicesWidget.twig
Christian Schmidt e09383ebee Replace proxy redirect with rel=noreferrer (#12780)
* Replace proxy redirect with rel=noreferrer

* Add noopener

* Restore action=redirect for non-Matomo links

* Wrap referring URLs

* NO target on download link

* Fix Github links

* Fix whitespace

* Fix tests

* Revert change

* Revert changes

* Fix tests

* Add noreferrer shim for MSIE 10

* Remove all action=redirect links

* Restore noreferrer

* Restore test

* Fix one more occurrence

* Update changelog

* Combine if's

* Fix changelog wording

* Fix stray whitespace
2018-07-25 12:47:29 -07:00

14 خطوط
530 B
Twig

<div class="promoWidget">
<div class="promo">
<a href="{{ ctaLinkUrl|e('html_attr') }}" target="_blank" rel="noreferrer noopener"><img class="icon" src="plugins/ProfessionalServices/images/promo.png"></a>
<h2>{{ ctaTitle }}</h2>
<p class="text">
<span>{{ ctaText }}</span>
<br /><br />
<a class="btn" href="{{ ctaLinkUrl|e('html_attr') }}" target="_blank" rel="noreferrer noopener">
{{ ctaLinkTitle }}
</a>
</p>
</div>
</div>