summaryrefslogtreecommitdiff
path: root/app/Template/twofactor/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/twofactor/show.php')
-rw-r--r--app/Template/twofactor/show.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/twofactor/show.php b/app/Template/twofactor/show.php
index dd72965a..59897e20 100644
--- a/app/Template/twofactor/show.php
+++ b/app/Template/twofactor/show.php
@@ -5,15 +5,15 @@
<?php if (! empty($secret) || ! empty($qrcode_url) || ! empty($key_url)): ?>
<div class="listing">
<?php if (! empty($secret)): ?>
- <p><?= t('Secret key: ') ?><strong><?= $this->e($secret) ?></strong></p>
+ <p><?= t('Secret key: ') ?><strong><?= $this->text->e($secret) ?></strong></p>
<?php endif ?>
<?php if (! empty($qrcode_url)): ?>
- <p><br/><img src="<?= $qrcode_url ?>"/><br/><br/></p>
+ <p><br><img src="<?= $qrcode_url ?>"/><br><br></p>
<?php endif ?>
<?php if (! empty($key_url)): ?>
- <p><?= t('This QR code contains the key URI: ') ?><a href="<?= $this->e($key_url) ?>"><?= $this->e($key_url) ?></a></p>
+ <p><?= t('This QR code contains the key URI: ') ?><a href="<?= $this->text->e($key_url) ?>"><?= $this->text->e($key_url) ?></a></p>
<?php endif ?>
</div>
<?php endif ?>
@@ -26,6 +26,6 @@
<?= $this->form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?>
<div class="form-actions">
- <input type="submit" value="<?= t('Check my code') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button>
</div>
</form> \ No newline at end of file