changeset 2736:7948d14d3893

Improve cosmetic output of wizard information entry.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 08 Mar 2024 12:28:46 +0200
parents 06ce4399639c
children 6996fec9f73a
files www/loc.php
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/www/loc.php	Fri Mar 08 12:28:30 2024 +0200
+++ b/www/loc.php	Fri Mar 08 12:28:46 2024 +0200
@@ -263,12 +263,16 @@
       if ($s == "bat")
         $s = "https://wiz.bat.org/~".strtolower($authorName)."/";
 
-      echo "    [<a href=\"".$s."\">Homepage</a>]<br />\n";
+      echo "    [<a href=\"".$s."\">Homepage</a>]\n";
     }
 
     if (qcheck($wizTable[$authorName], "countries", $s))
     {
-      echo "    [".implode(" | ", $s)."]<br />\n";
+      echo "    [".implode(" | ", array_map(
+        function ($item)
+        {
+          return strtoupper($item);
+        }, $s))."]<br />\n";
     }
 
     echo