expiration hint

This commit is contained in:
Roland Gruber 2016-10-25 20:02:10 +02:00
parent 68bee45561
commit aa5020d46b
1 changed files with 5 additions and 0 deletions

View File

@ -509,6 +509,11 @@ function display_LoginPage($config_object, $cfgMain) {
if (!isLAMProVersion()) {
echo "<a href=\"http://www.ldap-account-manager.org/lamcms/lamPro\">" . _("Want more features? Get LAM Pro!") . "</a>";
}
elseif ($licenseValidator->isExpiringSoon()) {
echo '<b>';
echo sprintf(_('Your license expires on %s.'), $licenseValidator->getLicense()->getExpirationDate()->format('Y-m-d'));
echo '</b>';
}
?>
</td>
<TD align="right">