mirror of
https://github.com/vrana/adminer.git
synced 2026-03-06 12:31:45 +01:00
Rename to Adminer
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@662 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 @@ foreach ($fields as $row) {
|
||||
END IF;
|
||||
END;;
|
||||
DELIMITER ;
|
||||
CALL phpminadmin_alter;
|
||||
DROP PROCEDURE phpminadmin_alter;
|
||||
CALL adminer_alter;
|
||||
DROP PROCEDURE adminer_alter;
|
||||
|
||||
<?php
|
||||
//! indexes
|
||||
|
||||
Reference in New Issue
Block a user