bug 788676
This commit is contained in:
@@ -6,7 +6,9 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
2003-08-15 Marc Delisle <lem9@users.sourceforge.net>
|
2003-08-15 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_properties_structure.php3: bug 786710, IE and dropping fields
|
* tbl_properties_structure.php3: bug 786710, IE and dropping fields,
|
||||||
|
and bug 788676: added a table to help Netscape aligning the icons
|
||||||
|
with the text
|
||||||
|
|
||||||
2003-08-15 Garvin Hicking <me@supergarv.de>
|
2003-08-15 Garvin Hicking <me@supergarv.de>
|
||||||
* tbl_properties_structure.php3: RFE #784900 (show alternate text for
|
* tbl_properties_structure.php3: RFE #784900 (show alternate text for
|
||||||
|
@@ -375,7 +375,10 @@ $checkall_url = 'tbl_properties_structure.php3?' . PMA_generate_common_url($db,$
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="<?php echo PMA_MYSQL_INT_VERSION >= 40100 ? '14' : (PMA_MYSQL_INT_VERSION >= 32323 ? '13' : '12'); ?>">
|
<td colspan="<?php echo PMA_MYSQL_INT_VERSION >= 40100 ? '14' : (PMA_MYSQL_INT_VERSION >= 32323 ? '13' : '12'); ?>">
|
||||||
<img src="./images/arrow_<?php echo $text_dir; ?>.gif" border="0" width="38" height="22" alt="<?php echo $strWithChecked; ?>" />
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<img src="./images/arrow_<?php echo $text_dir; ?>.gif" border="0" width="38" height="22" alt="<?php echo $strWithChecked; ?>" />
|
||||||
<a href="<?php echo $checkall_url; ?>&checkall=1" onclick="setCheckboxes('fieldsForm', true); return false;">
|
<a href="<?php echo $checkall_url; ?>&checkall=1" onclick="setCheckboxes('fieldsForm', true); return false;">
|
||||||
<?php echo $strCheckAll; ?></a>
|
<?php echo $strCheckAll; ?></a>
|
||||||
/
|
/
|
||||||
@@ -383,38 +386,43 @@ $checkall_url = 'tbl_properties_structure.php3?' . PMA_generate_common_url($db,$
|
|||||||
<?php echo $strUncheckAll; ?></a>
|
<?php echo $strUncheckAll; ?></a>
|
||||||
|
|
||||||
<i><?php echo $strWithChecked; ?></i>
|
<i><?php echo $strWithChecked; ?></i>
|
||||||
<?php
|
</td>
|
||||||
|
<td>
|
||||||
|
<?php
|
||||||
|
|
||||||
if ($cfg['PropertiesIconic']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
/* Opera has trouble with <input type="image"> */
|
/* Opera has trouble with <input type="image"> */
|
||||||
/* IE has trouble with <button> */
|
/* IE has trouble with <button> */
|
||||||
if (PMA_USR_BROWSER_AGENT != 'IE') {
|
if (PMA_USR_BROWSER_AGENT != 'IE') {
|
||||||
echo ' <button class="mult_submit" type="submit" name="submit_mult" value="' . $strChange . '" title="' . $strChange . '">' . "\n"
|
echo '<button class="mult_submit" type="submit" name="submit_mult" value="' . $strChange . '" title="' . $strChange . '">' . "\n"
|
||||||
. ' <img src="./images/button_edit.png" title="' . $strChange . '" alt="' . $strChange . '" width="12" height="13" />' . (($propicon == 'both') ? ' ' . $strChange : '') . "\n"
|
. '<img src="./images/button_edit.png" title="' . $strChange . '" alt="' . $strChange . '" width="12" height="13" />' . (($propicon == 'both') ? ' ' . $strChange : '') . "\n"
|
||||||
. ' </button>' . "\n";
|
. '</button>' . "\n";
|
||||||
} else {
|
} else {
|
||||||
echo ' <input type="image" name="submit_mult_change" value="' .$strChange . '" title="' . $strChange . '" src="./images/button_edit.png" />' . (($propicon == 'both') ? ' ' . $strChange : '') . "\n";
|
echo ' <input type="image" name="submit_mult_change" value="' .$strChange . '" title="' . $strChange . '" src="./images/button_edit.png" />' . (($propicon == 'both') ? ' ' . $strChange : '') . "\n";
|
||||||
}
|
}
|
||||||
// Drop button if there is at least two fields
|
// Drop button if there is at least two fields
|
||||||
if ($fields_cnt > 1) {
|
if ($fields_cnt > 1) {
|
||||||
if (PMA_USR_BROWSER_AGENT != 'IE') {
|
if (PMA_USR_BROWSER_AGENT != 'IE') {
|
||||||
echo ' <button class="mult_submit" type="submit" name="submit_mult" value="' . $strDrop . '" title="' . $strDrop . '">' . "\n"
|
echo ' <button class="mult_submit" type="submit" name="submit_mult" value="' . $strDrop . '" title="' . $strDrop . '">' . "\n"
|
||||||
. ' <img src="./images/button_drop.png" title="' . $strDrop . '" alt="' . $strDrop . '" width="11" height="13" />' . (($propicon == 'both') ? ' ' . $strDrop : '') . "\n"
|
. '<img src="./images/button_drop.png" title="' . $strDrop . '" alt="' . $strDrop . '" width="11" height="13" />' . (($propicon == 'both') ? ' ' . $strDrop : '') . "\n"
|
||||||
. ' </button>' . "\n";
|
. '</button>' . "\n";
|
||||||
} else {
|
} else {
|
||||||
echo ' <input type="image" name="submit_mult_drop" value="' .$strDrop . '" title="' . $strDrop . '" src="./images/button_drop.png" />' . (($propicon == 'both') ? ' ' . $strDrop : '') . "\n";
|
echo ' <input type="image" name="submit_mult_drop" value="' .$strDrop . '" title="' . $strDrop . '" src="./images/button_drop.png" />' . (($propicon == 'both') ? ' ' . $strDrop : '') . "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo ' <input type="submit" name="submit_mult" value="' . $strChange . '" title="' . $strChange . '" />' . "\n";
|
echo ' <input type="submit" name="submit_mult" value="' . $strChange . '" title="' . $strChange . '" />' . "\n";
|
||||||
// Drop button if there is at least two fields
|
// Drop button if there is at least two fields
|
||||||
if ($fields_cnt > 1) {
|
if ($fields_cnt > 1) {
|
||||||
echo ' <i>' . $strOr . '</i> ' . "\n"
|
echo ' <i>' . $strOr . '</i> ' . "\n"
|
||||||
. ' <input type="submit" name="submit_mult" value="' . $strDrop . '" title="' . $strDrop . '" />' . "\n";
|
. ' <input type="submit" name="submit_mult" value="' . $strDrop . '" title="' . $strDrop . '" />' . "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user