Highlight client identifier in auth grant page

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-08-14 10:42:19 +02:00
parent ebdfcb1fe3
commit bd43758118
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ $urlGenerator = $_['urlGenerator'];
<div class="picker-window">
<h2><?php p($l->t('Account access')) ?></h2>
<p class="info">
<?php p($l->t('You are about to grant "%s" access to your %s account.', [$_['client'], $_['instanceName']])) ?>
<?php print_unescaped($l->t('You are about to grant "%s" access to your %s account.', [
'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
\OCP\Util::sanitizeHTML($_['instanceName'])
])) ?>
</p>
<br/>