Move function used in Editor
This commit is contained in:
parent
abbacd4377
commit
a41ee665e9
|
@ -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 ($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);'";
|
|
||||||
}
|
|
||||||
|
|
|
@ -1178,3 +1178,12 @@ function lzw_decompress($binary) {
|
||||||
}
|
}
|
||||||
return $return;
|
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);'";
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue