only admin can show password
This commit is contained in:
parent
dc55957a53
commit
f8878ad8b6
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2024.10.23
|
||||||
|
|
||||||
|
- Custom Balance admin refill Requested by Javi Tech
|
||||||
|
-
|
||||||
|
|
||||||
## 2024.10.18
|
## 2024.10.18
|
||||||
|
|
||||||
- Single Session Admin Can be set in the Settings
|
- Single Session Admin Can be set in the Settings
|
||||||
|
@ -35,18 +35,20 @@
|
|||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<b>{Lang::T('Zip')}</b> <span class="pull-right">{$d['zip']}</span>
|
<b>{Lang::T('Zip')}</b> <span class="pull-right">{$d['zip']}</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="list-group-item">
|
{if in_array($_admin['user_type'],['SuperAdmin','Admin'])}
|
||||||
<b>{Lang::T('Password')}</b> <input type="password" value="{$d['password']}"
|
<li class="list-group-item">
|
||||||
style=" border: 0px; text-align: right;" class="pull-right"
|
<b>{Lang::T('Password')}</b> <input type="password" value="{$d['password']}"
|
||||||
onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'"
|
style=" border: 0px; text-align: right;" class="pull-right"
|
||||||
onclick="this.select()">
|
onmouseleave="this.type = 'password'" onmouseenter="this.type = 'text'"
|
||||||
</li>
|
onclick="this.select()">
|
||||||
|
</li>
|
||||||
|
{/if}
|
||||||
{if $d['pppoe_username'] != ''}
|
{if $d['pppoe_username'] != ''}
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<b>PPPOE {Lang::T('Username')}</b> <span class="pull-right">{$d['pppoe_username']}</span>
|
<b>PPPOE {Lang::T('Username')}</b> <span class="pull-right">{$d['pppoe_username']}</span>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
{if $d['pppoe_password'] != ''}
|
{if $d['pppoe_password'] != '' && in_array($_admin['user_type'],['SuperAdmin','Admin'])}
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<b>PPPOE {Lang::T('Password')}</b> <input type="password" value="{$d['pppoe_password']}"
|
<b>PPPOE {Lang::T('Password')}</b> <input type="password" value="{$d['pppoe_password']}"
|
||||||
style=" border: 0px; text-align: right;" class="pull-right"
|
style=" border: 0px; text-align: right;" class="pull-right"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user