From 1fe2f33e32f16b475ab9a8e0673c331bd04c55f1 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 8 Jun 2009 19:02:30 +0000 Subject: [PATCH] Rename to Adminer git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@662 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- _compile.php | 4 ++-- _coverage.php | 2 +- changes.txt | 2 +- dump.inc.php | 6 +++--- functions.js | 4 ++-- include/design.inc.php | 12 ++++++------ include/export.inc.php | 6 +++--- index.php | 6 +++--- lang/cs.inc.php | 2 +- lang/de.inc.php | 2 +- lang/es.inc.php | 2 +- lang/et.inc.php | 2 +- lang/fr.inc.php | 2 +- lang/it.inc.php | 2 +- lang/nl.inc.php | 2 +- lang/ru.inc.php | 2 +- lang/sk.inc.php | 2 +- lang/zh.inc.php | 2 +- tests/0-login.html | 4 ++-- tests/1-create-database.html | 2 +- tests/10-clone.html | 2 +- tests/11-reference.html | 2 +- tests/12-update.html | 2 +- tests/13-delete.html | 2 +- tests/14-truncate.html | 2 +- tests/15-privileges.html | 2 +- tests/16-processlist.html | 2 +- tests/17-export.html | 2 +- tests/18-events.html | 2 +- tests/19-procedures.html | 2 +- tests/2-create-table.html | 2 +- tests/20-partitioning.html | 2 +- tests/3-create-index.html | 2 +- tests/4-create-table-2.html | 2 +- tests/5-foreign-key.html | 2 +- tests/6-alter-table.html | 2 +- tests/7-create-trigger.html | 2 +- tests/8-create-view.html | 2 +- tests/9-insert.html | 4 ++-- tests/logout.html | 4 ++-- 40 files changed, 56 insertions(+), 56 deletions(-) diff --git a/_compile.php b/_compile.php index 59f482d8..f20ad259 100644 --- a/_compile.php +++ b/_compile.php @@ -157,13 +157,13 @@ if ($_SERVER["argc"] > 1) { $_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); diff --git a/_coverage.php b/_coverage.php index 75db5f1f..8363ca46 100644 --- a/_coverage.php +++ b/_coverage.php @@ -1,7 +1,7 @@ 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 @@ $result->free(); CLOSE tables; END;; DELIMITER ; -CALL phpminadmin_drop; -DROP PROCEDURE phpminadmin_drop; +CALL adminer_drop; +DROP PROCEDURE adminer_drop; -<?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . " - " . lang('phpMinAdmin'); ?> +<?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . " - " . lang('Adminer'); ?> - - + + -"> +">
@@ -61,8 +61,8 @@ function page_footer($missing = false) {