Links with target="_blank" should have rel="noopener"

pull/60/head
Matyáš Koc 7 years ago committed by GitHub
parent 3486a5c593
commit e903484692

@ -1,8 +1,8 @@
<!-- {$smarty.template} -->
<div id="footer">
<a target="_blank" href="http://postfixadmin.sf.net/">Postfix Admin {$version}</a>
<a target="_blank" rel="noopener" href="http://postfixadmin.sf.net/">Postfix Admin {$version}</a>
<span id="update-check">&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a target="_blank" href="http://postfixadmin.sf.net/update-check.php?version={$version|escape:"url"}">{$PALANG.check_update}</a></span>
<a target="_blank" rel="noopener" href="http://postfixadmin.sf.net/update-check.php?version={$version|escape:"url"}">{$PALANG.check_update}</a></span>
{if isset($smarty.session.sessid)}
{if $smarty.session.sessid.username}
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
@ -11,7 +11,7 @@
{/if}
{if $CONF.show_footer_text == 'YES' && $CONF.footer_link}
&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="{$CONF.footer_link}">{$CONF.footer_text}</a>
<a href="{$CONF.footer_link}" rel="noopener">{$CONF.footer_text}</a>
{/if}
</div>
</div>

Loading…
Cancel
Save