diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 7554ad9ba..14c68e864 100644 --- a/functions.php +++ b/functions.php @@ -3188,6 +3188,14 @@ <img src=\"images/sign_info.png\">$msg</div>"; } + function print_notice($msg) { + return print format_notice($msg); + } + + function print_warning($msg) { + return print format_warning($msg); + } + function startup_gettext() { # Get locale from Accept-Language header @@ -3201,4 +3209,9 @@ } } + function T_sprintf() { + $args = func_get_args(); + return vsprintf(__(array_shift($args)), $args); + } + ?> |