Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename to Adminer

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@662 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit 1fe2f33e32f16b475ab9a8e0673c331bd04c55f1 1 parent 0cd2afb
jakubvrana authored
Showing with 56 additions and 56 deletions.
  1. +2 −2 _compile.php
  2. +1 −1  _coverage.php
  3. +1 −1  changes.txt
  4. +3 −3 dump.inc.php
  5. +2 −2 functions.js
  6. +6 −6 include/design.inc.php
  7. +3 −3 include/export.inc.php
  8. +3 −3 index.php
  9. +1 −1  lang/cs.inc.php
  10. +1 −1  lang/de.inc.php
  11. +1 −1  lang/es.inc.php
  12. +1 −1  lang/et.inc.php
  13. +1 −1  lang/fr.inc.php
  14. +1 −1  lang/it.inc.php
  15. +1 −1  lang/nl.inc.php
  16. +1 −1  lang/ru.inc.php
  17. +1 −1  lang/sk.inc.php
  18. +1 −1  lang/zh.inc.php
  19. +2 −2 tests/0-login.html
  20. +1 −1  tests/1-create-database.html
  21. +1 −1  tests/10-clone.html
  22. +1 −1  tests/11-reference.html
  23. +1 −1  tests/12-update.html
  24. +1 −1  tests/13-delete.html
  25. +1 −1  tests/14-truncate.html
  26. +1 −1  tests/15-privileges.html
  27. +1 −1  tests/16-processlist.html
  28. +1 −1  tests/17-export.html
  29. +1 −1  tests/18-events.html
  30. +1 −1  tests/19-procedures.html
  31. +1 −1  tests/2-create-table.html
  32. +1 −1  tests/20-partitioning.html
  33. +1 −1  tests/3-create-index.html
  34. +1 −1  tests/4-create-table-2.html
  35. +1 −1  tests/5-foreign-key.html
  36. +1 −1  tests/6-alter-table.html
  37. +1 −1  tests/7-create-trigger.html
  38. +1 −1  tests/8-create-view.html
  39. +2 −2 tests/9-insert.html
  40. +2 −2 tests/logout.html
