summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2010-10-09 16:58:20 +0200
committerChristian Weiske <cweiske@cweiske.de>2010-10-09 16:58:20 +0200
commitea3beb1690a397afd9e29afb63c1bd8b3a536390 (patch)
treeffb00025d89c89b4183d49078324aeea4463dd12
parent001534eb2b7d7366e57b307084fb6e59fffa1726 (diff)
downloadsemanticscuttle-ea3beb1690a397afd9e29afb63c1bd8b3a536390.tar.gz
semanticscuttle-ea3beb1690a397afd9e29afb63c1bd8b3a536390.tar.bz2
put jquery+jstree into top template since we need it most times
-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 ?>