diff --git a/gosa-plugins/systems/admin/systems/class_divListSystemService.inc b/gosa-plugins/systems/admin/systems/class_divListSystemService.inc
index ab64a6a04554fda33cb203548cbb9c6f66a2e45e..0921c943bd6e1f415ea3006604f1be992c382f77 100644 (file)
switch($entry['Status']){
case '' : $str =" ";break;
- case SERVICE_STOPPED : $str ="<img src='images/status_stopped.png' title='"._("Stopped")."'>"; break;
- case SERVICE_STARTED : $str ="<img src='images/status_running.png' title='"._("Started")."'>"; break;
+ case SERVICE_STOPPED : $str ="<img src='images/lists/off.png' title='"._("Stopped")."'>"; break;
+ case SERVICE_STARTED : $str ="<img src='images/lists/on.png' title='"._("Started")."'>"; break;
case SERVICE_RESTARTED : $str ="<img src='images/status_restarting.png' title='"._("Restarting")."' alt='R'>"; break;
default: $str= "<img src='images/select_user.png' alt='".$entry['Status']."' title='"._("User status")." : ".$entry['Status']."'>";
}
}else{
$actions .= " <img src='images/empty.png' width='16' alt=''>";
}
- if($entry['AllowStart'] && $WasAccount){
+ if($entry['AllowStop'] && $WasAccount){
$actions .= " <input type='image' name='StopSingleService_".$name."' src='images/status_stop.png'
title='"._("Stop service")."'>";
}else{
$actions .= " <img src='images/empty.png' width='16' alt=''>";
}
- if($entry['AllowStart'] && $WasAccount){
+ if($entry['AllowRestart'] && $WasAccount){
$actions .= " <input type='image' name='RestartSingleService_".$name."' src='images/lists/reload.png'
title='"._("Restart service")."'>";
}else{
/* Check if edit is enabled and allowed for current service */
if($entry['AllowEdit'] && preg_match("/(r|w)/i",$acl)){
- $actions .= " <input type='image' name='EditSingleService_".$name."' src='images/edit.png'
+ $actions .= " <input type='image' name='EditSingleService_".$name."' src='images/lists/edit.png'
title='"._("Edit service")."'>";
}else{
$actions .= " <img src='images/empty.png' width='16' alt=''>";