* adjust for user contact.
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
</table>
|
||||
<table align='center' class='table table-form'>
|
||||
<caption class='text-left text-muted'><?php echo $lang->user->contactInfo;?></caption>
|
||||
<?php if(!empty($config->user->contactField)):?>
|
||||
<?php $i = 0;?>
|
||||
<?php foreach(explode(',', $config->user->contactField) as $field):?>
|
||||
<?php if($i % 2 == 0) echo '<tr>';?>
|
||||
@@ -85,6 +86,7 @@
|
||||
<td><?php echo html::input($field, $user->$field, "class='form-control'");?></td>
|
||||
<?php if($i % 2 == 0) echo '</tr>';?>
|
||||
<?php endforeach;?>
|
||||
<?php endif;?>
|
||||
<tr>
|
||||
<th><?php echo $lang->user->address;?></th>
|
||||
<td><?php echo html::input('address', $user->address, "class='form-control'");?></td>
|
||||
|
||||
Reference in New Issue
Block a user