diff --git a/ChangeLog b/ChangeLog index 59e093035..09102c203 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - patch #2486825 [lang] Wrong string in setup script hints, thanks to Isaac Bennetch - ibennetch - patch #2498350 [cleanup] XHTML cleanup, thanks to Virsacer - virsacer ++ patch #2494192 [display] Possibility of disabling the sliders, + thanks to Virsacer - virsacer 3.1.3.0 (not yet released) + [lang] Turkish update, thanks to Burak Yavuz diff --git a/Documentation.html b/Documentation.html index 0190b03d7..d623d6f9e 100644 --- a/Documentation.html +++ b/Documentation.html @@ -1986,7 +1986,8 @@ setfacl -d -m "g:www-data:rwx" tmp
$cfg['InitialSlidersState'] string
If set to 'closed', the visual sliders are initially in a - closed state. A value of 'open' does the reverse.
+ closed state. A value of 'open' does the reverse. To completely + disable all visual sliders, use 'disabled'.
$cfg['TitleTable'] string
$cfg['TitleDatabase'] string
diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 12cc7cea9..57b7dd791 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -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 '
'; + return; + } ?>