Removed 10px height and width on table/create table icons in left navigation list.

This commit is contained in:
Mike Hommé
2011-04-16 10:40:51 -04:00
parent d503995e34
commit 62acfa73d7

View File

@@ -305,7 +305,7 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
} }
unset($table_list); unset($table_list);
echo '<ul id="newtable"><li><a target="frame_content" href="tbl_create.php' . PMA_generate_common_url(array('db' => $GLOBALS['db'])) . '">' echo '<ul id="newtable"><li><a target="frame_content" href="tbl_create.php' . PMA_generate_common_url(array('db' => $GLOBALS['db'])) . '">'
.'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_snewtbl.png" id="icon_newtable" width="10" height="10" alt="' . _pgettext('short form', 'Create table') . '" />' .'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_snewtbl.png" id="icon_newtable" alt="' . _pgettext('short form', 'Create table') . '" />'
. _pgettext('short form', 'Create table') . '</a></li></ul>'; . _pgettext('short form', 'Create table') . '</a></li></ul>';
} elseif ($GLOBALS['cfg']['LeftFrameLight']) { } elseif ($GLOBALS['cfg']['LeftFrameLight']) {
/* No need to tell user to select database if we're showing complete list */ /* No need to tell user to select database if we're showing complete list */
@@ -630,7 +630,7 @@ function PMA_displayTableList($tables, $visible = false,
echo ' src="' . $GLOBALS['pmaThemeImage'] . 'b_sbrowse.png"'; echo ' src="' . $GLOBALS['pmaThemeImage'] . 'b_sbrowse.png"';
} }
echo ' id="icon_' . htmlspecialchars($table_db . '.' . $table['Name']) . '"' echo ' id="icon_' . htmlspecialchars($table_db . '.' . $table['Name']) . '"'
.' width="10" height="10" alt="' . htmlspecialchars($link_title) . '" /></a>' . "\n"; .' alt="' . htmlspecialchars($link_title) . '" /></a>' . "\n";
// link for the table name itself // link for the table name itself
$href = $GLOBALS['cfg']['DefaultTabTable'] . '?' $href = $GLOBALS['cfg']['DefaultTabTable'] . '?'