diff --git a/js/db_structure.js b/js/db_structure.js
index 8e658fb8d..611dd9217 100644
--- a/js/db_structure.js
+++ b/js/db_structure.js
@@ -93,6 +93,10 @@ $(document).ready(function() {
PMA_ajaxShowMessage(data.message);
//need to find a better solution here. The icon should be replaced
$(curr_row).hide("medium").remove();
+
+ if (window.parent && window.parent.frame_navigation) {
+ window.parent.frame_navigation.location.reload();
+ }
}
else {
PMA_ajaxShowMessage(PMA_messages['strErrorProcessingRequest'] + " : " + data.error);
@@ -221,4 +225,4 @@ $(document).ready(function() {
return false;
}) //end Calculate Real End for InnoDB
-}, 'top.frame_content'); // end $(document).ready()
\ No newline at end of file
+}, 'top.frame_content'); // end $(document).ready()
diff --git a/js/functions.js b/js/functions.js
index 57bbd882c..3a53acecf 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -2041,7 +2041,6 @@ $(document).ready(function() {
*
* @uses PMA_ajaxShowMessage()
* @uses $.PMA_sort_table()
- * @uses window.parent.refreshNavigation()
*
*/
// .live() must be called after a selector, see http://api.jquery.com/live
@@ -2098,7 +2097,9 @@ $(document).ready(function() {
$(tables_table).PMA_sort_table('th');
//Refresh navigation frame as a new table has been added
- window.parent.refreshNavigation();
+ if (window.parent && window.parent.frame_navigation) {
+ window.parent.frame_navigation.location.reload();
+ }
}
else {
PMA_ajaxShowMessage(data.error);
@@ -2200,7 +2201,9 @@ $(document).ready(function() {
.end()
.after(data.sql_query);
window.parent.table = '';
- window.parent.refreshNavigation();
+ if (window.parent && window.parent.frame_navigation) {
+ window.parent.frame_navigation.location.reload();
+ }
}
else {
PMA_ajaxShowMessage(data.error);
diff --git a/libraries/build_action_titles.inc.php b/libraries/build_action_titles.inc.php
index e9da5f65f..fe9dd5ffa 100644
--- a/libraries/build_action_titles.inc.php
+++ b/libraries/build_action_titles.inc.php
@@ -9,43 +9,17 @@ if (! defined('PHPMYADMIN')) {
}
$titles = array();
-if (true == $cfg['PropertiesIconic']) {
- $titles['Browse'] = '';
- $titles['NoBrowse'] = '
';
- $titles['Search'] = '
';
- $titles['NoSearch'] = '
';
- $titles['Insert'] = '
';
- $titles['NoInsert'] = '
';
- $titles['Structure'] = '
';
- $titles['Drop'] = '
';
- $titles['NoDrop'] = '
';
- $titles['Empty'] = '
';
- $titles['NoEmpty'] = '
';
- if ('both' === $cfg['PropertiesIconic']) {
- $titles['Browse'] .= __('Browse');
- $titles['Search'] .= __('Search');
- $titles['NoBrowse'] .= __('Browse');
- $titles['NoSearch'] .= __('Search');
- $titles['Insert'] .= __('Insert');
- $titles['NoInsert'] .= __('Insert');
- $titles['Structure'] .= __('Structure');
- $titles['Drop'] .= __('Drop');
- $titles['NoDrop'] .= __('Drop');
- $titles['Empty'] .= __('Empty');
- $titles['NoEmpty'] .= __('Empty');
- }
-} else {
- $titles['Browse'] = __('Browse');
- $titles['Search'] = __('Search');
- $titles['NoBrowse'] = __('Browse');
- $titles['NoSearch'] = __('Search');
- $titles['Insert'] = __('Insert');
- $titles['NoInsert'] = __('Insert');
- $titles['Structure'] = __('Structure');
- $titles['Drop'] = __('Drop');
- $titles['NoDrop'] = __('Drop');
- $titles['Empty'] = __('Empty');
- $titles['NoEmpty'] = __('Empty');
-}
+$titles['Browse'] = PMA_getIcon('b_browse.png', __('Browse'), true);
+$titles['NoBrowse'] = PMA_getIcon('bd_browse.png', __('Browse'), true);
+$titles['Search'] = PMA_getIcon('b_select.png', __('Search'), true);
+$titles['NoSearch'] = PMA_getIcon('bd_select.png', __('Search'), true);
+$titles['Insert'] = PMA_getIcon('b_insrow.png', __('Insert'), true);
+$titles['NoInsert'] = PMA_getIcon('bd_insrow.png', __('Insert'), true);
+$titles['Structure'] = PMA_getIcon('b_props.png', __('Structure'), true);
+$titles['Drop'] = PMA_getIcon('b_drop.png', __('Drop'), true);
+$titles['NoDrop'] = PMA_getIcon('bd_drop.png', __('Drop'), true);
+$titles['Empty'] = PMA_getIcon('b_empty.png', __('Empty'), true);
+$titles['NoEmpty'] = PMA_getIcon('bd_empty.png', __('Empty'), true);
+
?>
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 846016919..e91eab163 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -102,7 +102,7 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
}
if ($include_box) {
- $button .= '