rfe #1186511 [inrerface] Add link to reload navigation frame.

This commit is contained in:
Michal Čihař
2010-01-21 15:17:12 +00:00
parent 2c8133a81d
commit 6ef24edd6a
60 changed files with 82 additions and 0 deletions

View File

@@ -58,6 +58,22 @@ require_once './libraries/common.inc.php';
*/
function PMA_exitNavigationFrame()
{
$params = array('uniqid' => uniqid());
if (!empty($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="' . $GLOBALS['strReloadNavi'] . '"'
. ' alt="' . $GLOBALS['strReloadNavi'] . '" />';
}
if ($GLOBALS['cfg']['NavigationBarIconic'] !== true) {
echo $GLOBALS['strReloadNavi'];
}
echo '</a>';
echo '</div>' . "\n";
echo '</body></html>';
exit;
}