diff options
-rw-r--r-- | app/Template/user_view/profile.php | 1 | ||||
-rw-r--r-- | app/Template/user_view/show.php | 1 | ||||
-rw-r--r-- | doc/en_US/plugin-hooks.markdown | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/user_view/profile.php b/app/Template/user_view/profile.php index 486ca428..d931e3e7 100644 --- a/app/Template/user_view/profile.php +++ b/app/Template/user_view/profile.php @@ -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> diff --git a/app/Template/user_view/show.php b/app/Template/user_view/show.php index e57fd4cd..7f847f65 100644 --- a/app/Template/user_view/show.php +++ b/app/Template/user_view/show.php @@ -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"> diff --git a/doc/en_US/plugin-hooks.markdown b/doc/en_US/plugin-hooks.markdown index c01da61b..bd32166b 100644 --- a/doc/en_US/plugin-hooks.markdown +++ b/doc/en_US/plugin-hooks.markdown @@ -259,6 +259,7 @@ List of template hooks: | `template:user:integrations` | Integration page in user profile | | `template:user:sidebar:actions` | Sidebar in user profile (section actions) | | `template:user:sidebar:information` | Sidebar in user profile (section information) | +| `template:user:show:profile:info` | User profile information | Another template hooks can be added if necessary, just ask on the issue tracker. |