rest of the "remove flickering" fix

This commit is contained in:
Marc Delisle
2008-07-21 16:41:17 +00:00
parent ffc04a7375
commit f619053d63
6 changed files with 7 additions and 15 deletions

View File

@@ -2377,8 +2377,12 @@ window.addEvent('domready', function(){
?> ?>
$('<?php echo $id; ?>').style.display="block"; $('<?php echo $id; ?>').style.display="block";
}); });
document.write('<div id="<?php echo $id; ?>" <?php echo $GLOBALS['cfg']['InitialSlidersState'] == 'closed' ? ' style="display: none;"' : ''; ?>>');
//]]> //]]>
</script> </script>
<noscript>
<div id="<?php echo $id; ?>">
</noscript>
<?php <?php
} }

View File

@@ -14,7 +14,6 @@ $events = PMA_DBI_fetch_result('SELECT EVENT_NAME, EVENT_TYPE FROM information_s
if ($events) { if ($events) {
PMA_generate_slider_effect('events', $strEvents); PMA_generate_slider_effect('events', $strEvents);
echo '<div id="events">' . "\n";
echo '<fieldset>' . "\n"; echo '<fieldset>' . "\n";
echo ' <legend>' . $strEvents . '</legend>' . "\n"; echo ' <legend>' . $strEvents . '</legend>' . "\n";
echo '<table border="0">'; echo '<table border="0">';

View File

@@ -24,7 +24,6 @@ $routines = PMA_DBI_fetch_result('SELECT SPECIFIC_NAME,ROUTINE_NAME,ROUTINE_TYPE
if ($routines) { if ($routines) {
PMA_generate_slider_effect('routines', $strRoutines); PMA_generate_slider_effect('routines', $strRoutines);
echo '<div id="routines">' . "\n";
echo '<fieldset>' . "\n"; echo '<fieldset>' . "\n";
echo ' <legend>' . $strRoutines . '</legend>' . "\n"; echo ' <legend>' . $strRoutines . '</legend>' . "\n";
echo '<table border="0">'; echo '<table border="0">';

View File

@@ -552,7 +552,6 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
echo PMA_generate_common_hidden_inputs($url_params); echo PMA_generate_common_hidden_inputs($url_params);
echo '<br />'; echo '<br />';
PMA_generate_slider_effect('displayoptions',$GLOBALS['strOptions']); PMA_generate_slider_effect('displayoptions',$GLOBALS['strOptions']);
echo '<div id="displayoptions">';
echo '<fieldset>'; echo '<fieldset>';
echo '<div class="formelement">'; echo '<div class="formelement">';

View File

@@ -255,15 +255,6 @@ while (list($operator) = each($GLOBALS['cfg']['UnaryOperators'])) {
<?php <?php
PMA_generate_slider_effect('searchoptions', $strOptions); PMA_generate_slider_effect('searchoptions', $strOptions);
?> ?>
<script type="text/javascript">
//<![CDATA[
document.write('<div id="searchoptions" <?php echo $GLOBALS['cfg']['InitialSlidersState'] == 'closed' ? ' style="display: none;"' : ''; ?>>');
//]]>
</script>
<noscript>
<div id="searchoptions">
</noscript>
<fieldset id="fieldset_select_fields"> <fieldset id="fieldset_select_fields">
<legend><?php echo $strSelectFields; ?></legend> <legend><?php echo $strSelectFields; ?></legend>
<select name="param[]" size="<?php echo min($fields_cnt, 10); ?>" <select name="param[]" size="<?php echo min($fields_cnt, 10); ?>"

View File

@@ -547,7 +547,7 @@ if ($fields_cnt > 20) {
* Displays indexes * Displays indexes
*/ */
PMA_generate_slider_effect('tablestatistics_indexes', $strDetails); PMA_generate_slider_effect('tablestatistics_indexes', $strDetails);
echo '<div id="tablestatistics_indexes">' . "\n";
if (! $tbl_is_view && ! $db_is_information_schema && 'ARCHIVE' != $tbl_type) { if (! $tbl_is_view && ! $db_is_information_schema && 'ARCHIVE' != $tbl_type) {
/** /**
* Display indexes * Display indexes