aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 21:41:53 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 21:41:53 +0000
commit120488c29722c1cde9a4715ccbe0f1626d4738ae (patch)
tree1fb421e4e474a8a75b5c6798271b3c3bcc7a4364 /views/default
parent9b2c527e6cea1ce81293324f1783bc78225ada0f (diff)
downloadelgg-120488c29722c1cde9a4715ccbe0f1626d4738ae.tar.gz
elgg-120488c29722c1cde9a4715ccbe0f1626d4738ae.tar.bz2
forgot to include js registered for the footer in page shells
git-svn-id: http://code.elgg.org/elgg/trunk@8670 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/page/admin.php11
-rw-r--r--views/default/page/default.php11
2 files changed, 20 insertions, 2 deletions
diff --git a/views/default/page/admin.php b/views/default/page/admin.php
index 93985a9f2..b3871fe33 100644
--- a/views/default/page/admin.php
+++ b/views/default/page/admin.php
@@ -54,7 +54,16 @@ if ($notices = elgg_get_admin_notices()) {
</div>
</div>
</div>
- <?php echo elgg_view('footer/analytics'); ?>
+<?php
+
+echo elgg_view('footer/analytics');
+$js = elgg_get_loaded_js('footer');
+foreach ($js as $script) { ?>
+ <script type="text/javascript" src="<?php echo $script; ?>"></script>
+<?php
+}
+
+?>
</body>
</html> \ No newline at end of file
diff --git a/views/default/page/default.php b/views/default/page/default.php
index 6604b047c..77f79157b 100644
--- a/views/default/page/default.php
+++ b/views/default/page/default.php
@@ -60,6 +60,15 @@ header("Content-type: text/html; charset=UTF-8");
</div>
</div>
</div>
-<?php echo elgg_view('footer/analytics'); ?>
+<?php
+
+echo elgg_view('footer/analytics');
+$js = elgg_get_loaded_js('footer');
+foreach ($js as $script) { ?>
+ <script type="text/javascript" src="<?php echo $script; ?>"></script>
+<?php
+}
+
+?>
</body>
</html> \ No newline at end of file