Remove '; InnoDB free:' part from comment when changing it.

This commit is contained in:
Michal Čihař
2003-04-14 10:05:14 +00:00
parent f1927b45de
commit d896904d57
2 changed files with 5 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ $Source$
modified files and is capable to get charset from filename when reading modified files and is capable to get charset from filename when reading
from file has failed. from file has failed.
* left.php3: More fixes for HTML entities. * left.php3: More fixes for HTML entities.
* tbl_properties_options.php3: Remove '; InnoDB free:' part from comment
when changing it.
2003-04-14 Garvin Hicking <me@supergarv.de> 2003-04-14 Garvin Hicking <me@supergarv.de>
* libraries/common.lib.php3: Fixed SHOW TABLE STATUS LIKE ... FROM ... * libraries/common.lib.php3: Fixed SHOW TABLE STATUS LIKE ... FROM ...

View File

@@ -56,8 +56,9 @@ if (PMA_MYSQL_INT_VERSION >= 32322) {
<form method="post" action="tbl_properties_options.php3"> <form method="post" action="tbl_properties_options.php3">
<?php echo PMA_generate_common_hidden_inputs($db, $table); ?> <?php echo PMA_generate_common_hidden_inputs($db, $table); ?>
<?php echo $strTableComments; ?>&nbsp;:&nbsp; <?php echo $strTableComments; ?>&nbsp;:&nbsp;
<input type="hidden" name="prev_comment" value="<?php echo urlencode($show_comment); ?>" />&nbsp; <?php $comment = ereg_replace('; InnoDB free:[^;]*$' , '', $show_comment); ?>
<input type="text" name="comment" maxlength="60" size="30" value="<?php echo htmlspecialchars($show_comment); ?>" class="textfield" style="vertical-align: middle" onfocus="this.select()" />&nbsp; <input type="hidden" name="prev_comment" value="<?php echo urlencode($comment); ?>" />&nbsp;
<input type="text" name="comment" maxlength="60" size="30" value="<?php echo htmlspecialchars($comment); ?>" class="textfield" style="vertical-align: middle" onfocus="this.select()" />&nbsp;
<input type="submit" name="submitcomment" value="<?php echo $strGo; ?>" style="vertical-align: middle" /> <input type="submit" name="submitcomment" value="<?php echo $strGo; ?>" style="vertical-align: middle" />
</form> </form>
</li> </li>