start to use Mootools for slider effects

This commit is contained in:
Marc Delisle
2008-01-17 13:48:22 +00:00
parent 83606fda0b
commit 2a6119d393
61 changed files with 7228 additions and 1 deletions

View File

@@ -32,6 +32,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
+ rfe #1840165 [interface] Enlarge column name field in vertical mode + rfe #1840165 [interface] Enlarge column name field in vertical mode
+ patch #1847534 [interface] New "Inside field" in db search, + patch #1847534 [interface] New "Inside field" in db search,
thanks to obiserver thanks to obiserver
+ [GUI] Mootools js library (http://mootools.net) and new parameter
$cfg['InitialSlidersStatus']
2.11.5.0 (not yet released) 2.11.5.0 (not yet released)
- bug #1862661 [GUI] Warn about rename deleting database - bug #1862661 [GUI] Warn about rename deleting database

View File

@@ -1876,6 +1876,10 @@ $cfg['TrustedProxies'] =
t1, t2, t10). Currently implemented in the left panel (Light mode) t1, t2, t10). Currently implemented in the left panel (Light mode)
and in Database view, for the table list.</dd> and in Database view, for the table list.</dd>
<dt id="cfg_InitialSlidersStatus">$cfg['InitialSlidersStatus'] 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>
<dt id="cfg_TitleTable">$cfg['TitleTable'] string</dt> <dt id="cfg_TitleTable">$cfg['TitleTable'] string</dt>
<dt id="cfg_TitleDatabase">$cfg['TitleDatabase'] string</dt> <dt id="cfg_TitleDatabase">$cfg['TitleDatabase'] string</dt>
<dt id="cfg_TitleServer">$cfg['TitleServer'] string</dt> <dt id="cfg_TitleServer">$cfg['TitleServer'] string</dt>

15
js/mootools-domready.js Normal file
View File

@@ -0,0 +1,15 @@
window.addEvent('domready', function(){
var divs = $$(['docs', 'js', 'html', 'css']);
divs.each(function(div){
var link = $(div.id + 'code');
div.setStyle('display', 'none');
link.addEvent('click', function(e){
e = new Event(e);
divs.each(function(other){
if (other != div) other.setStyle('display', 'none');
});
div.setStyle('display', (div.getStyle('display') == 'block') ? 'none' : 'block');
e.stop();
});
});
});

7102
js/mootools.js Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1064,4 +1064,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1063,4 +1063,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1065,4 +1065,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1060,4 +1060,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1057,4 +1057,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1040,4 +1040,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1039,4 +1039,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1063,4 +1063,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1037,4 +1037,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1060,4 +1060,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1033,4 +1033,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1065,4 +1065,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1044,4 +1044,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1038,4 +1038,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1039,4 +1039,5 @@ $strYes = 'Ano';
$strZeroRemovesTheLimit = 'Poznámka: Nastavení těchto parametrů na 0 (nulu) odstraní omezení.'; $strZeroRemovesTheLimit = 'Poznámka: Nastavení těchto parametrů na 0 (nulu) odstraní omezení.';
$strZip = '„zazipováno“'; $strZip = '„zazipováno“';
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1039,4 +1039,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1061,4 +1061,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -226,6 +226,7 @@ $strDescending = 'Descending';
$strDescription = 'Description'; $strDescription = 'Description';
$strDesigner = 'Designer'; $strDesigner = 'Designer';
$strDesignerHelpDisplayField = 'The display field is shown in pink. To set/unset a field as the display field, click the "Choose field to display" icon, then click on the appropriate field name.'; $strDesignerHelpDisplayField = 'The display field is shown in pink. To set/unset a field as the display field, click the "Choose field to display" icon, then click on the appropriate field name.';
$strDetails = 'Details...';
$strDictionary = 'dictionary'; $strDictionary = 'dictionary';
$strDirectLinks = 'Direct links'; $strDirectLinks = 'Direct links';
$strDirtyPages = 'Dirty pages'; $strDirtyPages = 'Dirty pages';

View File

