From 2e320ceeadf5e134352a9bb83efff93964a40f81 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 19 Mar 2016 13:45:41 -0400 Subject: Handle multiple avatar sizes --- app/Template/comment/show.php | 2 +- app/Template/event/events.php | 2 +- app/Template/header.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Template') diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php index ebf4142b..ce456c5d 100644 --- a/app/Template/comment/show.php +++ b/app/Template/comment/show.php @@ -1,6 +1,6 @@
- user->avatar($comment['user_id'], $comment['username'], $comment['name'], $comment['email']) ?> + avatar->render($comment['user_id'], $comment['username'], $comment['name'], $comment['email']) ?>
diff --git a/app/Template/event/events.php b/app/Template/event/events.php index 097da318..6bef8df4 100644 --- a/app/Template/event/events.php +++ b/app/Template/event/events.php @@ -17,7 +17,7 @@  dt->datetime($event['date_creation']) ?>

- user->avatar( + avatar->render( $event['creator_id'], $event['author_username'], $event['author_name'], diff --git a/app/Template/header.php b/app/Template/header.php index d891118c..a8fd47f2 100644 --- a/app/Template/header.php +++ b/app/Template/header.php @@ -58,7 +58,7 @@