pursuit the "stay on the sub-pages as long as needed" work

This commit is contained in:
Loïc Chapeaux
2002-05-03 13:03:02 +00:00
parent 56e9d5d4c1
commit 41b4af4517
6 changed files with 28 additions and 6 deletions

View File

@@ -7,9 +7,12 @@ $Source$
2002-05-03 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* lang/italian.inc.php3: updated, thanks to Pietro Danesi.
* tbl_properties_operations.php3; tbl_properties_options.php3: messages are
now displayed if a query had been submitted to change some options or to
sort the table.
* tbl_properties.php3; tbl_properties_export.php3;
tbl_properties_operations.php3; tbl_properties_options.php3;
tbl_properties_strucuture.php3:
- messages are now displayed if a query had been submitted to change some
options or to sort the table;
- pursuit the "stay on the sub-pages as long as needed" work.
2002-05-02 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* lang/*.inc.php3: cleanup.

View File

@@ -2,7 +2,12 @@
/* $Id$ */
/**
* Runs common work
*/
require('./tbl_properties_common.php3');
$err_url = 'tbl_properties.php3' . $err_url;
$url_query .= '&amp;back=tbl_properties.php3';
/**

View File

@@ -2,9 +2,11 @@
/* $Id$ */
/**
* Gets tables informations and displays top links
*/
require('./tbl_properties_common.php3');
require('./tbl_properties_table_info.php3');
?>
<!-- Dump of a database -->
<form method="post" action="tbl_dump.php3" name="tbl_dump">

View File

@@ -6,6 +6,8 @@
* Runs common work
*/
require('./tbl_properties_common.php3');
$err_url = 'tbl_properties_operations.php3' . $err_url;
$url_query .= '&amp;back=tbl_properties_operations.php3';
/**
@@ -299,7 +301,9 @@ if (!empty($cfg['Server']['relation'])) {
<?php
echo "\n";
while ($rel = mysql_fetch_row($result)) {
echo ' <a href="sql.php3?' . $url_query .'&amp;sql_query='
echo ' '
. '<a href="sql.php3?' . $url_query
. '&amp;sql_query='
. urlencode('SELECT ' . PMA_backquote($table) . '.* FROM '
. PMA_backquote($table) . ' LEFT JOIN '
. PMA_backquote($rel[1]) . ' ON '
@@ -323,7 +327,7 @@ if (!empty($cfg['Server']['relation'])) {
<!-- Flushes the table -->
<li>
<a href="sql.php3?<?php echo str_replace('&amp;goto=tbl_properties.php3', '&amp;goto=tbl_properties_operations.php3', $url_query); ?>&amp;sql_query=<?php echo urlencode('FLUSH TABLE ' . PMA_backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); if ($cfg['ShowTooltip']) echo '&amp;reload=1'; ?>">
<a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('FLUSH TABLE ' . PMA_backquote($table)); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strTableHasBeenFlushed, htmlspecialchars($table))); if ($cfg['ShowTooltip']) echo '&amp;reload=1'; ?>">
<?php echo $strFlushTable; ?></a>&nbsp;
<?php echo PMA_showDocuShort('F/L/FLUSH.html') . "\n"; ?>
<br /><br />

View File

@@ -6,6 +6,8 @@
* Runs common work
*/
require('./tbl_properties_common.php3');
$err_url = 'tbl_properties_options.php3' . $err_url;
$url_query .= '&amp;back=tbl_properties_options.php3';
/**

View File

@@ -2,7 +2,13 @@
/* $Id$ */
/**
* Runs common work
*/
require('./tbl_properties_common.php3');
$err_url = 'tbl_properties_structure.php3' . $err_url;
$url_query .= '&amp;back=tbl_properties_structure.php3';
/**
* Drop multiple fields if required