Add new template hook: template:user:show:profile:info
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<li><?= t('Login:') ?> <strong><?= $this->text->e($user['username']) ?></strong></li>
|
||||
<li><?= t('Full Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
|
||||
<li><?= t('Email:') ?> <strong><?= $this->text->e($user['email']) ?: t('None') ?></strong></li>
|
||||
<?= $this->hook->render('template:user:show:profile:info', array('user' => $user)) ?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<li><?= t('Full Name:') ?> <strong><?= $this->text->e($user['name']) ?: t('None') ?></strong></li>
|
||||
<li><?= t('Email:') ?> <strong><?= $this->text->e($user['email']) ?: t('None') ?></strong></li>
|
||||
<li><?= t('Status:') ?> <strong><?= $user['is_active'] ? t('Active') : t('Inactive') ?></strong></li>
|
||||
<?= $this->hook->render('template:user:show:profile:info', array('user' => $user)) ?>
|
||||
</ul>
|
||||
|
||||
<div class="page-header">
|
||||
|
||||
Reference in New Issue
Block a user