| version 1.164, 2005/03/05 12:03:13 |
version 1.165, 2005/03/12 10:16:49 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.163 2005/01/09 01:33:35 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.164 2005/03/05 12:03:13 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 969 function '.$this->js['prefix'].'filter_h |
|
| Line 969 function '.$this->js['prefix'].'filter_h |
|
| $size = isset($this->fdd[$k]['size']) ? $this->fdd[$k]['size'] : min($maxlen, 60); |
$size = isset($this->fdd[$k]['size']) ? $this->fdd[$k]['size'] : min($maxlen, 60); |
| $size && $size_ml_props .= ' size="'.$size.'"'; |
$size && $size_ml_props .= ' size="'.$size.'"'; |
| $maxlen && $size_ml_props .= ' maxlength="'.$maxlen.'"'; |
$maxlen && $size_ml_props .= ' maxlength="'.$maxlen.'"'; |
| echo '<input class="',$css_class_name,'" type="text" '; |
echo '<input class="',$css_class_name,'" '; |
| echo ($this->readonly($k) ? 'disabled ' : ''); |
echo ($this->password($k) ? 'type="password"' : 'type="text"'); |
| |
echo ($this->readonly($k) ? ' disabled' : ''); |
| echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'"'; |
echo ' name="',$this->cgi['prefix']['data'].$this->fds[$k],'"'; |
| echo $size_ml_props,' value="'; |
echo $size_ml_props,' value="'; |
| echo htmlspecialchars($this->fdd[$k]['default']),'">'; |
echo htmlspecialchars($this->fdd[$k]['default']),'">'; |