diff options
author | Andrew Dolgov <[email protected]> | 2007-05-05 12:03:42 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-05 12:03:42 +0100 |
commit | 68d2f95eb9e5b86e781d642909364369bf9cda02 (patch) | |
tree | 041636e8dd6293e27333bc8e88a41af4a95402a5 | |
parent | fe8d2059648bfaf773277918927fcd2af4f314a0 (diff) |
add format_error, print_error
-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); |