From 09fe4dcc5898fb3be8b8d692189c57c495a75c4a Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Sun, 25 Nov 2012 20:37:36 +0000 Subject: [PATCH] Added microhistory metadata to some links --- js/config.js | 5 +++++ libraries/structure.lib.php | 4 ++-- server_engines.php | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/js/config.js b/js/config.js index bf566ea030..d694c31e88 100644 --- a/js/config.js +++ b/js/config.js @@ -16,6 +16,11 @@ AJAX.registerTeardown('config.js', function() { $('#prefs_autoload').find('a').unbind('click'); }); +AJAX.registerOnload('config.js', function() { + $('#topmenu2').find('li.active a').attr('rel', 'samepage'); + $('#topmenu2').find('li:not(.active) a').attr('rel', 'newpage'); +}); + // default values for fields var defaultValues = {}; diff --git a/libraries/structure.lib.php b/libraries/structure.lib.php index 40aad3e520..8670927049 100644 --- a/libraries/structure.lib.php +++ b/libraries/structure.lib.php @@ -1841,7 +1841,7 @@ function PMA_getHtmlForActionRowInStructureTable($type, $tbl_storage_engine, $html_output .= $titles['No' . $action]; $action_enabled = false; } else { - $html_output .= '' . "\n" - . ' ' . "\n" . ' ' . htmlspecialchars($details['Engine']) . "\n" . ' ' . "\n"