| version 1.101, 2003/12/18 21:13:32 |
version 1.102, 2003/12/18 21:37:23 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.100 2003/12/15 14:33:04 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.101 2003/12/18 21:13:32 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 2770 function phpMyEdit_form_control(theForm) |
|
| Line 2770 function phpMyEdit_form_control(theForm) |
|
| $this->triggers = @$opts['triggers']; |
$this->triggers = @$opts['triggers']; |
| $this->notify = @$opts['notify']; |
$this->notify = @$opts['notify']; |
| $this->logtable = @$opts['logtable']; |
$this->logtable = @$opts['logtable']; |
| $this->page_name = $this->tb; |
$this->page_name = @$opts['page_name']; |
| isset($opts['page_name']) && $this->page_name = $opts['page_name']; |
if (! isset($this->page_name)) { |
| |
$this->page_name = basename($this->get_server_var('PHP_SELF')); |
| |
isset($this->page_name) || $this->page_name = $this->tb; |
| |
} |
| $this->display['query'] = @$opts['display']['query']; |
$this->display['query'] = @$opts['display']['query']; |
| $this->display['sort'] = @$opts['display']['sort']; |
$this->display['sort'] = @$opts['display']['sort']; |
| $this->display['time'] = @$opts['display']['time']; |
$this->display['time'] = @$opts['display']['time']; |
| Line 2817 function phpMyEdit_form_control(theForm) |
|
| Line 2820 function phpMyEdit_form_control(theForm) |
|
| $this->cgi['persist'] .= '&'.urlencode($key).'='.urlencode($val); |
$this->cgi['persist'] .= '&'.urlencode($key).'='.urlencode($val); |
| } |
} |
| } |
} |
| // Find the URL to post forms |
|
| $this->page_name = basename($this->get_server_var('PHP_SELF')); |
|
| // Sorting variables |
// Sorting variables |
| $this->sfn = $this->get_cgi_var('sfn'); |
$this->sfn = $this->get_cgi_var('sfn'); |
| isset($this->sfn) || $this->sfn = array(); |
isset($this->sfn) || $this->sfn = array(); |