summaryrefslogtreecommitdiff
path: root/web/views/template/comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/views/template/comment.php')
-rw-r--r--web/views/template/comment.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/views/template/comment.php b/web/views/template/comment.php
new file mode 100644
index 0000000..ef7a081
--- /dev/null
+++ b/web/views/template/comment.php
@@ -0,0 +1,10 @@
+<div class="comment row mt">
+ <?php $this->view('template/pfp', array('user' => $user))?>
+ <div class="ml col sub-card">
+ <div class="row">
+ <strong><?=$this->main->display_name($user)?></strong>
+ <span class="dim ml"><?=$this->main->display_date($comment['date'])?></span>
+ </div>
+ <?=$comment['content']?>
+ </div>
+</div>