/** * @see sfWebDebugPanel */ public function getPanelContent() { $panel = $this->getConfigurationContent() . '<table class="sfWebDebugLogs" style="width: 300px"><tr><th>less file</th><th>css file</th><th style="text-align:center;">time (ms)</th></tr>'; $errorDescriptions = sfLESS::getCompileErrors(); foreach (sfLESS::getCompileResults() as $info) { $info['error'] = isset($errorDescriptions[$info['lessFile']]) ? $errorDescriptions[$info['lessFile']] : false; $panel .= $this->getInfoContent($info); } $panel .= '</table>'; $this->setStatus($this->errors ? sfLogger::ERR : ($this->compiled ? sfLogger::WARNING : sfLogger::INFO)); return $panel; }