tbrehm
2005-12-06 0bd681dff01e06f890a39589fb38097db3195275
Error message integrated
1 files modified
5 ■■■■■ changed files
interface/lib/app.inc.php 5 ●●●●● patch | view | raw | blame | history
interface/lib/app.inc.php
@@ -110,11 +110,12 @@
     2 = ERROR
    */
    
    function error($msg, $priority = 2) {
    function error($msg, $next_link = '', $stop = true, $priority = 1) {
        //$this->uses("error");
        //$this->error->message($msg, $priority);
        echo $msg;
        if($priority == 2) exit;
        if($next_link != "") echo "<a href='$next_link'>Next</a>";
        if($stop == true) die();
    }
    
    function lng($text)