add format_error, print_error

master
Andrew Dolgov 17 years ago
parent fe8d205964
commit 68d2f95eb9

@ -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);

Loading…
Cancel
Save