Replaced a "require" by an include

This commit is contained in:
Loïc Chapeaux
2002-04-28 07:26:52 +00:00
parent af962a1ef5
commit 0b4023b7db
2 changed files with 17 additions and 16 deletions

View File

@@ -5,18 +5,21 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-04-28 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_properties.php3, line 395: replaced a "require" by an include.
2002-04-27 Marc Delisle <lem9@users.sourceforge.net> 2002-04-27 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.php3, new tbl_properties_links.php3: * tbl_properties.php3, new tbl_properties_links.php3:
remove duplicate links code remove duplicate links code.
2002-04-27 Alexander M. Turek <rabus@users.sourceforge.net> 2002-04-27 Alexander M. Turek <rabus@users.sourceforge.net>
* Recompressed old ChangeLog without saving its path in the archive. * Recompressed old ChangeLog without saving its path in the archive.
* header.inc.php3: * header.inc.php3:
- Patch #548696 (DB/Table titles should be links), thanks to - Patch #548696 (DB/Table titles should be links), thanks to
Ray Black <allah03@users.sourceforge.net>. Ray Black <allah03@users.sourceforge.net>.
- lines: 161-164: Undefined variable - lines: 161-164: Undefined variable.
* common.lib.php3, lines 162, 163, 435-437: Fixed bug #549570 * common.lib.php3, lines 162, 163, 435-437: Fixed bug #549570
(Strange error if controluser is invalid) (Strange error if controluser is invalid).
2002-04-27 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2002-04-27 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* Documentation.html: * Documentation.html:

View File

@@ -145,10 +145,7 @@ if (PMA_MYSQL_INT_VERSION >= 32303) {
} }
mysql_free_result($result); mysql_free_result($result);
echo "\n"; echo '<!-- first browse links -->' . "\n";
?>
<!-- first browse links -->
<?php
require('./tbl_properties_links.php3'); require('./tbl_properties_links.php3');
if (!empty($show_comment)) { if (!empty($show_comment)) {
@@ -391,10 +388,11 @@ echo "\n";
* links again * links again
*/ */
if ($fields_cnt > 20) { if ($fields_cnt > 20) {
?> ?>
<!-- Browse links --> <!-- Browse links -->
<?php <?php
require('./tbl_properties_links.php3'); echo "\n";
include('./tbl_properties_links.php3');
} // end if ($fields_cnt > 20) } // end if ($fields_cnt > 20)
echo "\n\n"; echo "\n\n";