summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e894972)
raw | patch | inline | side by side (parent: e894972)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Jul 2008 12:26:32 +0000 (12:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Jul 2008 12:26:32 +0000 (12:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11838 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_divListSystem.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/gosa-plugins/systems/admin/systems/class_divListSystem.inc
index 4c5eb25af20e2213c7f3699340144276a00267c5..feb9e8228e7dceb113cc631aa62d87b33d339fa5 100644 (file)
function setEntries($terminals)
{
- $img1 = "<img class='center' src='images/printer.png' alt='C' title='"._("Cups Server") ."'>";
- $img2 = "<img class='center' src='images/scanner.png' alt='L' title='"._("Log Db") ."'>";
- $img3 = "<img class='center' src='images/select_terminal.png' alt='L' title='"._("Syslog Server") ."'>";
- $img4 = "<img class='center' src='images/mailto.png' alt='M' title='"._("Mail Server") ."'>";
- $img5 = "<img class='center' src='images/select_phone.png' alt='I' title='"._("Imap Server") ."'>";
- $img6 = "<img class='center' src='images/fax_small.png' alt='F' title='"._("Nfs Server") ."'>";
- $img7 = "<img class='center' src='images/select_winstation.png' alt='K' title='"._("Kerberos Server") ."'>";
- $img8 = "<img class='center' src='images/select_phone.png' alt='A' title='"._("Asterisk Server") ."'>";
- $img9 = "<img class='center' src='images/fax_small.png' alt='F' title='"._("Fax Server") ."'>";
- $img10 = "<img class='center' src='images/save.png' alt='L' title='"._("Ldap Server") ."'>";
-
$empty ="<img src='images/empty.png' style='width:16px ; height: 16px;' class='center' alt=''>";
/* Dynamic action col, depending on snapshot icons */
$action.= $empty;
}
-
- /* Generate picture list, which is currently disabled */
- if(in_array("goCupsServer" ,$val['objectClass'])) $cups = $img1; else $cups =$empty;
- if(in_array("goLogDBServer" ,$val['objectClass'])) $logdb = $img2; else $logdb =$empty;
- if(in_array("goSyslogServer" ,$val['objectClass'])) $syslog = $img3; else $syslog=$empty;
- if(in_array("goImapServer" ,$val['objectClass'])) $imap = $img4; else $imap =$empty;
- if(in_array("sambaSamAccount" ,$val['objectClass'])) $samba = $img5; else $samba =$empty;
- if(in_array("goShareServer" ,$val['objectClass'])) $nfs = $img6; else $nfs =$empty;
- if(in_array("goKrbServer" ,$val['objectClass'])) $krb = $img7; else $krb =$empty;
- if(in_array("goFonServer" ,$val['objectClass'])) $fon = $img8; else $fon =$empty;
- if(in_array("goFaxServer" ,$val['objectClass'])) $fax = $img9; else $fax =$empty;
- if(in_array("goLdapServer" ,$val['objectClass'])) $ldap = $img10; else $ldap =$empty;
-
- $pics = $cups.$logdb.$syslog.$imap.$samba.$nfs.$krb.$fon.$fax.$ldap;
- $pics = ""; // Pictures currently hidden
-
$val['cn'][0]= preg_replace('/\$$/', '', $val['cn'][0]);
// Generate Array to Add