diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc
index 2ee9fc90b1c99d0822027d216ca59339839ef690..627cb5a95d82761ebcf50177a666ad19dcb18892 100644 (file)
var $goTerminalServer = "";
var $goSyslogServer = "";
var $goCupsServer = "";
+ var $goMailServer = "";
var $o_subWindow = NULL;
/* attribute list for save action */
var $ignore_account= TRUE;
var $attributes = array("goLdapBase","goXdmcpIsEnabled","goFontPath");
var $possible_objectclasses= array( "goShareServer", "goNtpServer", "goServer", "goLdapServer",
- "goTerminalServer", "goSyslogServer", "goCupsServer");
+ "goTerminalServer", "goSyslogServer", "goCupsServer","goMailServer");
var $objectclasses = array( "top","goServer");
var $additionaloc = array( "goShareServer" => array("goExportEntry"),
"goNtpServer" => array("goTimeSource"),
"goLdapServer" => array("goLdapBase"),
"goTerminalServer"=> array("goXdmcpIsEnabled", "goFontPath"),
"goSyslogServer" => array(),
+ "goMailServer" => array(),
"goCupsServer" => array());
function servservice ($config, $dn= NULL)
/* Always is account... */
$this->is_account= TRUE;
- if(is_array($this->attrs['objectClass'])){
+ /* Check if goShareServer is defined */
+ if((isset($this->attrs['objectClass']))&&(is_array($this->attrs['objectClass']))){
if(in_array("goShareServer",$this->attrs['objectClass'])){
$this->goShareServer = true;
}
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Fill templating stuff */
$smarty= get_smarty();