From aa5020d46bba0257f199162e9e03d9b4f5c1468d Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 25 Oct 2016 20:02:10 +0200 Subject: [PATCH] expiration hint --- lam/templates/login.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lam/templates/login.php b/lam/templates/login.php index 9decaa6c..0e699eb3 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -509,6 +509,11 @@ function display_LoginPage($config_object, $cfgMain) { if (!isLAMProVersion()) { echo "" . _("Want more features? Get LAM Pro!") . ""; } + elseif ($licenseValidator->isExpiringSoon()) { + echo ''; + echo sprintf(_('Your license expires on %s.'), $licenseValidator->getLicense()->getExpirationDate()->format('Y-m-d')); + echo ''; + } ?>