Marc outsource some strings in main.php3 & kill the bug in main.php3 about Create privilege
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-05-04 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* outsource some strings in main.php3
|
||||||
|
* kill the bug in main.php3 about Create privilege
|
||||||
|
|
||||||
2001-05-03 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-05-03 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* build a js library that contains all the functions used to collapse/expand
|
* build a js library that contains all the functions used to collapse/expand
|
||||||
databases list stuff and improve them
|
databases list stuff and improve them
|
||||||
|
@@ -57,6 +57,8 @@ $strHasBeenCreated = "has been created.";
|
|||||||
$strHasBeenDropped = "has been dropped.";
|
$strHasBeenDropped = "has been dropped.";
|
||||||
$strHasBeenEmptied = "has been emptied.";
|
$strHasBeenEmptied = "has been emptied.";
|
||||||
$strHome = "Home";
|
$strHome = "Home";
|
||||||
|
$strHomepageOfficial = "Official phpMyAdmin Homepage"; //lem9
|
||||||
|
$strHomepageSourceforge = "new (but still unofficial) phpMyAdmin Homepage"; //lem9
|
||||||
$strHost = "Host";
|
$strHost = "Host";
|
||||||
$strIfYouWish = "If you wish to load only some of a table's columns, specify a comma separated field list.";
|
$strIfYouWish = "If you wish to load only some of a table's columns, specify a comma separated field list.";
|
||||||
$strIndex = "Index";
|
$strIndex = "Index";
|
||||||
|
@@ -15,7 +15,7 @@ $strAnd = "et";
|
|||||||
$strAscending = "Croissant";
|
$strAscending = "Croissant";
|
||||||
$strAtBeginningOfTable = "En d<>but de Table";
|
$strAtBeginningOfTable = "En d<>but de Table";
|
||||||
$strAtEndOfTable = "En fin de Table";
|
$strAtEndOfTable = "En fin de Table";
|
||||||
$strAttr = "Attributes";
|
$strAttr = "Attributs";
|
||||||
$strBack = "Retour";
|
$strBack = "Retour";
|
||||||
$strBrowse = "Afficher";
|
$strBrowse = "Afficher";
|
||||||
$strCarriage = "Retour de chariot: \\r";
|
$strCarriage = "Retour de chariot: \\r";
|
||||||
@@ -30,7 +30,7 @@ $strCreateNewTable = "Cr
|
|||||||
$strCriteria = "Crit<EFBFBD>re";
|
$strCriteria = "Crit<EFBFBD>re";
|
||||||
$strDatabase = "Base de donn<6E>es";
|
$strDatabase = "Base de donn<6E>es";
|
||||||
$strDatabases = "bases de donn<6E>es";
|
$strDatabases = "bases de donn<6E>es";
|
||||||
$strDefault = "Defaut";
|
$strDefault = "D<EFBFBD>faut";
|
||||||
$strDelete = "Effacer";
|
$strDelete = "Effacer";
|
||||||
$strDeleted = "L'enregistrement a <20>t<EFBFBD> effac<61>";
|
$strDeleted = "L'enregistrement a <20>t<EFBFBD> effac<61>";
|
||||||
$strDescending = "D<EFBFBD>croissant";
|
$strDescending = "D<EFBFBD>croissant";
|
||||||
@@ -60,6 +60,8 @@ $strHasBeenCreated = "a
|
|||||||
$strHasBeenDropped = "a <20>t<EFBFBD> effac<61>.";
|
$strHasBeenDropped = "a <20>t<EFBFBD> effac<61>.";
|
||||||
$strHasBeenEmptied = "a <20>t<EFBFBD> vid<69>.";
|
$strHasBeenEmptied = "a <20>t<EFBFBD> vid<69>.";
|
||||||
$strHome = "Accueil";
|
$strHome = "Accueil";
|
||||||
|
$strHomepageOfficial = "Site officiel de phpMyAdmin";
|
||||||
|
$strHomepageSourceforge = "Nouveau site (non encore officiel) de phpMyAdmin";
|
||||||
$strHost = "Serveur";
|
$strHost = "Serveur";
|
||||||
$strIfYouWish = "Si vous d<>sirez ne charger que certaines colonnes, indiquez leurs noms, s<>par<61>s par des virgules.";
|
$strIfYouWish = "Si vous d<>sirez ne charger que certaines colonnes, indiquez leurs noms, s<>par<61>s par des virgules.";
|
||||||
$strIndex = "Index";
|
$strIndex = "Index";
|
||||||
@@ -130,6 +132,7 @@ $strSuccess = "Votre requ
|
|||||||
$strTable = "table ";
|
$strTable = "table ";
|
||||||
$strTableComments = "Commentaires sur la table";
|
$strTableComments = "Commentaires sur la table";
|
||||||
$strTableStructure = "Structure de la table";
|
$strTableStructure = "Structure de la table";
|
||||||
|
$strTableType = "Table en format"; // Robbat2, lem9
|
||||||
$strTerminatedBy = "termin<EFBFBD>(e)s par";
|
$strTerminatedBy = "termin<EFBFBD>(e)s par";
|
||||||
$strTheContent = "Le contenu de votre fichier a <20>t<EFBFBD> ins<6E>r<EFBFBD>.";
|
$strTheContent = "Le contenu de votre fichier a <20>t<EFBFBD> ins<6E>r<EFBFBD>.";
|
||||||
$strTheContents = "Le contenu du fichier remplacera le contenu de la table pour les enregistrements ayant une valeur de cl<63> primaire ou unique identique.";
|
$strTheContents = "Le contenu du fichier remplacera le contenu de la table pour les enregistrements ayant une valeur de cl<63> primaire ou unique identique.";
|
||||||
|
12
main.php3
12
main.php3
@@ -91,8 +91,12 @@ if($server > 0) {
|
|||||||
|
|
||||||
if($result_usr['Create_priv']=='Y') {
|
if($result_usr['Create_priv']=='Y') {
|
||||||
$CREATE=TRUE;
|
$CREATE=TRUE;
|
||||||
} elseif(!empty($result_db) && $result_db['Create_priv']=='Y') {
|
// BEGIN
|
||||||
$CREATE=TRUE;
|
// 2001-05-04, Lem9: The create_priv on a single database does not allow
|
||||||
|
// to create a database
|
||||||
|
// } elseif(!empty($result_db) && $result_db['Create_priv']=='Y') {
|
||||||
|
// $CREATE=TRUE;
|
||||||
|
// END
|
||||||
} else {
|
} else {
|
||||||
$CREATE=FALSE;
|
$CREATE=FALSE;
|
||||||
}
|
}
|
||||||
@@ -151,10 +155,10 @@ if($server > 0) {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="http://phpmyadmin.sourceforge.net/" target="_top">new (but still unofficial) phpMyAdmin-Homepage</a> (sourceforge)
|
<a href="http://phpmyadmin.sourceforge.net/" target="_top"><?php print $strHomepageSourceforge; ?> </a> (sourceforge)
|
||||||
[ <a href="ChangeLog" target="_top">ChangeLog</a> ]
|
[ <a href="ChangeLog" target="_top">ChangeLog</a> ]
|
||||||
<li>
|
<li>
|
||||||
<a href="http://phpwizard.net/projects/phpMyAdmin/" target="_top">Official phpMyAdmin-Homepage</a>
|
<a href="http://phpwizard.net/projects/phpMyAdmin/" target="_top"><?php print $strHomepageOfficial; ?> </a>
|
||||||
<li>
|
<li>
|
||||||
<a href="Documentation.html" target="_top">phpMyAdmin <?php print $strDocu;?></a>
|
<a href="Documentation.html" target="_top">phpMyAdmin <?php print $strDocu;?></a>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user