patch #2805828 [export] PHP array export plugin
This commit is contained in:
@@ -14,6 +14,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
thanks to nullbarriere - nullbarriere
|
thanks to nullbarriere - nullbarriere
|
||||||
- bug [display] handle NavigationBarIconic as documented for navi buttons
|
- bug [display] handle NavigationBarIconic as documented for navi buttons
|
||||||
+ rfe #2726479 [export] Export tables preselect
|
+ rfe #2726479 [export] Export tables preselect
|
||||||
|
+ patch #2805828 [export] PHP array export plugin,
|
||||||
|
thanks to Geoffray Warnants - amnsk
|
||||||
|
|
||||||
3.2.1.0 (not yet released)
|
3.2.1.0 (not yet released)
|
||||||
- bug #2799009 Login with ipv6 IP address breaks redirect
|
- bug #2799009 Login with ipv6 IP address breaks redirect
|
||||||
|
@@ -1486,4 +1486,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1485,4 +1485,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1487,4 +1487,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1482,4 +1482,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1461,4 +1461,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1479,4 +1479,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1461,4 +1461,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1469,4 +1469,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1485,4 +1485,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1459,4 +1459,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1482,4 +1482,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1456,4 +1456,5 @@ $strZeroRemovesTheLimit = 'Nota: Es treu el limit establint aquestes opcions a 0
|
|||||||
$strZip = '"comprimit amb zip"';
|
$strZip = '"comprimit amb zip"';
|
||||||
|
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1469,4 +1469,5 @@ $strZeroRemovesTheLimit = '注意:若将这些选项设为 0(零) 即不限制
|
|||||||
$strZip = 'zip 压缩';
|
$strZip = 'zip 压缩';
|
||||||
|
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1466,4 +1466,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1463,4 +1463,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1465,4 +1465,5 @@ $strSetupZipDump_desc = 'Enable [a@http://en.wikipedia.org/wiki/ZIP_(file_format
|
|||||||
$strSetupZipDumpExportWarning = '[a@?page=form&formset=features#tab_Import_export]Zip compression[/a] requires functions (%s) which are unavailable on this system.'; //to translate
|
$strSetupZipDumpExportWarning = '[a@?page=form&formset=features#tab_Import_export]Zip compression[/a] requires functions (%s) which are unavailable on this system.'; //to translate
|
||||||
$strSetupZipDumpImportWarning = '[a@?page=form&formset=features#tab_Import_export]Zip decompression[/a] requires functions (%s) which are unavailable on this system.'; //to translate
|
$strSetupZipDumpImportWarning = '[a@?page=form&formset=features#tab_Import_export]Zip decompression[/a] requires functions (%s) which are unavailable on this system.'; //to translate
|
||||||
|
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1461,4 +1461,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1466,4 +1466,5 @@ $strZeroRemovesTheLimit = 'Opmerking: Het instellen van deze waarden op 0 (nul)
|
|||||||
$strZip = '"Gezipt"';
|
$strZip = '"Gezipt"';
|
||||||
|
|
||||||
$strNavTableFilter = 'Filter';
|
$strNavTableFilter = 'Filter';
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -290,7 +290,6 @@ $strErrorRelationAdded = 'Error: Relation not added.';
|
|||||||
$strErrorRelationExists = 'Error: relation already exists.';
|
$strErrorRelationExists = 'Error: relation already exists.';
|
||||||
$strErrorRenamingTable = 'Error renaming table %1$s to %2$s';
|
$strErrorRenamingTable = 'Error renaming table %1$s to %2$s';
|
||||||
$strErrorSaveTable = 'Error saving coordinates for Designer.';
|
$strErrorSaveTable = 'Error saving coordinates for Designer.';
|
||||||
$strRemoveCRLF = 'Remove CRLF characters within fields';
|
|
||||||
$strEscapeWildcards = 'Wildcards _ and % should be escaped with a \ to use them literally';
|
$strEscapeWildcards = 'Wildcards _ and % should be escaped with a \ to use them literally';
|
||||||
$strEsperanto = 'Esperanto';
|
$strEsperanto = 'Esperanto';
|
||||||
$strEstonian = 'Estonian';
|
$strEstonian = 'Estonian';
|
||||||
@@ -616,6 +615,7 @@ $strPerMinute = 'per minute';
|
|||||||
$strPerSecond = 'per second';
|
$strPerSecond = 'per second';
|
||||||
$strPersian = 'Persian';
|
$strPersian = 'Persian';
|
||||||
$strPhoneBook = 'phone book';
|
$strPhoneBook = 'phone book';
|
||||||
|
$strPhpArray = 'PHP array';
|
||||||
$strPhp = 'Create PHP Code';
|
$strPhp = 'Create PHP Code';
|
||||||
$strPHPExtension = 'PHP extension';
|
$strPHPExtension = 'PHP extension';
|
||||||
$strPHPVersion = 'PHP Version';
|
$strPHPVersion = 'PHP Version';
|
||||||
@@ -711,6 +711,7 @@ $strRelationView = 'Relation view';
|
|||||||
$strReloadingThePrivileges = 'Reloading the privileges';
|
$strReloadingThePrivileges = 'Reloading the privileges';
|
||||||
$strReloadPrivileges = 'Reload privileges';
|
$strReloadPrivileges = 'Reload privileges';
|
||||||
$strReload = 'Reload';
|
$strReload = 'Reload';
|
||||||
|
$strRemoveCRLF = 'Remove CRLF characters within fields';
|
||||||
$strRemovePartitioning = 'Remove partitioning';
|
$strRemovePartitioning = 'Remove partitioning';
|
||||||
$strRemoveSelectedUsers = 'Remove selected users';
|
$strRemoveSelectedUsers = 'Remove selected users';
|
||||||
$strRenameDatabaseOK = 'Database %s has been renamed to %s';
|
$strRenameDatabaseOK = 'Database %s has been renamed to %s';
|
||||||
|
@@ -1467,4 +1467,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1462,4 +1462,5 @@ $strZeroRemovesTheLimit = 'Huom: Näiden valintojen asettaminen nollaksi (0) poi
|
|||||||
$strZip = '"zip-pakattu"';
|
$strZip = '"zip-pakattu"';
|
||||||
|
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -612,6 +612,7 @@ $strPerMinute = 'par minute';
|
|||||||
$strPerSecond = 'par seconde';
|
$strPerSecond = 'par seconde';
|
||||||
$strPersian = 'perse';
|
$strPersian = 'perse';
|
||||||
$strPhoneBook = 'annuaire téléphonique';
|
$strPhoneBook = 'annuaire téléphonique';
|
||||||
|
$strPhpArray = 'Tableau PHP';
|
||||||
$strPhp = 'Créer source PHP';
|
$strPhp = 'Créer source PHP';
|
||||||
$strPHPExtension = 'Extension PHP';
|
$strPHPExtension = 'Extension PHP';
|
||||||
$strPHPVersion = 'Version de PHP';
|
$strPHPVersion = 'Version de PHP';
|
||||||
|
@@ -1460,4 +1460,5 @@ $strReplicationStatusInfo = 'Este servidor de MySQL server funciona como %s en p
|
|||||||
$strReplicationStatus_master = 'Estado do mestre';
|
$strReplicationStatus_master = 'Estado do mestre';
|
||||||
$strReplicationStatus_slave = 'Estado do escravo';
|
$strReplicationStatus_slave = 'Estado do escravo';
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1466,4 +1466,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1480,4 +1480,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1484,4 +1484,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1479,4 +1479,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1487,4 +1487,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1463,4 +1463,5 @@ $strYes = 'Igen';
|
|||||||
$strZeroRemovesTheLimit = 'Megjegyzés: Ezen beállítások 0-ra (nulla) állítása eltávolítja a korlátozást.';
|
$strZeroRemovesTheLimit = 'Megjegyzés: Ezen beállítások 0-ra (nulla) állítása eltávolítja a korlátozást.';
|
||||||
$strZip = '"zip tömörítés"';
|
$strZip = '"zip tömörítés"';
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1477,4 +1477,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1466,4 +1466,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1467,4 +1467,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1482,4 +1482,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1484,4 +1484,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1476,4 +1476,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1462,4 +1462,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1499,4 +1499,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1482,4 +1482,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1459,4 +1459,5 @@ $strZeroRemovesTheLimit = 'Merk: Ved å sette disse til 0 (null) fjernes begrens
|
|||||||
$strZip = 'Komprimert (zip)';
|
$strZip = 'Komprimert (zip)';
|
||||||
|
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1513,4 +1513,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1455,4 +1455,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1488,4 +1488,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1468,4 +1468,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1472,4 +1472,5 @@ $strReplicationStatus = 'Replication status'; //to translate
|
|||||||
$strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b> process. For further information about replication status on the server, please visit the <a href="#replication">replication section</a>.'; //to translate
|
$strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b> process. For further information about replication status on the server, please visit the <a href="#replication">replication section</a>.'; //to translate
|
||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1461,4 +1461,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1461,4 +1461,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1464,4 +1464,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1462,4 +1462,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1481,4 +1481,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1459,4 +1459,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1459,4 +1459,5 @@ $strZeroRemovesTheLimit = 'Anm: Genom att sätta dessa alternativ till 0 (noll)
|
|||||||
$strZip = '"zippad"';
|
$strZip = '"zippad"';
|
||||||
|
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1472,4 +1472,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1483,4 +1483,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1465,4 +1465,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1481,4 +1481,5 @@ $strReplicationStatusInfo = 'This MySQL server works as %s in <b>replication</b>
|
|||||||
$strReplicationStatus_master = 'Master status'; //to translate
|
$strReplicationStatus_master = 'Master status'; //to translate
|
||||||
$strReplicationStatus_slave = 'Slave status'; //to translate
|
$strReplicationStatus_slave = 'Slave status'; //to translate
|
||||||
$strNavTableFilter = 'Filter'; //to translate
|
$strNavTableFilter = 'Filter'; //to translate
|
||||||
|
$strPhpArray = 'PHP array'; //to translate
|
||||||
?>
|
?>
|
||||||
|
192
libraries/export/php_array.php
Normal file
192
libraries/export/php_array.php
Normal file
@@ -0,0 +1,192 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Set of functions used to build dumps of tables as PHP Arrays
|
||||||
|
*
|
||||||
|
* @author Geoffray Warnants <http://www.geoffray.be>
|
||||||
|
* @version 0.1b (20090610)
|
||||||
|
*/
|
||||||
|
if (! defined('PHPMYADMIN')) {
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
if (isset($plugin_list)) {
|
||||||
|
$plugin_list['php_array'] = array(
|
||||||
|
'text' => 'strPhpArray',
|
||||||
|
'extension' => 'php',
|
||||||
|
'mime_type' => 'text/plain',
|
||||||
|
'options' => array(
|
||||||
|
array(
|
||||||
|
'type' => 'hidden',
|
||||||
|
'name' => 'data',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
'options_text' => 'strOptions',
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set of functions used to build exports of tables
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Outputs comment
|
||||||
|
*
|
||||||
|
* @param string Text of comment
|
||||||
|
*
|
||||||
|
* @return bool Whether it suceeded
|
||||||
|
*/
|
||||||
|
function PMA_exportComment($text)
|
||||||
|
{
|
||||||
|
PMA_exportOutputHandler('// ' . $text . $GLOBALS['crlf']);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Outputs export footer
|
||||||
|
*
|
||||||
|
* @return bool Whether it suceeded
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function PMA_exportFooter()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Outputs export header
|
||||||
|
*
|
||||||
|
* @return bool Whether it suceeded
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function PMA_exportHeader()
|
||||||
|
{
|
||||||
|
PMA_exportOutputHandler(
|
||||||
|
'<?php'.$GLOBALS['crlf']
|
||||||
|
. '/**'.$GLOBALS['crlf']
|
||||||
|
. ' * Export to PHP Array plugin for PHPMyAdmin'.$GLOBALS['crlf']
|
||||||
|
. ' * @author Geoffray Warnants'.$GLOBALS['crlf']
|
||||||
|
. ' * @version 1.0'.$GLOBALS['crlf']
|
||||||
|
. ' */'.$GLOBALS['crlf'].$GLOBALS['crlf']
|
||||||
|
);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Outputs database header
|
||||||
|
*
|
||||||
|
* @param string Database name
|
||||||
|
*
|
||||||
|
* @return bool Whether it suceeded
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function PMA_exportDBHeader($db)
|
||||||
|
{
|
||||||
|
PMA_exportOutputHandler('//'.$GLOBALS['crlf'].'// Database "'.$db.'"'.$GLOBALS['crlf'].'//'.$GLOBALS['crlf']);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Outputs database footer
|
||||||
|
*
|
||||||
|
* @param string Database name
|
||||||
|
*
|
||||||
|
* @return bool Whether it suceeded
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function PMA_exportDBFooter($db)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Outputs create database database
|
||||||
|
*
|
||||||
|
* @param string Database name
|
||||||
|
*
|
||||||
|
* @return bool Whether it suceeded
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function PMA_exportDBCreate($db)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Outputs the content of a table in YAML format
|
||||||
|
*
|
||||||
|
* @param string the database name
|
||||||
|
* @param string the table name
|
||||||
|
* @param string the end of line sequence
|
||||||
|
* @param string the url to go back in case of error
|
||||||
|
* @param string SQL query for obtaining data
|
||||||
|
*
|
||||||
|
* @return bool Whether it suceeded
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
|
||||||
|
{
|
||||||
|
$result = PMA_DBI_query($sql_query, null, PMA_DBI_QUERY_UNBUFFERED);
|
||||||
|
|
||||||
|
$columns_cnt = PMA_DBI_num_fields($result);
|
||||||
|
for ($i = 0; $i < $columns_cnt; $i++) {
|
||||||
|
$columns[$i] = stripslashes(PMA_DBI_field_name($result, $i));
|
||||||
|
}
|
||||||
|
unset($i);
|
||||||
|
|
||||||
|
$buffer = '';
|
||||||
|
$record_cnt = 0;
|
||||||
|
while ($record = PMA_DBI_fetch_row($result)) {
|
||||||
|
|
||||||
|
$record_cnt++;
|
||||||
|
|
||||||
|
// Output table name as comment if this is the first record of the table
|
||||||
|
if ($record_cnt == 1) {
|
||||||
|
$buffer .= $crlf.'// '.$db.'.'.$table.$crlf;
|
||||||
|
$buffer .= '$'.$table.' = array('.$crlf;
|
||||||
|
$buffer .= ' array(';
|
||||||
|
} else {
|
||||||
|
$buffer .= ','.$crlf.' array(';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
for ($i = 0; $i < $columns_cnt; $i++) {
|
||||||
|
if (! isset($record[$i])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$isLastLine = ($i+1 >= $columns_cnt);
|
||||||
|
|
||||||
|
$column = $columns[$i];
|
||||||
|
|
||||||
|
if (is_null($record[$i])) {
|
||||||
|
$buffer .= "'".$column."'=>null".(!$isLastLine?',':'');
|
||||||
|
} elseif (is_numeric($record[$i])) {
|
||||||
|
$buffer .= "'".$column."'=>".$record[$i] . (!$isLastLine?',':'');
|
||||||
|
} else {
|
||||||
|
$buffer .= "'".$column."'=>'".addslashes($record[$i]) . "'" . (!$isLastLine?',':'');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$buffer .= ')';
|
||||||
|
}
|
||||||
|
|
||||||
|
$buffer .= $crlf.');'.$crlf;
|
||||||
|
if (!PMA_exportOutputHandler($buffer)) {
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
PMA_DBI_free_result($result);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user