Use also $strAddFields (as suggested by Marc).

This commit is contained in:
Michal Čihař
2004-09-29 20:13:33 +00:00
parent c8eeaea0f0
commit 4f819006bc
2 changed files with 4 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ $Source$
wording when adding fields (bug #991096). wording when adding fields (bug #991096).
* tbl_query_box.php, lang/*: Not translated text (bug #1010656). * tbl_query_box.php, lang/*: Not translated text (bug #1010656).
* themes.php, lang/*: Not translated text (bug #1016610). * themes.php, lang/*: Not translated text (bug #1016610).
* tbl_properties_structure.php: Use also $strAddFields (as suggested by
Marc).
2004-09-28 Alexander M. Turek <me@derrabus.de> 2004-09-28 Alexander M. Turek <me@derrabus.de>
* libraries/dbi/mysql.dbi.lib.php: Compatibility fix for php < 4.3 * libraries/dbi/mysql.dbi.lib.php: Compatibility fix for php < 4.3

View File

@@ -491,9 +491,9 @@ if ($cfg['Server']['relation'] || $tbl_type=="INNODB") {
if ($cfg['PropertiesIconic']) { if ($cfg['PropertiesIconic']) {
echo '<img src="' . $pmaThemeImage . 'b_insrow.png" width="16" height="16" border="0" hspace="2" align="middle" alt="' . $strAddNewField . '"/>'; echo '<img src="' . $pmaThemeImage . 'b_insrow.png" width="16" height="16" border="0" hspace="2" align="middle" alt="' . $strAddNewField . '"/>';
} }
echo $strAddNewField . ':&nbsp;'; echo sprintf($strAddFields, '<input type="text" name="num_fields" size="2" maxlength="2" value="1" style="vertical-align: middle" onfocus="this.select()" />');
?> ?>
<input type="text" name="num_fields" size="2" maxlength="2" value="1" style="vertical-align: middle" onfocus="this.select()" />
<input type="radio" name="field_where" id="radio_field_where_last" value="last" checked="checked" /> <input type="radio" name="field_where" id="radio_field_where_last" value="last" checked="checked" />
<label for="radio_field_where_last"><?php echo $strAtEndOfTable; ?></label> <label for="radio_field_where_last"><?php echo $strAtEndOfTable; ?></label>
<input type="radio" name="field_where" id="radio_field_where_first" value="first" /> <input type="radio" name="field_where" id="radio_field_where_first" value="first" />