diff options
author | Andrew Dolgov <[email protected]> | 2015-08-11 18:37:07 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-11 18:37:07 +0300 |
commit | c1ebb6cdf7efd7af3b266592478fd0a58d529ea4 (patch) | |
tree | 15ea7463a3f342139419b2306d70fff95471aa07 /include | |
parent | 7a1133521c184bca78e7b8466f0109054da73d1b (diff) |
update notice/error css classes
Diffstat (limited to 'include')
-rw-r--r-- | include/functions2.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/functions2.php b/include/functions2.php index a6cb019f8..781cd067f 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1154,18 +1154,15 @@ } function format_warning($msg, $id = "") { - return "<div class=\"warning\" id=\"$id\"> - <span><img src=\"images/alert.png\"></span><span>$msg</span></div>"; + return "<div class=\"alert\" id=\"$id\">$msg</div>"; } function format_notice($msg, $id = "") { - return "<div class=\"notice\" id=\"$id\"> - <span><img src=\"images/information.png\"></span><span>$msg</span></div>"; + return "<div class=\"alert alert-info\" id=\"$id\">$msg</div>"; } function format_error($msg, $id = "") { - return "<div class=\"error\" id=\"$id\"> - <span><img src=\"images/alert.png\"></span><span>$msg</span></div>"; + return "<div class=\"alert alert-danger\" id=\"$id\">$msg</div>"; } function print_notice($msg) { |