summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 009e53b)
raw | patch | inline | side by side (parent: 009e53b)
| author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Wed, 8 Oct 2008 10:59:51 +0000 (10:59 +0000) | ||
| committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Wed, 8 Oct 2008 10:59:51 +0000 (10:59 +0000) |
-Allow to save gotoLpdEnable
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12627 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12627 594d385d-05f5-0310-b6e9-bd551577e9d8
| gosa-plugins/goto/admin/systems/goto/class_workstationService.inc | patch | blob | history | |
| gosa-plugins/goto/admin/systems/goto/gotoLpdEnable.tpl | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc
index 4cb2df0c223a22b81cb0711e0db1672ed5baa178..3897dfe71e05bdf46e3cdfe2545ac5203469eecd 100644 (file)
/* attribute list for save action */
- var $attributes= array("gotoXMonitor",
+ var $attributes= array("gotoXMonitor","gotoLpdEnable",
"gotoXDriver", "gotoXResolution", "gotoXColordepth",
"gotoXHsync", "gotoXVsync",
"gotoScannerEnable", "gotoScannerClients",
"1400x1050" => "1400x1050",
"1600x1200" => "1600x1200");
+ /* Load gotoLpdEnable
+ */
+ $this->gotoLpdEnable = array();
+ if(isset($this->attrs['gotoLpdEnable']['count'])){
+ for($i = 0 ; $i < $this->attrs['gotoLpdEnable']['count']; $i ++){
+ $this->gotoLpdEnable[] = $this->attrs['gotoLpdEnable'][$i];
+ }
+ }
+
if($this->config->get_cfg_value("resolutions") != ""){
$file = $this->config->get_cfg_value("resolutions");
diff --git a/gosa-plugins/goto/admin/systems/goto/gotoLpdEnable.tpl b/gosa-plugins/goto/admin/systems/goto/gotoLpdEnable.tpl
index 48910843cd5ff3871fac9c429fdeb9d6b5620d44..7c29c989b4fd45ebb5ad41e946ec3a5f0f38825b 100644 (file)
{else}
<table style='width:100%;'>
<tr>
- <td style='width:50%;'>
+ <td style='width:55%;'>
<table>
<tr>
<td>{t}Device{/t} #</td>