diff options
-rw-r--r-- | functions.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/functions.php b/functions.php index bfed27be4..059ca524d 100644 --- a/functions.php +++ b/functions.php @@ -3309,6 +3309,11 @@ <img src=\"images/sign_info.png\">$msg</div>"; } + function format_error($msg) { + return "<div class=\"error\"> + <img src=\"images/sign_excl.png\">$msg</div>"; + } + function print_notice($msg) { return print format_notice($msg); } @@ -3317,6 +3322,11 @@ return print format_warning($msg); } + function print_error($msg) { + return print format_error($msg); + } + + function T_sprintf() { $args = func_get_args(); return vsprintf(__(array_shift($args)), $args); |