Diff for phpMyEdit/phpMyEdit.class.php between version 1.216 and 1.217
| version 1.216, 2011/01/09 19:02:27 |
version 1.217, 2012/12/12 09:13:59 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.215 2011-01-09 18:42:41 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.216 2011-01-09 19:02:27 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 1457 function '.$this->js['prefix'].'filter_h |
|
| Line 1457 function '.$this->js['prefix'].'filter_h |
|
| } |
} |
| } |
} |
| if (intval(@$this->fdd[$k]['trimlen']) > 0 && strlen($value) > $this->fdd[$k]['trimlen']) { |
if (intval(@$this->fdd[$k]['trimlen']) > 0 && strlen($value) > $this->fdd[$k]['trimlen']) { |
| $value = ereg_replace("[\r\n\t ]+",' ',$value); |
$value = preg_replace("/\s\s+/",' ',$value); |
| $value = substr($value, 0, $this->fdd[$k]['trimlen'] - 3).'...'; |
$value = substr($value, 0, $this->fdd[$k]['trimlen'] - 3).'...'; |
| } |
} |
| if (@$this->fdd[$k]['mask']) { |
if (@$this->fdd[$k]['mask']) { |
Platon Group <platon@platon.org> http://platon.org/
|
|