summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dee30d5)
raw | patch | inline | side by side (parent: dee30d5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Aug 2005 07:57:10 +0000 (07:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Aug 2005 07:57:10 +0000 (07:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1240 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_terminalGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc
index f95685e7ece1f1804c5ab224b1100556c7d06dc1..124f61bd17ece318ccd11bb176ebefac23568a52 100644 (file)
}
/* Arrays */
$smarty->assign("modes", $this->modes);
- $smarty->assign("nfsservers", $this->config->data['SERVERS']['NFS']);
+
+ $tmp2 = array();
+ foreach($this->config->data['SERVERS']['NFS'] as $server){
+ if($server != "default"){
+ $tmp = split("\|",$server);
+ $tmp3= split(":",$tmp[0]);
+
+ $servername = $tmp3[0];
+ $nfsname = $tmp3[1];
+
+ $path = $tmp[4];
+
+ $tmp2[$servername.":".$path]= $servername.":".$path;
+ }else{
+ $tmp2[$server]=$server;
+ }
+ }
+
+ $smarty->assign("nfsservers", $tmp2);
$smarty->assign("syslogservers", $this->config->data['SERVERS']['SYSLOG']);
$smarty->assign("ntpservers", $this->config->data['SERVERS']['NTP']);