RFE 3141334: Reload icon

New icon by Michael Keck
and move it with other navi frame icons
This commit is contained in:
Marc Delisle
2010-12-23 13:02:53 -05:00
parent 8b609dfe35
commit fc37859b42
5 changed files with 18 additions and 24 deletions

View File

@@ -91,13 +91,26 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) {
echo '>' . $query_frame_link_text . '</a>' . "\n"; echo '>' . $query_frame_link_text . '</a>' . "\n";
} // end if ($server != 0) } // end if ($server != 0)
if ($GLOBALS['cfg']['MainPageIconic']) {
echo ' <a href="Documentation.html" target="documentation"' echo ' <a href="Documentation.html" target="documentation"'
.' title="' . __('phpMyAdmin documentation') . '" >' .' title="' . __('phpMyAdmin documentation') . '" >';
.'<img class="icon" src="' . $pmaThemeImage . 'b_docs.png" width="16" height="16"'
.' alt="' . __('phpMyAdmin documentation') . '" /></a>' . "\n"; if ($GLOBALS['cfg']['MainPageIconic']) {
echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n"; echo '<img class="icon" src="' . $pmaThemeImage . 'b_docs.png" width="16" height="16"'
.' alt="' . __('phpMyAdmin documentation') . '" />';
} }
echo '</a>';
echo ' ' . PMA_showMySQLDocu('', '', TRUE) . "\n";
echo '<a href="navigation.php' . PMA_generate_common_url($params) . '" target="frame_navigation">';
if ($GLOBALS['cfg']['MainPageIconic']) {
echo '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 's_reload.png"'
. ' title="' . __('Reload navigation frame') . '"'
. ' alt="' . __('Reload navigation frame') . '" />';
} else {
echo '<br />' . __('Reload navigation frame');
}
echo '</a>';
echo '</div>' . "\n"; echo '</div>' . "\n";
/** /**

View File

@@ -53,18 +53,6 @@ function PMA_exitNavigationFrame()
if (!empty($GLOBALS['db'])) { if (!empty($GLOBALS['db'])) {
$params['db'] = $GLOBALS['db']; $params['db'] = $GLOBALS['db'];
} }
echo '<div id="reloadlink">' . "\n";
echo '<a href="navigation.php' . PMA_generate_common_url($params) . '" target="frame_navigation">';
if ($GLOBALS['cfg']['NavigationBarIconic']) {
echo '<img class="icon" src="'. $GLOBALS['pmaThemeImage'] . 's_reload.png"'
. ' title="' . __('Reload navigation frame') . '"'
. ' alt="' . __('Reload navigation frame') . '" />';
}
if ($GLOBALS['cfg']['NavigationBarIconic'] !== true) {
echo __('Reload navigation frame');
}
echo '</a>';
echo '</div>' . "\n";
echo '</body></html>'; echo '</body></html>';
exit; exit;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 385 B

View File

@@ -134,7 +134,6 @@ div#leftframelinks .icon {
margin: 0; margin: 0;
} }
div#reloadlink a img,
div#leftframelinks a img.icon { div#leftframelinks a img.icon {
margin: 0; margin: 0;
padding: 0.2em; padding: 0.2em;
@@ -231,12 +230,6 @@ div#left_tableList ul ul {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
} }
#reloadlink {
clear: both;
float: <?php echo $right; ?>;
display: block;
padding: 1em;
}
#NavFilter { #NavFilter {
display: none; display: none;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 385 B