Display tabs.

This commit is contained in:
Michal Čihař
2004-10-21 15:33:39 +00:00
parent 1eaea0fe95
commit 2a8826922f
2 changed files with 14 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ $Source$
* tbl_properties_structure.php, libraries/common.lib.php,
libraries/display_tbl.lib.php: New function PMA_buttonOrImage to display
button or image to submit form and not to duplicate code on all places.
* tbl_addfield.php: Display tabs.
2004-10-20 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php: there was already a tip icon in our collection,

View File

@@ -18,7 +18,6 @@ PMA_checkParameters(array('db', 'table'));
*/
$err_url = 'tbl_properties.php?' . PMA_generate_common_url($db, $table);
/**
* The form used to define the field to add has been submitted
*/
@@ -235,6 +234,19 @@ if (isset($submit_num_fields)) {
* Displays the form used to define the new field
*/
if ($abort == FALSE) {
/**
* Gets tables informations
*/
require('./tbl_properties_common.php');
require('./tbl_properties_table_info.php');
/**
* Displays top menu links
*/
$active_page = 'tbl_properties_structure.php';
require('./tbl_properties_links.php');
/**
* Display the form
*/
$action = 'tbl_addfield.php';
require('./tbl_properties.inc.php');