| version 1.76, 2003/04/20 21:39:16 |
version 1.77, 2003/04/26 22:13:31 |
|
|
| * http://www.platon.sk/projects/phpMyEdit/ |
* http://www.platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.75 2003/04/13 12:24:54 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEdit.class.php,v 1.76 2003/04/20 21:39:16 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 1534 function phpMyEdit_form_control(theForm) |
|
| Line 1534 function phpMyEdit_form_control(theForm) |
|
| if (! $this->fl) { |
if (! $this->fl) { |
| 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"; |
| echo '<input type=hidden name=fm value="',htmlspecialchars($this->fm),'">',"\n"; |
echo '<input type="hidden" name="fm" value="',htmlspecialchars($this->fm),'">',"\n"; |
| echo '<table class="'.$this->getCSSclass('main').'" summary="',$this->tb,'">',"\n"; |
echo '<table class="'.$this->getCSSclass('main').'" summary="',$this->tb,'">',"\n"; |
| echo '<tr class="',$this->getCSSclass('header'),'">',"\n"; |
echo '<tr class="',$this->getCSSclass('header'),'">',"\n"; |
| /* |
/* |
| Line 1555 function phpMyEdit_form_control(theForm) |
|
| Line 1555 function phpMyEdit_form_control(theForm) |
|
| 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->fl) { |
| 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="'; |
| echo $this->labels['Clear'],'">'; |
echo $this->labels['Clear'],'">'; |
| } else { |
} else { |
| echo '<input class="',$this->getCSSclass('search'),'" type=submit name=sw value="'; |
echo '<input class="',$this->getCSSclass('search'),'" type="submit" name="sw" value="'; |
| echo $this->labels['Search'],'">'; |
echo $this->labels['Search'],'">'; |
| } |
} |
| } else { |
} else { |
| Line 1895 function phpMyEdit_form_control(theForm) |
|
| Line 1895 function phpMyEdit_form_control(theForm) |
|
| } |
} |
| if ($this->nav_buttons()) { |
if ($this->nav_buttons()) { |
| echo '<td class="',$css_class_name,'"><input class="',$css_class_name; |
echo '<td class="',$css_class_name,'"><input class="',$css_class_name; |
| echo '" type=radio name=rec value="',htmlspecialchars($key_rec),'"'; |
echo '" type="radio" name="rec" value="',htmlspecialchars($key_rec),'"'; |
| if ($first) { |
if ($first) { |
| echo ' checked'; |
echo ' checked'; |
| $first = false; |
$first = false; |