Mercurial > hg > batmud > maputils
diff www/loc.php @ 2272:0556b65f137b
Cleanups in the web code, show location type again in some places.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 21 Mar 2020 10:24:57 +0200 |
parents | 94d3c4ae7121 |
children | 3293678b598b |
line wrap: on
line diff
--- a/www/loc.php Fri Mar 20 07:16:27 2020 +0200 +++ b/www/loc.php Sat Mar 21 10:24:57 2020 +0200 @@ -311,7 +311,7 @@ if (count($alphaLocs) <= 0) continue; $letter = strtoupper($alpha); - asort($alphaLocs); + asort($alphaLocs, SORT_STRING); echo "<h3 class=\"alpha\"><a id=\"ch".$letter."\"></a>".$letter."</h3>\n". @@ -327,7 +327,9 @@ echo " <div class=\"locCell ".$iv["continent"]."\">". "<div class=\"locHeader\">". - "<span class=\"locTitle\">".mpGetMapLink($iv, $continentList[$iv["continent"]][CTI_HAS_MAP])."</span>"; + "<span class=\"locTitle\">". + mpGetMapLink($iv, $continentList[$iv["continent"]][CTI_HAS_MAP], TRUE, TRUE). + "</span>"; // If either freeform desc or URL field are set, we add those if (isset($iv["url"]) || isset($iv["freeform"]))