summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0a3387)
raw | patch | inline | side by side (parent: d0a3387)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jun 2006 05:15:11 +0000 (05:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jun 2006 05:15:11 +0000 (05:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3694 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_goLdapServer.inc | patch | blob | history | |
plugins/admin/systems/goLdapServer.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_goLdapServer.inc b/plugins/admin/systems/class_goLdapServer.inc
index 885970ac03bfdbc20dd5c014d424f9980fddec48..d18c6a224b4870db7ef19372cb94f2189aa490a5 100644 (file)
function check()
{
$message = plugin::check();
+ if(empty($this->goLdapBase)){
+ $message[] = _("The given base is empty or contains invalid characters.");
+ }
return($message);
}
index 112ddd6c24d01c07b48efd7eadac09c5106ef46e..d445f8d18ff805f67d8bf6890cfa1c5e5a05e275 100644 (file)
<h2><img class="center" alt="" align="middle" src="images/rightarrow.png" /> {t}LDAP service{/t}</h2>
-{t}Base{/t} <input type="text" size="80" value="{$goLdapBase}" {$goLdapBaseACL} name="goLdapBase" id="goLdapBaseId">
+{t}Base{/t}{$must} <input type="text" size="80" value="{$goLdapBase}" {$goLdapBaseACL} name="goLdapBase" id="goLdapBaseId">
<p class='seperator'> </p>
<p>