diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 12af4986..3371a44c 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -1367,7 +1367,7 @@ class accountContainer { include '../../lib/adminHeader.inc'; echo ''; echo "
base) . "\" method=\"post\" onSubmit=\"saveScrollPosition('inputForm')\" autocomplete=\"off\">\n"; diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index a07e57a2..8be80a0d 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -659,6 +659,11 @@ input.smallImageButton { cursor:pointer; } +.lam-input-error { + border: 1px solid red; + border-radius: 3px; +} + .size16 { height: 16px !important; width: 16px !important; diff --git a/lam/templates/profedit/profilepage.php b/lam/templates/profedit/profilepage.php index 40807d87..d6973745 100644 --- a/lam/templates/profedit/profilepage.php +++ b/lam/templates/profedit/profilepage.php @@ -10,7 +10,7 @@ use \htmlSubTitle; /* This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) - Copyright (C) 2003 - 2018 Roland Gruber + Copyright (C) 2003 - 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 @@ -251,7 +251,7 @@ $_SESSION['profile_types'] = array_merge($_SESSION['profile_types'], parseHtml(n ?>
diff --git a/lam/templates/tools/importexport.php b/lam/templates/tools/importexport.php index 74b8260f..ca6606b3 100644 --- a/lam/templates/tools/importexport.php +++ b/lam/templates/tools/importexport.php @@ -21,7 +21,7 @@ use LAM\TYPES\TypeManager; /* 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 @@ -99,7 +99,7 @@ if (!empty($_GET['tab']) && ($_GET['tab'] === 'export')) { jQuery("#tabs").tabs({ active: }); - jQuery(".inputForm").validationEngine(); + jQuery(".inputForm").validationEngine({promptPosition: "topLeft", addFailureCssClassToField: "lam-input-error", autoHidePrompt: true, autoHideDelay: 5000}); });