Exemplo n.º 1
0
 public static function coreStop($message)
 {
     $title = 'Oops';
     $error = \Kit::translateSystemError($message);
     if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) and $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
         \Components\XHR::returnError($error);
     }
     exit(include KIT_CORE . '/Etc/SystemTpl/Exception.php');
 }
Exemplo n.º 2
0
<div style="background-color: #ed9c28; border: 1px solid black; margin: 0px auto; padding: 5px;">
  <div style="font-weight: 900; color: red; font-size: 20pt; text-align: center"><?php 
echo \Kit::translateSystemError('_BOX_NF_TITLE');
?>
</div>
  <div style="color: red; font-size: 14pt; text-align: center">
    <?php 
echo \Kit::translateSystemError('_BOX_NF_TEXT');
?>
    <?php 
echo isset($box_name) ? "BOX NAME: {$box_name}" : '';
?>
  </div>
</div>