aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-11 09:58:34 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-11 09:58:34 +0000
commit315c83394a5da81cb1840722d5c0ab8da5b82a14 (patch)
tree4d1fdef14bd5191b466ede457896c65d7e64753c /views/default
parent89a51e2cac1fc98ece0f2e9f152b1c143b21b8c5 (diff)
downloadelgg-315c83394a5da81cb1840722d5c0ab8da5b82a14.tar.gz
elgg-315c83394a5da81cb1840722d5c0ab8da5b82a14.tar.bz2
Javascript loaded using a safer URL scheme. Fixes #862
git-svn-id: https://code.elgg.org/elgg/trunk@3151 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/page_elements/header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index 7c7e6391f..fb788216e 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -62,14 +62,14 @@ END;
<script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-ui-personalized-1.5.3.packed.js"></script>
- <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php/<?php echo $vars['config']->lastcache; ?>?js=initialise_elgg&viewtype=<?php echo $vars['view']; ?>"></script>
+ <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php?lastcache=<?php echo $vars['config']->lastcache; ?>&js=initialise_elgg&viewtype=<?php echo $vars['view']; ?>"></script>
<?php
global $pickerinuse;
if (isset($pickerinuse) && $pickerinuse == true) {
?>
<!-- only needed on pages where we have friends collections and/or the friends picker -->
<script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery.easing.1.3.packed.js"></script>
- <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php/<?php echo $vars['config']->lastcache; ?>?js=friendsPickerv1&viewtype=<?php echo $vars['view']; ?>"></script>
+ <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php?lastcache=<?php echo $vars['config']->lastcache; ?>&js=friendsPickerv1&viewtype=<?php echo $vars['view']; ?>"></script>
<?php
}
?>