/**
  * Render the diagnostic value HTML for a single check
  *
  * @param sfSympalServerCheckUnit $unit 
  * @return string $html
  */
 protected function _renderDiagnostic(sfSympalServerCheckUnit $unit)
 {
     $icons = array('valid' => 'valid', 'error' => 'error', 'warning' => 'warning');
     return image_tag('/sfSympalPlugin/images/' . $icons[$unit->getDiagnostic()] . '.png', 'title=' . $unit->getDiagnostic());
 }
 /**
  * Render the diagnostic value of a single server check unit
  *
  * @param sfSympalServerCheckUnit $unit 
  * @return string $disgnostic
  */
 protected function _renderDiagnostic(sfSympalServerCheckUnit $unit)
 {
     return $unit->getDiagnostic();
 }