[gui] Events management: minimal support on db structure page
This commit is contained in:
@@ -41,6 +41,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
+ [lang] Norwegian update, thanks to Sven-Erik Andersen
|
+ [lang] Norwegian update, thanks to Sven-Erik Andersen
|
||||||
+ [lang] Japanese update, thanks to Ishigaki Kenichi
|
+ [lang] Japanese update, thanks to Ishigaki Kenichi
|
||||||
+ [lang] Italian update, thanks to Luca Rebellato
|
+ [lang] Italian update, thanks to Luca Rebellato
|
||||||
|
+ [gui] Events management: minimal support on db structure page
|
||||||
|
(work in progress)
|
||||||
|
|
||||||
2.11.5.0 (not yet released)
|
2.11.5.0 (not yet released)
|
||||||
- bug #1862661 [GUI] Warn about rename deleting database
|
- bug #1862661 [GUI] Warn about rename deleting database
|
||||||
|
@@ -520,6 +520,11 @@ PMA_listNavigator($total_num_tables, $pos, $_url_params, 'db_structure.php', 'fr
|
|||||||
// Routines
|
// Routines
|
||||||
require './libraries/db_routines.inc.php';
|
require './libraries/db_routines.inc.php';
|
||||||
|
|
||||||
|
// Events
|
||||||
|
if (PMA_MYSQL_INT_VERSION > 50100) {
|
||||||
|
require './libraries/db_events.inc.php';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Work on the database
|
* Work on the database
|
||||||
* redesigned 2004-05-08 by mkkeck
|
* redesigned 2004-05-08 by mkkeck
|
||||||
|
@@ -1071,4 +1071,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1070,4 +1070,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1072,4 +1072,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1067,4 +1067,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1064,4 +1064,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1047,4 +1047,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1046,4 +1046,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1070,4 +1070,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1044,4 +1044,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1067,4 +1067,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1040,4 +1040,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1072,4 +1072,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1051,4 +1051,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1045,4 +1045,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1046,4 +1046,5 @@ $strYes = 'Ano';
|
|||||||
$strZeroRemovesTheLimit = 'Poznámka: Nastavení těchto parametrů na 0 (nulu) odstraní omezení.';
|
$strZeroRemovesTheLimit = 'Poznámka: Nastavení těchto parametrů na 0 (nulu) odstraní omezení.';
|
||||||
$strZip = '„zazipováno“';
|
$strZip = '„zazipováno“';
|
||||||
|
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1046,4 +1046,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1068,4 +1068,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -277,6 +277,7 @@ $strEscapeWildcards = 'Wildcards _ and % should be escaped with a \ to use them
|
|||||||
$strEsperanto = 'Esperanto';
|
$strEsperanto = 'Esperanto';
|
||||||
$strEstonian = 'Estonian';
|
$strEstonian = 'Estonian';
|
||||||
$strEvent = 'Event';
|
$strEvent = 'Event';
|
||||||
|
$strEvents = 'Events';
|
||||||
$strExcelEdition = 'Excel edition';
|
$strExcelEdition = 'Excel edition';
|
||||||
$strExecuteBookmarked = 'Execute bookmarked query';
|
$strExecuteBookmarked = 'Execute bookmarked query';
|
||||||
$strExplain = 'Explain SQL';
|
$strExplain = 'Explain SQL';
|
||||||
|
@@ -1052,4 +1052,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1046,4 +1046,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1043,4 +1043,5 @@ $strYes = 'Oui';
|
|||||||
$strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.';
|
$strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.';
|
||||||
$strZip = '"zippé"';
|
$strZip = '"zippé"';
|
||||||
|
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1045,4 +1045,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1072,4 +1072,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1052,4 +1052,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1069,4 +1069,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1064,4 +1064,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1072,4 +1072,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1063,4 +1063,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1062,4 +1062,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1047,4 +1047,5 @@ $strInterface = 'Interface'; //to translate
|
|||||||
$strMySQLServerInformation = 'MySQL server information'; //to translate
|
$strMySQLServerInformation = 'MySQL server information'; //to translate
|
||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1063,4 +1063,5 @@ $strTexyText = 'Texy!テキスト'; //to translate
|
|||||||
|
|
||||||
$strWebServerInformation = 'ウェブサーバ情報'; //to translate
|
$strWebServerInformation = 'ウェブサーバ情報'; //to translate
|
||||||
|
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1067,4 +1067,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1069,4 +1069,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1062,4 +1062,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1047,4 +1047,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1084,4 +1084,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1067,4 +1067,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1044,4 +1044,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1069,4 +1069,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1040,4 +1040,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1073,4 +1073,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1065,4 +1065,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1047,4 +1047,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1046,4 +1046,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1046,4 +1046,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1049,4 +1049,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1047,4 +1047,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1066,4 +1066,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1042,4 +1042,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1045,4 +1045,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server körs med Suhosin. Se %sdokumentation%s för möjliga frågor.';
|
$strSuhosin = 'Server körs med Suhosin. Se %sdokumentation%s för möjliga frågor.';
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1058,4 +1058,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1068,4 +1068,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1052,4 +1052,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1066,4 +1066,5 @@ $strMySQLServerInformation = 'MySQL server information'; //to translate
|
|||||||
$strWebServerInformation = 'Web server information'; //to translate
|
$strWebServerInformation = 'Web server information'; //to translate
|
||||||
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
|
||||||
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
|
||||||
|
$strEvents = 'Events'; //to translate
|
||||||
?>
|
?>
|
||||||
|
@@ -1223,6 +1223,21 @@ function PMA_DBI_get_procedure_or_function_def($db, $which, $proc_or_function_na
|
|||||||
$query = 'SHOW CREATE ' . $which . ' ' . PMA_backquote($db) . '.' . PMA_backquote($proc_or_function_name);
|
$query = 'SHOW CREATE ' . $which . ' ' . PMA_backquote($db) . '.' . PMA_backquote($proc_or_function_name);
|
||||||
return(PMA_DBI_fetch_value($query, 0, $returned_field[$which]));
|
return(PMA_DBI_fetch_value($query, 0, $returned_field[$which]));
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* returns the definition of a specific EVENT
|
||||||
|
*
|
||||||
|
* @uses PMA_DBI_fetch_value()
|
||||||
|
* @param string $db db name
|
||||||
|
* @param string $event_name
|
||||||
|
* @param resource $link mysql link
|
||||||
|
*
|
||||||
|
* @return string the event's definition
|
||||||
|
*/
|
||||||
|
function PMA_DBI_get_event_def($db, $event_name, $link = null)
|
||||||
|
{
|
||||||
|
$query = 'SHOW CREATE EVENT' . ' ' . PMA_backquote($db) . '.' . PMA_backquote($event_name);
|
||||||
|
return(PMA_DBI_fetch_value($query, 0, 'Create Event'));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns details about the TRIGGERs of a specific table
|
* returns details about the TRIGGERs of a specific table
|
||||||
|
55
libraries/db_events.inc.php
Normal file
55
libraries/db_events.inc.php
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
<?php
|
||||||
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @version $Id$
|
||||||
|
*/
|
||||||
|
$url_query .= '&goto=db_structure.php';
|
||||||
|
|
||||||
|
$events = PMA_DBI_fetch_result('SELECT EVENT_NAME, EVENT_TYPE FROM information_schema.EVENTS WHERE EVENT_SCHEMA= \'' . PMA_sqlAddslashes($db,true) . '\';');
|
||||||
|
|
||||||
|
if ($events) {
|
||||||
|
PMA_generate_slider_effect('events', $strEvents);
|
||||||
|
echo '<div id="events">' . "\n";
|
||||||
|
echo '<fieldset>' . "\n";
|
||||||
|
echo ' <legend>' . $strEvents . '</legend>' . "\n";
|
||||||
|
echo '<table border="0">';
|
||||||
|
echo sprintf('<tr>
|
||||||
|
<th>%s</th>
|
||||||
|
<th> </th>
|
||||||
|
<th> </th>
|
||||||
|
<th>%s</th>
|
||||||
|
</tr>',
|
||||||
|
$strName,
|
||||||
|
$strType);
|
||||||
|
$ct=0;
|
||||||
|
$delimiter = '//';
|
||||||
|
foreach ($events as $event) {
|
||||||
|
|
||||||
|
// information_schema (at least in MySQL 5.1.22) does not return
|
||||||
|
// the full CREATE EVENT statement in a way that could be useful for us
|
||||||
|
// so we rely on PMA_DBI_get_event_def() which uses SHOW CREATE EVENT
|
||||||
|
|
||||||
|
$definition = 'DROP EVENT ' . PMA_backquote($event['EVENT_NAME']) . $delimiter . "\n"
|
||||||
|
. PMA_DBI_get_event_def($db, $event['EVENT_NAME'])
|
||||||
|
. "\n";
|
||||||
|
|
||||||
|
$sqlDrop = 'DROP EVENT ' . PMA_backquote($event['EVENT_NAME']);
|
||||||
|
echo sprintf('<tr class="%s">
|
||||||
|
<td><b>%s</b></td>
|
||||||
|
<td>%s</td>
|
||||||
|
<td>%s</td>
|
||||||
|
<td>%s</td>
|
||||||
|
</tr>',
|
||||||
|
($ct%2 == 0) ? 'even' : 'odd',
|
||||||
|
$event['EVENT_NAME'],
|
||||||
|
! empty($definition) ? PMA_linkOrButton('db_sql.php?' . $url_query . '&sql_query=' . urlencode($definition) . '&show_query=1&delimiter=' . urlencode($delimiter), $titles['Structure']) : ' ',
|
||||||
|
'<a href="sql.php?' . $url_query . '&sql_query=' . urlencode($sqlDrop) . '" onclick="return confirmLink(this, \'' . PMA_jsFormat($sqlDrop, false) . '\')">' . $titles['Drop'] . '</a>',
|
||||||
|
$event['EVENT_TYPE']);
|
||||||
|
$ct++;
|
||||||
|
}
|
||||||
|
echo '</table>';
|
||||||
|
echo '</fieldset>' . "\n";
|
||||||
|
echo '</div>' . "\n";
|
||||||
|
}
|
||||||
|
?>
|
Reference in New Issue
Block a user