summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 775b614)
raw | patch | inline | side by side (parent: 775b614)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 May 2011 07:17:44 +0000 (07:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 May 2011 07:17:44 +0000 (07:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20841 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Device/DeviceConfig.tpl | patch | blob | history | |
gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/Device/DeviceConfig.tpl b/gosa-plugins/goto/admin/systems/goto/Device/DeviceConfig.tpl
index 5517d0502fef32ba26ea32f5b289d48a9acdfecf..21e889b220af641be2a2d9d00d58d7c99ff65746 100644 (file)
<table width='100%'>
<tr>
- <td>
+ <td style='width:50%; vertical-align: top;padding-right:5px;'>
+ <h3>{t}Assignable items{/t}</h3>
{$assignableElementsList}
</td>
<td style='width:50%; vertical-align: top;padding-left:5px;' class='left-border'>
+ <h3>{t}Assigned items{/t}</h3>
{$usedElementsList}
</td>
</tr>
</tr>
<tr>
<td colspan=2>
+ <h3>{t}Parameters{/t}</h3>
{$parameterList}
</td>
</tr>
diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc
index 1edcb6f0488cbd82cbe2f7df01fbab8ca49b9dbf..b064c1cfe103766aa646272925b484702b261caf 100644 (file)
$data = $lData = array();;
foreach($this->usedElements as $name){
$parameter = $this->assignableElements[$name]['parameter'];
- foreach($parameter as $name => $desc){
- $data[$name] = NULL;
- $lData[$name] = array('data' => array($desc));
+ foreach($parameter as $param => $desc){
+ $data[$param] = NULL;
}
- $value = (isset($this->parameterValues[$name])) ? $this->parameterValues[$name] : "<i>"._('unset')."</i>";
- $lData[$name] = array('data' => array($name, $value));
+ $value = (isset($this->parameterValues[$param])) ? $this->parameterValues[$param] : "<i>"._('unset')."</i>";
+ $lData[$param] = array('data' => array($name, $param, $value));
}
$this->parameterList->setListData($data, $lData);