summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/sidebar.block.linked.php2
-rw-r--r--data/templates/sidebar.block.menu2.php2
-rw-r--r--data/templates/top.inc.php2
3 files changed, 2 insertions, 4 deletions
diff --git a/data/templates/sidebar.block.linked.php b/data/templates/sidebar.block.linked.php
index ac864dc..517705e 100644
--- a/data/templates/sidebar.block.linked.php
+++ b/data/templates/sidebar.block.linked.php
@@ -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({
diff --git a/data/templates/sidebar.block.menu2.php b/data/templates/sidebar.block.menu2.php
index d608821..8a71527 100644
--- a/data/templates/sidebar.block.menu2.php
+++ b/data/templates/sidebar.block.menu2.php
@@ -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');
diff --git a/data/templates/top.inc.php b/data/templates/top.inc.php
index c3cbc5d..ebb2bb6 100644
--- a/data/templates/top.inc.php
+++ b/data/templates/top.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 ?>