put jquery+jstree into top template since we need it most times
This commit is contained in:
parent
001534eb2b
commit
ea3beb1690
3 changed files with 2 additions and 4 deletions
|
@ -31,8 +31,6 @@ if ($editingMode) {
|
|||
}
|
||||
?>
|
||||
<div id="related-content" />
|
||||
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery-1.4.2.js"></script>
|
||||
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery.jstree.js"></script>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
jQuery("#related-content")
|
||||
.jstree({
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery-1.4.2.js"></script>
|
||||
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery.jstree.js"></script>
|
||||
<?php
|
||||
require_once('sidebar.linkedtags.inc.php');
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ if (isset($rsschannels)) {
|
|||
?>
|
||||
|
||||
<?php if (isset($loadjs)) :?>
|
||||
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery-1.4.2.js"></script>
|
||||
<script type="text/javascript" src="<?php echo ROOT ?>js/jquery.jstree.js"></script>
|
||||
<script type="text/javascript" src="<?php echo ROOT ?>jsScuttle.php"></script>
|
||||
<?php endif ?>
|
||||
|
||||
|
|
Loading…
Reference in a new issue