From: hickert Date: Fri, 19 Mar 2010 10:43:38 +0000 (+0000) Subject: Fixed images in fai selector X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1821f9a1ea93e00c9fa42c568e48c9df9120cbc1;p=gosa.git Fixed images in fai selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16949 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index 3010cd172..480cf906e 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -388,7 +388,7 @@ class workstartup extends plugin } if(preg_match("/fai_remove/i",$name)){ - $value = base64_decode(preg_replace("/_.*$/i","",preg_replace("/fai_remove_/i","",$name))); + $value = base64_decode(preg_replace("/fai_remove_/i","",$name)); unset($this->FAIclass[$value]); } } @@ -599,11 +599,11 @@ class workstartup extends plugin $smarty->assign("gotoBootKernels",$this->cache['KERNELS'][$release]); $smarty->assign("InheritedFAIrelease",$this->InheritedFAIrelease); - $str_empty = "  \"\""; + $str_empty = image('images/empty.png'); if($this->acl_is_writeable("FAIclass")){ - $str_up = "  "; - $str_down = "  "; - $str_remove = "  "; + $str_up = image('images/lists/sort-up.png','sort_up_%s'); + $str_down = image('images/lists/sort-down.png','sort_down_%s'); + $str_remove = image('images/lists/trash.png','fai_remove_%s'); }else{ $str_up=$str_down=$str_remove=$str_empty; }