8
templates/Sparkle/2fa/entercode.tpl
vendored
8
templates/Sparkle/2fa/entercode.tpl
vendored
@@ -6,20 +6,20 @@ $header
|
||||
<section class="loginsec">
|
||||
<form method="post" action="{$filename}" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {\Froxlor\I18N\Lang::getAll()['login']['2fa']}</legend>
|
||||
<legend>Froxlor - {$lng['login']['2fa']}</legend>
|
||||
<p>
|
||||
<label for="2fa_code">{\Froxlor\I18N\Lang::getAll()['login']['2facode']}:</label>
|
||||
<label for="2fa_code">{$lng['login']['2facode']}:</label>
|
||||
<input type="text" name="2fa_code" id="2fa_code" value="" required/>
|
||||
</p>
|
||||
<p class="submit">
|
||||
<input type="hidden" name="action" value="2fa_verify" />
|
||||
<input type="hidden" name="send" value="send" />
|
||||
<input type="submit" value="{\Froxlor\I18N\Lang::getAll()['2fa']['2fa_verify']}" />
|
||||
<input type="submit" value="{$lng['2fa']['2fa_verify']}" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
<aside>
|
||||
<a href="index.php">{\Froxlor\I18N\Lang::getAll()['login']['backtologin']}</a>
|
||||
<a href="index.php">{$lng['login']['backtologin']}</a>
|
||||
</aside>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
14
templates/Sparkle/2fa/overview.tpl
vendored
14
templates/Sparkle/2fa/overview.tpl
vendored
@@ -3,7 +3,7 @@ $header
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/lock_big.png" alt="" />
|
||||
{\Froxlor\I18N\Lang::getAll()['login']['2fa']}
|
||||
{$lng['login']['2fa']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
@@ -11,29 +11,29 @@ $header
|
||||
<if \Froxlor\User::getAll()['type_2fa']=='0'>
|
||||
<form method="post"
|
||||
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'add'))}">
|
||||
<p>{\Froxlor\I18N\Lang::getAll()['2fa']['2fa_overview_desc']}</p>
|
||||
<p>{$lng['2fa']['2fa_overview_desc']}</p>
|
||||
<br> <select id="type_2fa" name="type_2fa" class="small">{$type_select}
|
||||
</select> <input type="submit" class="submit"
|
||||
value="{\Froxlor\I18N\Lang::getAll()['2fa']['2fa_add']}" name="add" />
|
||||
value="{$lng['2fa']['2fa_add']}" name="add" />
|
||||
</form>
|
||||
</if>
|
||||
|
||||
<if \Froxlor\User::getAll()['type_2fa']=='1'>
|
||||
<form method="post"
|
||||
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'delete'))}">
|
||||
<p>{\Froxlor\I18N\Lang::getAll()['2fa']['2fa_email_desc']}</p>
|
||||
<p>{$lng['2fa']['2fa_email_desc']}</p>
|
||||
<br> <input type="submit" class="cancel"
|
||||
value="{\Froxlor\I18N\Lang::getAll()['2fa']['2fa_delete']}" name="delete" />
|
||||
value="{$lng['2fa']['2fa_delete']}" name="delete" />
|
||||
</form>
|
||||
</if>
|
||||
|
||||
<if \Froxlor\User::getAll()['type_2fa']=='2'>
|
||||
<form method="post"
|
||||
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'delete'))}">
|
||||
<p>{\Froxlor\I18N\Lang::getAll()['2fa']['2fa_ga_desc']}</p>
|
||||
<p>{$lng['2fa']['2fa_ga_desc']}</p>
|
||||
<br> <img src="{$ga_qrcode}" alt="QRCode" /><br>
|
||||
<br> <input type="submit" class="cancel"
|
||||
value="{\Froxlor\I18N\Lang::getAll()['2fa']['2fa_delete']}" name="delete" />
|
||||
value="{$lng['2fa']['2fa_delete']}" name="delete" />
|
||||
</form>
|
||||
</if>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user