Source
941
941
function makeMaintenanceIcon($type, $name, $description) {
942
942
$hint = $name.' ['.($type
943
943
? _('Maintenance without data collection')
944
944
: _('Maintenance with data collection')).']';
945
945
946
946
if ($description !== '') {
947
947
$hint .= "\n".$description;
948
948
}
949
949
950
950
return (new CSpan())
951
-
->addClass(ZBX_STYLE_ICON_MAINT)
951
+
->addClass(ZBX_STYLE_ICON_MAINTENANCE)
952
952
->addClass(ZBX_STYLE_CURSOR_POINTER)
953
953
->setHint($hint);
954
954
}
955
955
956
956
/**
957
957
* Renders an icon for suppressed problem.
958
958
*
959
959
* @param array $icon_data
960
960
* @param string $icon_data[]['suppress_until'] Time until the problem is suppressed.
961
961
* @param string $icon_data[]['maintenance_name'] Name of the maintenance.