From 7eb16dd55c5dd16a0898ea3410381ad6c5464c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Wed, 11 Jan 2017 20:15:22 +0200 Subject: [PATCH] Homepage: Added post author to news items [ci skip] --- web/plugins/z#home/home.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/plugins/z#home/home.php b/web/plugins/z#home/home.php index 4485ef8e87..82ededdc7f 100644 --- a/web/plugins/z#home/home.php +++ b/web/plugins/z#home/home.php @@ -321,7 +321,7 @@ public function execute($args=NULL) var d = new Date(t.publishedDate); var niceDate = $.datepicker.formatDate('MM d, yy', d); - html += '

'; + html += '

— ' + t.author + '

'; html += '
'; html += '
' + t.content + '
'; @@ -341,12 +341,12 @@ public function execute($args=NULL) var d = new Date(t.publishedDate); var niceDate = $.datepicker.formatDate('MM d, yy', d); - html += '

'; + html += '

— ' + t.author + '

'; html += '
'; html += '
' + t.content + '
'; html += ''; - html += ''; + html += ''; return '
  • ' + html + '
  • '; } });