summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f24eb13)
raw | patch | inline | side by side (parent: f24eb13)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Feb 2008 12:19:55 +0000 (12:19 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Feb 2008 12:19:55 +0000 (12:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8952 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
index 51616dffa3bf5c4f17bc08cd85f446293e5c3517..e51022472e1bc7faeb84b99f7cf485be9f2c01e6 100644 (file)
var $ghSoundAdapter= "-";
var $gotoLastUser= "-";
var $netConfigDNS;
+
/* Needed values and lists */
var $base= "";
var $cn= "";
+ var $description= "";
var $orig_dn= "";
var $inheritTimeServer = true;
var $attributes= array("gotoMode", "gotoTerminalPath",
"gotoSwapServer", "gotoSyslogServer", "gotoNtpServer",
"gotoFloppyEnable", "gotoCdromEnable", "cn", "gotoSndModule",
- "ghCpuType", "ghMemSize","ghUsbSupport",
+ "ghCpuType", "ghMemSize","ghUsbSupport", "description",
"ghGfxAdapter", "ghSoundAdapter", "gotoLastUser");
var $objectclasses= array("top", "gotoTerminal", "GOhard");
}
$smarty->assign("cn", $this->cn);
+ $smarty->assign("description", $this->description);
$smarty->assign("staticAddress", "");
$smarty->assign("bases", $this->get_allowed_bases());
"gotoNtpServer" => _("Ntp server settings"),
"base" => _("Base"),
"cn" => _("Name"),
+ "description" => _("Description"),
"gotoRootPasswd" => _("Root password"),
"FAIstate" => _("Action flag"))
));
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc
index 4107c747b813155e3e256cbc710025fb83f774b1..0e264ab6c0b47965c1dbd2323110121405dcaeb9 100644 (file)
}
$smarty->assign("cn", $this->cn);
+ $smarty->assign("description", $this->description);
$smarty->assign("l", $this->l);
$smarty->assign("bases", $this->get_allowed_bases());
$smarty->assign("staticAddress", "");
diff --git a/gosa-plugins/goto/admin/systems/goto/terminal.tpl b/gosa-plugins/goto/admin/systems/goto/terminal.tpl
index dc088f867a36d5aaaf6eba4d25474b4a45a83174..06749efd61c62e70b4a681cabea9b7e3dc2adb57 100644 (file)
</td>
{/if}
</tr>
+ <tr>
+ <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+ <td>
+{render acl=$descriptionACL}
+ <input name="description" id="description" size=18 maxlength=60 value="{$description}">
+{/render}
+ </td>
+ </tr>
<tr>
<td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
<td>