Fix XHTML.

This commit is contained in:
Michal Čihař
2005-12-08 16:15:48 +00:00
parent 31d08caa29
commit f420e85a67
4 changed files with 7 additions and 4 deletions

View File

@@ -9,7 +9,8 @@ $Source$
* tbl_change.php: Fix XHTML and thus action selection behavior (bug * tbl_change.php: Fix XHTML and thus action selection behavior (bug
#1376391). #1376391).
* lang/czech: Fix typo. * lang/czech: Fix typo.
* tbl_select.php: Fix XHTML. * tbl_select.php, libraries/display_tbl.lib.php,
tbl_properties_operations.php, tbl_indexes.php: Fix XHTML.
* tbl_properties_export.php: Fix output before headers. * tbl_properties_export.php: Fix output before headers.
2005-12-08 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2005-12-08 Sebastian Mendel <cybot_tm@users.sourceforge.net>

View File

@@ -372,7 +372,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $encoded_query)
</td> </td>
<td> <td>
<?php //<form> for keep the form alignment of button < and << ?> <?php //<form> for keep the form alignment of button < and << ?>
<form> <form action="none">
<?php echo PMA_pageselector( <?php echo PMA_pageselector(
'sql.php?sql_query=' . $encoded_query . 'sql.php?sql_query=' . $encoded_query .
'&amp;session_max_rows=' . $session_max_rows . '&amp;session_max_rows=' . $session_max_rows .

View File

@@ -398,6 +398,9 @@ else if (!defined('PMA_IDX_INCLUDED')
onsubmit="return checkFormElementInRange(this, 'idx_num_fields', onsubmit="return checkFormElementInRange(this, 'idx_num_fields',
'<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidColumnCount']); ?>', '<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidColumnCount']); ?>',
1)"> 1)">
<?php
echo PMA_generate_common_hidden_inputs( $db, $table );
?>
<table id="table_indexes" class="data"> <table id="table_indexes" class="data">
<caption class="tblHeaders"> <caption class="tblHeaders">
<?php <?php
@@ -408,7 +411,6 @@ else if (!defined('PMA_IDX_INCLUDED')
</caption> </caption>
<?php <?php
echo PMA_generate_common_hidden_inputs( $db, $table );
if ( count($ret_keys) > 0) { if ( count($ret_keys) > 0) {
$edit_link_text = ''; $edit_link_text = '';

View File

@@ -299,10 +299,10 @@ if (strstr($show_comment, '; InnoDB free') === false) {
</tr> </tr>
<!-- Table comments --> <!-- Table comments -->
<input type="hidden" name="prev_comment" value="<?php echo urlencode($comment); ?>" />
<tr><td><?php echo $strTableComments; ?></td> <tr><td><?php echo $strTableComments; ?></td>
<td><input type="text" name="comment" maxlength="60" size="30" <td><input type="text" name="comment" maxlength="60" size="30"
value="<?php echo htmlspecialchars($comment); ?>" onfocus="this.select()" /> value="<?php echo htmlspecialchars($comment); ?>" onfocus="this.select()" />
<input type="hidden" name="prev_comment" value="<?php echo urlencode($comment); ?>" />
</td> </td>
</tr> </tr>