patch #2494192 [display] Possibility of disabling the sliders
This commit is contained in:
@@ -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
|
||||
|
@@ -1986,7 +1986,8 @@ setfacl -d -m "g:www-data:rwx" tmp
|
||||
|
||||
<dt id="cfg_InitialSlidersState">$cfg['InitialSlidersState'] string</dt>
|
||||
<dd>If set to <tt>'closed'</tt>, the visual sliders are initially in a
|
||||
closed state. A value of 'open' does the reverse.</dd>
|
||||
closed state. A value of <tt>'open'</tt> does the reverse. To completely
|
||||
disable all visual sliders, use <tt>'disabled'</tt>.</dd>
|
||||
|
||||
<dt id="cfg_TitleTable">$cfg['TitleTable'] string</dt>
|
||||
<dt id="cfg_TitleDatabase">$cfg['TitleDatabase'] string</dt>
|
||||
|
@@ -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[
|
||||
|
Reference in New Issue
Block a user