Better file name for schema edit page.

This commit is contained in:
Michal Čihař
2010-08-23 10:55:19 +02:00
parent 1c20d31e65
commit f84659efcb
4 changed files with 10 additions and 10 deletions

View File

@@ -523,7 +523,7 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
/*
* Export Relational Schema View
*/
echo '<fieldset><a href="export_relation_schema.php?' . $url_query . '">';
echo '<fieldset><a href="schema_edit.php?' . $url_query . '">';
if ($cfg['PropertiesIconic']) {
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
.' alt="" width="16" height="16" />';

View File

@@ -213,11 +213,11 @@ class PMA_Export_Relation_Schema
echo '<p>' . "\n";
echo ' ' . $error_message . "\n";
echo '</p>' . "\n";
echo '<a href="export_relation_schema.php?' . PMA_generate_common_url($db).'&do=selectpage&chpage='.$pageNumber.'&action_choose=0'
echo '<a href="schema_edit.php?' . PMA_generate_common_url($db).'&do=selectpage&chpage='.$pageNumber.'&action_choose=0'
. '">' . __('Back') . '</a>';
echo "\n";
require_once './libraries/footer.inc.php';
exit();
}
}
?>
?>

View File

@@ -89,7 +89,7 @@ class PMA_User_Schema
public function createPage($db)
{
?>
<form method="post" action="export_relation_schema.php" name="frm_create_page">
<form method="post" action="schema_edit.php" name="frm_create_page">
<fieldset>
<legend>
<?php echo __('Create a page') . "\n"; ?>
@@ -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) {
?>
<form method="get" action="export_relation_schema.php" name="frm_select_page">
<form method="get" action="schema_edit.php" name="frm_select_page">
<fieldset>
<legend>
<?php echo __('Please choose a page to edit') . "\n"; ?>
@@ -235,7 +235,7 @@ class PMA_User_Schema
}
?>
<form method="post" action="export_relation_schema.php" name="edcoord">
<form method="post" action="schema_edit.php" name="edcoord">
<?php echo PMA_generate_common_hidden_inputs($db, $table); ?>
<input type="hidden" name="chpage" value="<?php echo htmlspecialchars($this->choosenPage); ?>" />
<input type="hidden" name="do" value="edcoord" />
@@ -444,7 +444,7 @@ class PMA_User_Schema
}
}
if ($shoot) {
echo '<form action="export_relation_schema.php" method="post">' . "\n"
echo '<form action="schema_edit.php" method="post">' . "\n"
. PMA_generate_common_hidden_inputs($db, $table)
. '<input type="hidden" name="do" value="deleteCrap" />' . "\n"
. '<input type="hidden" name="chpage" value="' . htmlspecialchars($chpage) . '" />' . "\n"
@@ -472,7 +472,7 @@ class PMA_User_Schema
global $with_field_names,$cfg,$db;
?>
<script type="text/javascript" src="./js/dom-drag.js"></script>
<form method="post" action="export_relation_schema.php" name="dragdrop">
<form method="post" action="schema_edit.php" name="dragdrop">
<input type="button" name="dragdrop" value="<?php echo __('Toggle scratchboard'); ?>" onclick="ToggleDragDrop('pdflayout');" />
<input type="button" name="dragdropreset" value="<?php echo __('Reset'); ?>" onclick="resetDrag();" />
</form>

View File

@@ -16,7 +16,7 @@ require './libraries/StorageEngine.class.php';
$active_page = 'db_operations.php';
require_once './libraries/db_common.inc.php';
$url_query .= '&amp;goto=export_relation_schema.php';
$url_query .= '&amp;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';
?>
?>