1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

Move JUSH loading to Adminer customization

This commit is contained in:
Jakub Vrana
2014-01-10 10:05:57 -08:00
parent 17a7865153
commit ad00e5e965
2 changed files with 7 additions and 4 deletions

View File

@@ -68,6 +68,13 @@ class Adminer {
* @return bool true to link adminer.css if exists
*/
function head() {
global $jush;
?>
<link rel="stylesheet" type="text/css" href="../externals/jush/jush.css">
<script type="text/javascript" src="../externals/jush/modules/jush.js"></script>
<script type="text/javascript" src="../externals/jush/modules/jush-textarea.js"></script>
<script type="text/javascript" src="../externals/jush/modules/jush-<?php echo $jush; ?>.js"></script>
<?php
return true;
}