summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8623f2e)
raw | patch | inline | side by side (parent: 8623f2e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 07:59:43 +0000 (07:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 Jul 2008 07:59:43 +0000 (07:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11928 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_divListUsers.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc
index 8d9f04d16a04dd7f4b4caf96281d6c50154d7308..45bafb08ac362d3ae06c907100d0fa75ed11a246 100644 (file)
name='user_edit_%KEY%-environment' title='"._("Edit environment properties")."'>";
$mailimg = "<input class='center' type='image' src='images/mailto.png' alt='"._("Mail")."'
name='user_edit_%KEY%-mailAccount' title='"._("Edit mail properties")."'>";
- $fonimg = "<input class='center' type='image' src='images/%image%' alt='"._("Phone")."'
+ $fonimg = "<input class='center' type='image' src='%image%' alt='"._("Phone")."'
name='user_edit_%KEY%-phoneAccount' title='"._("Edit phone properties")."%title%'>";
$faximg = "<input class='center' type='image' src='plugins/users/images/fax_small.png' alt='"._("Fax")."'
name='user_edit_%KEY%-gofaxAccount' title='"._("Edit fax properies")."'>";
}
/* Create phonaccopunt informationm, if conencted && is phoneAccount */
- if((in_array("goFonAccount" ,$val['objectClass']))){
+ if(class_available("phoneAccount") && (in_array("goFonAccount" ,$val['objectClass']))){
/* Set defaults */
- $fonac = preg_replace("/%image%/", "select_phone.png", $fonimg);
+ $fonac = preg_replace("/%image%/", "plugins/gofon/images/select_phone.png", $fonimg);
$fonac = preg_replace("/%KEY%/", "$key", $fonac);
$fonac = preg_replace("/%title%/", "", $fonac);