From ee0666ae3b86454d5aff609a6797bf5cffd73cda Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Thu, 9 Oct 2008 14:13:17 +0000 Subject: [PATCH] Confirm in variable git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@527 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- create.inc.php | 2 +- createv.inc.php | 2 +- database.inc.php | 2 +- edit.inc.php | 2 +- event.inc.php | 2 +- foreign.inc.php | 2 +- index.php | 3 ++- procedure.inc.php | 2 +- select.inc.php | 2 +- trigger.inc.php | 2 +- user.inc.php | 2 +- 11 files changed, 12 insertions(+), 11 deletions(-) diff --git a/create.inc.php b/create.inc.php index a76b50e4..b751cd68 100644 --- a/create.inc.php +++ b/create.inc.php @@ -108,6 +108,6 @@ function column_comments_click(checked) {

- + />

diff --git a/createv.inc.php b/createv.inc.php index 43fe31bb..c6a4e65c 100644 --- a/createv.inc.php +++ b/createv.inc.php @@ -27,6 +27,6 @@ if ($_POST) { : " maxlength="64" /> - + />

diff --git a/database.inc.php b/database.inc.php index 27759685..a9206a50 100644 --- a/database.inc.php +++ b/database.inc.php @@ -61,6 +61,6 @@ if ($_POST) { - + />

diff --git a/edit.inc.php b/edit.inc.php index 09a92644..7b144679 100644 --- a/edit.inc.php +++ b/edit.inc.php @@ -96,6 +96,6 @@ if ($fields) { - + />

diff --git a/event.inc.php b/event.inc.php index 35586c50..23b2596f 100644 --- a/event.inc.php +++ b/event.inc.php @@ -49,6 +49,6 @@ if ($_POST) {

- + />

diff --git a/foreign.inc.php b/foreign.inc.php index c187c73d..f160c873 100644 --- a/foreign.inc.php +++ b/foreign.inc.php @@ -88,7 +88,7 @@ foreach ($row["source"] as $key => $val) {

- + />

diff --git a/index.php b/index.php index e9a06c40..12f3ef10 100644 --- a/index.php +++ b/index.php @@ -75,6 +75,7 @@ if (isset($_GET["download"])) { $inout = array("IN", "OUT", "INOUT"); $functions = array("char_length", "from_unixtime", "hex", "lower", "round", "sec_to_time", "time_to_sec", "unix_timestamp", "upper"); $grouping = array("avg", "count", "distinct", "group_concat", "max", "min", "sum"); + $confirm = " onclick=\"return confirm('" . lang('Are you sure?') . "');\""; $error = ""; if (isset($_GET["table"])) { @@ -192,7 +193,7 @@ if (isset($_GET["download"])) { echo "\n"; } echo "\n"; - echo "

\n"; + echo "

\n"; $db = (isset($_POST["target"]) ? $_POST["target"] : $_GET["db"]); echo "

" . lang('Move to other database') . (get_databases() ? ": " : ': ') . "

\n"; echo "\n"; diff --git a/procedure.inc.php b/procedure.inc.php index 26d5e114..050d3b82 100644 --- a/procedure.inc.php +++ b/procedure.inc.php @@ -53,6 +53,6 @@ document.getElementById('form')['returns[type]'].onchange(); : " maxlength="64" /> - + />

diff --git a/select.inc.php b/select.inc.php index 68951cbf..39ed1d5f 100644 --- a/select.inc.php +++ b/select.inc.php @@ -300,7 +300,7 @@ for (var i=0; > i; i++) { } echo " (" . lang('%d row(s)', $found_rows) . ")

\n"; - echo "
" . lang('Edit') . "
\n"; + echo "
" . lang('Edit') . "
\n"; echo "
" . lang('Export') . "$dump_options
\n"; echo "\n"; } diff --git a/trigger.inc.php b/trigger.inc.php index 425ecffa..b880db81 100644 --- a/trigger.inc.php +++ b/trigger.inc.php @@ -40,6 +40,6 @@ if ($_POST) { - + />

diff --git a/user.inc.php b/user.inc.php index 2c24a9f6..a48cbfc0 100644 --- a/user.inc.php +++ b/user.inc.php @@ -178,6 +178,6 @@ echo "\n";

- + />