summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a8fd3d)
raw | patch | inline | side by side (parent: 3a8fd3d)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Oct 2009 12:14:40 +0000 (12:14 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Oct 2009 12:14:40 +0000 (12:14 +0000) |
- Use the 'title' attribute instead of 'alt' for the descriptions,
because the latter are not shown.
- Add missing descriptions
- Add missing in placeholder entries.
- "Profiles" -> "Profile"
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14510 594d385d-05f5-0310-b6e9-bd551577e9d8
because the latter are not shown.
- Add missing descriptions
- Add missing in placeholder entries.
- "Profiles" -> "Profile"
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14510 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index 436c0757dad587ee5834a01f5c2d826e1fbd4634..0e372ddefbd29d2127ec8217ee5a88eca7aaf4ad 100644 (file)
# everything looks fine if the type in this position
# doesn't exist in that class
for ($i=0; $i<6; $i++) {
- $result[$i] = "<img src='images/empty.png' width='17'>";
+ $result[$i] = "<img src='images/empty.png' width='17'> ";
}
}
foreach($classes[$class_name] as $type) {
$index = $type['index'];
if ($image) {
- $string = "<img src='".$type['img']."' width='17' alt='".$type['desc']."'> ";
+ $string = "<img src='".$type['img']."' width='17' title='".$type['desc']."'> ";
}
else {
$string = $type['Abbr'];
function analyse_fai_object($attr)
{
$result = array();
- $result['desc'] = 'Placeholder';
switch($attr['TYPE']){
case 'FAIpartitionTable':
$result["Type"]= 'FAIpartitionTable';
$result["Abbr"]= 'Pt';
$result["img"]= 'plugins/fai/images/fai_partitionTable.png';
- $result["desc"] = "_('Partition table')";
+ $result["desc"] = _('Partition table');
$result["index"]= 0;
break;
case 'FAIpackageList':
$result["Type"]= 'FAIpackageList';
$result["Abbr"]= 'Pl';
$result["img"] = 'plugins/fai/images/fai_packages.png';
- $result["desc"] = "_('Package list')";
+ $result["desc"] = _('Package list');
$result["index"] = 1;
break;
case 'FAIscript':
$result["Type"]= 'FAIscript';
$result["Abbr"]= 'S';
$result["img"]= 'plugins/fai/images/fai_script.png';
- $result["desc"] = "_('Script')";
+ $result["desc"] = _('Scripts');
$result["index"] = 2;
break;
case 'FAIvariable':
$result["Type"]= 'FAIvariable';
$result["Abbr"]= 'V';
$result["img"]= 'plugins/fai/images/fai_variable.png';
- $result["desc"] = "_('Variables')";
+ $result["desc"] = _('Variables');
$result["index"]= 3;
break;
case 'FAIhook':
$result["Type"]= 'FAIhook';
$result["Abbr"]= 'H';
$result["img"]= 'plugins/fai/images/fai_hook.png';
- $result["desc"] = "_('Hooks')";
+ $result["desc"] = _('Hooks');
$result["index"]= 4;
break;
case 'FAIprofile':
$result["Type"]= 'FAIprofile';
$result["Abbr"]= 'P';
$result["img"]= 'plugins/fai/images/fai_profile.png';
+ $result["desc"]= _('Profile');
$result["index"] = 5;
break;
case 'FAItemplate':
$result["Type"]= 'FAItemplate';
$result["Abbr"]= 'T';
$result["img"] = 'plugins/fai/images/fai_template.png';
+ $result["desc"]= _('Templates');
$result["index"] = 6;
break;
default: trigger_error("Unknown FAI object type!");;