removed the link to the "import dump" feature if file upload is disabled

This commit is contained in:
Loïc Chapeaux
2002-02-10 18:23:34 +00:00
parent 42f489150a
commit 8f7a6db11f
2 changed files with 9 additions and 1 deletions

View File

@@ -13,6 +13,8 @@ $Source$
* lang/german.inc.php3: updated thanks to Alexander M. Turek.
* db_details.php3; tbl_properties.php3: tried to fix bug #494564 - No Sql
Query! (2 MB).
* tbl_properties.php3; lines 806-917: removed the link for the "import
dump" feature if file upload is disabled.
2002-02-09 Marc Delisle <lem9@users.sourceforge.net>
* main.php3, libraries/auth/cookie.auth.lib.php3, Patch

View File

@@ -802,12 +802,18 @@ if (PMA_MYSQL_INT_VERSION >= 32334) {
<?php
}
echo "\n";
?>
// loic1: displays import dump feature only if file upload available
if ($is_upload) {
?>
<!-- Insert a text file -->
<li>
<div style="margin-bottom: 10px"><a href="ldi_table.php3?<?php echo $url_query; ?>"><?php echo $strInsertTextfiles; ?></a></div>
</li>
<?php
}
echo "\n";
?>
<!-- Dump of a database -->
<li>