diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-16 10:23:30 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-16 10:23:30 +0100 |
commit | 06d88013288ada5bf7c29962d5f75267df0a8f9f (patch) | |
tree | ddd7d7ac8aa76e09596da8e35000020b9771b426 /settings/templates/personal.php | |
parent | 317b132d3118065445af174bdb4cb8dfe836ee0d (diff) | |
download | nextcloud-server-06d88013288ada5bf7c29962d5f75267df0a8f9f.tar.gz nextcloud-server-06d88013288ada5bf7c29962d5f75267df0a8f9f.zip |
No HTML in string
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r-- | settings/templates/personal.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 41c04ac48cd..69d3660477d 100644 --- a/settings/templates/personal.php +++ b/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')) {?> |