auto-format all files; add table-definitions to test-bootstrap file

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-21 12:24:07 +01:00
parent 1ff784198c
commit 97b5439c0d
209 changed files with 6840 additions and 4534 deletions

View File

@@ -2,38 +2,41 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/lock_big.png"
alt="" />&nbsp; {$lng['login']['2fa']}
<img src="templates/{$theme}/assets/img/icons/lock_big.png" alt="" />&nbsp;
{$lng['login']['2fa']}
</h2>
</header>
<section>
<if $userinfo['type_2fa'] == '0'>
<if $userinfo['type_2fa']=='0'>
<form method="post"
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'add'))}">
<p>{$lng['2fa']['2fa_overview_desc']}</p><br>
<select id="type_2fa" name="type_2fa" class="small">{$type_select}
</select>&nbsp;<input type="submit" class="submit" value="{$lng['2fa']['2fa_add']}" name="add" />
<p>{$lng['2fa']['2fa_overview_desc']}</p>
<br> <select id="type_2fa" name="type_2fa" class="small">{$type_select}
</select>&nbsp;<input type="submit" class="submit"
value="{$lng['2fa']['2fa_add']}" name="add" />
</form>
</if>
<if $userinfo['type_2fa'] == '1'>
<if $userinfo['type_2fa']=='1'>
<form method="post"
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'delete'))}">
<p>{$lng['2fa']['2fa_email_desc']}</p><br>
<input type="submit" class="cancel" value="{$lng['2fa']['2fa_delete']}" name="delete" />
<p>{$lng['2fa']['2fa_email_desc']}</p>
<br> <input type="submit" class="cancel"
value="{$lng['2fa']['2fa_delete']}" name="delete" />
</form>
</if>
<if $userinfo['type_2fa'] == '2'>
<if $userinfo['type_2fa']=='2'>
<form method="post"
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'delete'))}">
<p>{$lng['2fa']['2fa_ga_desc']}</p><br>
<img src="{$ga_qrcode}" alt="QRCode" /><br><br>
<input type="submit" class="cancel" value="{$lng['2fa']['2fa_delete']}" name="delete" />
<p>{$lng['2fa']['2fa_ga_desc']}</p>
<br> <img src="{$ga_qrcode}" alt="QRCode" /><br>
<br> <input type="submit" class="cancel"
value="{$lng['2fa']['2fa_delete']}" name="delete" />
</form>
</if>
</section>
</article>