refactor global array

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-21 20:31:17 +01:00
parent 5fa0f4b87e
commit c5a58e3f36
68 changed files with 646 additions and 613 deletions

View File

@@ -8,7 +8,7 @@ $header
</header>
<section>
<if $userinfo['type_2fa']=='0'>
<if \Froxlor\User::getAll()['type_2fa']=='0'>
<form method="post"
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'add'))}">
<p>{$lng['2fa']['2fa_overview_desc']}</p>
@@ -18,7 +18,7 @@ $header
</form>
</if>
<if $userinfo['type_2fa']=='1'>
<if \Froxlor\User::getAll()['type_2fa']=='1'>
<form method="post"
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'delete'))}">
<p>{$lng['2fa']['2fa_email_desc']}</p>
@@ -27,7 +27,7 @@ $header
</form>
</if>
<if $userinfo['type_2fa']=='2'>
<if \Froxlor\User::getAll()['type_2fa']=='2'>
<form method="post"
action="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'delete'))}">
<p>{$lng['2fa']['2fa_ga_desc']}</p>