| version 1.14, 2017/06/09 15:05:11 |
version 1.15, 2017/11/07 08:52:56 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.223 2017/06/09 15:02:38 igor Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.224 2017/11/07 08:51:38 nepto 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 |