mirror of
https://github.com/vrana/adminer.git
synced 2026-05-06 08:38:17 +02:00
Always try to enable syntax highlighting
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@629 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -106,15 +106,8 @@ function page_footer($missing = false) {
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($_COOKIE["highlight"] == "jush") { ?>
|
||||
<script type="text/javascript" src="externals/jush/jush.js"></script>
|
||||
<script type="text/javascript">
|
||||
if (typeof jush != 'undefined') {
|
||||
jush.style('externals/jush/jush.css');
|
||||
jush.highlight_tag('pre');
|
||||
jush.highlight_tag('code');
|
||||
}
|
||||
</script>
|
||||
<?php if (!$missing) { ?>
|
||||
<script type="text/javascript">onload = load_jush;</script>
|
||||
<?php } ?>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user