Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, April 19, 2024

Diff for phpMyEdit/phpMyEdit.class.php between version 1.223 and 1.224

version 1.223, 2017/06/09 15:02:38 version 1.224, 2017/11/07 08:51:38
Line 19 
Line 19 
  * http://platon.sk/projects/phpMyEdit/   * http://platon.sk/projects/phpMyEdit/
  */   */
   
 /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.222 2017/06/08 11:56:19 igor Exp $ */  /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.223 2017/06/09 15:02:38 igor Exp $ */
   
 /*  This is a generic table editing program. The table and fields to be  /*  This is a generic table editing program. The table and fields to be
         edited are defined in the calling program.          edited are defined in the calling program.
Line 1872  function '.$this->js['prefix'].'filter_h
Line 1872  function '.$this->js['prefix'].'filter_h
                         }                          }
                 }                  }
                 if ($this->ext_hsc === false) { // internal                  if ($this->ext_hsc === false) { // internal
                         if (PHP_MAJOR_VERSION == 5                          // PHP version 5.4
                                 && PHP_MINOR_VERSION == 4)                          if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 4) {
                         {                                  return htmlspecialchars($string,
                                 return htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, $this->deduct_htmlspecialchars_encoding($this->encoding));                                                  ENT_COMPAT | ENT_HTML401,
                         }                                                  $this->deduct_htmlspecialchars_encoding($this->encoding));
                         if (PHP_MAJOR_VERSION == 5                          }
                                 && PHP_MINOR_VERSION == 6)                          // PHP version 5.6 and higher
                         {                          if ((PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 6)
                                 return htmlspecialchars($string, ENT_QUOTES | ENT_HTML5 | ENT_DISALLOWED | ENT_SUBSTITUTE, $this->deduct_htmlspecialchars_encoding($this->encoding));                                          || PHP_MAJOR_VERSION >= 7) {
                                   return htmlspecialchars($string,
                                                   ENT_QUOTES | ENT_HTML5 | ENT_DISALLOWED | ENT_SUBSTITUTE,
                                                   $this->deduct_htmlspecialchars_encoding($this->encoding));
                         }                          }
                 }                  }
                 // default PHP                  // default PHP

Legend:
Removed from v.1.223  
changed lines
  Added in v.1.224

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top