From d1e3255800fb114b0665f80c02cbd6d6e78e8333 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 23 Nov 2017 15:18:47 -0800 Subject: Add new template hook: template:user:show:profile:info --- app/Template/user_view/profile.php | 1 + app/Template/user_view/show.php | 1 + 2 files changed, 2 insertions(+) (limited to 'app/Template') 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 @@
  • text->e($user['username']) ?>
  • text->e($user['name']) ?: t('None') ?>
  • text->e($user['email']) ?: t('None') ?>
  • + hook->render('template:user:show:profile:info', array('user' => $user)) ?> 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 @@
  • text->e($user['name']) ?: t('None') ?>
  • text->e($user['email']) ?: t('None') ?>
  • + hook->render('template:user:show:profile:info', array('user' => $user)) ?>