4 _compile.php
View
@@ -157,13 +157,13 @@ function php_shrink($input) {
$_COOKIE["lang"] = $_SERVER["argv"][1];
include dirname(__FILE__) . "/include/lang.inc.php";
if ($_SERVER["argc"] != 2 || !isset($langs[$_COOKIE["lang"]])) {
- echo "Usage: php _compile.php [lang]\nPurpose: Compile phpMinAdmin[-lang].php from index.php.\n";
+ echo "Usage: php _compile.php [lang]\nPurpose: Compile adminer[-lang].php from index.php.\n";
exit(1);
}
include dirname(__FILE__) . "/lang/$_COOKIE[lang].inc.php";
}
-$filename = "phpMinAdmin" . ($_COOKIE["lang"] ? "-$_COOKIE[lang]" : "") . ".php";
+$filename = "adminer" . ($_COOKIE["lang"] ? "-$_COOKIE[lang]" : "") . ".php";
$file = file_get_contents(dirname(__FILE__) . "/index.php");
$file = preg_replace_callback('~\\b(include|require) "([^"]*)";~', 'put_file', $file);
$file = preg_replace("~if \\(isset\\(\\\$_SESSION\\[\"coverage.*\n}\n| && !isset\\(\\\$_SESSION\\[\"coverage\"\\]\\)~sU", '', $file);
2  _coverage.php
View
@@ -1,7 +1,7 @@
<?php
error_reporting(E_ALL & ~E_NOTICE);
if (!ini_get("session.auto_start")) {
- session_name("phpMinAdmin_SID");
+ session_name("adminer_sid");
session_set_cookie_params(ini_get("session.cookie_lifetime"), preg_replace('~_coverage\\.php(\\?.*)?$~', '', $_SERVER["REQUEST_URI"]));
session_start();
}
2  changes.txt
View
@@ -1,4 +1,4 @@
-phpMinAdmin 1.11.0:
+Adminer 1.11.0:
Connection through socket by server :/path/to/socket
Simplify export
Display execution time in SQL query
6 dump.inc.php
View
@@ -87,7 +87,7 @@ function tar_file($filename, $contents) {
$query = "SELECT TABLE_NAME, ENGINE, TABLE_COLLATION, TABLE_COMMENT FROM information_schema.TABLES WHERE TABLE_SCHEMA = DATABASE()";
?>
DELIMITER ;;
-CREATE PROCEDURE phpminadmin_drop () BEGIN
+CREATE PROCEDURE adminer_drop () BEGIN
DECLARE _table_name, _engine, _table_collation varchar(64);
DECLARE _table_comment varchar(64);
DECLARE done bool DEFAULT 0;
@@ -121,8 +121,8 @@ function tar_file($filename, $contents) {
CLOSE tables;
END;;
DELIMITER ;
-CALL phpminadmin_drop;
-DROP PROCEDURE phpminadmin_drop;
+CALL adminer_drop;
+DROP PROCEDURE adminer_drop;
<?php
}
}
4 functions.js
View
@@ -15,9 +15,9 @@ function popdown(el) {
}
function verify_version(version) {
- document.cookie = 'phpMinAdmin_version=0';
+ document.cookie = 'adminer_version=0';
var script = document.createElement('script');
- script.src = 'http://www.phpminadmin.net/version.php?version=' + version;
+ script.src = 'http://www.adminer.org/version.php?version=' + version;
document.body.appendChild(script);
}
12 include/design.inc.php
View
@@ -9,15 +9,15 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta name="robots" content="noindex" />
-<title><?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . " - " . lang('phpMinAdmin'); ?></title>
+<title><?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . " - " . lang('Adminer'); ?></title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="default.css<?php // Ondrej Valka, http://valka.info ?>" />
-<?php if (file_exists("phpMinAdmin.css")) { ?>
-<link rel="stylesheet" type="text/css" href="phpMinAdmin.css" />
+<?php if (file_exists("adminer.css")) { ?>
+<link rel="stylesheet" type="text/css" href="adminer.css" />
<?php } ?>
</head>
-<body onload="load_jush();<?php echo (isset($_COOKIE["phpMinAdmin_version"]) ? "" : " verify_version('$VERSION');"); ?>">
+<body onload="load_jush();<?php echo (isset($_COOKIE["adminer_version"]) ? "" : " verify_version('$VERSION');"); ?>">
<script type="text/javascript" src="functions.js"></script>
<div id="content">
@@ -61,8 +61,8 @@ function page_footer($missing = false) {
<?php switch_lang(); ?>
<div id="menu">
-<h1><a href="http://www.phpminadmin.net/"><?php echo lang('phpMinAdmin'); ?></a> <?php echo $VERSION; ?></h1>
-<div class="version"><a href='http://www.phpminadmin.net/#download' id="version"><?php echo (version_compare($VERSION, $_COOKIE["phpMinAdmin_version"]) < 0 ? htmlspecialchars($_COOKIE["phpMinAdmin_version"]) : ""); ?></a></div>
+<h1><a href="http://www.adminer.org/"><?php echo lang('Adminer'); ?></a> <?php echo $VERSION; ?></h1>
+<div class="version"><a href='http://www.adminer.org/#download' id="version"><?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? htmlspecialchars($_COOKIE["adminer_version"]) : ""); ?></a></div>
<?php if ($missing != "auth") { ?>
<form action="" method="post">
<p>
6 include/export.inc.php
View
@@ -29,7 +29,7 @@ function dump_table($table, $style, $is_view = false) {
$query = "SELECT COLUMN_NAME, COLUMN_DEFAULT, IS_NULLABLE, COLLATION_NAME, COLUMN_TYPE, EXTRA, COLUMN_COMMENT FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = '" . $dbh->escape_string($table) . "' ORDER BY ORDINAL_POSITION";
?>
DELIMITER ;;
-CREATE PROCEDURE phpminadmin_alter () BEGIN
+CREATE PROCEDURE adminer_alter () BEGIN
DECLARE _column_name, _collation_name, _column_type, after varchar(64) DEFAULT '';
DECLARE _column_default longtext;
DECLARE _is_nullable char(3);
@@ -95,8 +95,8 @@ function dump_table($table, $style, $is_view = false) {
END IF;
END;;
DELIMITER ;
-CALL phpminadmin_alter;
-DROP PROCEDURE phpminadmin_alter;
+CALL adminer_alter;
+DROP PROCEDURE adminer_alter;
<?php
//! indexes
6 index.php
View
@@ -1,6 +1,6 @@
<?php
-/** phpMinAdmin - Compact MySQL management
-* @link http://www.phpminadmin.net/
+/** Adminer - Compact MySQL management
+* @link http://www.adminer.org/
* @author Jakub Vrana, http://php.vrana.cz/
* @copyright 2007 Jakub Vrana
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
@@ -8,7 +8,7 @@
error_reporting(E_ALL & ~E_NOTICE);
if (!ini_get("session.auto_start")) {
- session_name("phpMinAdmin_SID");
+ session_name("adminer_sid");
session_set_cookie_params(0, preg_replace('~\\?.*~', '', $_SERVER["REQUEST_URI"]));
session_start();
}
2  lang/cs.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Přihlásit se',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Odhlášení proběhlo v pořádku.',
'Invalid credentials.' => 'Neplatné přihlašovací údaje.',
'Server' => 'Server',
2  lang/de.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Login',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Abmeldung erfolgreich.',
'Invalid credentials.' => 'Ungültige Anmelde-Informationen.',
'Server' => 'Server',
2  lang/es.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Login',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Salida exitosa.',
'Invalid credentials.' => 'Autenticación fallada.',
'Server' => 'Servidor',
2  lang/et.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Logi sisse',
- 'phpMinAdmin' => 'Andmebaasi haldaja',
+ 'Adminer' => 'Andmebaasi haldaja',
'Logout successful.' => 'Väljalogimine õnnestus.',
'Invalid credentials.' => 'Ebasobivad andmed.',
'Server' => 'Server',
2  lang/fr.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Authentification',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Aurevoir!',
'Invalid credentials.' => 'Authentification échoué',
'Server' => 'Serveur',
2  lang/it.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Autenticazione',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Uscita effettuata con successo.',
'Invalid credentials.' => 'Credenziali non valide.',
'Server' => 'Server',
2  lang/nl.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Inloggen',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Uitloggen geslaagd.',
'Invalid credentials.' => 'Ongeldige logingegevens.',
'Server' => 'Server',
2  lang/ru.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Записаться',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Логаут в порядке.',
'Invalid credentials.' => 'Недействительное заявительное факты.',
'Server' => 'Сервер',
2  lang/sk.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => 'Prihlásiť sa',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => 'Odhlásenie prebehlo v poriadku.',
'Invalid credentials.' => 'Neplatné prihlasovacie údaje.',
'Server' => 'Server',
2  lang/zh.inc.php
View
@@ -1,7 +1,7 @@
<?php
$translations = array(
'Login' => '登录',
- 'phpMinAdmin' => 'phpMinAdmin',
+ 'Adminer' => 'Adminer',
'Logout successful.' => '注销成功。',
'Invalid credentials.' => '无效凭据。',
'Server' => '服务器',
4 tests/0-login.html
View
@@ -13,12 +13,12 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/_coverage.php?start=1</td>
+ <td>/adminer/_coverage.php?start=1</td>
<td></td>
</tr>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?lang=en&amp;username=</td>
+ <td>/adminer/?lang=en&amp;username=</td>
<td></td>
</tr>
<tr>
2  tests/1-create-database.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/</td>
+ <td>/adminer/</td>
<td></td>
</tr>
<tr>
2  tests/10-clone.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;select=albums</td>
+ <td>/adminer/?db=selenium&amp;select=albums</td>
<td></td>
</tr>
<tr>
2  tests/11-reference.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;select=albums</td>
+ <td>/adminer/?db=selenium&amp;select=albums</td>
<td></td>
</tr>
<tr>
2  tests/12-update.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;edit=albums&amp;where%5Bid%5D=2</td>
+ <td>/adminer/?db=selenium&amp;edit=albums&amp;where%5Bid%5D=2</td>
<td></td>
</tr>
<tr>
2  tests/13-delete.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;edit=albums&amp;where%5Bid%5D=2</td>
+ <td>/adminer/?db=selenium&amp;edit=albums&amp;where%5Bid%5D=2</td>
<td></td>
</tr>
<tr>
2  tests/14-truncate.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;select=albums</td>
+ <td>/adminer/?db=selenium&amp;select=albums</td>
<td></td>
</tr>
<tr>
2  tests/15-privileges.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?user=</td>
+ <td>/adminer/?user=</td>
<td></td>
</tr>
<tr>
2  tests/16-processlist.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?processlist=</td>
+ <td>/adminer/?processlist=</td>
<td></td>
</tr>
<tr>
2  tests/17-export.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;dump=</td>
+ <td>/adminer/?db=selenium&amp;dump=</td>
<td></td>
</tr>
<tr>
2  tests/18-events.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;event=</td>
+ <td>/adminer/?db=selenium&amp;event=</td>
<td></td>
</tr>
<tr>
2  tests/19-procedures.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;procedure=</td>
+ <td>/adminer/?db=selenium&amp;procedure=</td>
<td></td>
</tr>
<tr>
2  tests/2-create-table.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium</td>
+ <td>/adminer/?db=selenium</td>
<td></td>
</tr>
<tr>
2  tests/20-partitioning.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;table=interprets</td>
+ <td>/adminer/?db=selenium&amp;table=interprets</td>
<td></td>
</tr>
<tr>
2  tests/3-create-index.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;table=interprets</td>
+ <td>/adminer/?db=selenium&amp;table=interprets</td>
<td></td>
</tr>
<tr>
2  tests/4-create-table-2.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;table=interprets&amp;lang=en</td>
+ <td>/adminer/?db=selenium&amp;table=interprets&amp;lang=en</td>
<td></td>
</tr>
<tr>
2  tests/5-foreign-key.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;table=albums</td>
+ <td>/adminer/?db=selenium&amp;table=albums</td>
<td></td>
</tr>
<tr>
2  tests/6-alter-table.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;table=interprets</td>
+ <td>/adminer/?db=selenium&amp;table=interprets</td>
<td></td>
</tr>
<tr>
2  tests/7-create-trigger.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;trigger=albums</td>
+ <td>/adminer/?db=selenium&amp;trigger=albums</td>
<td></td>
</tr>
<tr>
2  tests/8-create-view.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;createv=</td>
+ <td>/adminer/?db=selenium&amp;createv=</td>
<td></td>
</tr>
<tr>
4 tests/9-insert.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;edit=interprets</td>
+ <td>/adminer/?db=selenium&amp;edit=interprets</td>
<td></td>
</tr>
<tr>
@@ -33,7 +33,7 @@
</tr>
<tr>
<td>open</td>
- <td>/phpMinAdmin/?db=selenium&amp;edit=albums</td>
+ <td>/adminer/?db=selenium&amp;edit=albums</td>
<td></td>
</tr>
<tr>
4 tests/logout.html
View
@@ -13,7 +13,7 @@
</thead><tbody>
<tr>
<td>open</td>
- <td>/phpMinAdmin/</td>
+ <td>/adminer/</td>
<td></td>
</tr>
<tr>
@@ -38,7 +38,7 @@
</tr>
<tr>
<td>open</td>
- <td>/phpMinAdmin/_coverage.php</td>
+ <td>/adminer/_coverage.php</td>
<td></td>
</tr>
Please sign in to comment.
Something went wrong with that request. Please try again.