Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 13. november 2026

Rozdiely pre Metafox/error.inc.php medzi verziami 1.15 a 1.16

verzia 1.15, 2014/04/23 18:00:56 verzia 1.16, 2018/03/25 00:08:49
Riadok 17 
Riadok 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/error.inc.php,v 1.14 2012-09-28 18:49:48 nepto Exp $ */  /* $Platon: Metafox/error.inc.php,v 1.15 2014-04-23 18:00:56 igor Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'functions.inc.php';  require_once 'functions.inc.php';
Riadok 79  function ezin_php_error_handler($errno,
Riadok 79  function ezin_php_error_handler($errno,
                 $content .= '<tr><td colspan="2">&nbsp;</td></tr>'."\n";                  $content .= '<tr><td colspan="2">&nbsp;</td></tr>'."\n";
                 foreach ($err_ar as $key => $val) {                  foreach ($err_ar as $key => $val) {
                         $content .= '<tr><td>';                          $content .= '<tr><td>';
                         $content .= '<b>' . htmlspecialchars($key) . '</b>';                          $content .= '<b>' . Platon::htmlspecialchars($key) . '</b>';
                         $content .= '</td><td>';                          $content .= '</td><td>';
                         $content .= htmlspecialchars($val);                          $content .= Platon::htmlspecialchars($val);
                         $content .= '</td></tr>'."\n";                          $content .= '</td></tr>'."\n";
                 }                  }
                 $content .= '<tr><td colspan="2">&nbsp;</td></tr>';                  $content .= '<tr><td colspan="2">&nbsp;</td></tr>';
Riadok 103  function ezin_php_error_handler($errno,
Riadok 103  function ezin_php_error_handler($errno,
                 }                  }
                 $tmpl->set($err_ar);                  $tmpl->set($err_ar);
                 ezin_substitute_basic_properties($tmpl);                  ezin_substitute_basic_properties($tmpl);
                 //echo(htmlspecialchars($tmpl->getCode()));                  //echo(Platon::htmlspecialchars($tmpl->getCode()));
                 @$tmpl->Output();                  @$tmpl->Output();
         } else {          } else {
                 echo $content;                  echo $content;
Riadok 133  function ezin_get_main_template_source($
Riadok 133  function ezin_get_main_template_source($
                         $val = trim(str_replace(';', ";\n      ", $val));                          $val = trim(str_replace(';', ";\n      ", $val));
                         $val = trim(str_replace('.\'', "\n      .'", $val));                          $val = trim(str_replace('.\'', "\n      .'", $val));
                 }                  }
                 $val = sprintf('%04d: %s', $index, htmlspecialchars($val));                  $val = sprintf('%04d: %s', $index, Platon::htmlspecialchars($val));
                 if ($index == $line_around) {                  if ($index == $line_around) {
                         $val = "<b>$val</b>";                          $val = "<b>$val</b>";
                 }                  }

Legend:
Odstranené z verzie1.15  
zmenené riadky
  Pridané vo verzii1.16

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok