diff --git a/lam/lib/account.inc b/lam/lib/account.inc
index 7c940304..9afbadfc 100644
--- a/lam/lib/account.inc
+++ b/lam/lib/account.inc
@@ -1706,6 +1706,19 @@ function convertUtf8ToUtf16Le($input) {
return $output;
}
+/**
+ * Returns the text with LAM and its version for header area.
+ *
+ * @return string LAM version text
+ */
+function getLAMVersionText() {
+ $text = 'LDAP Account Manager';
+ if (isLAMProVersion()) {
+ $text .= ' Pro';
+ }
+ return $text . ' - ' . LAMVersion();
+}
+
/**
* LAM exception with title and message.
*
diff --git a/lam/lib/adminHeader.inc b/lam/lib/adminHeader.inc
index f053fd2a..477ed32f 100644
--- a/lam/lib/adminHeader.inc
+++ b/lam/lib/adminHeader.inc
@@ -3,7 +3,7 @@ namespace LAM\HEADER;
/*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
- Copyright (C) 2018 Roland Gruber
+ Copyright (C) 2018 - 2019 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -93,9 +93,8 @@ foreach ($toSort as $key => $value) {
- LDAP Account Manager
diff --git a/lam/lib/configPages.inc b/lam/lib/configPages.inc
index 5230a5e4..2e5a6df0 100644
--- a/lam/lib/configPages.inc
+++ b/lam/lib/configPages.inc
@@ -2,7 +2,7 @@
namespace LAM\CONFIG;
/*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
- Copyright (C) 2017 - 2018 Roland Gruber
+ Copyright (C) 2017 - 2019 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -60,7 +60,9 @@ function printConfigurationPageHeaderBar($conf) {