From 1821f9a1ea93e00c9fa42c568e48c9df9120cbc1 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Mar 2010 10:43:38 +0000 Subject: [PATCH] Fixed images in fai selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16949 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/class_workstationStartup.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } -- 2.30.2