From a41ee665e9f6c7aedc8134fcdbbe5e90e2696268 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 19 Dec 2013 12:55:53 -0800 Subject: [PATCH] Move function used in Editor --- adminer/include/editing.inc.php | 9 --------- adminer/include/functions.inc.php | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index 2c09aec7..f0a0c475 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -496,12 +496,3 @@ function doc_link($paths) { ); return ($paths[$jush] ? "?" : ""); } - -/** Return events to display help on mouse over -* @param string JS expression -* @param bool JS expression -* @return string -*/ -function on_help($command, $side = 0) { - return " onmouseover='helpMouseover(this, event, " . h($command) . ", $side);' onmouseout='helpMouseout(this, event);'"; -} diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 76b2b334..1c4a1542 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1178,3 +1178,12 @@ function lzw_decompress($binary) { } return $return; } + +/** Return events to display help on mouse over +* @param string JS expression +* @param bool JS expression +* @return string +*/ +function on_help($command, $side = 0) { + return " onmouseover='helpMouseover(this, event, " . h($command) . ", $side);' onmouseout='helpMouseout(this, event);'"; +}