| version 1.35, 2004/04/11 11:12:59 |
version 1.36, 2004/04/12 22:20:23 |
|
|
| * http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
| */ |
*/ |
| |
|
| /* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.34 2004/01/16 19:46:32 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.35 2004/04/11 11:12:59 nepto Exp $ */ |
| |
|
| ?> |
?> |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| Line 317 appear in generated list. Here are some |
|
| Line 317 appear in generated list. Here are some |
|
| ['sort'] true or false; means the users may sort the display on this column |
['sort'] true or false; means the users may sort the display on this column |
| ['strip_tags'] true or false; whether to strip tags from content |
['strip_tags'] true or false; whether to strip tags from content |
| ['nowrap'] true or false; whether this field should get a NOWRAP |
['nowrap'] true or false; whether this field should get a NOWRAP |
| ['required'] true or false; if generate javascript to prevent null entries |
|
| ['select'] T - text, N - numeric, D - drop-down, M - multiple selection |
['select'] T - text, N - numeric, D - drop-down, M - multiple selection |
| ['options'] optional parameter to control whether a field is displayed |
['options'] optional parameter to control whether a field is displayed |
| L - list, F - filter, A - add, C - change, P - copy, D - delete, V - view |
L - list, F - filter, A - add, C - change, P - copy, D - delete, V - view |
| Line 399 appear in generated list. Here are some |
|
| Line 398 appear in generated list. Here are some |
|
| } else if ($auto_increment) { |
} else if ($auto_increment) { |
| echo_buffer(" 'default' => '0',"); |
echo_buffer(" 'default' => '0',"); |
| } |
} |
| if (stristr(@mysql_field_flags($fds, $k), 'not_null') && ! $auto_increment) { |
|
| echo_buffer(" 'required' => true,"); |
|
| } |
|
| echo_buffer(" 'sort' => true"); |
echo_buffer(" 'sort' => true"); |
| //echo_buffer(" 'nowrap' => false,"); |
//echo_buffer(" 'nowrap' => false,"); |
| echo_buffer(');'); |
echo_buffer(');'); |