summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7cf5025)
raw | patch | inline | side by side (parent: 7cf5025)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 May 2007 12:14:10 +0000 (12:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 May 2007 12:14:10 +0000 (12:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6368 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_goLogDBServer.inc | patch | blob | history | |
plugins/admin/systems/goLogDBServer.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_goLogDBServer.inc b/plugins/admin/systems/class_goLogDBServer.inc
index 31ad8e8dc5f4246fe1f47eb21dff888a5c25995c..e091c1c1ea4086bbb240f10ac177f1bf28edd98d 100644 (file)
/* This plugin only writes its objectClass */
var $objectclasses = array("goLogDBServer");
- var $attributes = array("goLogAdmin", "goLogPassword");
+ var $attributes = array("goLogDBServerUser", "goLogDBServerPassword", "goLogDB" );
var $StatusFlag = "goLogDBServerStatus";
/* This class can't be assigned twice so it conflicts with itsself */
var $acl;
var $cn = "";
var $goLogDBServerStatus = "";
- var $goLogAdmin = "";
- var $goLogPassword = "";
+ var $goLogDBServerUser = "";
+ var $goLogDBServerPassword= "";
+ var $goLogDB = "gosa_log";
function goLogDBServer($config,$dn)
function check()
{
$message = plugin::check();
- if (empty($this->goLogAdmin)){
+ if (empty($this->goLogDBServerUser)){
$message[]= sprintf_("The attribute user is empty or contains invalid characters.");
}
- if (empty($this->goLogPassword)){
+ if (empty($this->goLogDBServerPassword)){
$message[]= sprintf_("The attribute password is empty or contains invalid characters.");
}
+ if (empty($this->goLogDB)){
+ $message[]= sprintf_("The attribute database is empty or contains invalid characters.");
+ }
return($message);
}
"start" => _("Start"),
"stop" => _("Stop"),
"restart" => _("Restart"),
- "goLogAdmin" => _("Admin"),
- "goLogPassword" => _("Password"))
+ "goLogDBServerUser" => _("User"),
+ "goLogDBServerPassword" => _("Password"),
+ "goLogDB" => _("Database"))
));
}
}
index 8395070295b3b24ce6a52e29ae15fe51645928f5..a16d6f1c6ded1da4e69a4b6966ffc348df44ce66 100644 (file)
<tr>
<td>{t}Logging DB user{/t}{$must}</td>
<td>
-{render acl=$goLogAdminACL}
- <input name="goLogAdmin" id="goLogAdmin" size=30 maxlength=60 value="{$goLogAdmin}">
+{render acl=$goLogDBServerUserACL}
+ <input name="goLogDBServerUser" id="goLogDBServerUser" size=30 maxlength=60 value="{$goLogDBServerUser}">
{/render}
</td>
</tr>
<tr>
<td>{t}Password{/t}{$must}</td>
<td>
-{render acl=$goLogPasswordACL}
- <input type=password name="goLogPassword" id="goLogPassword" size=30 maxlength=60 value="{$goLogPassword}">
+{render acl=$goLogDBServerPasswordACL}
+ <input type="password" name="goLogDBServerPassword" id="goLogDBServerPassword" size=30 maxlength=60 value="{$goLogDBServerPassword}">
+{/render}
+ </td>
+ </tr>
+ <tr>
+ <td>{t}Database{/t}{$must}</td>
+ <td>
+{render acl=$goLogDBACL}
+ <input type="text" name="goLogDB" id="goLogDB" size=30 maxlength=60 value="{$goLogDB}">
{/render}
</td>
</tr>