<?php
$userTitle = $user->username;
if ($userTitle != '') {
    $userTitle = ': &quot;' . html_escape($userTitle) . '&quot; ';
} else {
    $userTitle = '';
}
$userTitle = __('User #%s', $user->id) . $userTitle;
echo head(['title' => $userTitle, 'bodyclass' => 'themes']);
echo flash();
?>

<?php if (is_allowed('Users', 'edit')): ?>
<p id="edit-item" class="edit-button"><?php echo link_to($user, 'edit', __('Edit this User'), ['class'=>'edit']); ?></p> 
<?php endif; ?>

<h2><?php echo __('Username'); ?></h2>
<p><?php echo html_escape($user->username); ?></p>
<h2><?php echo __('Display Name'); ?></h2>
<p><?php echo html_escape($user->name); ?></p>
<h2><?php echo __('Email'); ?></h2>
<p><?php echo html_escape($user->email); ?></p>
<?php fire_plugin_hook('admin_users_show', ['user' => $user, 'view' => $this]); ?>
<?php echo foot();?>
