]> git.wh0rd.org Git - tt-rss.git/commitdiff
add format_error, print_error
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 5 May 2007 11:03:42 +0000 (12:03 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 5 May 2007 11:03:42 +0000 (12:03 +0100)
functions.php

index bfed27be46e471f2b51f9bd17f8bd7311b9aa571..059ca524d15789ab1b1e9d0def8fe269a46d65b6 100644 (file)
                        <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);
        }
                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);