Added top menu
This commit is contained in:
@@ -11,6 +11,7 @@ $Source$
|
|||||||
* tbl_dump.php3; libraries/build_dump.lib.php3: enabled the ability to
|
* tbl_dump.php3; libraries/build_dump.lib.php3: enabled the ability to
|
||||||
export only some records in xml format.
|
export only some records in xml format.
|
||||||
* tbl_properties_export.php3: xhtml fixes.
|
* tbl_properties_export.php3: xhtml fixes.
|
||||||
|
* ldi_table.php3; tbl_select.php3: added top menu.
|
||||||
|
|
||||||
2002-05-05 Alexander M. Turek <rabus@users.sourceforge.net>
|
2002-05-05 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
* db_details_links.php3, tbl_properties_links.php3, lang/*.inc.php3:
|
* db_details_links.php3, tbl_properties_links.php3, lang/*.inc.php3:
|
||||||
|
@@ -8,10 +8,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets some core libraries
|
* Gets some core libraries and displays links
|
||||||
*/
|
*/
|
||||||
require('./libraries/grab_globals.lib.php3');
|
require('./tbl_properties_common.php3');
|
||||||
require('./header.inc.php3');
|
$err_url = 'ldi_table.php3' . $err_url;
|
||||||
|
$url_query .= '&back=ldi_table.php3';
|
||||||
|
require('./tbl_properties_table_info.php3');
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -79,6 +81,7 @@ if (function_exists('PMA_set_enc_form')) {
|
|||||||
<input type="hidden" name="table" value="<?php echo $table; ?>" />
|
<input type="hidden" name="table" value="<?php echo $table; ?>" />
|
||||||
<input type="hidden" name="zero_rows" value="<?php echo $strTheContent; ?>" />
|
<input type="hidden" name="zero_rows" value="<?php echo $strTheContent; ?>" />
|
||||||
<input type="hidden" name="goto" value="tbl_properties.php3" />
|
<input type="hidden" name="goto" value="tbl_properties.php3" />
|
||||||
|
<input type="hidden" name="back" value="ldi_table.php3" />
|
||||||
<input type="hidden" name="into_table" value="<?php echo $table; ?>" />
|
<input type="hidden" name="into_table" value="<?php echo $table; ?>" />
|
||||||
<input type="submit" name="btnLDI" value="<?php echo $strSubmit; ?>" />
|
<input type="submit" name="btnLDI" value="<?php echo $strSubmit; ?>" />
|
||||||
<input type="reset" value="<?php echo $strReset; ?>" />
|
<input type="reset" value="<?php echo $strReset; ?>" />
|
||||||
|
@@ -10,21 +10,22 @@ require('./libraries/common.lib.php3');
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the url to return to in case of error in a sql statement
|
* Not selection yet required -> displays the selection form
|
||||||
*/
|
*/
|
||||||
$err_url = $goto
|
if (!isset($param) || $param[0] == '') {
|
||||||
|
// Gets some core libraries
|
||||||
|
include('./tbl_properties_common.php3');
|
||||||
|
$err_url = 'tbl_select.php3' . $err_url;
|
||||||
|
$url_query .= '&back=tbl_select.php3';
|
||||||
|
include('./tbl_properties_table_info.php3');
|
||||||
|
|
||||||
|
// Defines the url to return to in case of error in the next sql statement
|
||||||
|
$err_url = $goto
|
||||||
. '?lang=' . $lang
|
. '?lang=' . $lang
|
||||||
. '&server=' . $server
|
. '&server=' . $server
|
||||||
. '&db=' . urlencode($db)
|
. '&db=' . urlencode($db)
|
||||||
. '&table=' . urlencode($table);
|
. '&table=' . urlencode($table);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Not selection yet required -> displays the selection form
|
|
||||||
*/
|
|
||||||
if (!isset($param) || $param[0] == '') {
|
|
||||||
include('./header.inc.php3');
|
|
||||||
|
|
||||||
// Gets the list and number of fields
|
// Gets the list and number of fields
|
||||||
$local_query = 'SHOW FIELDS FROM ' . PMA_backquote($db) . '.' . PMA_backquote($table);
|
$local_query = 'SHOW FIELDS FROM ' . PMA_backquote($db) . '.' . PMA_backquote($table);
|
||||||
$result = @mysql_query($local_query);
|
$result = @mysql_query($local_query);
|
||||||
@@ -59,6 +60,7 @@ if (!isset($param) || $param[0] == '') {
|
|||||||
<input type="hidden" name="db" value="<?php echo $db; ?>" />
|
<input type="hidden" name="db" value="<?php echo $db; ?>" />
|
||||||
<input type="hidden" name="table" value="<?php echo $table; ?>" />
|
<input type="hidden" name="table" value="<?php echo $table; ?>" />
|
||||||
<input type="hidden" name="goto" value="<?php echo $goto; ?>" />
|
<input type="hidden" name="goto" value="<?php echo $goto; ?>" />
|
||||||
|
<input type="hidden" name="back" value="tbl_select.php3" />
|
||||||
|
|
||||||
<?php echo $strSelectFields; ?> :<br />
|
<?php echo $strSelectFields; ?> :<br />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user