From e04d3c81f3fadde2ccde7d8093ba284e43510576 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?=
Date: Fri, 31 Aug 2001 15:36:24 +0000
Subject: [PATCH] * added some js stuff to checks for "DROP/DELETE/ALTER"
statements * all js libraries are now loaded in the header part of the xhtml
generated pages
---
db_details.php3 | 15 ++-----
functions.js | 102 ++++++++++++++++++++++++++++++++++++++------
header.inc.php3 | 20 +++++++++
lib.inc.php3 | 20 ++-------
sql.php3 | 33 ++++++++++----
tbl_properties.php3 | 15 ++-----
6 files changed, 144 insertions(+), 61 deletions(-)
diff --git a/db_details.php3 b/db_details.php3
index abfdf206d..6a40d6674 100755
--- a/db_details.php3
+++ b/db_details.php3
@@ -7,6 +7,7 @@
*/
require('./grab_globals.inc.php3');
if (!isset($message)) {
+ $js_to_run = 'functions.js';
include('./header.inc.php3');
// Reloads the navigation frame via JavaScript if required
if (!empty($reload) && $reload == 'true') {
@@ -325,15 +326,6 @@ if (isset($show_query) && $show_query == 'y') {
}
?>
-
-
-
0) {
@@ -349,7 +341,8 @@ if ($num_tables > 0) {
-
' . "\n";
if ($is_back_link) {
$hist = (isset($GLOBALS['btnDrop'])) ? -2 : -1;
- echo '' . $GLOBALS['strBack'] . '';
+ echo '' . $GLOBALS['strBack'] . '';
}
echo "\n";
@@ -786,7 +786,7 @@ window.parent.frames['nav'].location.replace('');
|