put jquery+jstree into top template since we need it most times

This commit is contained in:
Christian Weiske 2010-10-09 16:58:20 +02:00
parent 001534eb2b
commit ea3beb1690
3 changed files with 2 additions and 4 deletions

View file

@ -31,8 +31,6 @@ if ($editingMode) {
} }
?> ?>
<div id="related-content" /> <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[ <script type="text/javascript"><![CDATA[
jQuery("#related-content") jQuery("#related-content")
.jstree({ .jstree({

View file

@ -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 <?php
require_once('sidebar.linkedtags.inc.php'); require_once('sidebar.linkedtags.inc.php');

View file

@ -19,6 +19,8 @@ if (isset($rsschannels)) {
?> ?>
<?php if (isset($loadjs)) :?> <?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> <script type="text/javascript" src="<?php echo ROOT ?>jsScuttle.php"></script>
<?php endif ?> <?php endif ?>