summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c19eee0)
raw | patch | inline | side by side (parent: c19eee0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Sep 2008 11:34:24 +0000 (11:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Sep 2008 11:34:24 +0000 (11:34 +0000) |
-Added Database Attribute
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12421 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12421 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc | patch | blob | history | |
gosa-plugins/goto/admin/systems/services/syslog/goLogDBServer.tpl | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc b/gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc
index 7995688c42e9ccdaeffed2f179c20c62948ee969..30b970bc6970a15be9840aa3a14c4b6264baa509 100644 (file)
/* This plugin only writes its objectClass */
var $objectclasses = array("goLogDBServer");
- var $attributes = array("goLogAdmin", "goLogPassword");
+ var $attributes = array("goLogAdmin", "goLogPassword" , "goLogDB");
var $StatusFlag = "goLogDBServerStatus";
/* This class can't be assigned twice so it conflicts with itsself */
var $goLogDBServerStatus = "";
var $goLogAdmin = "";
var $goLogPassword = "";
+ var $goLogDB = "gomon";
var $view_logged =FALSE;
if (empty($this->goLogPassword)){
$message[]= msgPool::required(_("Password"));
}
+ if (empty($this->goLogDB)){
+ $message[]= msgPool::required(_("Database"));
+ }
return($message);
}
"stop" => _("Stop"),
"restart" => _("Restart"),
"goLogAdmin" => _("Admin"),
- "goLogPassword" => _("Password"))
+ "goLogPassword" => _("Password"),
+ "goLogDB" => _("Database"))
));
}
}
diff --git a/gosa-plugins/goto/admin/systems/services/syslog/goLogDBServer.tpl b/gosa-plugins/goto/admin/systems/services/syslog/goLogDBServer.tpl
index aaab10ade3bf9ba91f271bd80e622a76162a79fb..b372fe64d0ac7edc8fa00fd5f37f291e81b29746 100644 (file)
<td>
{render acl=$goLogAdminACL}
<input name="goLogAdmin" id="goLogAdmin" size=30 maxlength=60 value="{$goLogAdmin}">
+{/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>
<td>{t}Password{/t}{$must}</td>
<td>
{render acl=$goLogPasswordACL}
- <input type=password name="goLogPassword" id="goLogPassword" size=30 maxlength=60 value="{$goLogPassword}">
+ <input type="password" name="goLogPassword" id="goLogPassword" size=30 maxlength=60 value="{$goLogPassword}">
{/render}
</td>
</tr>