From f84659efcba18bf33e0d59187044d3b4ab285bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 23 Aug 2010 10:55:19 +0200 Subject: [PATCH] Better file name for schema edit page. --- db_operations.php | 2 +- libraries/schema/Export_Relation_Schema.class.php | 4 ++-- libraries/schema/User_Schema.class.php | 10 +++++----- export_relation_schema.php => schema_edit.php | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) rename export_relation_schema.php => schema_edit.php (98%) diff --git a/db_operations.php b/db_operations.php index 9bba859e2..fe4d1cc8c 100644 --- a/db_operations.php +++ b/db_operations.php @@ -523,7 +523,7 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?> /* * Export Relational Schema View */ - echo '
'; + echo '
'; if ($cfg['PropertiesIconic']) { echo ''; diff --git a/libraries/schema/Export_Relation_Schema.class.php b/libraries/schema/Export_Relation_Schema.class.php index b9115015a..af9b4de1c 100644 --- a/libraries/schema/Export_Relation_Schema.class.php +++ b/libraries/schema/Export_Relation_Schema.class.php @@ -213,11 +213,11 @@ class PMA_Export_Relation_Schema echo '

' . "\n"; echo ' ' . $error_message . "\n"; echo '

' . "\n"; - echo '
' . __('Back') . ''; echo "\n"; require_once './libraries/footer.inc.php'; exit(); } } -?> \ No newline at end of file +?> diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php index 5b3dfcfe6..bbb6dd061 100644 --- a/libraries/schema/User_Schema.class.php +++ b/libraries/schema/User_Schema.class.php @@ -89,7 +89,7 @@ class PMA_User_Schema public function createPage($db) { ?> -
+
@@ -144,7 +144,7 @@ class PMA_User_Schema $page_rs = PMA_query_as_controluser($page_query, FALSE, $query_default_option); if ($page_rs && PMA_DBI_num_rows($page_rs) > 0) { ?> - +
@@ -235,7 +235,7 @@ class PMA_User_Schema } ?> - + @@ -444,7 +444,7 @@ class PMA_User_Schema } } if ($shoot) { - echo '' . "\n" + echo '' . "\n" . PMA_generate_common_hidden_inputs($db, $table) . '' . "\n" . '' . "\n" @@ -472,7 +472,7 @@ class PMA_User_Schema global $with_field_names,$cfg,$db; ?> - + diff --git a/export_relation_schema.php b/schema_edit.php similarity index 98% rename from export_relation_schema.php rename to schema_edit.php index c2608f826..fb15d0022 100644 --- a/export_relation_schema.php +++ b/schema_edit.php @@ -16,7 +16,7 @@ require './libraries/StorageEngine.class.php'; $active_page = 'db_operations.php'; require_once './libraries/db_common.inc.php'; -$url_query .= '&goto=export_relation_schema.php'; +$url_query .= '&goto=schema_edit.php'; require_once './libraries/db_info.inc.php'; /** @@ -137,4 +137,4 @@ if ($cfgRelation['pdfwork']) { */ echo "\n"; require_once './libraries/footer.inc.php'; -?> \ No newline at end of file +?>