*** empty log message ***
This commit is contained in:
parent
47e750db6e
commit
5e2127f65b
|
@ -192,7 +192,7 @@ class Ldap{
|
||||||
}
|
}
|
||||||
// save password und username encrypted
|
// save password und username encrypted
|
||||||
$this->encrypt($user, $passwd);
|
$this->encrypt($user, $passwd);
|
||||||
$this->server = @ldap_connect($this->conf->get_ServerURL());
|
$this->server = ldap_connect($this->conf->get_ServerURL());
|
||||||
if ($this->server) {
|
if ($this->server) {
|
||||||
// use LDAPv3
|
// use LDAPv3
|
||||||
ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3);
|
ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||||
|
|
|
@ -52,10 +52,8 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl
|
||||||
$format = "<div " . $class . "><br><table><tr><td>" . $MessageTyp . "</td><td>" . $MessageHeadline . $MessageText . "</td></tr></table><br></div>";
|
$format = "<div " . $class . "><br><table><tr><td>" . $MessageTyp . "</td><td>" . $MessageHeadline . $MessageText . "</td></tr></table><br></div>";
|
||||||
for($i=0;$i<count($MessageVariables);$i++) {
|
for($i=0;$i<count($MessageVariables);$i++) {
|
||||||
$variables .= "," . $MessageVariables[$i];
|
$variables .= "," . $MessageVariables[$i];
|
||||||
echo "variable[" . $i . "]=" . $variables[$i] . "<br>";
|
|
||||||
}
|
}
|
||||||
$command = 'printf("' . addslashes($format) . '"' . $variables . ');';
|
$command = 'printf("' . addslashes($format) . '"' . $variables . ');';
|
||||||
echo "command=" . $command . "<br>";
|
|
||||||
eval($command);
|
eval($command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,6 @@ function displayHelp($helpNumber)
|
||||||
{
|
{
|
||||||
$variables = array();
|
$variables = array();
|
||||||
array_push($variables,$helpNumber);
|
array_push($variables,$helpNumber);
|
||||||
echo "variables[0]=" . $variables[0] . "<br>";
|
|
||||||
$errorMessage = _("Sorry this help number ({bold}%d{endbold}) is not available.");
|
$errorMessage = _("Sorry this help number ({bold}%d{endbold}) is not available.");
|
||||||
echoHTMLHead();
|
echoHTMLHead();
|
||||||
statusMessage("ERROR","",$errorMessage,$variables);
|
statusMessage("ERROR","",$errorMessage,$variables);
|
||||||
|
|
Loading…
Reference in New Issue