Skip to content

Commit

Permalink
www/template/ajax/users.php: Reindent a code chunk before changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-utkin committed Feb 13, 2024
1 parent b50817c commit 67c58ec
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions www/template/ajax/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@
<tr>
</thead>
<tbody>
<?php
foreach($dvr_users->data as $id => $info){
$email_list = ''; $emails = ''; $email = ''; $tmp = '';
$emails = explode('|', $info['email']);
foreach($emails as $id => $email){
$email = explode(':', $email);
$tmp[$id] = $email[0];
}
$email_list = implode(', ', $tmp);
?>
<?php
foreach($dvr_users->data as $id => $info){
$email_list = ''; $emails = ''; $email = ''; $tmp = '';
$emails = explode('|', $info['email']);
foreach($emails as $id => $email){
$email = explode(':', $email);
$tmp[$id] = $email[0];
}
$email_list = implode(', ', $tmp);
?>
<tr class="users-list-bl-item ajax-content" data-url="/users?id=<?php echo $info['id']; ?>">
<td><?php echo $info['name']; ?></td><td><?php echo $info['username']; ?></td>
<td><?php echo $email_list; ?></td>
Expand Down

0 comments on commit 67c58ec

Please sign in to comment.