@@ -1045,4 +1045,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1039,4 +1039,5 @@ $strZip = '"zip-pakattu"';
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1036,4 +1036,5 @@ $strRepair = 'Réparer';
$strRemovePartitioning = 'Supprimer le partitionnement'; $strRemovePartitioning = 'Supprimer le partitionnement';
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1038,4 +1038,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1065,4 +1065,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1045,4 +1045,5 @@ $strZip = 'Zip-komprimiert';
$strExportImportToScale = 'Export/Import to scale'; // to translate $strExportImportToScale = 'Export/Import to scale'; // to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1062,4 +1062,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1057,4 +1057,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1065,4 +1065,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1056,4 +1056,5 @@ $strUploadsNotAllowed = 'File uploads are not allowed on this server.';//to tran
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1055,4 +1055,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1039,4 +1039,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1043,4 +1043,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1060,4 +1060,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1062,4 +1062,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1055,4 +1055,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1040,4 +1040,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1077,4 +1077,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1060,4 +1060,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1037,4 +1037,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1062,4 +1062,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1033,4 +1033,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1066,4 +1066,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1058,4 +1058,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1040,4 +1040,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1039,4 +1039,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1039,4 +1039,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1042,4 +1042,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1040,4 +1040,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1059,4 +1059,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1035,4 +1035,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1038,4 +1038,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1051,4 +1051,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1061,4 +1061,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1045,4 +1045,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -1059,4 +1059,5 @@ $strRepair = 'Repair'; //to translate
$strRemovePartitioning = 'Remove partitioning'; //to translate $strRemovePartitioning = 'Remove partitioning'; //to translate
$strSearchInField = 'Inside field:'; //to translate $strSearchInField = 'Inside field:'; //to translate
$strTexyText = 'Texy! text'; //to translate $strTexyText = 'Texy! text'; //to translate
$strDetails = 'Details...'; //to translate
?> ?>

View File

@@ -2300,4 +2300,40 @@ function PMA_generate_html_radio($html_field_name, $choices, $checked_choice = '
echo "\n"; echo "\n";
} }
} }
/**
* Generates a slider effect (Mootools)
*
* @uses $GLOBALS['cfg']['InitialSlidersStatus']
* @param string $id the id of the <div> on which to apply the effect
* @param string $message the message to show as a link
*/
function PMA_generate_slider_effect($id, $message) {
?>
<script type="text/javascript">
// <![CDATA[
window.addEvent('domready', function(){
var mySlide<?php echo $id; ?> = new Fx.Slide('<?php echo $id; ?>');
<?php if ($GLOBALS['cfg']['InitialSlidersStatus'] == 'closed') {
?>
mySlide<?php echo $id; ?>.hide();
<?php }
?>
var anchor<?php echo $id; ?> = new Element('a', {
'id': 'toggle_<?php echo $id; ?>',
'href': '#'
});
anchor<?php echo $id; ?>.appendText('<?php echo $message; ?>');
anchor<?php echo $id; ?>.injectBefore($('<?php echo $id; ?>_anchor'));
$('toggle_<?php echo $id; ?>').addEvent('click', function(e){
e = new Event(e);
mySlide<?php echo $id; ?>.toggle();
e.stop();
});
});
// ]]>
</script>
<?php
}
?> ?>

View File

@@ -1981,6 +1981,15 @@ $cfg['WYSIWYG-PDF'] = true;
*/ */
$cfg['NaturalOrder'] = true; $cfg['NaturalOrder'] = true;
/**
* Initial status for sliders
* (open | closed)
*
* @global string $cfg['InitialSlidersStatus']
*/
$cfg['InitialSlidersStatus'] = 'closed';
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// custom-setup by mkkeck: 2004-05-04 // custom-setup by mkkeck: 2004-05-04

View File

@@ -13,8 +13,11 @@ require_once './libraries/common.inc.php';
require_once './libraries/mysql_charsets.lib.php'; require_once './libraries/mysql_charsets.lib.php';
require_once './libraries/relation.lib.php'; require_once './libraries/relation.lib.php';
$GLOBALS['js_include'][] = 'mootools.js';
$GLOBALS['js_include'][] = 'mootools-domready.js';
/** /**
* handle mutliple field commands if required * handle multiple field commands if required
* *
* submit_mult_*_x comes from IE if <input type="img" ...> is used * submit_mult_*_x comes from IE if <input type="img" ...> is used
*/ */
@@ -533,6 +536,8 @@ echo "\n\n";
/** /**
* Displays indexes * Displays indexes
*/ */
PMA_generate_slider_effect('tablestatistics', $strDetails);
echo '<div id="tablestatistics_anchor"></div>';
echo '<div id="tablestatistics">' . "\n"; echo '<div id="tablestatistics">' . "\n";
if (! $tbl_is_view && ! $db_is_information_schema) { if (! $tbl_is_view && ! $db_is_information_schema) {
define('PMA_IDX_INCLUDED', 1); define('PMA_IDX_INCLUDED', 1);