看板初始化提交

This commit is contained in:
zephyr
2026-06-01 21:23:12 -07:00
commit 54a842f4ab
2104 changed files with 241695 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<div class="page-header">
<h2><?= t('Two factor authentication') ?></h2>
</div>
<form method="post" action="<?= $this->url->href('TwoFactorController', $user['twofactor_activated'] == 1 ? 'deactivate' : 'show', array('user_id' => $user['id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
<p><?= t('Two-Factor Provider: ') ?><strong><?= $this->text->e($provider) ?></strong></p>
<div class="form-actions">
<?php if ($user['twofactor_activated'] == 1): ?>
<button type="submit" class="btn btn-red"><?= t('Disable two-factor authentication') ?></button>
<?php else: ?>
<button type="submit" class="btn btn-blue"><?= t('Enable two-factor authentication') ?></button>
<?php endif ?>
</div>
</form>