summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 65685fd)
raw | patch | inline | side by side (parent: 65685fd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 May 2005 11:41:35 +0000 (11:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 May 2005 11:41:35 +0000 (11:41 +0000) |
plugins/admin/systems/class_servService.inc | patch | blob | history | |
plugins/admin/systems/servservice.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc
index cd8788a566b224f6cbe135007099350934f57104..26b6245ac06d6ff78e3d8ccf2c92053cf8b9b83f 100644 (file)
var $goExportEntry = array();
var $goTimeSource = array();
var $goLdapBase= "";
- var $goXdmcPlsEnabled= "";
+ var $goXdmcpIsEnabled ="";
var $goFontPath= "";
var $goNTPServer="";
var $goLdapServer="";
"goNfsServer" => array("goExportEntry"),
"goNtpServer" => array("goTimeSource"),
"goLdapServer" => array("goLdapBase"),
- "goTerminalServer"=> array("goXdmcpIsEnabled", "goFontPath")
-// "goSyslogServer" => array(""),
-// "goCupsServer" => array("")
+ "goTerminalServer"=> array("goXdmcpIsEnabled", "goFontPath"),
+ "goSyslogServer" => array("goSyslogServer"),
+ "goCupsServer" => array("goCupsServer")
);
/* Fill templating stuff */
$smarty= get_smarty();
+
/*
Handling for Nfs Export Entries
*/
{
$this->attrs['goExportEntry'][]=$_POST['NewNfsExport'];
}
-
-
/* Deleting an Entry, is a bit more complicated than adding one*/
if(isset($_POST['DelNfsEnt']))
}
/* Set the entry which we want to show in the frontend */
- $this->goExportEntry = ($this->attrs['goExportEntry']);
- unset($this->goExportEntry['count']);
-
+ if(isset($this->attrs['goExportEntry']))
+ {
+ $this->goExportEntry = ($this->attrs['goExportEntry']);
+ unset($this->goExportEntry['count']);
+ }
/*
}
/* Set the entry which we want to show in the frontend */
- $this->goTimeSource = ($this->attrs['goTimeSource']);
- unset($this->goTimeSource['count']);
+ if(isset($this->attrs['goTimeSource']))
+ {
+ $this->goTimeSource = ($this->attrs['goTimeSource']);
+ unset($this->goTimeSource['count']);
+ }
index 61bf58be91a65ec5fe2c9090592d2613e5fd9600..5ca3b2378fa636df11575c8b8276a7a29125eef8 100644 (file)
<tr>
<td>{t}NFS Exports{/t}</td>
<td>
- <select style="width:350px;" id="goTimeEntry" name="goTimeSource" {$goNTPServerState} size=4 multiple {$trustmodeACL} {$trusthide}>
+ <select style="width:350px;" id="goTimeEntry" name="goTimeSource" {$goNtpServerState} size=4 multiple {$trustmodeACL} {$trusthide}>
{html_options values=$goTimeSource output=$goTimeSource}
</select>
<br>