You are here

function _dba_alert_close in Database Administration 7

Helper function to highlight error lines in red. TODO: Use CSS.

2 calls to _dba_alert_close()
dba_mysql_report_output in database/mysql.report.inc
Build mysqlreport output.
dba_pgsql_report_output in database/pgsql.report.inc
PostgreSQL report.

File

./dba.report.inc, line 131

Code

function _dba_alert_close($alert, $drush) {
  if ($alert && !$drush) {
    return '</font>';
  }
  if ($alert && $drush) {
    return ' <--';
  }
  else {
    return '';
  }
}