Moved 'Add slave replication user' form to separate function.
Added 'Show connected slaves'.
This commit is contained in:
@@ -1625,4 +1625,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1624,4 +1624,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1627,4 +1627,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1621,4 +1621,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1600,4 +1600,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1618,4 +1618,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1600,4 +1600,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1608,4 +1608,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1624,4 +1624,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1615,4 +1615,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1621,4 +1621,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1595,4 +1595,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1608,4 +1608,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1605,4 +1605,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1602,4 +1602,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1606,4 +1606,6 @@ $strSetupZipDumpImportWarning = '[a@?page=form&formset=features#tab_Import_e
|
|||||||
$strSlaveConfigure = 'Make sure, you have unique server-id in your configuration file (my.cnf). If not, please add the following line into [mysqld] section:'; //to translate
|
$strSlaveConfigure = 'Make sure, you have unique server-id in your configuration file (my.cnf). If not, please add the following line into [mysqld] section:'; //to translate
|
||||||
|
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1600,4 +1600,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1605,4 +1605,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -767,6 +767,8 @@ $strReplication = 'Replication';
|
|||||||
$strReplicationRestartServer = 'Once you restarted MySQL server, please click on Go button. Afterwards, you should see a message informing you, that this server <b>is</b> configured as master';
|
$strReplicationRestartServer = 'Once you restarted MySQL server, please click on Go button. Afterwards, you should see a message informing you, that this server <b>is</b> configured as master';
|
||||||
$strReplicationSelectDatabases = 'Please select databases:';
|
$strReplicationSelectDatabases = 'Please select databases:';
|
||||||
$strReplicationServernConfiguredMaster = 'This server is not configured as master in a replication process. Would you like to <a href="%s">configure</a> it?';
|
$strReplicationServernConfiguredMaster = 'This server is not configured as master in a replication process. Would you like to <a href="%s">configure</a> it?';
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.';
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves';
|
||||||
$strReplicationShowMasterStatus = 'Show master status';
|
$strReplicationShowMasterStatus = 'Show master status';
|
||||||
$strReplicationSkippingErrorWarn = 'Skipping error(s) might lead into unsynchronized master and slave!';
|
$strReplicationSkippingErrorWarn = 'Skipping error(s) might lead into unsynchronized master and slave!';
|
||||||
$strReplicationSlaveChangeMaster = 'Change or reconfigure master server';
|
$strReplicationSlaveChangeMaster = 'Change or reconfigure master server';
|
||||||
|
@@ -1606,4 +1606,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1601,4 +1601,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1597,4 +1597,6 @@ $strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.';
|
|||||||
$strZip = '"zippé"';
|
$strZip = '"zippé"';
|
||||||
|
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1600,4 +1600,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1605,4 +1605,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1615,4 +1615,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1623,4 +1623,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1618,4 +1618,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1626,4 +1626,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1602,4 +1602,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1616,4 +1616,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1605,4 +1605,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1606,4 +1606,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1621,4 +1621,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1623,4 +1623,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1615,4 +1615,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1601,4 +1601,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1638,4 +1638,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1621,4 +1621,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1598,4 +1598,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1652,4 +1652,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1594,4 +1594,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1627,4 +1627,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1607,4 +1607,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1611,4 +1611,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1600,4 +1600,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1600,4 +1600,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1603,4 +1603,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1619,4 +1619,6 @@ $strXMLExportTables = 'Export tables'; //to translate
|
|||||||
$strXMLExportTriggers = 'Export triggers'; //to translate
|
$strXMLExportTriggers = 'Export triggers'; //to translate
|
||||||
$strXMLExportViews = 'Export views'; //to translate
|
$strXMLExportViews = 'Export views'; //to translate
|
||||||
|
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1620,4 +1620,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1598,4 +1598,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1597,4 +1597,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1611,4 +1611,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1622,4 +1622,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1604,4 +1604,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1620,4 +1620,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1602,4 +1602,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1602,4 +1602,6 @@ $strFullStop = 'Full stop'; //to translate
|
|||||||
$strStart = 'Start'; //to translate
|
$strStart = 'Start'; //to translate
|
||||||
$strStop = 'Stop'; //to translate
|
$strStop = 'Stop'; //to translate
|
||||||
$strMediaWiki = 'MediaWiki Table'; //to translate
|
$strMediaWiki = 'MediaWiki Table'; //to translate
|
||||||
|
$strReplicationShowConnectedSlaves = 'Show connected slaves'; //to translate
|
||||||
|
$strReplicationShowConnectedSlavesNote = 'Only slaves started with the --report-host=host_name option are visible in this list.'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -9,7 +9,8 @@ if (! defined('PHPMYADMIN')) {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$jscode['master_replication'] = 'divShowHideFunc(\'master_status_href\', \'replication_master_section\');'."\n";
|
$jscode['master_replication'] = 'divShowHideFunc(\'master_status_href\', \'replication_master_section\');' . "\n"
|
||||||
|
. 'divShowHideFunc(\'master_slaves_href\', \'replication_slaves_section\');' . "\n";
|
||||||
|
|
||||||
// Add JS events to generate example my.cnf config lines
|
// Add JS events to generate example my.cnf config lines
|
||||||
$jscode['configure_master'] =
|
$jscode['configure_master'] =
|
||||||
@@ -128,6 +129,7 @@ function PMA_replication_gui_changemaster($submitname) {
|
|||||||
echo '</form>'."\n";
|
echo '</form>'."\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function prints out table with replication status.
|
* This function prints out table with replication status.
|
||||||
*
|
*
|
||||||
@@ -135,7 +137,7 @@ function PMA_replication_gui_changemaster($submitname) {
|
|||||||
* @param boolean $hidden - if true, then default style is set to hidden, default value false
|
* @param boolean $hidden - if true, then default style is set to hidden, default value false
|
||||||
* @param boolen $title - if true, then title is displayed, default true
|
* @param boolen $title - if true, then title is displayed, default true
|
||||||
*/
|
*/
|
||||||
function PMA_replication_print_status_table ($type, $hidden = false, $title = true) {
|
function PMA_replication_print_status_table($type, $hidden = false, $title = true) {
|
||||||
global ${"{$type}_variables"};
|
global ${"{$type}_variables"};
|
||||||
global ${"{$type}_variables_alerts"};
|
global ${"{$type}_variables_alerts"};
|
||||||
global ${"{$type}_variables_oks"};
|
global ${"{$type}_variables_oks"};
|
||||||
@@ -203,5 +205,208 @@ function PMA_replication_print_status_table ($type, $hidden = false, $title = tr
|
|||||||
echo '</div>'."\n";
|
echo '</div>'."\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prints table with slave users connected to this master
|
||||||
|
*
|
||||||
|
* @param boolean $hidden - if true, then default style is set to hidden, default value false
|
||||||
|
*/
|
||||||
|
function PMA_replication_print_slaves_table($hidden = false) {
|
||||||
|
|
||||||
|
// Fetch data
|
||||||
|
$data = PMA_DBI_fetch_result('SHOW SLAVE HOSTS', null, null);
|
||||||
|
|
||||||
|
echo ' <br />' . "\n";
|
||||||
|
echo ' <div id="replication_slaves_section" style="'. ($hidden ? 'display: none' : '') .'"> ' . "\n";
|
||||||
|
echo ' <table class="data"> ' . "\n";
|
||||||
|
echo ' <thead>' . "\n";
|
||||||
|
echo ' <tr>'."\n";
|
||||||
|
echo ' <th>' . $GLOBALS['strBinLogServerId'] . '</th>' . "\n";
|
||||||
|
echo ' <th>' . $GLOBALS['strHost'] . '</th>' . "\n";
|
||||||
|
echo ' </tr>'."\n";
|
||||||
|
echo ' </thead>'."\n";
|
||||||
|
echo ' <tbody>'."\n";
|
||||||
|
|
||||||
|
$odd_row = true;
|
||||||
|
foreach ($data as $slave) {
|
||||||
|
echo ' <tr class="'. ($odd_row ? 'odd' : 'even') .'">' . "\n";
|
||||||
|
echo ' <td class="value">' . $slave['Server_id'] . '</td>' . "\n";
|
||||||
|
echo ' <td class="value">' . $slave['Host'] . '</td>' . "\n";
|
||||||
|
echo ' </tr>' . "\n";
|
||||||
|
|
||||||
|
$odd_row = !$odd_row;
|
||||||
|
}
|
||||||
|
|
||||||
|
echo ' </tbody>'."\n";
|
||||||
|
echo ' </table>'."\n";
|
||||||
|
echo ' <br />'."\n";
|
||||||
|
PMA_Message::notice('strReplicationShowConnectedSlavesNote')->display();
|
||||||
|
echo ' <br />'."\n";
|
||||||
|
echo ' </div>'."\n";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Print code to add a replication slave user to the master
|
||||||
|
*/
|
||||||
|
function PMA_replication_gui_master_addslaveuser() {
|
||||||
|
$fields_info = PMA_DBI_get_fields('mysql', 'user');
|
||||||
|
$username_length = 16;
|
||||||
|
$hostname_length = 41;
|
||||||
|
foreach ($fields_info as $key => $val) {
|
||||||
|
if ($val['Field'] == 'User') {
|
||||||
|
strtok($val['Type'], '()');
|
||||||
|
$v = strtok('()');
|
||||||
|
if (is_int($v)) {
|
||||||
|
$username_length = $v;
|
||||||
|
}
|
||||||
|
} elseif ($val['Field'] == 'Host') {
|
||||||
|
strtok($val['Type'], '()');
|
||||||
|
$v = strtok('()');
|
||||||
|
if (is_int($v)) {
|
||||||
|
$hostname_length = $v;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
unset($fields_info);
|
||||||
|
|
||||||
|
if (isset($GLOBALS['username']) && strlen($GLOBALS['username']) === 0) {
|
||||||
|
$GLOBALS['pred_username'] = 'any';
|
||||||
|
}
|
||||||
|
echo '<div id="master_addslaveuser_gui">'."\n";
|
||||||
|
echo '<form autocomplete="off" method="post" action="server_privileges.php" onsubmit="return checkAddUser(this);">'."\n";
|
||||||
|
echo PMA_generate_common_hidden_inputs('', '');
|
||||||
|
echo '<fieldset id="fieldset_add_user_login">' . "\n"
|
||||||
|
. '<legend>'.$GLOBALS['strReplicationAddSlaveUser'].'</legend>' . "\n"
|
||||||
|
. '<input id="checkbox_Repl_slave_priv" type="hidden" title="Needed for the replication slaves." value="Y" name="Repl_slave_priv"/>'. "\n"
|
||||||
|
. '<input id="checkbox_Repl_client_priv" type="hidden" title="Needed for the replication slaves." value="Y" name="Repl_client_priv"/>'. "\n"
|
||||||
|
. '<input type="hidden" name="sr_take_action" value="true" />'. "\n"
|
||||||
|
. '<div class="item">' . "\n"
|
||||||
|
. '<label for="select_pred_username">' . "\n"
|
||||||
|
. ' ' . $GLOBALS['strUserName'] . ':' . "\n"
|
||||||
|
. '</label>' . "\n"
|
||||||
|
. '<span class="options">' . "\n"
|
||||||
|
. ' <select name="pred_username" id="select_pred_username" title="' . $GLOBALS['strUserName'] . '"' . "\n"
|
||||||
|
. ' onchange="if (this.value == \'any\') { username.value = \'\'; } else if (this.value == \'userdefined\') { username.focus(); username.select(); }">' . "\n"
|
||||||
|
. ' <option value="any"' . ((isset($GLOBALS['pred_username']) && $GLOBALS['pred_username'] == 'any') ? ' selected="selected"' : '') . '>' . $GLOBALS['strAnyUser'] . '</option>' . "\n"
|
||||||
|
. ' <option value="userdefined"' . ((!isset($GLOBALS['pred_username']) || $GLOBALS['pred_username'] == 'userdefined') ? ' selected="selected"' : '') . '>' . $GLOBALS['strUseTextField'] . ':</option>' . "\n"
|
||||||
|
. ' </select>' . "\n"
|
||||||
|
. '</span>' . "\n"
|
||||||
|
. '<input type="text" name="username" maxlength="'
|
||||||
|
. $username_length . '" title="' . $GLOBALS['strUserName'] . '"'
|
||||||
|
. (empty($GLOBALS['username'])
|
||||||
|
? ''
|
||||||
|
: ' value="' . (isset($GLOBALS['new_username'])
|
||||||
|
? $GLOBALS['new_username']
|
||||||
|
: $GLOBALS['username']) . '"')
|
||||||
|
. ' onchange="pred_username.value = \'userdefined\';" />' . "\n"
|
||||||
|
. '</div>' . "\n"
|
||||||
|
. '<div class="item">' . "\n"
|
||||||
|
. '<label for="select_pred_hostname">' . "\n"
|
||||||
|
. ' ' . $GLOBALS['strHost'] . ':' . "\n"
|
||||||
|
. '</label>' . "\n"
|
||||||
|
. '<span class="options">' . "\n"
|
||||||
|
. ' <select name="pred_hostname" id="select_pred_hostname" title="' . $GLOBALS['strHost'] . '"' . "\n";
|
||||||
|
$_current_user = PMA_DBI_fetch_value('SELECT USER();');
|
||||||
|
if (! empty($_current_user)) {
|
||||||
|
$thishost = str_replace("'", '', substr($_current_user, (strrpos($_current_user, '@') + 1)));
|
||||||
|
if ($thishost == 'localhost' || $thishost == '127.0.0.1') {
|
||||||
|
unset($thishost);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
echo ' onchange="if (this.value == \'any\') { hostname.value = \'%\'; } else if (this.value == \'localhost\') { hostname.value = \'localhost\'; } '
|
||||||
|
. (empty($thishost) ? '' : 'else if (this.value == \'thishost\') { hostname.value = \'' . addslashes(htmlspecialchars($thishost)) . '\'; } ')
|
||||||
|
. 'else if (this.value == \'hosttable\') { hostname.value = \'\'; } else if (this.value == \'userdefined\') { hostname.focus(); hostname.select(); }">' . "\n";
|
||||||
|
unset($_current_user);
|
||||||
|
|
||||||
|
// when we start editing a user, $GLOBALS['pred_hostname'] is not defined
|
||||||
|
if (!isset($GLOBALS['pred_hostname']) && isset($GLOBALS['hostname'])) {
|
||||||
|
switch (strtolower($GLOBALS['hostname'])) {
|
||||||
|
case 'localhost':
|
||||||
|
case '127.0.0.1':
|
||||||
|
$GLOBALS['pred_hostname'] = 'localhost';
|
||||||
|
break;
|
||||||
|
case '%':
|
||||||
|
$GLOBALS['pred_hostname'] = 'any';
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$GLOBALS['pred_hostname'] = 'userdefined';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
echo ' <option value="any"'
|
||||||
|
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'any')
|
||||||
|
? ' selected="selected"' : '') . '>' . $GLOBALS['strAnyHost']
|
||||||
|
. '</option>' . "\n"
|
||||||
|
. ' <option value="localhost"'
|
||||||
|
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'localhost')
|
||||||
|
? ' selected="selected"' : '') . '>' . $GLOBALS['strLocalhost']
|
||||||
|
. '</option>' . "\n";
|
||||||
|
if (!empty($thishost)) {
|
||||||
|
echo ' <option value="thishost"'
|
||||||
|
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'thishost')
|
||||||
|
? ' selected="selected"' : '') . '>' . $GLOBALS['strThisHost']
|
||||||
|
. '</option>' . "\n";
|
||||||
|
}
|
||||||
|
unset($thishost);
|
||||||
|
echo ' <option value="hosttable"'
|
||||||
|
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'hosttable')
|
||||||
|
? ' selected="selected"' : '') . '>' . $GLOBALS['strUseHostTable']
|
||||||
|
. '</option>' . "\n"
|
||||||
|
. ' <option value="userdefined"'
|
||||||
|
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'userdefined')
|
||||||
|
? ' selected="selected"' : '')
|
||||||
|
. '>' . $GLOBALS['strUseTextField'] . ':</option>' . "\n"
|
||||||
|
. ' </select>' . "\n"
|
||||||
|
. '</span>' . "\n"
|
||||||
|
. '<input type="text" name="hostname" maxlength="'
|
||||||
|
. $hostname_length . '" value="'
|
||||||
|
. (isset($GLOBALS['hostname']) ? $GLOBALS['hostname'] : '')
|
||||||
|
. '" title="' . $GLOBALS['strHost']
|
||||||
|
. '" onchange="pred_hostname.value = \'userdefined\';" />' . "\n"
|
||||||
|
. PMA_showHint($GLOBALS['strHostTableExplanation'])
|
||||||
|
. '</div>' . "\n"
|
||||||
|
. '<div class="item">' . "\n"
|
||||||
|
. '<label for="select_pred_password">' . "\n"
|
||||||
|
. ' ' . $GLOBALS['strPassword'] . ':' . "\n"
|
||||||
|
. '</label>' . "\n"
|
||||||
|
. '<span class="options">' . "\n"
|
||||||
|
. ' <select name="pred_password" id="select_pred_password" title="'
|
||||||
|
. $GLOBALS['strPassword'] . '"' . "\n"
|
||||||
|
. ' onchange="if (this.value == \'none\') { pma_pw.value = \'\'; pma_pw2.value = \'\'; } else if (this.value == \'userdefined\') { pma_pw.focus(); pma_pw.select(); }">' . "\n"
|
||||||
|
. ' <option value="none"';
|
||||||
|
if (isset($GLOBALS['username']) && $mode != 'change') {
|
||||||
|
echo ' selected="selected"';
|
||||||
|
}
|
||||||
|
echo '>' . $GLOBALS['strNoPassword'] . '</option>' . "\n"
|
||||||
|
. ' <option value="userdefined"' . (isset($GLOBALS['username']) ? '' : ' selected="selected"') . '>' . $GLOBALS['strUseTextField'] . ':</option>' . "\n"
|
||||||
|
. ' </select>' . "\n"
|
||||||
|
. '</span>' . "\n"
|
||||||
|
. '<input type="password" id="text_pma_pw" name="pma_pw" title="' . $GLOBALS['strPassword'] . '" onchange="pred_password.value = \'userdefined\';" />' . "\n"
|
||||||
|
. '</div>' . "\n"
|
||||||
|
. '<div class="item">' . "\n"
|
||||||
|
. '<label for="text_pma_pw2">' . "\n"
|
||||||
|
. ' ' . $GLOBALS['strReType'] . ':' . "\n"
|
||||||
|
. '</label>' . "\n"
|
||||||
|
. '<span class="options"> </span>' . "\n"
|
||||||
|
. '<input type="password" name="pma_pw2" id="text_pma_pw2" title="' . $GLOBALS['strReType'] . '" onchange="pred_password.value = \'userdefined\';" />' . "\n"
|
||||||
|
. '</div>' . "\n"
|
||||||
|
. '<div class="item">' . "\n"
|
||||||
|
. '<label for="button_generate_password">' . "\n"
|
||||||
|
. ' ' . $GLOBALS['strGeneratePassword'] . ':' . "\n"
|
||||||
|
. '</label>' . "\n"
|
||||||
|
. '<span class="options">' . "\n"
|
||||||
|
. ' <input type="button" id="button_generate_password" value="' . $GLOBALS['strGenerate'] . '" onclick="suggestPassword(this.form)" />' . "\n"
|
||||||
|
. '</span>' . "\n"
|
||||||
|
. '<input type="text" name="generated_pw" id="generated_pw" />' . "\n"
|
||||||
|
. '</div>' . "\n"
|
||||||
|
. '</fieldset>' . "\n";
|
||||||
|
echo '<fieldset id="fieldset_user_privtable_footer" class="tblFooters">' . "\n"
|
||||||
|
. ' <input type="submit" name="adduser_submit" id="adduser_submit" value="' . $GLOBALS['strGo'] . '" />' . "\n"
|
||||||
|
. '</fieldset>' . "\n";
|
||||||
|
echo '</form>'."\n";
|
||||||
|
echo '</div>'."\n";
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@@ -177,6 +177,7 @@ echo ' <img class="icon" src="'. $GLOBALS['pmaThemeImage'] .'s_replication.png
|
|||||||
echo $GLOBALS['strReplication']."\n";
|
echo $GLOBALS['strReplication']."\n";
|
||||||
echo ' </h2>'."\n";
|
echo ' </h2>'."\n";
|
||||||
|
|
||||||
|
// Display error messages
|
||||||
if (isset($_SESSION['replication']['sr_action_status']) && isset($_SESSION['replication']['sr_action_info'])) {
|
if (isset($_SESSION['replication']['sr_action_status']) && isset($_SESSION['replication']['sr_action_info'])) {
|
||||||
if ($_SESSION['replication']['sr_action_status'] == 'error') {
|
if ($_SESSION['replication']['sr_action_status'] == 'error') {
|
||||||
PMA_Message::error($_SESSION['replication']['sr_action_info'])->display();
|
PMA_Message::error($_SESSION['replication']['sr_action_info'])->display();
|
||||||
@@ -194,174 +195,25 @@ if ($server_master_status) {
|
|||||||
echo '<legend>'. $GLOBALS['strReplicationMaster'] .'</legend>'."\n";
|
echo '<legend>'. $GLOBALS['strReplicationMaster'] .'</legend>'."\n";
|
||||||
echo $GLOBALS['strReplicationConfiguredMaster']."\n";
|
echo $GLOBALS['strReplicationConfiguredMaster']."\n";
|
||||||
echo '<ul>'."\n";
|
echo '<ul>'."\n";
|
||||||
echo ' <li><a href="#" id="master_status_href">'. $GLOBALS['strReplicationShowMasterStatus'] .'</a></li>';
|
echo ' <li><a href="#" id="master_status_href">'. $GLOBALS['strReplicationShowMasterStatus'] .'</a></li>' . "\n";
|
||||||
PMA_replication_print_status_table('master', true, false);
|
PMA_replication_print_status_table('master', true, false);
|
||||||
|
|
||||||
|
echo ' <li><a href="#" id="master_slaves_href">'. $GLOBALS['strReplicationShowConnectedSlaves'] .'</a></li>' . "\n";
|
||||||
|
PMA_replication_print_slaves_table(true);
|
||||||
|
|
||||||
$_url_params = $GLOBALS['url_params'];
|
$_url_params = $GLOBALS['url_params'];
|
||||||
$_url_params['mr_adduser'] = true;
|
$_url_params['mr_adduser'] = true;
|
||||||
$_url_params['repl_clear_scr'] = true;
|
$_url_params['repl_clear_scr'] = true;
|
||||||
|
|
||||||
echo ' <li><a href="'.PMA_generate_common_url($_url_params).'" id="master_addslaveuser_href">'. $GLOBALS['strReplicationAddSlaveUser'] .'</a></li>';
|
echo ' <li><a href="'.PMA_generate_common_url($_url_params).'" id="master_addslaveuser_href">'. $GLOBALS['strReplicationAddSlaveUser'] .'</a></li>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Display 'Add replication slave user' form
|
||||||
if (isset($GLOBALS['mr_adduser'])) {
|
if (isset($GLOBALS['mr_adduser'])) {
|
||||||
$fields_info = PMA_DBI_get_fields('mysql', 'user');
|
PMA_replication_gui_master_addslaveuser();
|
||||||
$username_length = 16;
|
|
||||||
$hostname_length = 41;
|
|
||||||
foreach ($fields_info as $key => $val) {
|
|
||||||
if ($val['Field'] == 'User') {
|
|
||||||
strtok($val['Type'], '()');
|
|
||||||
$v = strtok('()');
|
|
||||||
if (is_int($v)) {
|
|
||||||
$username_length = $v;
|
|
||||||
}
|
|
||||||
} elseif ($val['Field'] == 'Host') {
|
|
||||||
strtok($val['Type'], '()');
|
|
||||||
$v = strtok('()');
|
|
||||||
if (is_int($v)) {
|
|
||||||
$hostname_length = $v;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
unset($fields_info);
|
|
||||||
|
|
||||||
if (isset($GLOBALS['username']) && strlen($GLOBALS['username']) === 0) {
|
|
||||||
$GLOBALS['pred_username'] = 'any';
|
|
||||||
}
|
|
||||||
echo '<div id="master_addslaveuser_gui">'."\n";
|
|
||||||
echo '<form autocomplete="off" method="post" action="server_privileges.php" onsubmit="return checkAddUser(this);">'."\n";
|
|
||||||
echo PMA_generate_common_hidden_inputs('', '');
|
|
||||||
echo '<fieldset id="fieldset_add_user_login">' . "\n"
|
|
||||||
. '<legend>'.$GLOBALS['strReplicationAddSlaveUser'].'</legend>' . "\n"
|
|
||||||
. '<input id="checkbox_Repl_slave_priv" type="hidden" title="Needed for the replication slaves." value="Y" name="Repl_slave_priv"/>'. "\n"
|
|
||||||
. '<input id="checkbox_Repl_client_priv" type="hidden" title="Needed for the replication slaves." value="Y" name="Repl_client_priv"/>'. "\n"
|
|
||||||
. '<input type="hidden" name="sr_take_action" value="true" />'. "\n"
|
|
||||||
. '<div class="item">' . "\n"
|
|
||||||
. '<label for="select_pred_username">' . "\n"
|
|
||||||
. ' ' . $GLOBALS['strUserName'] . ':' . "\n"
|
|
||||||
. '</label>' . "\n"
|
|
||||||
. '<span class="options">' . "\n"
|
|
||||||
. ' <select name="pred_username" id="select_pred_username" title="' . $GLOBALS['strUserName'] . '"' . "\n"
|
|
||||||
. ' onchange="if (this.value == \'any\') { username.value = \'\'; } else if (this.value == \'userdefined\') { username.focus(); username.select(); }">' . "\n"
|
|
||||||
. ' <option value="any"' . ((isset($GLOBALS['pred_username']) && $GLOBALS['pred_username'] == 'any') ? ' selected="selected"' : '') . '>' . $GLOBALS['strAnyUser'] . '</option>' . "\n"
|
|
||||||
. ' <option value="userdefined"' . ((!isset($GLOBALS['pred_username']) || $GLOBALS['pred_username'] == 'userdefined') ? ' selected="selected"' : '') . '>' . $GLOBALS['strUseTextField'] . ':</option>' . "\n"
|
|
||||||
. ' </select>' . "\n"
|
|
||||||
. '</span>' . "\n"
|
|
||||||
. '<input type="text" name="username" maxlength="'
|
|
||||||
. $username_length . '" title="' . $GLOBALS['strUserName'] . '"'
|
|
||||||
. (empty($GLOBALS['username'])
|
|
||||||
? ''
|
|
||||||
: ' value="' . (isset($GLOBALS['new_username'])
|
|
||||||
? $GLOBALS['new_username']
|
|
||||||
: $GLOBALS['username']) . '"')
|
|
||||||
. ' onchange="pred_username.value = \'userdefined\';" />' . "\n"
|
|
||||||
. '</div>' . "\n"
|
|
||||||
. '<div class="item">' . "\n"
|
|
||||||
. '<label for="select_pred_hostname">' . "\n"
|
|
||||||
. ' ' . $GLOBALS['strHost'] . ':' . "\n"
|
|
||||||
. '</label>' . "\n"
|
|
||||||
. '<span class="options">' . "\n"
|
|
||||||
. ' <select name="pred_hostname" id="select_pred_hostname" title="' . $GLOBALS['strHost'] . '"' . "\n";
|
|
||||||
$_current_user = PMA_DBI_fetch_value('SELECT USER();');
|
|
||||||
if (! empty($_current_user)) {
|
|
||||||
$thishost = str_replace("'", '', substr($_current_user, (strrpos($_current_user, '@') + 1)));
|
|
||||||
if ($thishost == 'localhost' || $thishost == '127.0.0.1') {
|
|
||||||
unset($thishost);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
echo ' onchange="if (this.value == \'any\') { hostname.value = \'%\'; } else if (this.value == \'localhost\') { hostname.value = \'localhost\'; } '
|
|
||||||
. (empty($thishost) ? '' : 'else if (this.value == \'thishost\') { hostname.value = \'' . addslashes(htmlspecialchars($thishost)) . '\'; } ')
|
|
||||||
. 'else if (this.value == \'hosttable\') { hostname.value = \'\'; } else if (this.value == \'userdefined\') { hostname.focus(); hostname.select(); }">' . "\n";
|
|
||||||
unset($_current_user);
|
|
||||||
|
|
||||||
// when we start editing a user, $GLOBALS['pred_hostname'] is not defined
|
|
||||||
if (!isset($GLOBALS['pred_hostname']) && isset($GLOBALS['hostname'])) {
|
|
||||||
switch (strtolower($GLOBALS['hostname'])) {
|
|
||||||
case 'localhost':
|
|
||||||
case '127.0.0.1':
|
|
||||||
$GLOBALS['pred_hostname'] = 'localhost';
|
|
||||||
break;
|
|
||||||
case '%':
|
|
||||||
$GLOBALS['pred_hostname'] = 'any';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
$GLOBALS['pred_hostname'] = 'userdefined';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
echo ' <option value="any"'
|
|
||||||
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'any')
|
|
||||||
? ' selected="selected"' : '') . '>' . $GLOBALS['strAnyHost']
|
|
||||||
. '</option>' . "\n"
|
|
||||||
. ' <option value="localhost"'
|
|
||||||
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'localhost')
|
|
||||||
? ' selected="selected"' : '') . '>' . $GLOBALS['strLocalhost']
|
|
||||||
. '</option>' . "\n";
|
|
||||||
if (!empty($thishost)) {
|
|
||||||
echo ' <option value="thishost"'
|
|
||||||
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'thishost')
|
|
||||||
? ' selected="selected"' : '') . '>' . $GLOBALS['strThisHost']
|
|
||||||
. '</option>' . "\n";
|
|
||||||
}
|
|
||||||
unset($thishost);
|
|
||||||
echo ' <option value="hosttable"'
|
|
||||||
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'hosttable')
|
|
||||||
? ' selected="selected"' : '') . '>' . $GLOBALS['strUseHostTable']
|
|
||||||
. '</option>' . "\n"
|
|
||||||
. ' <option value="userdefined"'
|
|
||||||
. ((isset($GLOBALS['pred_hostname']) && $GLOBALS['pred_hostname'] == 'userdefined')
|
|
||||||
? ' selected="selected"' : '')
|
|
||||||
. '>' . $GLOBALS['strUseTextField'] . ':</option>' . "\n"
|
|
||||||
. ' </select>' . "\n"
|
|
||||||
. '</span>' . "\n"
|
|
||||||
. '<input type="text" name="hostname" maxlength="'
|
|
||||||
. $hostname_length . '" value="'
|
|
||||||
. (isset($GLOBALS['hostname']) ? $GLOBALS['hostname'] : '')
|
|
||||||
. '" title="' . $GLOBALS['strHost']
|
|
||||||
. '" onchange="pred_hostname.value = \'userdefined\';" />' . "\n"
|
|
||||||
. PMA_showHint($GLOBALS['strHostTableExplanation'])
|
|
||||||
. '</div>' . "\n"
|
|
||||||
. '<div class="item">' . "\n"
|
|
||||||
. '<label for="select_pred_password">' . "\n"
|
|
||||||
. ' ' . $GLOBALS['strPassword'] . ':' . "\n"
|
|
||||||
. '</label>' . "\n"
|
|
||||||
. '<span class="options">' . "\n"
|
|
||||||
. ' <select name="pred_password" id="select_pred_password" title="'
|
|
||||||
. $GLOBALS['strPassword'] . '"' . "\n"
|
|
||||||
. ' onchange="if (this.value == \'none\') { pma_pw.value = \'\'; pma_pw2.value = \'\'; } else if (this.value == \'userdefined\') { pma_pw.focus(); pma_pw.select(); }">' . "\n"
|
|
||||||
. ' <option value="none"';
|
|
||||||
if (isset($GLOBALS['username']) && $mode != 'change') {
|
|
||||||
echo ' selected="selected"';
|
|
||||||
}
|
|
||||||
echo '>' . $GLOBALS['strNoPassword'] . '</option>' . "\n"
|
|
||||||
. ' <option value="userdefined"' . (isset($GLOBALS['username']) ? '' : ' selected="selected"') . '>' . $GLOBALS['strUseTextField'] . ':</option>' . "\n"
|
|
||||||
. ' </select>' . "\n"
|
|
||||||
. '</span>' . "\n"
|
|
||||||
. '<input type="password" id="text_pma_pw" name="pma_pw" title="' . $GLOBALS['strPassword'] . '" onchange="pred_password.value = \'userdefined\';" />' . "\n"
|
|
||||||
. '</div>' . "\n"
|
|
||||||
. '<div class="item">' . "\n"
|
|
||||||
. '<label for="text_pma_pw2">' . "\n"
|
|
||||||
. ' ' . $GLOBALS['strReType'] . ':' . "\n"
|
|
||||||
. '</label>' . "\n"
|
|
||||||
. '<span class="options"> </span>' . "\n"
|
|
||||||
. '<input type="password" name="pma_pw2" id="text_pma_pw2" title="' . $GLOBALS['strReType'] . '" onchange="pred_password.value = \'userdefined\';" />' . "\n"
|
|
||||||
. '</div>' . "\n"
|
|
||||||
. '<div class="item">' . "\n"
|
|
||||||
. '<label for="button_generate_password">' . "\n"
|
|
||||||
. ' ' . $GLOBALS['strGeneratePassword'] . ':' . "\n"
|
|
||||||
. '</label>' . "\n"
|
|
||||||
. '<span class="options">' . "\n"
|
|
||||||
. ' <input type="button" id="button_generate_password" value="' . $GLOBALS['strGenerate'] . '" onclick="suggestPassword(this.form)" />' . "\n"
|
|
||||||
. '</span>' . "\n"
|
|
||||||
. '<input type="text" name="generated_pw" id="generated_pw" />' . "\n"
|
|
||||||
. '</div>' . "\n"
|
|
||||||
. '</fieldset>' . "\n";
|
|
||||||
echo '<fieldset id="fieldset_user_privtable_footer" class="tblFooters">' . "\n"
|
|
||||||
. ' <input type="submit" name="adduser_submit" id="adduser_submit" value="' . $GLOBALS['strGo'] . '" />' . "\n"
|
|
||||||
. '</fieldset>' . "\n";
|
|
||||||
echo '</form>'."\n";
|
|
||||||
echo '</div>'."\n";///////
|
|
||||||
} elseif (!isset($GLOBALS['repl_clear_scr'])) {
|
} elseif (!isset($GLOBALS['repl_clear_scr'])) {
|
||||||
echo "</ul>\n";
|
echo "</ul>\n";
|
||||||
echo '</fieldset>'."\n";
|
echo "</fieldset>\n";
|
||||||
}
|
}
|
||||||
} elseif (!isset($GLOBALS['mr_configure']) && !isset($GLOBALS['repl_clear_scr'])) {
|
} elseif (!isset($GLOBALS['mr_configure']) && !isset($GLOBALS['repl_clear_scr'])) {
|
||||||
$_url_params = $GLOBALS['url_params'];
|
$_url_params = $GLOBALS['url_params'];
|
||||||
|
Reference in New Issue
Block a user