diff options
Diffstat (limited to '')
-rw-r--r-- | src/web/_views/template/post.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web/_views/template/post.php b/src/web/_views/template/post.php index 0633985..fb8cef5 100644 --- a/src/web/_views/template/post.php +++ b/src/web/_views/template/post.php @@ -2,7 +2,7 @@ <?php /* vi: syntax=php */ ?> <div class="post card"> <div class="row"> - <?php $this->view('template/pfp', array('user' => $user))?> + <?=pfp($user)?> <div class="col ml"> <strong><?=$user['first_name'] . ' ' . $user['last_name']?></strong> <span class="dim"><?=$post['created']?></span> @@ -21,6 +21,7 @@ $post_attrs['likeId'] = $post['like_id']; } ?> + <span class="likes dim"><span class="count"><?=$post['like_count']?></span><?=' ' . lang('likes')?></span> <?php if ($self): ?> <hr> <div class="row"> @@ -61,7 +62,7 @@ </div> <?php if ($self): ?> <div class="row pb"> - <?php $this->view('template/pfp', array('user' => $self))?> + <?=pfp($self)?> <form class="ml action-new-comment-form row"> <input type="hidden" |