Use icons for multi-submit buttons.

This commit is contained in:
Alexander M. Turek
2003-07-28 20:14:46 +00:00
parent 116999909e
commit 79da49a403
2 changed files with 12 additions and 5 deletions

View File

@@ -5,11 +5,14 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-07-28 Alexander M. Turek <rabus@users.sourceforge.net>
* tbl_properties_structure.php3: Use icons for multi-submit buttons.
2003-07-28 Garvin Hicking <me@supergarv.de> 2003-07-28 Garvin Hicking <me@supergarv.de>
* sql.php3, libraries/common.lib.php3 - when $cfg['SQP']['fmtType'] * sql.php3, libraries/common.lib.php3 - when $cfg['SQP']['fmtType']
is set to 'none', positively retain any user formatting for query is set to 'none', positively retain any user formatting for query
output. (RFE #769219) output. (RFE #769219)
2003-07-28 Marc Delisle <lem9@users.sourceforge.net> 2003-07-28 Marc Delisle <lem9@users.sourceforge.net>
* sql.php3: bug 778899, could not create a bookmark * sql.php3: bug 778899, could not create a bookmark
* ldi_table.php3: Users with register_global=off received some * ldi_table.php3: Users with register_global=off received some

View File

@@ -209,7 +209,7 @@ while ($row = PMA_mysql_fetch_array($fields_rs)) {
if ($cfg['PropertiesIconic'] == true) { if ($cfg['PropertiesIconic'] == true) {
// We need to copy the value or else the == 'both' check will always return true // We need to copy the value or else the == 'both' check will always return true
$propicon = (string)$cfg['PropertiesIconic']; $propicon = (string)$cfg['PropertiesIconic'];
if ($propicon == 'both') { if ($propicon == 'both') {
$iconic_spacer = '<nobr>'; $iconic_spacer = '<nobr>';
} else { } else {
@@ -372,13 +372,17 @@ $checkall_url = 'tbl_properties_structure.php3?' . PMA_generate_common_url($db,$
<?php echo $strUncheckAll; ?></a> <?php echo $strUncheckAll; ?></a>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<i><?php echo $strWithChecked; ?></i>&nbsp;&nbsp; <i><?php echo $strWithChecked; ?></i>&nbsp;&nbsp;
<input type="submit" name="submit_mult" value="<?php echo $strChange; ?>" /> <?php /* Opera has trouble with <input type="image"> */ ?>
<button type="submit" name="submit_mult" value="<?php echo $strChange; ?>" title="<?php echo $strChange; ?>">
<img src="./images/button_edit.png" title="<?php echo $strChange; ?>" alt="<?php echo $strChange; ?>" width="12" height="13" />
</button>
<?php <?php
// 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) {
?> ?>
&nbsp;<i><?php echo $strOr; ?></i>&nbsp; <button type="submit" name="submit_mult" value="<?php echo $strDrop; ?>" title="<?php echo $strDrop; ?>">
<input type="submit" name="submit_mult" value="<?php echo $strDrop; ?>" /> <img src="./images/button_drop.png" title="<?php echo $strDrop; ?>" alt="<?php echo $strDrop; ?>" width="11" height="13" />
</button>
<?php <?php
} }
echo "\n"; echo "\n";