status should be state
This commit is contained in:
@@ -35,7 +35,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
+ patch #1847534 [interface] New "Inside field" in db search,
|
||||
thanks to obiserver
|
||||
+ [GUI] Mootools js library (http://mootools.net) and new parameter
|
||||
$cfg['InitialSlidersStatus']
|
||||
$cfg['InitialSlidersState']
|
||||
* [core] cache some MySQL stats (do not query them with every page request)
|
||||
+ [view] clearer dialog WITH (CASCADED | LOCAL) CHECK OPTION
|
||||
|
||||
|
@@ -1876,7 +1876,7 @@ $cfg['TrustedProxies'] =
|
||||
t1, t2, t10). Currently implemented in the left panel (Light mode)
|
||||
and in Database view, for the table list.</dd>
|
||||
|
||||
<dt id="cfg_InitialSlidersStatus">$cfg['InitialSlidersStatus'] string</dt>
|
||||
<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>
|
||||
|
||||
|
@@ -2318,7 +2318,7 @@ function PMA_generate_html_radio($html_field_name, $choices, $checked_choice = '
|
||||
/**
|
||||
* Generates a slider effect (Mootools)
|
||||
*
|
||||
* @uses $GLOBALS['cfg']['InitialSlidersStatus']
|
||||
* @uses $GLOBALS['cfg']['InitialSlidersState']
|
||||
* @param string $id the id of the <div> on which to apply the effect
|
||||
* @param string $message the message to show as a link
|
||||
*/
|
||||
@@ -2342,7 +2342,7 @@ window.addEvent('domready', function(){
|
||||
|
||||
var mySlide<?php echo $id; ?> = new Fx.Slide('<?php echo $id; ?>');
|
||||
<?php
|
||||
if ($GLOBALS['cfg']['InitialSlidersStatus'] == 'closed') {
|
||||
if ($GLOBALS['cfg']['InitialSlidersState'] == 'closed') {
|
||||
?>
|
||||
mySlide<?php echo $id; ?>.hide();
|
||||
<?php
|
||||
|
@@ -2015,12 +2015,12 @@ $cfg['WYSIWYG-PDF'] = true;
|
||||
$cfg['NaturalOrder'] = true;
|
||||
|
||||
/**
|
||||
* Initial status for sliders
|
||||
* Initial state for sliders
|
||||
* (open | closed)
|
||||
*
|
||||
* @global string $cfg['InitialSlidersStatus']
|
||||
* @global string $cfg['InitialSlidersState']
|
||||
*/
|
||||
$cfg['InitialSlidersStatus'] = 'closed';
|
||||
$cfg['InitialSlidersState'] = 'closed';
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user