diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc
index 5d2b4395e282f44d89e300ea4ec3da989cba4385..f95685e7ece1f1804c5ab224b1100556c7d06dc1 100644 (file)
var $modes= array();
/* attribute list for save action */
+ var $ignore_account= TRUE;
var $attributes= array("gotoMode", "gotoTerminalPath", "macAddress",
"gotoSwapServer", "gotoSyslogServer", "gotoNtpServer",
"gotoFloppyEnable", "gotoCdromEnable", "cn", "gotoSndModule",
if (isset($_POST['action'])){
switch($_POST['saction']){
case 'wake':
- $cmd= $this->search($this->config->data['TABS'], "termgeneric", "WAKECMD");
+ $cmd= search_config($this->config->data['TABS'], "termgeneric", "WAKECMD");
if ($cmd == ""){
print_red(_("No WAKECMD definition found in your gosa.conf"));
} else {
break;
case 'reboot':
- $cmd= $this->search($this->config->data['TABS'], "termgeneric", "REBOOTCMD");
+ $cmd= search_config($this->config->data['TABS'], "termgeneric", "REBOOTCMD");
if ($cmd == ""){
print_red(_("No REBOOTCMD definition found in your gosa.conf"));
} else {
break;
case 'halt':
- $cmd= $this->search($this->config->data['TABS'], "termgeneric", "HALTCMD");
+ $cmd= search_config($this->config->data['TABS'], "termgeneric", "HALTCMD");
if ($cmd == ""){
print_red(_("No HALTCMD definition found in your gosa.conf"));
} else {
/* Do we represent a valid terminal? */
if (!$this->is_account && $this->parent == NULL){
- $display= "<img src=\"images/stop.png\" align=center> <b>".
+ $display= "<img alt=\"\" src=\"images/stop.png\" align=middle> <b>".
_("This 'dn' has no terminal features.")."</b>";
return($display);
}
/* Fill templating stuff */
$smarty= get_smarty();
$smarty->assign("cn", $this->cn);
+ $smarty->assign("staticAddress", "");
$smarty->assign("bases", $this->config->idepartments);