* tbl_change.php3: display the submit button every 15 lines:
may be useful for tables with 200 fields... * db_details_structure.php3: fixed a wrong link: [Properties] was opening the tbl_properties.php3 instead of tbl_properties_structure.php3
This commit is contained in:
@@ -5,6 +5,13 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-06-26 Olivier L. M<>ller <om@omnis.ch>
|
||||
* tbl_change.php3: display the submit button every 15 lines:
|
||||
may be useful for tables with 200 fields...
|
||||
* db_details_structure.php3: fixed a wrong link: [Properties]
|
||||
was opening the tbl_properties.php3 instead of
|
||||
tbl_properties_structure.php3
|
||||
|
||||
2002-06-25 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* lang/german-utf8.inc.php3: Synchronization.
|
||||
* ChangeLog: Added a note about the older ChangeLogs at EoF.
|
||||
|
@@ -111,7 +111,7 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) {
|
||||
<?php echo $strInsert; ?></a>
|
||||
</td>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>">
|
||||
<a href="tbl_properties.php3?<?php echo $tbl_url_query; ?>">
|
||||
<a href="tbl_properties_structure.php3?<?php echo $tbl_url_query; ?>">
|
||||
<?php echo $strProperties; ?></a>
|
||||
</td>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>">
|
||||
|
@@ -111,6 +111,7 @@ else
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Displays the form
|
||||
*/
|
||||
@@ -165,6 +166,23 @@ $timestamp_seen = 0;
|
||||
$fields_cnt = mysql_num_rows($table_def);
|
||||
|
||||
for ($i = 0; $i < $fields_cnt; $i++) {
|
||||
|
||||
|
||||
// display the submit button after every 15 lines --swix
|
||||
// (wanted to use an <a href="#bottom"> and <a name> instead,
|
||||
// but it didn't worked because of the <base href>)
|
||||
|
||||
if ((($i % 15) == 0) && ($i != 0)) {
|
||||
?>
|
||||
<tr>
|
||||
<th colspan="5" align="right">
|
||||
<input type="submit" value="<?php echo $strGo; ?>" tabindex="<?php echo $fields_cnt+6; ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
||||
$row_table_def = PMA_mysql_fetch_array($table_def);
|
||||
$field = $row_table_def['Field'];
|
||||
if ($row_table_def['Type'] == 'datetime' && empty($row[$field])) {
|
||||
|
Reference in New Issue
Block a user