Better file name for schema edit page.
This commit is contained in:
@@ -523,7 +523,7 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) { ?>
|
|||||||
/*
|
/*
|
||||||
* Export Relational Schema View
|
* 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']) {
|
if ($cfg['PropertiesIconic']) {
|
||||||
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
echo '<img class="icon" src="' . $pmaThemeImage . 'b_edit.png"'
|
||||||
.' alt="" width="16" height="16" />';
|
.' alt="" width="16" height="16" />';
|
||||||
|
@@ -213,11 +213,11 @@ class PMA_Export_Relation_Schema
|
|||||||
echo '<p>' . "\n";
|
echo '<p>' . "\n";
|
||||||
echo ' ' . $error_message . "\n";
|
echo ' ' . $error_message . "\n";
|
||||||
echo '</p>' . "\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>';
|
. '">' . __('Back') . '</a>';
|
||||||
echo "\n";
|
echo "\n";
|
||||||
require_once './libraries/footer.inc.php';
|
require_once './libraries/footer.inc.php';
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@@ -89,7 +89,7 @@ class PMA_User_Schema
|
|||||||
public function createPage($db)
|
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>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
<?php echo __('Create a page') . "\n"; ?>
|
<?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);
|
$page_rs = PMA_query_as_controluser($page_query, FALSE, $query_default_option);
|
||||||
if ($page_rs && PMA_DBI_num_rows($page_rs) > 0) {
|
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>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
<?php echo __('Please choose a page to edit') . "\n"; ?>
|
<?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); ?>
|
<?php echo PMA_generate_common_hidden_inputs($db, $table); ?>
|
||||||
<input type="hidden" name="chpage" value="<?php echo htmlspecialchars($this->choosenPage); ?>" />
|
<input type="hidden" name="chpage" value="<?php echo htmlspecialchars($this->choosenPage); ?>" />
|
||||||
<input type="hidden" name="do" value="edcoord" />
|
<input type="hidden" name="do" value="edcoord" />
|
||||||
@@ -444,7 +444,7 @@ class PMA_User_Schema
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($shoot) {
|
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)
|
. PMA_generate_common_hidden_inputs($db, $table)
|
||||||
. '<input type="hidden" name="do" value="deleteCrap" />' . "\n"
|
. '<input type="hidden" name="do" value="deleteCrap" />' . "\n"
|
||||||
. '<input type="hidden" name="chpage" value="' . htmlspecialchars($chpage) . '" />' . "\n"
|
. '<input type="hidden" name="chpage" value="' . htmlspecialchars($chpage) . '" />' . "\n"
|
||||||
@@ -472,7 +472,7 @@ class PMA_User_Schema
|
|||||||
global $with_field_names,$cfg,$db;
|
global $with_field_names,$cfg,$db;
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" src="./js/dom-drag.js"></script>
|
<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="dragdrop" value="<?php echo __('Toggle scratchboard'); ?>" onclick="ToggleDragDrop('pdflayout');" />
|
||||||
<input type="button" name="dragdropreset" value="<?php echo __('Reset'); ?>" onclick="resetDrag();" />
|
<input type="button" name="dragdropreset" value="<?php echo __('Reset'); ?>" onclick="resetDrag();" />
|
||||||
</form>
|
</form>
|
||||||
|
@@ -16,7 +16,7 @@ require './libraries/StorageEngine.class.php';
|
|||||||
|
|
||||||
$active_page = 'db_operations.php';
|
$active_page = 'db_operations.php';
|
||||||
require_once './libraries/db_common.inc.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';
|
require_once './libraries/db_info.inc.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -137,4 +137,4 @@ if ($cfgRelation['pdfwork']) {
|
|||||||
*/
|
*/
|
||||||
echo "\n";
|
echo "\n";
|
||||||
require_once './libraries/footer.inc.php';
|
require_once './libraries/footer.inc.php';
|
||||||
?>
|
?>
|
Reference in New Issue
Block a user