From a716362e6080e0ae169481673ba00ef7b900ddd1 Mon Sep 17 00:00:00 2001
From: Gary Allan <github@gallan.co.uk>
Date: Mon, 8 Feb 2021 16:04:17 +0000
Subject: [PATCH] Add link to GitHub releases

---
 app/admin/version-check/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/admin/version-check/index.php b/app/admin/version-check/index.php
index fa6de5f6..bbbc03c2 100755
--- a/app/admin/version-check/index.php
+++ b/app/admin/version-check/index.php
@@ -14,7 +14,7 @@ else {
 	//print result
 	if(VERSION_VISIBLE == $version) 		{ $Result->show("success", _('Latest version').' ('. VERSION_VISIBLE .') '._('already installed').'!', false); }
 	else if (VERSION_VISIBLE > $version) 	{ $Result->show("success", _('Development version').' ('. VERSION_VISIBLE .') '._('installed! Latest production version is').' '. $version, false);}
-	else 									{ $Result->show("danger",  _('New version of phpipam available').':</b><hr>'._('Installed version').': '.VERSION_VISIBLE."<br>"._('Available version').': '. $version."<br><br>"._('You can download new version').' <a href="https://sourceforge.net/projects/phpipam/files/current/phpipam-'. $version .'.tar/download">'._('here').'</a>.', false); }
+	else 									{ $Result->show("danger",  _('New version of phpipam available').':</b><hr>'._('Installed version').': '.VERSION_VISIBLE."<br>"._('Available version').': '. $version."<br><br>"._('You can download new version'). " <a href='https://github.com/phpipam/phpipam/releases/tag/v$version'>"._('GitHub').'</a>' . ' ( '._('archive').' <a href="https://sourceforge.net/projects/phpipam/files/current/phpipam-'. $version .'.tar/download">'._('SourceForge').'</a> ).', false); }
 }
 
 # release and commit logs
-- 
GitLab