Mercurial > hg > fapweb
changeset 592:642df17214f6
Improve news item DOM IDs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 17 Oct 2014 18:58:19 +0300 |
parents | f7078755dff5 |
children | 3cceb9f13762 |
files | msite.inc.php |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/msite.inc.php Fri Oct 17 15:18:21 2014 +0300 +++ b/msite.inc.php Fri Oct 17 18:58:19 2014 +0300 @@ -234,11 +234,11 @@ function stPrintNewsItem($item) { echo - "<div class=\"newsitem\" id=\"news".$item["id"]."\">\n". + "<div class=\"newsItem\" id=\"news".$item["id"]."\">\n". " <h2>".chentities($item["title"])."</h2>\n". - " <div class=\"text\">".dhentities($item["text"])."</div>\n". - " <div class=\"sig\">-- ".chentities($item["author"])."<br />". - date("d M Y / H:i", $item["utime"])."</div>\n". + " <div class=\"newsText\">".dhentities($item["text"])."</div>\n". + " <div class=\"newsSig\">-- ".chentities($item["author"])."</div>". + "<div class=\"newsDate\">".date("d M Y / H:i", $item["utime"])."</div>\n". "</div>\n"; }