| version 1.40, 2002/12/18 18:40:42 |
version 1.41, 2002/12/22 20:37:14 |
|
|
| * http://www.platon.sk/projects/phpMyEdit/ |
* http://www.platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.39 2002/12/15 09:16:33 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.40 2002/12/18 18:40:42 nepto Exp $ */ |
| |
|
| /* phpMyEdit intro {{{ */ |
/* phpMyEdit intro {{{ */ |
| /* |
/* |
| Line 2717 function form_control(theForm) |
|
| Line 2717 function form_control(theForm) |
|
| * ====================================================================== |
* ====================================================================== |
| */ |
*/ |
| if ($this->saveadd == $this->labels['Save']) { |
if ($this->saveadd == $this->labels['Save']) { |
| $this->do_add_record(); |
$this->add_enabled() && $this->do_add_record(); |
| } |
} |
| if ($this->moreadd == $this->labels['More']) { |
elseif ($this->moreadd == $this->labels['More']) { |
| $this->do_add_record(); |
$this->add_enabled() && $this->do_add_record(); |
| $this->operation = $this->labels['Add']; // to force add operation |
$this->operation = $this->labels['Add']; // to force add operation |
| $this->recreate_fdd(); |
$this->recreate_fdd(); |
| $this->recreate_displayed(); |
$this->recreate_displayed(); |
| } |
} |
| if ($this->savechange == $this->labels['Save']) { |
elseif ($this->savechange == $this->labels['Save']) { |
| $this->do_change_record(); |
$this->change_enabled() && $this->do_change_record(); |
| } |
} |
| if ($this->morechange == $this->labels['Apply']) { |
elseif ($this->morechange == $this->labels['Apply']) { |
| $this->do_change_record(); |
$this->change_enabled() && $this->do_change_record(); |
| $this->operation = $this->labels['Change']; // to force change operation |
$this->operation = $this->labels['Change']; // to force change operation |
| $this->recreate_fdd(); |
$this->recreate_fdd(); |
| $this->recreate_displayed(); |
$this->recreate_displayed(); |
| } |
} |
| if ($this->savedelete == $this->labels['Delete']) { |
elseif ($this->savedelete == $this->labels['Delete']) { |
| $this->do_delete_record(); |
$this->delete_enabled() && $this->do_delete_record(); |
| } |
} |
| |
|
| /* |
/* |