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:
jakubvrana
2009-05-31 14:18:17 +00:00
parent 18ec59f636
commit 8642e59472
3 changed files with 18 additions and 12 deletions

View File

@@ -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>