Two smaller bugs [0000023],[0000026]
[fa-stable.git] / includes / session.inc
index 9ba28f4964619c4b9ddad36d3e507c7c0046453a..0354221d9baa2af4d303ef7b22ad7253a4305675 100644 (file)
@@ -11,7 +11,8 @@
 
        function output_html($text)
        {
-         global $before_box;
+         global $before_box, $Ajax;
+         $Ajax->run();
          return  in_ajax() ? fmt_errors() : ($before_box.fmt_errors().$text);
        }
 
@@ -89,7 +90,6 @@
                        echo "<center><br><br><br><b>";
                        echo _("The security settings on your account do not permit you to access this function");
                        echo "</b>";
-                       echo "<br><br><a href='javascript:history.go(-1)'>" . _("Back") . "</a>";
                        echo "<br><br><br><br></center>";
                        //echo '<script type="text/javascript">';
                        //echo 'alert("' . _("The security settings on your account do not permit you to access this function") . '");';