| version 1.9, 2012/05/14 14:53:43 |
version 1.10, 2015/07/09 12:11:53 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/lib/phpMyEdit/phpMyEdit.class.php,v 1.8 2011-11-22 16:06:59 igor Exp $ */ |
/* $Platon: Metafox/lib/phpMyEdit/phpMyEdit.class.php,v 1.9 2012-05-14 14:53:43 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 1244 function '.$this->js['prefix'].'filter_h |
|
| Line 1244 function '.$this->js['prefix'].'filter_h |
|
| echo '<input class="',$css_class_name,'" type="text"'; |
echo '<input class="',$css_class_name,'" type="text"'; |
| echo ($this->readonly($k) ? ' disabled' : ''); |
echo ($this->readonly($k) ? ' disabled' : ''); |
| echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="'; |
echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'" value="'; |
| if ($escape) echo htmlspecialchars($row["qf$k"]); |
if ($escape) echo htmlspecialchars($row["qf$k"], ENT_COMPAT | ENT_HTML401, ''); |
| else echo $row["qf$k"]; |
else echo $row["qf$k"]; |
| echo '"',$len_props,' />',"\n"; |
echo '"',$len_props,' />',"\n"; |
| } |
} |
| Line 1473 function '.$this->js['prefix'].'filter_h |
|
| Line 1473 function '.$this->js['prefix'].'filter_h |
|
| return ' '; |
return ' '; |
| } |
} |
| if ($escape) { |
if ($escape) { |
| $value = htmlspecialchars($value); |
$value = htmlspecialchars($value, ENT_COMPAT | ENT_HTML401, ''); |
| } |
} |
| return nl2br($value); |
return nl2br($value); |
| } /* }}} */ |
} /* }}} */ |
| Line 1637 function '.$this->js['prefix'].'filter_h |
|
| Line 1637 function '.$this->js['prefix'].'filter_h |
|
| } |
} |
| $ret .= '>'; |
$ret .= '>'; |
| if ($escape) { |
if ($escape) { |
| $ret .= htmlspecialchars($value); |
$ret .= htmlspecialchars($value, ENT_COMPAT | ENT_HTML401, ''); |
| } else { |
} else { |
| $ret .= $value; |
$ret .= $value; |
| } |
} |