No HTML in string

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/2131/head
Roeland Jago Douma 8 years ago
parent 317b132d31
commit 06d8801328
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 11
      settings/templates/personal.php

@ -182,7 +182,16 @@ if($_['passwordChangeSupported']) {
</a>
<p>
<?php print_unescaped($l->t('If you want to support the project <a href="https://nextcloud.com/contribute" target="_blank" rel="noreferrer">join development</a> or <a href="https://nextcloud.com/contribute" target="_blank" rel="noreferrer">spread the word</a>!'));?>
<?php print_unescaped(str_replace(
[
'{contributeopen}',
'{linkclose}',
],
[
'<a href="https://nextcloud.com/contribute" target="_blank" rel="noreferrer">',
'</a>',
],
$l->t('If you want to support the project {contributeopen}join development{linkclose} or {contributeopen}spread the word{linkclose}!'))); ?>
</p>
<?php if(OC_APP::isEnabled('firstrunwizard')) {?>

Loading…
Cancel
Save