diff --git a/db_details.php3 b/db_details.php3
index 5f65d7650..24ae107ba 100755
--- a/db_details.php3
+++ b/db_details.php3
@@ -67,7 +67,7 @@ $query = "?server=$server&lang=$lang&db=$db&goto=db_details.php3";
:
+echo $cfgMaxInputsize;?>">
$strOr $strLocationTextfile";?>:
".htmlentities($key)."\n";
}
echo "\n";
+ echo "".$strBookmarkView;
echo "
\n";
}
}
diff --git a/db_readdump.php3 b/db_readdump.php3
index 0712d3011..7fa7cd54b 100755
--- a/db_readdump.php3
+++ b/db_readdump.php3
@@ -22,7 +22,7 @@ if(!empty($sql_file) && $sql_file != "none" && ereg("^php[0-9A-Za-z_.-]+$", base
$pieces = split_string($sql_query, ";");
-if (count($pieces) == 1 && !empty($pieces[0])) {
+if (count($pieces) == 1 && !empty($pieces[0]) && empty($view_bookmark)) {
if(!get_magic_quotes_gpc()) {
$sql_query = addslashes(trim($pieces[0]));
} else {
diff --git a/lang/english.inc.php3 b/lang/english.inc.php3
index 237c74e30..5efd629c2 100644
--- a/lang/english.inc.php3
+++ b/lang/english.inc.php3
@@ -153,4 +153,5 @@ $strOptimizeTable = "Optimize table";
$strBookmarkQuery = "Bookmarked SQL-query";
$strBookmarkThis = "Bookmark this SQL-query";
$strBookmarkLabel = "Label";
+$strBookmarkView = "View only";
?>
diff --git a/lang/french.inc.php3 b/lang/french.inc.php3
index d1c8327cb..b9541fc89 100644
--- a/lang/french.inc.php3
+++ b/lang/french.inc.php3
@@ -170,5 +170,6 @@ $strTableType = "Table en format";
$strBookmarkQuery = "Requêtes bookmarkées";
$strBookmarkThis = "Bookmarker cette requête";
-$strBookmarkLabel = "Label";
+$strBookmarkLabel = "Intitulé";
+$strBookmarkView = "Voir uniquement";
?>