You are here

function _dba_alert_open in Database Administration 7

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

2 calls to _dba_alert_open()
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 118

Code

function _dba_alert_open($alert, $text, $drush) {
  if ($alert && !$drush) {
    return "<font color=\"red\" title=\"{$text}\">";
  }
  else {
    return '';
  }
}