2 * Functions used in server plugins pages
5 var pma_theme_image
; // filled in server_plugins.php
9 $('#pluginsTabs').tabs({
11 cookie
: { name
: 'pma_serverStatusTabs', expires
: 1 },
12 show: function(event
, ui
) {
13 // Fixes line break in the menu bar when the page overflows and scrollbar appears
15 // 'Plugins' tab is too high due to hiding of 'Modules' by negative left position,
16 // hide tabs by changing display to fix it
17 $(ui
.panel
).closest('.ui-tabs').find('> div').not(ui
.panel
).css('display', 'none');
18 $(ui
.panel
).css('display', 'block');
22 // Make columns sortable, but only for tables with more than 1 data row
23 var $tables
= $('#plugins_plugins table:has(tbody tr + tr)');
28 $tables
.find('thead th')
29 .append('<img class="sortableIcon" src="' + pma_theme_image
+ 'cleardot.gif" alt="">');