status should be state

This commit is contained in:
Marc Delisle
2008-02-02 11:38:29 +00:00
parent c8283e68d4
commit 71763eb71b
4 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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

View File

@@ -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';