Mercurial > hg > batmud > maputils
changeset 1983:9f2e769bcf7a
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 20 Nov 2017 12:01:05 +0200 |
parents | fbd15f694f81 |
children | 67ca56708d7a |
files | www/loc.php |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/www/loc.php Sun Nov 19 23:51:19 2017 +0200 +++ b/www/loc.php Mon Nov 20 12:01:05 2017 +0200 @@ -345,8 +345,6 @@ echo " ".$urlBegin. -// "<img src=\"img/question.png\" onmouseover=\"stt(".$totalLoc. -// ");\" onmouseout=\"htt();\" alt=\"(?)\" />". "<span onmouseover=\"stt(".$totalLoc. ");\" onmouseout=\"htt();\">🍔</span>". $urlEnd; @@ -365,10 +363,11 @@ $fs = []; for ($nname = 1; $nname < $nnames; $nname++) { - $norig = $iv["names"][$nname]["flags"] & NAME_ORIG; + $qname = $iv["names"][$nname]; + $norig = $qname["flags"] & NAME_ORIG; $fs[] = ($norig ? "<b>" : ""). - chentities($iv["names"][$nname]["name"]). + chentities($qname["name"]). ($norig ? "</b>" : ""); } echo "<div class=\"locAltNames\">".implode(" | ", $fs)."</div>";