| version 1.96, 2003/12/08 09:17:30 |
version 1.97, 2003/12/09 11:16:13 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.95 2003/11/20 11:52:29 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.96 2003/12/08 09:17:30 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 1189 function phpMyEdit_form_control(theForm) |
|
| Line 1189 function phpMyEdit_form_control(theForm) |
|
| $key_rec = $row['qf'.$this->key_num]; |
$key_rec = $row['qf'.$this->key_num]; |
| if (@$this->fdd[$k]['datemask']) { |
if (@$this->fdd[$k]['datemask']) { |
| $value = $row["qf$k".'_timestamp']; |
$value = $row["qf$k".'_timestamp']; |
| $value = @date($this->fdd[$k]['datemask'], $value); |
strlen($value) && $value = @date($this->fdd[$k]['datemask'], $value); |
| } else if (@$this->fdd[$k]['strftimemask']) { |
} else if (@$this->fdd[$k]['strftimemask']) { |
| $value = $row["qf$k".'_timestamp']; |
$value = $row["qf$k".'_timestamp']; |
| $value = @strftime($this->fdd[$k]['strftimemask'], $value); |
strlen($value) && $value = @strftime($this->fdd[$k]['strftimemask'], $value); |
| } else if ($this->is_values2($k, $row["qf$k"])) { |
} else if ($this->is_values2($k, $row["qf$k"])) { |
| $value = $row['qf'.$k.'_idx']; |
$value = $row['qf'.$k.'_idx']; |
| if ($this->fdd[$k]['select'] == 'M') { |
if ($this->fdd[$k]['select'] == 'M') { |