| version 1.103, 2003/12/19 17:06:23 |
version 1.104, 2003/12/30 19:32:04 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.102 2003/12/18 21:37:23 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.103 2003/12/19 17:06:23 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 1704 function phpMyEdit_form_control(theForm) |
|
| Line 1704 function phpMyEdit_form_control(theForm) |
|
| if ($this->cgi['persist'] != '') { |
if ($this->cgi['persist'] != '') { |
| echo $this->get_origvars_html($this->cgi['persist']); |
echo $this->get_origvars_html($this->cgi['persist']); |
| } |
} |
| if (! $this->fl) { |
if (! $this->filter_operation()) { |
| echo $this->get_origvars_html($this->qfn); |
echo $this->get_origvars_html($this->qfn); |
| } |
} |
| echo '<input type="hidden" name="qfn" value="',htmlspecialchars($this->qfn),'">',"\n"; |
echo '<input type="hidden" name="qfn" value="',htmlspecialchars($this->qfn),'">',"\n"; |
| Line 1727 function phpMyEdit_form_control(theForm) |
|
| Line 1727 function phpMyEdit_form_control(theForm) |
|
| if ($sys_cols) { |
if ($sys_cols) { |
| echo '<th class="',$this->getCSSclass('header'),'" colspan="',$sys_cols,'">'; |
echo '<th class="',$this->getCSSclass('header'),'" colspan="',$sys_cols,'">'; |
| if ($this->filter_enabled()) { |
if ($this->filter_enabled()) { |
| if ($this->fl) { |
if ($this->filter_operation()) { |
| echo '<input class="',$this->getCSSclass('hide'),'" type="submit" name="sw" value="'; |
echo '<input class="',$this->getCSSclass('hide'),'" type="submit" name="sw" value="'; |
| echo $this->labels['Hide'],'">'; |
echo $this->labels['Hide'],'">'; |
| echo '<input class="',$this->getCSSclass('clear'),'" type="submit" name="sw" value="'; |
echo '<input class="',$this->getCSSclass('clear'),'" type="submit" name="sw" value="'; |
| Line 1838 function phpMyEdit_form_control(theForm) |
|
| Line 1838 function phpMyEdit_form_control(theForm) |
|
| * Draw the filter and fill it with any data typed in last pass and stored |
* Draw the filter and fill it with any data typed in last pass and stored |
| * in the array parameter keyword 'filter'. Prepare the SQL WHERE clause. |
* in the array parameter keyword 'filter'. Prepare the SQL WHERE clause. |
| */ |
*/ |
| if ($this->fl) { |
if ($this->filter_operation()) { |
| // Filter row retrieval |
// Filter row retrieval |
| $fields = false; |
$fields = false; |
| $filter_row = $row; |
$filter_row = $row; |