From 18b52f623cd30ffad1a0790fdca9680efa5d4f09 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 5 Dec 2023 16:24:31 +0100 Subject: [PATCH] show also the version as header --- application/views/version_dialog/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/views/version_dialog/index.php b/application/views/version_dialog/index.php index d8efeeff..644a0508 100644 --- a/application/views/version_dialog/index.php +++ b/application/views/version_dialog/index.php @@ -45,6 +45,9 @@ $releaseBody = isset($firstRelease['body']) ? $firstRelease['body'] : 'No release information available'; $htmlReleaseBody = htmlspecialchars($releaseBody); $htmlReleaseBodyWithLinks = preg_replace('/(https?:\/\/[^\s<]+)/', '$1', $htmlReleaseBody); + + $releaseName = isset($firstRelease['name']) ? $firstRelease['name'] : 'No version name information available'; + echo "

v".$releaseName."

"; echo nl2br($htmlReleaseBodyWithLinks); } else { echo 'Fehler beim Decodieren der JSON-Daten oder leere Antwort erhalten.';