[PROFILE EDIT] Phone field will be hidden if Zadarma is disabled in config

This commit is contained in:
veselcraft 2021-01-16 17:30:29 -05:00
parent 40c24a69af
commit ad2e5ec8cc

View file

@ -62,6 +62,7 @@
<input type="text" name="pseudo" value="{$user->getPseudo()}" /> <input type="text" name="pseudo" value="{$user->getPseudo()}" />
</td> </td>
</tr> </tr>
{if OPENVK_ROOT_CONF['openvk']['credentials']['zadarma']['enable']}
<tr> <tr>
<td width="120" valign="top"> <td width="120" valign="top">
<span class="nobold">Телефон: </span> <span class="nobold">Телефон: </span>
@ -70,6 +71,7 @@
<input type="phone" name="phone" value="{$user->getPhone()}" /> <input type="phone" name="phone" value="{$user->getPhone()}" />
</td> </td>
</tr> </tr>
{/if}
<tr> <tr>
<td width="120" valign="top"> <td width="120" valign="top">
<span class="nobold">{_"status"}: </span> <span class="nobold">{_"status"}: </span>