patch #2494192 [display] Possibility of disabling the sliders

This commit is contained in:
Marc Delisle
2009-01-14 17:47:47 +00:00
parent bd3595f7cb
commit 424342c014
3 changed files with 8 additions and 1 deletions

View File

@@ -2396,6 +2396,10 @@ function PMA_generate_html_dropdown($select_name, $choices, $active_choice)
*/
function PMA_generate_slider_effect($id, $message)
{
if ($GLOBALS['cfg']['InitialSlidersState'] == 'disabled') {
echo '<div id="' . $id . '">';
return;
}
?>
<script type="text/javascript">
// <![CDATA[