diff options
author | Renato Botelho <renato@netgate.com> | 2015-12-21 10:00:45 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-12-21 10:00:45 -0200 |
commit | 47fe940f97a5f26d31713e74fd658b33c1928eb1 (patch) | |
tree | 347ad623a086dd00594316f73c729fc61a8c5b54 /src/usr/local/www/diag_smart.php | |
parent | 8952a4de029c42ae4ba96879053968b0651443eb (diff) | |
parent | 2eb51b46f2d1c1499a7ecc533243b7e1b6cae7d1 (diff) | |
download | pfsense-47fe940f97a5f26d31713e74fd658b33c1928eb1.zip pfsense-47fe940f97a5f26d31713e74fd658b33c1928eb1.tar.gz |
Merge pull request #2302 from ExolonDX/branch_03
Diffstat (limited to 'src/usr/local/www/diag_smart.php')
-rw-r--r-- | src/usr/local/www/diag_smart.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php index 3e6b686..ad878dc 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -80,9 +80,9 @@ function add_colors($string) { $patterns[0] = '/PASSED/'; $patterns[1] = '/FAILED/'; $patterns[2] = '/Warning/'; - $replacements[0] = '<b><font color="#00ff00">' . gettext("PASSED") . '</font></b>'; - $replacements[1] = '<b><font color="#ff0000">' . gettext("FAILED") . '</font></b>'; - $replacements[2] = '<font color="#ff0000">' . gettext("Warning") . '</font>'; + $replacements[0] = '<span class="text-success">' . gettext("PASSED") . '</span>'; + $replacements[1] = '<span class="text-alert">' . gettext("FAILED") . '</span>'; + $replacements[2] = '<span class="text-warning">' . gettext("Warning") . '</span>'; ksort($patterns); ksort($replacements); return preg_replace($patterns, $replacements, $string); |