]> git.joonet.de Git - adminer.git/commitdiff
Move function used in Editor
authorJakub Vrana <jakub@vrana.cz>
Thu, 19 Dec 2013 20:55:53 +0000 (12:55 -0800)
committerJakub Vrana <jakub@vrana.cz>
Thu, 19 Dec 2013 20:55:53 +0000 (12:55 -0800)
adminer/include/editing.inc.php
adminer/include/functions.inc.php

index 2c09aec77b665ccd3fa9d6af693c14e8973046df..f0a0c475073b5f67d34c8fa7be9aee899bd3c67c 100644 (file)
@@ -496,12 +496,3 @@ function doc_link($paths) {
        );
        return ($paths[$jush] ? "<a href='$urls[$jush]$paths[$jush]' target='_blank' rel='noreferrer'><sup>?</sup></a>" : "");
 }
-
-/** 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);'";
-}
index 76b2b3342bec086e290528bef42d32dc34ec3c24..1c4a154293ac5171acc4f4d6d5196997794554f2 100644 (file)
@@ -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);'";
+}